Skip to content
Myr

package.json

This file

Path

package.json

105 lines · 2.5 KiB · JSON

Last changed by

landed by oscabrielc0d01e3

History of this file

Take it

The walk stopped after 200 commits: lines older than cdc3edc point at it.

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 1–2why, one step back
1{
2 "name": "nanoid",

Release 6.0.2 versionAndrey Sitnikbefore adoption3167e10

line 3why, one step back
3 "version": "6.0.2",

Reduce Nano ID size to 117 bytes (#613)Alexander Bayandinbefore adoption05057d8

line 4why, one step back
4 "description": "A tiny (117 bytes), secure URL-friendly unique string ID generator",

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 5–6why, one step back
5 "keywords": [
6 "id",

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 7–9why, one step back
7 "random",
8 "url",9 "uuid"

Update size limitAndrey Sitnikbefore adoptioncdc3edc

line 10why, one step back
10 ],

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

line 11why, one step back
11 "license": "MIT",

Update emailAndrey Sitnikbefore adoption5f43491

line 12why, one step back
12 "author": "Andrey Sitnik <andrey@sitnik.es>",

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

line 13why, one step back
13 "repository": "ai/nanoid",

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 14–19why, one step back
14 "funding": [
15 {16 "type": "github",17 "url": "https://github.com/sponsors/ai"18 }19 ],

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 20–29why, one step back
20 "bin": "./bin/nanoid.js",
21 "type": "module",22 "sideEffects": false,23 "browser": {24 "./index.js": "./index.browser.js"25 },26 "types": "./index.d.ts",27 "react-native": {28 "./index.js": "./index.browser.js"29 },

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 30–31why, one step back
30 "exports": {
31 ".": {

fix: `types` should be added into `exports` field (#534)JounQinbefore adoption713213e

line 32why, one step back
32 "types": "./index.d.ts",

Update size limitAndrey Sitnikbefore adoptioncdc3edc

line 33why, one step back
33 "browser": "./index.browser.js",

Fix React Native with MetroAndrey Sitnikbefore adoption27ee2c4

line 34why, one step back
34 "react-native": "./index.browser.js",

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 35–36why, one step back
35 "default": "./index.js"
36 },

fix: add explicit types condition to non-secure export (#559)Mahmoud Hamdybefore adoption8393408

lines 37–40why, one step back
37 "./non-secure": {
38 "types": "./non-secure/index.d.ts",39 "default": "./non-secure/index.js"40 },

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 41–42why, one step back
41 "./package.json": "./package.json"
42 },

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

lines 43–50why, one step back
43 "scripts": {
44 "clean": "rm -rf coverage",45 "start": "vite --host 0.0.0.0 test/demo/",46 "test:coverage": "bnt --coverage 100 --coverage-exclude 'test/*'",47 "test:lint": "oxlint",48 "test:size": "pnpm clean && size-limit",49 "test:prebuild": "node ./test/check-prebuild.js",50 "test": "pnpm run /^test:/"

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 51–52why, one step back
51 },
52 "devDependencies": {

Update dependenciesAndrey Sitnikbefore adoption6268077

line 53why, one step back
53 "@logux/oxc-configs": "^1.2.0",

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 54–55why, one step back
54 "@lukeed/uuid": "^2.0.1",
55 "@napi-rs/uuid": "^0.2.2",

Update dependenciesAndrey Sitnikbefore adoptionac313f9

line 56why, one step back
56 "@size-limit/preset-small-lib": "^14.1.0",

Update dependencies (#604)Andrey Sitnikbefore adoption1a1fee4

line 57why, one step back
57 "better-node-test": "^1.0.0",

Temporary fix oxlint in Zed (#579)Andrey Sitnikbefore adoptionf3cb594

line 58why, one step back
58 "eslint-plugin-prefer-let": "^4.2.2",

Update dependencies (#604)Andrey Sitnikbefore adoption1a1fee4

line 59why, one step back
59 "nope-id": "^1.4.1",

Update dependenciesAndrey Sitnikbefore adoptionac313f9

lines 60–61why, one step back
60 "oxlint": "^1.86.0",
61 "oxlint-tsgolint": "^7.0.2003",

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 62–63why, one step back
62 "rndm": "^1.2.0",
63 "secure-random-string": "^1.1.4",

Update dependenciesAndrey Sitnikbefore adoptionac313f9

line 64why, one step back
64 "size-limit": "^14.1.0",

Update dependenciesAndrey Sitnikbefore adoption6268077

line 65why, one step back
65 "terser": "^5.51.2",

Reduce dependencies by moving to Rolldown instead of Webpack for Size LimitAndrey Sitnikbefore adoptionb8918c5

line 66why, one step back
66 "tinybench": "^6.2.0",

Update dependenciesAndrey Sitnikbefore adoptiona83bf65

line 67why, one step back
67 "typescript": "^7.0.2",

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 68–69why, one step back
68 "uid": "^2.0.2",
69 "uid-safe": "^2.1.5",

Update dependenciesAndrey Sitnikbefore adoption6268077

line 70why, one step back
70 "uuid": "^14.0.2",

Update dependenciesAndrey Sitnikbefore adoptionac313f9

line 71why, one step back
71 "vite": "^8.3.2"

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

line 72why, one step back
72 },

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 73–76why, one step back
73 "size-limit": [
74 {75 "name": "nanoid",76 "import": "{ nanoid }",

Reduce Nano ID size to 117 bytes (#613)Alexander Bayandinbefore adoption05057d8

line 77why, one step back
77 "limit": "117 B"

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 78–81why, one step back
78 },
79 {80 "name": "customAlphabet",81 "import": "{ customAlphabet }",

Update size limitAndrey Sitnikbefore adoption85f50f1

line 82why, one step back
82 "limit": "220 B"

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 83–86why, one step back
83 },
84 {85 "name": "urlAlphabet",86 "import": "{ urlAlphabet }",

Reduce Nano ID size to 117 bytes (#613)Alexander Bayandinbefore adoption05057d8

line 87why, one step back
87 "limit": "44 B"

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 88–92why, one step back
88 },
89 {90 "name": "non-secure nanoid",91 "import": "{ nanoid }",92 "path": "non-secure/index.js",

Reduce Nano ID size to 117 bytes (#613)Alexander Bayandinbefore adoption05057d8

line 93why, one step back
93 "limit": "93 B"

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 94–98why, one step back
94 },
95 {96 "name": "non-secure customAlphabet",97 "import": "{ customAlphabet }",98 "path": "non-secure/index.js",

Reduce dependencies by moving to Rolldown instead of Webpack for Size LimitAndrey Sitnikbefore adoptionb8918c5

line 99why, one step back
99 "limit": "66 B"

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 100–101why, one step back
100 }
101 ],

Move from Prettier and ESLint to oxfmt and oxlintAndrey Sitnikbefore adoption4bf7b85

line 102why, one step back
102 "engines": {

Remove Node.js 18 and 20 supportAndrey Sitnikbefore adoption86a13b6

line 103why, one step back
103 "node": "^22 || ^24 || >=26"

Update size limitAndrey Sitnikbefore adoptioncdc3edc

lines 104–105why, one step back
104 }
105}