shortid-dist
Advanced tools
Comparing version 1.0.4 to 1.0.5
@@ -1,2 +0,2 @@ | ||
shortid@2.2.8 | ||
shortid@2.2.13 | ||
MIT | ||
@@ -36,2 +36,25 @@ Copyright (c) Dylan Greene | ||
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR | ||
OTHER DEALINGS IN THE SOFTWARE. | ||
OTHER DEALINGS IN THE SOFTWARE. | ||
nanoid@1.3.0 | ||
MIT | ||
The MIT License (MIT) | ||
Copyright 2017 Andrey Sitnik <andrey@sitnik.ru> | ||
Permission is hereby granted, free of charge, to any person obtaining a copy of | ||
this software and associated documentation files (the "Software"), to deal in | ||
the Software without restriction, including without limitation the rights to | ||
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of | ||
the Software, and to permit persons to whom the Software is furnished to do so, | ||
subject to the following conditions: | ||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS | ||
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR | ||
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER | ||
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN | ||
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
{ | ||
"name": "shortid-dist", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "CDN friendly build of shortid", | ||
"main": "index.js", | ||
"scripts": { | ||
"wp": "webpack", | ||
"build": "webpack -d && webpack -p", | ||
"clean": "del dist package shortid-dist-*.tgz", | ||
"pack": "npm pack . && tar -xzf shortid-dist-*.tgz && echo && find package -type f", | ||
"clean": "rimraf dist package shortid-dist-*.tgz", | ||
"pack": "npm pack --dry-run", | ||
"repack": "npm run clean && npm run build && npm run pack", | ||
@@ -29,11 +30,11 @@ "links": "node scripts/links.js", | ||
"dependencies": { | ||
"shortid": "^2.2.8" | ||
"shortid": "^2.2.13" | ||
}, | ||
"devDependencies": { | ||
"del-cli": "^1.1.0", | ||
"license-webpack-plugin": "^1.3.0", | ||
"semver": "^5.5.0", | ||
"webpack": "^4.1.1", | ||
"webpack-cli": "^2.0.11" | ||
"license-webpack-plugin": "^1.5.0", | ||
"rimraf": "^2.6.2", | ||
"semver": "^5.6.0", | ||
"webpack": "^4.20.2", | ||
"webpack-cli": "^3.1.2" | ||
} | ||
} |
# shortid-dist | ||
[![npm version](https://badge.fury.io/js/shortid-dist.svg)](https://www.npmjs.com/package/shortid-dist) | ||
[![Package Version](https://img.shields.io/npm/v/shortid-dist.svg)](https://npmjs.com/package/shortid-dist) | ||
CDN friendly build of [shortid](https://www.npmjs.com/package/shortid). | ||
CDN friendly build of [shortid][shortid]. | ||
The `shortid` function is exposed as a global. | ||
@@ -12,3 +12,3 @@ | ||
<script src="https://unpkg.com/shortid-dist@1.0.4/dist/shortid-2.2.8.min.js"></script> | ||
<script src="https://unpkg.com/shortid-dist@1.0.5/dist/shortid-2.2.13.min.js"></script> | ||
@@ -19,3 +19,3 @@ 3 KB | ||
<script src="https://unpkg.com/shortid-dist@1.0.4/dist/shortid-2.2.8.js"></script> | ||
<script src="https://unpkg.com/shortid-dist@1.0.5/dist/shortid-2.2.13.js"></script> | ||
@@ -28,3 +28,3 @@ 31 KB | ||
See the [Live Demo](https://adamjarret.github.io/shortid-dist). | ||
See the [Live Demo][demo]. | ||
@@ -60,4 +60,4 @@ ## Development | ||
* [shortid](https://www.npmjs.com/package/shortid) | ||
* [webpack](http://webpack.js.org) | ||
* [shortid][shortid] | ||
* [webpack][webpack] | ||
@@ -70,30 +70,32 @@ ## Contributing | ||
[SemVer](https://semver.org/) is used for versioning. | ||
For the versions available, see the [tags on this repository](https://github.com/adamjarret/shortid-dist/tags). | ||
[SemVer][semVer] is used for versioning. | ||
For the versions available, see the [tags on this repository][tags]. | ||
## Releasing | ||
The `npm version` and `npm run links` commands both accept a semver argument: | ||
`<newversion>|major|minor|patch` (where `<newversion>` is a standard version number, ex. 1.0.0). | ||
See [npm-version](https://docs.npmjs.com/cli/version) for more information. | ||
1. Examine what will be included in the npm bundle: | ||
Examine what will be included in the npm bundle: | ||
npm run pack | ||
The `npm run pack` command requires npm version 6.4.1 or later (because it uses the `--dry-run` flag). | ||
For older versions of npm, run `tar -tvf "$(npm pack)"` to list the contents of the generated tarball. | ||
npm run pack | ||
2. Update the links in the **README.md** and **index.html** files (and commit the changes) _before_ running `npm version`: | ||
Update the links in the **README.md** and **index.html** files (and commit the changes) _before_ running `npm version`: | ||
npm run links -- patch | ||
git add README.md index.html | ||
git commit -m "Updated links" | ||
npm run links -- patch | ||
git add README.md index.html | ||
git commit -m "Updated links" | ||
3. Bump the version number in __package.json__ and create a git tag: | ||
Bump the version number in **package.json** and create a git tag: | ||
npm version patch | ||
npm version patch | ||
The `npm version` and `npm run links` command each accepts a [SemVer][semVer] argument: | ||
`<newversion>|major|minor|patch` (where `<newversion>` is a standard version number, ex. 1.0.0). | ||
Publish a new version: | ||
4. Publish a new version: | ||
npm publish | ||
git push origin master --tags | ||
npm publish | ||
git push origin master --tags | ||
## Author | ||
@@ -103,11 +105,22 @@ | ||
See the list of [contributors](https://github.com/adamjarret/shortid-dist/contributors) | ||
who participated in this project. | ||
## License | ||
This project is licensed under the _BSD Zero Clause License_. | ||
See the [LICENSE.txt](https://github.com/adamjarret/shortid-dist/blob/master/LICENSE.txt) file for details. | ||
See the [LICENSE.txt][license] file for details. | ||
shortid is licensed under the _MIT +no-false-attribs License_. | ||
See the [LICENSE.shortid.txt](https://github.com/adamjarret/shortid-dist/blob/master/dist/LICENSE.shortid.txt) file for details. | ||
See the [LICENSE.shortid.txt][shortidLicense] file for details. | ||
[license]: https://github.com/adamjarret/shortid-dist/blob/master/LICENSE.txt | ||
[shortidLicense]: https://github.com/adamjarret/shortid-dist/blob/master/dist/LICENSE.shortid.txt | ||
[shortid]: https://www.npmjs.com/package/shortid | ||
[semVer]: https://semver.org/ | ||
[tags]: https://github.com/adamjarret/shortid-dist/tags | ||
[demo]: https://adamjarret.github.io/shortid-dist | ||
[webpack]: http://webpack.js.org |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
63162
13
290
121
1
Updatedshortid@^2.2.13