Another fix for Browserify support
Before adoption: this commit came in with the history the project adopted, so no landing records it.
authored by Andrey Sitnik · committed by Andrey Sitnik · parent b460981 · Browse files · 2 files·+26 added−25 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
2 files+26 added−25 removed
- other:+26 added−25 removed
Provenance
- Commit
a30595d- Tree
212aa2e- Author
Andrey Sitnik <andrey@sitnik.ru>- Committer
Andrey Sitnik <andrey@sitnik.ru>- Parent
b460981
2 files changed+26 added−25 removed
modified:package.json+2 added-3 removed
18 unmodified lines19 "license": "MIT",20 "repository": "ai/nanoid",21 "browser": {22 "./index.js": "./index.browser.js",23- "./index.cjs": "./index.browser.js",23 "./async/index.js": "./async/index.browser.js",25- "./async/index.cjs": "./async/index.browser.js"24+ "./async/index.cjs": "./async/index.browser.cjs"25 },26 "react-native": {27 "./async/index.js": "./async/index.native.js"28 },19 unmodified lines48 "benchmark": "^2.1.4",49 "check-dts": "^0.5.5",50 "colorette": "^1.3.0",51 "cuid": "^2.1.8",53- "dual-publish": "^1.0.6",52+ "dual-publish": "^1.0.8",53 "eslint": "^7.32.0",54 "eslint-config-standard": "^16.0.3",55 "eslint-plugin-import": "^2.24.0",56 "eslint-plugin-jest": "^24.4.0",165 unmodified linesmodified:yarn.lock+24 added-22 removed
1225 unmodified lines1226 webpack "^4.44.1"1227 webpack-bundle-analyzer "^4.4.2"1228 1229 "@swc/helpers@^0.2.11":1230- version "0.2.12"1231- resolved "https://registry.yarnpkg.com/@swc/helpers/-/helpers-0.2.12.tgz#cd54624dd685f7832b50dd7ce119ddc4eb2585ad"1232- integrity sha512-hsPGC/U/0xe/WghMeSgyFsq9nNPfA5oY1Il2AaeAJcu/vTm4Bv8o9ev4eAgxcA61i5WWp72amN20XVyxWwM5aQ==1230+ version "0.2.13"1231+ resolved "https://registry.yarnpkg.com/@swc/helpers/-/helpers-0.2.13.tgz#95d69aaed0998040d455832efbe1342ed79d0809"1232+ integrity sha512-HxfZHtTgDlME7fH+KIwBrm1B1+2iB3UpbcSbPCZzDAHxZ3z+qfjflHverm33sXrdyQYx4s3J7r6ot76433mwEg==1233 1234 "@tootallnate/once@1":1235 version "1.1.2"1236 resolved "https://registry.yarnpkg.com/@tootallnate/once/-/once-1.1.2.tgz#ccb91445360179a04e7fe6aff78c00ffc1eeaf82"75 unmodified lines1312 resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.9.tgz#97edc9037ea0c38585320b28964dde3b39e4660d"1313 integrity sha512-qcUXuemtEu+E5wZSJHNxUXeCZhAfXKQ41D+duX+VYPde7xyEVZci+/oXKJL13tnRs9lR2pr4fod59GT6/X1/yQ==1314 1315 "@types/node@*":1316- version "16.4.13"1317- resolved "https://registry.yarnpkg.com/@types/node/-/node-16.4.13.tgz#7dfd9c14661edc65cccd43a29eb454174642370d"1318- integrity sha512-bLL69sKtd25w7p1nvg9pigE4gtKVpGTPojBFLMkGHXuUgap2sLqQt2qUnqmVCDfzGUL0DRNZP+1prIZJbMeAXg==1316+ version "16.6.0"1317+ resolved "https://registry.yarnpkg.com/@types/node/-/node-16.6.0.tgz#0d5685f85066f94e97f19e8a67fe003c5fadacc4"1318+ integrity sha512-OyiZPohMMjZEYqcVo/UJ04GyAxXOJEZO/FpzyXxcH4r/ArrVoXHf4MbUrkLp0Tz7/p1mMKpo5zJ6ZHl8XBNthQ==1319 1320 "@types/normalize-package-data@^2.4.0":1321 version "2.4.1"1322 resolved "https://registry.yarnpkg.com/@types/normalize-package-data/-/normalize-package-data-2.4.1.tgz#d3357479a0fdfdd5907fe67e17e0a85c906e1301"993 unmodified lines2316 lodash.memoize "^4.1.2"2317 lodash.uniq "^4.5.0"2318 2319 caniuse-lite@^1.0.0, caniuse-lite@^1.0.30001248:2320- version "1.0.30001249"2321- resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001249.tgz#90a330057f8ff75bfe97a94d047d5e14fabb2ee8"2322- integrity sha512-vcX4U8lwVXPdqzPWi6cAJ3FnQaqXbBqy/GZseKNQzRj37J7qZdGcBtxq/QLFNLLlfsoXLUdHw8Iwenri86Tagw==2320+ version "1.0.30001251"2321+ resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001251.tgz#6853a606ec50893115db660f82c094d18f096d85"2322+ integrity sha512-HOe1r+9VkU4TFmnU70z+r7OLmtR+/chB1rdcJUeQlAinjEeb0cKL20tlAtOagNZhbrtLnCvV19B4FmF1rgzl6A==2323 2324 caseless@~0.12.0:2325 version "0.12.0"2326 resolved "https://registry.yarnpkg.com/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc"844 unmodified lines3171 version "7.0.0"3172 resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-7.0.0.tgz#a2be3cd52736673206e8a85fb5210eea29628e7c"3173 integrity sha512-M3NhsLbV1i6HuGzBUH8vXrtxOk+tWmzWKDMbAVSUp3Zsjm7ywFeuwrUXhmhQyRK1q5B5GGy7hcXPbj3bnfZg2g==3174 3175-dual-publish@^1.0.6:3176- version "1.0.6"3177- resolved "https://registry.yarnpkg.com/dual-publish/-/dual-publish-1.0.6.tgz#6ef2d6428c0184d9b451b32cddd772db5373637d"3178- integrity sha512-RYFSqabRX8JnSiuksThn2qba/Gdx4EdET3m1RPY/4g2sv8YHT6Un1LwqH8/RIkPW5hojOcExoehVFuffQHKWBw==3175+dual-publish@^1.0.8:3176+ version "1.0.8"3177+ resolved "https://registry.yarnpkg.com/dual-publish/-/dual-publish-1.0.8.tgz#7a8649c487e87ed68939f2dc34e3b4ed2bf0c01d"3178+ integrity sha512-O7JM1kK/omkMVqLgL2GheZPDr/CD6n8IZXJ/MqcUqvpMyo+M/+NVFWPZMlR4Y+MNzyqAApm1xjbvt1CP/frarA==3179 dependencies:3180 clean-publish "^2.2.0"3181 colorette "^1.3.0"3182 globby "^11.0.2"43 unmodified lines3226 resolved "https://registry.yarnpkg.com/ejs/-/ejs-2.7.4.tgz#48661287573dcc53e366c7a1ae52c3a120eec9ba"3227 integrity sha512-7vmuyh5+kuUyJKePhQfRQBhXV5Ce+RnaeeQArKu1EAMpL3WbgMt5WG6uQZpEVvYSSsxMXRKOewtDk9RaTKXRlA==3228 3229 electron-to-chromium@^1.3.793:3230- version "1.3.802"3231- resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.802.tgz#0afa989321de3e904ac653ee79e0d642883731a1"3232- integrity sha512-dXB0SGSypfm3iEDxrb5n/IVKeX4uuTnFHdve7v+yKJqNpEP0D4mjFJ8e1znmSR+OOVlVC+kDO6f2kAkTFXvJBg==3230+ version "1.3.803"3231+ resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.803.tgz#78993a991d096500f21a77e91cd2a44295fe3cbe"3232+ integrity sha512-tmRK9qB8Zs8eLMtTBp+w2zVS9MUe62gQQQHjYdAc5Zljam3ZIokNb+vZLPRz9RCREp6EFRwyhOFwbt1fEriQ2Q==3233 3234 elliptic@^6.5.3:3235 version "6.5.4"3236 resolved "https://registry.yarnpkg.com/elliptic/-/elliptic-6.5.4.tgz#da37cebd31e79a1367e941b592ed1fbebd58abbb"1342 unmodified lines4579 resolved "https://registry.yarnpkg.com/is-arrayish/-/is-arrayish-0.2.1.tgz#77c99840527aa8ecb1a8ba697b80645a7a926a9d"4580 integrity sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=4581 4582 is-bigint@^1.0.1:4583- version "1.0.3"4584- resolved "https://registry.yarnpkg.com/is-bigint/-/is-bigint-1.0.3.tgz#fc9d9e364210480675653ddaea0518528d49a581"4585- integrity sha512-ZU538ajmYJmzysE5yU4Y7uIrPQ2j704u+hXFiIPQExpqzzUbpe5jCPdTfmz7jXRxZdvjY3KZ3ZNenoXQovX+Dg==4583+ version "1.0.4"4584+ resolved "https://registry.yarnpkg.com/is-bigint/-/is-bigint-1.0.4.tgz#08147a1875bc2b32005d41ccd8291dffc6691df3"4585+ integrity sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==4586+ dependencies:4587+ has-bigints "^1.0.1"4588 4589 is-binary-path@^1.0.0:4590 version "1.0.1"4591 resolved "https://registry.yarnpkg.com/is-binary-path/-/is-binary-path-1.0.1.tgz#75f16642b480f187a711c814161fd3a4a7655898"1528 unmodified lines6120 resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-2.1.11.tgz#ec24b8a758d591561531b4176a01e3ab4f0f0280"6121 integrity sha512-s/snB+WGm6uwi0WjsZdaVcuf3KJXlfGl2LcxgwkEwJF0D/BWzVWAZW/XY4bFaiR7s0Jk3FPvlnepg1H1b1UwlA==6122 6123 nanoid@^3.1.23:6122- version "3.1.23"6123- resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.1.23.tgz#f744086ce7c2bc47ee0a8472574d5c78e4183a81"6124- integrity sha512-FiB0kzdP0FFVGDKlRLEQ1BgDzU87dy5NnzjeW9YZNt+/c3+q82EQDUwniSAUxp/F0gFNI1ZhKU1FqYsMuqZVnw==6124+ version "3.1.24"6125+ resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.1.24.tgz#d7ac20215f595c26d314ee5671169a27b609025f"6126+ integrity sha512-WNhqqgD4qH7TQdU9ujXfFa/hQI5rOGGnZq+JRmz4JwMZFCgSZVquTq3ORUSv6IC+Y41ACBYV8a8J1kPkqGIiQg==6127 6128 nanomatch@^1.2.9:6129 version "1.2.13"6130 resolved "https://registry.yarnpkg.com/nanomatch/-/nanomatch-1.2.13.tgz#b87a8aa4fc0de8fe6be88895b38983ff265bd119"3214 unmodified lines