openhab-docs
openhab-docs copied to clipboard
Bump nanoid and webpack-serve
Bumps nanoid to 3.3.8 and updates ancestor dependency webpack-serve. These dependencies need to be updated together.
Updates nanoid from 2.1.11 to 3.3.8
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_modulesby 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/nanoidif you have it. Nano ID now have built-in types.npm uninstall @types/nanoidReact Native
For Expo you need to load the file by direct path:
... (truncated)
Changelog
Sourced from nanoid's changelog.
3.3.8
- Fixed a way to break Nano ID by passing non-integer size (by
@myndzi).3.3.7
- Fixed
node16TypeScript support (by Saadi Myftija).3.3.6
- Fixed package.
3.3.5
- Backport funding information.
3.3.4
- Fixed
--helpin CLI (by@Lete114).3.3.3
- Reduced size (by Anton Khlynovskiy).
3.3.2
- Fixed
enhanced-resolvesupport.3.3.1
- Reduced package size.
3.3
- Added
sizeargument to function fromcustomAlphabet(by Stefan Sundin).3.2
- Added
--sizeand--alphabetarguments to binary (by Vitaly Baev).3.1.32
- Reduced
asyncexports size (by Artyom Arutyunyan).- Moved from Jest to uvu (by Vitaly Baev).
3.1.31
- Fixed collision vulnerability on object in
size(by Artyom Arutyunyan).3.1.30
- Reduced size for project with
brotlicompression (by Anton Khlynovskiy).3.1.29
- Reduced npm package size.
3.1.28
- Reduced npm package size.
3.1.27
- Cleaned
dependenciesfrom development tools.3.1.26
... (truncated)
Commits
3044cd5Release 3.3.8 version4fe3495Update size limitd643045Fix pool pollution, infinite loop (#510)89d82d2Release 3.3.7 version5022c35Update dual-publish3e7a8e5Remove benchmark from CI for v3d356144Fix CI for v337b25dfMove to pnpm 8d96f392Release 3.3.6 version8210dfbRelease 3.3.5 version- Additional commits viewable in compare view
Updates webpack-serve from 3.2.0 to 4.0.0
Commits
db1f0abchore(release): 4.0.0597dd31chore: update dependencies, test snapshots. credt:@jdavis-software#15287aac5chore(dev): npm audit fix- See full diff in compare view
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the Security Alerts page.
Note Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
Thanks for your pull request to the openHAB documentation! The result can be previewed at the URL below (this comment and the preview will be updated if you add more commits).
| Name | Link |
|---|---|
| Latest commit | 33cb3a355c702f4898cd3980f371facfcc1c9d89 |
| Latest deploy log | https://app.netlify.com/sites/openhab-docs-preview/deploys/677bbbc2c6bcd70008f49486 |
| Deploy Preview | https://deploy-preview-2446--openhab-docs-preview.netlify.app |
| Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.