@zeroheight/adoption-cli 4.1.0 → 4.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,23 @@
1
+ {
2
+ "name": "@oxc-parser/binding-darwin-arm64",
3
+ "version": "0.22.0",
4
+ "main": "parser.darwin-arm64.node",
5
+ "license": "MIT",
6
+ "author": "Boshen and oxc contributors",
7
+ "bugs": "https://github.com/oxc-project/oxc/issues",
8
+ "homepage": "https://oxc.rs",
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "https://github.com/oxc-project/oxc.git",
12
+ "directory": "npm/oxc-parser"
13
+ },
14
+ "files": [
15
+ "parser.darwin-arm64.node"
16
+ ],
17
+ "cpu": [
18
+ "arm64"
19
+ ],
20
+ "os": [
21
+ "darwin"
22
+ ]
23
+ }
@@ -0,0 +1,23 @@
1
+ {
2
+ "name": "@oxc-parser/binding-darwin-x64",
3
+ "version": "0.22.0",
4
+ "main": "parser.darwin-x64.node",
5
+ "license": "MIT",
6
+ "author": "Boshen and oxc contributors",
7
+ "bugs": "https://github.com/oxc-project/oxc/issues",
8
+ "homepage": "https://oxc.rs",
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "https://github.com/oxc-project/oxc.git",
12
+ "directory": "npm/oxc-parser"
13
+ },
14
+ "files": [
15
+ "parser.darwin-x64.node"
16
+ ],
17
+ "cpu": [
18
+ "x64"
19
+ ],
20
+ "os": [
21
+ "darwin"
22
+ ]
23
+ }
@@ -0,0 +1,26 @@
1
+ {
2
+ "name": "@oxc-parser/binding-linux-x64-gnu",
3
+ "version": "0.22.0",
4
+ "main": "parser.linux-x64-gnu.node",
5
+ "license": "MIT",
6
+ "author": "Boshen and oxc contributors",
7
+ "bugs": "https://github.com/oxc-project/oxc/issues",
8
+ "homepage": "https://oxc.rs",
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "https://github.com/oxc-project/oxc.git",
12
+ "directory": "npm/oxc-parser"
13
+ },
14
+ "files": [
15
+ "parser.linux-x64-gnu.node"
16
+ ],
17
+ "cpu": [
18
+ "x64"
19
+ ],
20
+ "os": [
21
+ "linux"
22
+ ],
23
+ "libc": [
24
+ "glibc"
25
+ ]
26
+ }
@@ -0,0 +1,26 @@
1
+ {
2
+ "name": "@oxc-parser/binding-linux-x64-musl",
3
+ "version": "0.22.0",
4
+ "main": "parser.linux-x64-musl.node",
5
+ "license": "MIT",
6
+ "author": "Boshen and oxc contributors",
7
+ "bugs": "https://github.com/oxc-project/oxc/issues",
8
+ "homepage": "https://oxc.rs",
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "https://github.com/oxc-project/oxc.git",
12
+ "directory": "npm/oxc-parser"
13
+ },
14
+ "files": [
15
+ "parser.linux-x64-musl.node"
16
+ ],
17
+ "cpu": [
18
+ "x64"
19
+ ],
20
+ "os": [
21
+ "linux"
22
+ ],
23
+ "libc": [
24
+ "musl"
25
+ ]
26
+ }
@@ -0,0 +1,26 @@
1
+ {
2
+ "name": "@oxc-parser/binding-win32-arm64-msvc",
3
+ "version": "0.22.0",
4
+ "main": "parser.win32-arm64-msvc.node",
5
+ "license": "MIT",
6
+ "author": "Boshen and oxc contributors",
7
+ "bugs": "https://github.com/oxc-project/oxc/issues",
8
+ "homepage": "https://oxc.rs",
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "https://github.com/oxc-project/oxc.git",
12
+ "directory": "npm/oxc-parser"
13
+ },
14
+ "files": [
15
+ "parser.win32-arm64-msvc.node"
16
+ ],
17
+ "cpu": [
18
+ "arm64"
19
+ ],
20
+ "os": [
21
+ "win32"
22
+ ],
23
+ "libc": [
24
+ null
25
+ ]
26
+ }
@@ -0,0 +1,26 @@
1
+ {
2
+ "name": "@oxc-parser/binding-win32-x64-msvc",
3
+ "version": "0.22.0",
4
+ "main": "parser.win32-x64-msvc.node",
5
+ "license": "MIT",
6
+ "author": "Boshen and oxc contributors",
7
+ "bugs": "https://github.com/oxc-project/oxc/issues",
8
+ "homepage": "https://oxc.rs",
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "https://github.com/oxc-project/oxc.git",
12
+ "directory": "npm/oxc-parser"
13
+ },
14
+ "files": [
15
+ "parser.win32-x64-msvc.node"
16
+ ],
17
+ "cpu": [
18
+ "x64"
19
+ ],
20
+ "os": [
21
+ "win32"
22
+ ],
23
+ "libc": [
24
+ null
25
+ ]
26
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zeroheight/adoption-cli",
3
- "version": "4.1.0",
3
+ "version": "4.1.2",
4
4
  "license": "ISC",
