Remove deprecated cuid
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 a9df898 · Browse files · 7 files·+0 added−16 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
7 files+0 added−16 removed
- tests:+0 added−4 removed
- other:+0 added−12 removed
Provenance
- Commit
766778a- Tree
b31007d- Author
Andrey Sitnik <andrey@sitnik.ru>- Committer
Andrey Sitnik <andrey@sitnik.ru>- Parent
a9df898
7 files changed+0 added−16 removed
modified:test/benchmark.js-4 removed
8 unmodified lines9101112131314151641 unmodified lines585960616364656263646551 unmodified lines8 unmodified linesimport uidSafe from 'uid-safe'import { uid } from 'uid'import crypto from 'crypto'import pico from 'picocolors'import cuid from 'cuid'import rndm from 'rndm'import srs from 'secure-random-string'
import {41 unmodified lines }) .add('uid-safe.sync', () => { uidSafe.sync(14) }) .add('cuid', () => { cuid() }) .add('shortid', () => { shortid() }) .add('nanoid/async', {51 unmodified linesmodified:package.json-1 removed
53 unmodified lines54 "@types/node": "^18.11.19",55 "benchmark": "^2.1.4",56 "c8": "^7.12.0",57 "clean-publish": "^4.1.1",58- "cuid": "^2.1.8",58 "eslint": "^8.33.0",59 "eslint-config-standard": "^17.0.0",60 "eslint-plugin-import": "^2.27.5",61 "eslint-plugin-n": "^15.6.1",119 unmodified linesmodified:pnpm-lock.yaml-7 removed
10 unmodified lines11 '@types/node': ^18.11.1912 benchmark: ^2.1.413 c8: ^7.12.014 clean-publish: ^4.1.115- cuid: ^2.1.815 eslint: ^8.33.016 eslint-config-standard: ^17.0.017 eslint-plugin-import: ^2.27.518 eslint-plugin-n: ^15.6.123 unmodified lines42 '@types/node': 18.11.1943 benchmark: 2.1.444 c8: 7.12.045 clean-publish: 4.1.147- cuid: 2.1.846 eslint: 8.33.047 eslint-config-standard: 17.0.0_xh3wrndcszbt2l7hdksdjqnjcq48 eslint-plugin-import: 2.27.5_eslint@8.33.049 eslint-plugin-n: 15.6.1_eslint@8.33.01181 unmodified lines1231 shebang-command: 2.0.01232 which: 2.0.21233 dev: true1234 1237- /cuid/2.1.8:1238- resolution: {integrity: sha512-xiEMER6E7TlTPnDxrM4eRiC6TRgjNX9xzEZ5U/Se2YJKr7Mq4pJn/2XEHjl3STcSh96GmkHPcBXLES8M29wyyg==}1239- deprecated: Cuid and other k-sortable and non-cryptographic ids (Ulid, ObjectId, KSUID, all UUIDs) are all insecure. Use @paralleldrive/cuid2 instead.1240- dev: true1241-1235 /debug/3.2.7:1236 resolution: {integrity: sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==}1237 peerDependencies:1238 supports-color: '*'2041 unmodified linesmodified:README.id-ID.md-1 removed
75 unmodified lines76 nanoid 5,652,148 ops/sec77 customAlphabet 3,565,656 ops/sec78 secure-random-string 394,201 ops/sec79 uid-safe.sync 393,176 ops/sec80-cuid 208,131 ops/sec80 shortid 49,916 ops/sec81 82 Async:83 nanoid/async 135,260 ops/sec296 unmodified linesmodified:README.md-1 removed
84 unmodified lines85 nanoid 5,652,148 ops/sec86 customAlphabet 3,565,656 ops/sec87 secure-random-string 394,201 ops/sec88 uid-safe.sync 393,176 ops/sec89-cuid 208,131 ops/sec89 shortid 49,916 ops/sec90 91 Async:92 nanoid/async 135,260 ops/sec412 unmodified linesmodified:README.ru.md-1 removed
91 unmodified lines92 nanoid 5,652,148 ops/sec93 customAlphabet 3,565,656 ops/sec94 secure-random-string 394,201 ops/sec95 uid-safe.sync 393,176 ops/sec96-cuid 208,131 ops/sec96 shortid 49,916 ops/sec97 98 Async:99 nanoid/async 135,260 ops/sec389 unmodified linesmodified:README.zh-CN.md-1 removed
83 unmodified lines84 nanoid 5,652,148 ops/sec85 customAlphabet 3,565,656 ops/sec86 secure-random-string 394,201 ops/sec87 uid-safe.sync 393,176 ops/sec88-cuid 208,131 ops/sec88 shortid 49,916 ops/sec89 90 Async:91 nanoid/async 135,260 ops/sec355 unmodified lines