Title: Bump nanoid from 1.3.4 to 3.1.31 by dependabot[bot] · Pull Request #32 · httpsgithu/astral · GitHub
Open Graph Title: Bump nanoid from 1.3.4 to 3.1.31 by dependabot[bot] · Pull Request #32 · httpsgithu/astral
X Title: Bump nanoid from 1.3.4 to 3.1.31 by dependabot[bot] · Pull Request #32 · httpsgithu/astral
Description: Bumps nanoid from 1.3.4 to 3.1.31. Release notes Sourced from nanoid's releases. 3.0 Migration Guide Nano ID 3.0 is the biggest release in the project history. Unfortunately, you will need to change the code of your application. But the changes are very small in most cases. In return, you will have better performance, smaller size, ES modules and TypeScript support. Known Issues Only Create React App 4.0 supports dual ESM/CJS modules. Simple Case In simple cases, you just need to change default import to named import. - import nanoid from 'nanoid' + import { nanoid } from 'nanoid' nanoid() //=> "sSAi9F8yakJZPxOCr_WFb" nanoid(5) //=> "ISe9l" If you support IE, you need to transpile node_modules by Babel. Non-secure and asynchronous Nano ID need only import changes as well. - import nanoid from 'nanoid/non-secure' + import { nanoid } from 'nanoid/non-secure' nanoid() //=> "sSAi9F8yakJZPxOCr_WFb" - import nanoid from 'nanoid/async' + import { nanoid } from 'nanoid/async' nanoid().then(id => { id //=> "sSAi9F8yakJZPxOCr_WFb" }) TypeScript Remove @types/nanoid if you have it. Nano ID now have built-in types. npm uninstall @types/nanoid React Native For Expo you need to load the file by direct path: ... (truncated) Changelog Sourced from nanoid's changelog. 3.1.31 Fixed collision vulnerability on object in size (by Artyom Arutyunyan). 3.1.30 Reduced size for project with brotli compression (by Anton Khlynovskiy). 3.1.29 Reduced npm package size. 3.1.28 Reduced npm package size. 3.1.27 Cleaned dependencies from development tools. 3.1.26 Improved performance (by Eitan Har-Shoshanim). Reduced npm package size. 3.1.25 Fixed browserify support. 3.1.24 Fixed browserify support (by Artur Paikin). 3.1.23 Fixed esbuild support. 3.1.22 Added default and browser.default to package.exports. 3.1.21 Reduced npm package size. 3.1.20 Fix ES modules support. 3.1.19 Reduced customAlphabet size (by Enrico Scherlies). 3.1.18 Fixed package.exports. 3.1.17 Added files without process. 3.1.16 Speeded up Nano ID 4 times (by Peter Boyer). 3.1.15 ... (truncated) Commits 07fdfa6 Release 3.1.31 version e3b3942 Update dependencies 2b7bd93 fix collision by proxy number (#328) 3b56634 Replace Parcel to Vite 55a935a Update dependencies 8b9a079 Update dependencies 725a241 Fix Node.js 10 CI d8712ee Update dependencies cd56aa9 Clean up docs 9661320 Add documentation in Bahasa Indonesia (#326) Additional commits viewable in compare view Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase. Dependabot commands and options You can trigger Dependabot actions by commenting on this PR: @dependabot rebase will rebase this PR @dependabot recreate will recreate this PR, overwriting any edits that have been made to it @dependabot merge will merge this PR after your CI passes on it @dependabot squash and merge will squash and merge this PR after your CI passes on it @dependabot cancel merge will cancel a previously requested merge and block automerging @dependabot reopen will reopen this PR if it is closed @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) @dependabot use these labels will set the current labels as the default for future PRs for this repo and language @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language You can disable automated security fix PRs for this repo from the Security Alerts page.
Open Graph Description: Bumps nanoid from 1.3.4 to 3.1.31. Release notes Sourced from nanoid's releases. 3.0 Migration Guide Nano ID 3.0 is the biggest release in the project history. Unfortunately, you will need to...
X Description: Bumps nanoid from 1.3.4 to 3.1.31. Release notes Sourced from nanoid's releases. 3.0 Migration Guide Nano ID 3.0 is the biggest release in the project history. Unfortunately, you will nee...
Opengraph URL: https://github.com/httpsgithu/astral/pull/32
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:2e30605a-a552-81a8-5bc5-2bee84c4d9d2 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | CD84:17D55F:1D4BFC8:254DB20:699189EC |
| html-safe-nonce | 35bcf53ea03a6f46d6fe76be0fad32a55bc526a459edde0ca766a2b08b2f2bbd |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRDg0OjE3RDU1RjoxRDRCRkM4OjI1NERCMjA6Njk5MTg5RUMiLCJ2aXNpdG9yX2lkIjoiNjMyNDcxNzgwNDc2NDM2NzM0MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | fbb685ce66fb260d4fd66af498ca4d797cc9be2fde45e7c4101c6da7d3bf331e |
| hovercard-subject-tag | pull_request:829145292 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/httpsgithu/astral/pull/32/checks |
| twitter:image | https://avatars.githubusercontent.com/in/29110?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/in/29110?s=400&v=4 |
| og:image:alt | Bumps nanoid from 1.3.4 to 3.1.31. Release notes Sourced from nanoid's releases. 3.0 Migration Guide Nano ID 3.0 is the biggest release in the project history. Unfortunately, you will need to... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/httpsgithu/astral git https://github.com/httpsgithu/astral.git |
| octolytics-dimension-user_id | 20476787 |
| octolytics-dimension-user_login | httpsgithu |
| octolytics-dimension-repository_id | 305020129 |
| octolytics-dimension-repository_nwo | httpsgithu/astral |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | true |
| octolytics-dimension-repository_parent_id | 32222363 |
| octolytics-dimension-repository_parent_nwo | astralapp/astral |
| octolytics-dimension-repository_network_root_id | 32222363 |
| octolytics-dimension-repository_network_root_nwo | astralapp/astral |
| turbo-body-classes | logged-out env-production page-responsive full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 848bc6032dcc93a9a7301dcc3f379a72ba13b96e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width