5
5
  "main": "dist/cli.js",
6
6
  "bin": {
@@ -20,7 +20,8 @@
20
20
  "build-dev": "rsbuild build --environment development",
21
21
  "build-dev:watch": "rsbuild build --watch --environment development",
22
22
  "lint": "prettier --write .",
23
- "test": "vitest"
23
+ "test": "vitest",
24
+ "prepack": "bash scripts/bundle-oxc-bindings.sh"
24
25
  },
25
26
  "files": [
26
27
  "dist",
@@ -28,6 +29,12 @@
28
29
  ],
29
30
  "bundleDependencies": [
30
31
  "oxc-parser",
32
+ "@oxc-parser/binding-darwin-arm64",
33
+ "@oxc-parser/binding-darwin-x64",
34
+ "@oxc-parser/binding-linux-x64-gnu",
35
+ "@oxc-parser/binding-linux-x64-musl",
36
+ "@oxc-parser/binding-win32-arm64-msvc",
37
+ "@oxc-parser/binding-win32-x64-msvc",
31
38
  "react",
32
39
  "ink",
33
40
  "ink-render-string",
@@ -39,7 +46,6 @@
39
46
  ],
40
47
  "dependencies": {
41
48
  "@inkjs/ui": "^2.0.0",
42
- "@zeroheight/flapjack-tokens": "^2.0.0",
43
49
  "chalk": "^5.2.0",
44
50
  "cli-truncate": "^4.0.0",
45
51
  "commander": "^12.0.0",
@@ -80,7 +86,8 @@
80
86
  "rsbuild-plugin-dts": "^0.6.9",
81
87
  "ts-node": "^10.9.1",
82
88
  "typescript": "^5.4.5",
83
- "vitest": "^4.0.18"
89
+ "vitest": "^4.0.18",
90
+ "@zeroheight/flapjack-tokens": "^2.0.0"
84
91
  },
85
92
  "types": "./dist/cli.d.ts",
86
93
  "description": "CLI for measuring component usage",
@@ -95,7 +102,6 @@
95
102
  "optionalDependencies": {
96
103
  "@oxc-parser/binding-darwin-arm64": "^0.22.0",
97
104
  "@oxc-parser/binding-darwin-x64": "^0.22.0",
98
- "@oxc-parser/binding-freebsd-x64": "^0.22.0",
99
105
  "@oxc-parser/binding-linux-x64-gnu": "^0.22.0",
100
106
  "@oxc-parser/binding-linux-x64-musl": "^0.22.0",
101
107
  "@oxc-parser/binding-win32-arm64-msvc": "^0.22.0",
@@ -1,54 +0,0 @@
1
- # 1.0.0 - 2016-01-07
2
-
3
- - Removed: unused speed test
4
- - Added: Automatic routing between previously unsupported conversions
5
- ([#27](https://github.com/Qix-/color-convert/pull/27))
6
- - Removed: `xxx2xxx()` and `xxx2xxxRaw()` functions
7
- ([#27](https://github.com/Qix-/color-convert/pull/27))
8
- - Removed: `convert()` class
9
- ([#27](https://github.com/Qix-/color-convert/pull/27))
10
- - Changed: all functions to lookup dictionary
11
- ([#27](https://github.com/Qix-/color-convert/pull/27))
12
- - Changed: `ansi` to `ansi256`
13
- ([#27](https://github.com/Qix-/color-convert/pull/27))
14
- - Fixed: argument grouping for functions requiring only one argument
15
- ([#27](https://github.com/Qix-/color-convert/pull/27))
16
-
17
- # 0.6.0 - 2015-07-23
18
-
19
- - Added: methods to handle
20
- [ANSI](https://en.wikipedia.org/wiki/ANSI_escape_code#Colors) 16/256 colors:
21
- - rgb2ansi16
22
- - rgb2ansi
23
- - hsl2ansi16
24
- - hsl2ansi
25
- - hsv2ansi16
26
- - hsv2ansi
27
- - hwb2ansi16
28
- - hwb2ansi
29
- - cmyk2ansi16
30
- - cmyk2ansi
31
- - keyword2ansi16
32
- - keyword2ansi
33
- - ansi162rgb
34
- - ansi162hsl
35
- - ansi162hsv
36
- - ansi162hwb
37
- - ansi162cmyk
38
- - ansi162keyword
39
- - ansi2rgb
40
- - ansi2hsl
41
- - ansi2hsv
42
- - ansi2hwb
43
- - ansi2cmyk
44
- - ansi2keyword
45
- ([#18](https://github.com/harthur/color-convert/pull/18))
46
-
47
- # 0.5.3 - 2015-06-02
48
-
49
- - Fixed: hsl2hsv does not return `NaN` anymore when using `[0,0,0]`
50
- ([#15](https://github.com/harthur/color-convert/issues/15))
51
-
52
- ---
53
-
54
- Check out commit logs for older releases
@@ -1,54 +0,0 @@
1
- # 1.0.0 - 2016-01-07
2
-
3
- - Removed: unused speed test
4
- - Added: Automatic routing between previously unsupported conversions
5
- ([#27](https://github.com/Qix-/color-convert/pull/27))
6
- - Removed: `xxx2xxx()` and `xxx2xxxRaw()` functions
7
- ([#27](https://github.com/Qix-/color-convert/pull/27))
8
- - Removed: `convert()` class
9
- ([#27](https://github.com/Qix-/color-convert/pull/27))
10
- - Changed: all functions to lookup dictionary
11
- ([#27](https://github.com/Qix-/color-convert/pull/27))
12
- - Changed: `ansi` to `ansi256`
13
- ([#27](https://github.com/Qix-/color-convert/pull/27))
14
- - Fixed: argument grouping for functions requiring only one argument
15
- ([#27](https://github.com/Qix-/color-convert/pull/27))
16
-
17
- # 0.6.0 - 2015-07-23
18
-
19
- - Added: methods to handle
20
- [ANSI](https://en.wikipedia.org/wiki/ANSI_escape_code#Colors) 16/256 colors:
21
- - rgb2ansi16
22
- - rgb2ansi
23
- - hsl2ansi16
24
- - hsl2ansi
25
- - hsv2ansi16
26
- - hsv2ansi
27
- - hwb2ansi16
28
- - hwb2ansi
29
- - cmyk2ansi16
30
- - cmyk2ansi
31
- - keyword2ansi16
32
- - keyword2ansi
33
- - ansi162rgb
34
- - ansi162hsl
35
- - ansi162hsv
36
- - ansi162hwb
37
- - ansi162cmyk
38
- - ansi162keyword
39
- - ansi2rgb
40
- - ansi2hsl
41
- - ansi2hsv
42
- - ansi2hwb
43
- - ansi2cmyk
44
- - ansi2keyword
45
- ([#18](https://github.com/harthur/color-convert/pull/18))
46
-
47
- # 0.5.3 - 2015-06-02
48
-
49
- - Fixed: hsl2hsv does not return `NaN` anymore when using `[0,0,0]`
50
- ([#15](https://github.com/harthur/color-convert/issues/15))
51
-
52
- ---
53
-
54
- Check out commit logs for older releases
@@ -1,151 +0,0 @@
1
- ### Version 4.0.0 (2018-01-28) ###
2
-
3
- - Added: Support for ES2018. The only change needed was recognizing the `s`
4
- regex flag.
5
- - Changed: _All_ tokens returned by the `matchToToken` function now have a
6
- `closed` property. It is set to `undefined` for the tokens where “closed”
7
- doesn’t make sense. This means that all tokens objects have the same shape,
8
- which might improve performance.
9
-
10
- These are the breaking changes:
11
-
12
- - `'/a/s'.match(jsTokens)` no longer returns `['/', 'a', '/', 's']`, but
13
- `['/a/s']`. (There are of course other variations of this.)
14
- - Code that rely on some token objects not having the `closed` property could
15
- now behave differently.
16
-
17
-
18
- ### Version 3.0.2 (2017-06-28) ###
19
-
20
- - No code changes. Just updates to the readme.
21
-
22
-
23
- ### Version 3.0.1 (2017-01-30) ###
24
-
25
- - Fixed: ES2015 unicode escapes with more than 6 hex digits are now matched
26
- correctly.
27
-
28
-
29
- ### Version 3.0.0 (2017-01-11) ###
30
-
31
- This release contains one breaking change, that should [improve performance in
32
- V8][v8-perf]:
33
-
34
- > So how can you, as a JavaScript developer, ensure that your RegExps are fast?
35
- > If you are not interested in hooking into RegExp internals, make sure that
36
- > neither the RegExp instance, nor its prototype is modified in order to get the
37
- > best performance:
38
- >
39
- > ```js
40
- > var re = /./g;
41
- > re.exec(''); // Fast path.
42
- > re.new_property = 'slow';
43
- > ```
44
-
45
- This module used to export a single regex, with `.matchToToken` bolted
46
- on, just like in the above example. This release changes the exports of
47
- the module to avoid this issue.
48
-
49
- Before:
50
-
51
- ```js
52
- import jsTokens from "js-tokens"
53
- // or:
54
- var jsTokens = require("js-tokens")
55
- var matchToToken = jsTokens.matchToToken
56
- ```
57
-
58
- After:
59
-
60
- ```js
61
- import jsTokens, {matchToToken} from "js-tokens"
62
- // or:
63
- var jsTokens = require("js-tokens").default
64
- var matchToToken = require("js-tokens").matchToToken
65
- ```
66
-
67
- [v8-perf]: http://v8project.blogspot.se/2017/01/speeding-up-v8-regular-expressions.html
68
-
69
-
70
- ### Version 2.0.0 (2016-06-19) ###
71
-
72
- - Added: Support for ES2016. In other words, support for the `**` exponentiation
73
- operator.
74
-
75
- These are the breaking changes:
76
-
77
- - `'**'.match(jsTokens)` no longer returns `['*', '*']`, but `['**']`.
78
- - `'**='.match(jsTokens)` no longer returns `['*', '*=']`, but `['**=']`.
79
-
80
-
81
- ### Version 1.0.3 (2016-03-27) ###
82
-
83
- - Improved: Made the regex ever so slightly smaller.
84
- - Updated: The readme.
85
-
86
-
87
- ### Version 1.0.2 (2015-10-18) ###
88
-
89
- - Improved: Limited npm package contents for a smaller download. Thanks to
90
- @zertosh!
91
-
92
-
93
- ### Version 1.0.1 (2015-06-20) ###
94
-
95
- - Fixed: Declared an undeclared variable.
96
-
97
-
98
- ### Version 1.0.0 (2015-02-26) ###
99
-
100
- - Changed: Merged the 'operator' and 'punctuation' types into 'punctuator'. That
101
- type is now equivalent to the Punctuator token in the ECMAScript
102
- specification. (Backwards-incompatible change.)
103
- - Fixed: A `-` followed by a number is now correctly matched as a punctuator
104
- followed by a number. It used to be matched as just a number, but there is no
105
- such thing as negative number literals. (Possibly backwards-incompatible
106
- change.)
107
-
108
-
109
- ### Version 0.4.1 (2015-02-21) ###
110
-
111
- - Added: Support for the regex `u` flag.
112
-
113
-
114
- ### Version 0.4.0 (2015-02-21) ###
115
-
116
- - Improved: `jsTokens.matchToToken` performance.
117
- - Added: Support for octal and binary number literals.
118
- - Added: Support for template strings.
119
-
120
-
121
- ### Version 0.3.1 (2015-01-06) ###
122
-
123
- - Fixed: Support for unicode spaces. They used to be allowed in names (which is
124
- very confusing), and some unicode newlines were wrongly allowed in strings and
125
- regexes.
126
-
127
-
128
- ### Version 0.3.0 (2014-12-19) ###
129
-
130
- - Changed: The `jsTokens.names` array has been replaced with the
131
- `jsTokens.matchToToken` function. The capturing groups of `jsTokens` are no
132
- longer part of the public API; instead use said function. See this [gist] for
133
- an example. (Backwards-incompatible change.)
134
- - Changed: The empty string is now considered an “invalid” token, instead an
135
- “empty” token (its own group). (Backwards-incompatible change.)
136
- - Removed: component support. (Backwards-incompatible change.)
137
-
138
- [gist]: https://gist.github.com/lydell/be49dbf80c382c473004
139
-
140
-
141
- ### Version 0.2.0 (2014-06-19) ###
142
-
143
- - Changed: Match ES6 function arrows (`=>`) as an operator, instead of its own
144
- category (“functionArrow”), for simplicity. (Backwards-incompatible change.)
145
- - Added: ES6 splats (`...`) are now matched as an operator (instead of three
146
- punctuations). (Backwards-incompatible change.)
147
-
148
-
149
- ### Version 0.1.0 (2014-03-08) ###
150
-
151
- - Initial release.
@@ -1,50 +0,0 @@
1
- # Change Log
2
-
3
- All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
-
5
- ## 2.0.0
6
-
7
- * Add custom error classes
8
-
9
- <a name="1.0.2"></a>
10
- ## [1.0.2](https://github.com/npm/json-parse-even-better-errors/compare/v1.0.1...v1.0.2) (2018-03-30)
11
-
12
-
13
- ### Bug Fixes
14
-
15
- * **messages:** More friendly messages for non-string ([#1](https://github.com/npm/json-parse-even-better-errors/issues/1)) ([a476d42](https://github.com/npm/json-parse-even-better-errors/commit/a476d42))
16
-
17
-
18
-
19
- <a name="1.0.1"></a>
20
- ## [1.0.1](https://github.com/npm/json-parse-even-better-errors/compare/v1.0.0...v1.0.1) (2017-08-16)
21
-
22
-
23
- ### Bug Fixes
24
-
25
- * **license:** oops. Forgot to update license.md ([efe2958](https://github.com/npm/json-parse-even-better-errors/commit/efe2958))
26
-
27
-
28
-
29
- <a name="1.0.0"></a>
30
- # 1.0.0 (2017-08-15)
31
-
32
-
33
- ### Features
34
-
35
- * **init:** Initial Commit ([562c977](https://github.com/npm/json-parse-even-better-errors/commit/562c977))
36
-
37
-
38
- ### BREAKING CHANGES
39
-
40
- * **init:** This is the first commit!
41
-
42
-
43
-
44
- <a name="0.1.0"></a>
45
- # 0.1.0 (2017-08-15)
46
-
47
-
48
- ### Features
49
-
50
- * **init:** Initial Commit ([9dd1a19](https://github.com/npm/json-parse-even-better-errors/commit/9dd1a19))