goldstein 7.0.2 → 7.0.4
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.
- package/ChangeLog +14 -0
- package/package.json +8 -6
- package/packages/goldstein/index.js +2 -3
- package/packages/internal-parse-maybe-assign/index.js +1 -1
- package/packages/keyword-assign-from/index.js +1 -1
- package/packages/keyword-broken-string/index.js +1 -1
- package/packages/keyword-curry/index.js +1 -1
- package/packages/keyword-export-no-const/index.js +1 -1
- package/packages/keyword-fn/index.js +1 -1
- package/packages/keyword-freeze/index.js +1 -1
- package/packages/keyword-guard/index.js +1 -1
- package/packages/keyword-if/index.js +1 -1
- package/packages/keyword-import/index.js +1 -1
- package/packages/keyword-missing-initializer/index.js +1 -1
- package/packages/keyword-should/index.js +1 -1
- package/packages/keyword-try/index.js +2 -2
- package/packages/operator-safe-assignment/index.js +1 -1
package/ChangeLog
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
2026.02.11, v7.0.4
|
|
2
|
+
|
|
3
|
+
feature:
|
|
4
|
+
- 1c07bf5 goldstein: apply private import: #operator
|
|
5
|
+
- e2ba82d goldstein: eslint v10.0.0
|
|
6
|
+
- 5de2959 goldstein: eslint-plugin-putout v30.0.1
|
|
7
|
+
- 522853b goldstein: @putout/eslint-flat v4.0.0
|
|
8
|
+
- 9bfa72f goldstein: @cloudcmd/stub v5.0.0
|
|
9
|
+
|
|
10
|
+
2026.01.11, v7.0.3
|
|
11
|
+
|
|
12
|
+
feature:
|
|
13
|
+
- b7f87e3 goldstein: @putout/plugin-declare v7.1.0
|
|
14
|
+
|
|
1
15
|
2026.01.07, v7.0.2
|
|
2
16
|
|
|
3
17
|
feature:
|
package/package.json
CHANGED
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "goldstein",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
|
|
6
6
|
"description": "JavaScript with no limits",
|
|
7
7
|
"exports": {
|
|
8
8
|
".": "./packages/goldstein/index.js"
|
|
9
9
|
},
|
|
10
|
+
"imports": {
|
|
11
|
+
"#operator": "./packages/operator/index.js"
|
|
12
|
+
},
|
|
10
13
|
"bin": {
|
|
11
14
|
"gs": "bin/gs.js"
|
|
12
15
|
},
|
|
@@ -27,7 +30,7 @@
|
|
|
27
30
|
"wisdom": "madrun wisdom"
|
|
28
31
|
},
|
|
29
32
|
"dependencies": {
|
|
30
|
-
"@putout/plugin-declare": "^
|
|
33
|
+
"@putout/plugin-declare": "^7.1.0",
|
|
31
34
|
"@putout/plugin-logical-expressions": "^8.0.0",
|
|
32
35
|
"@putout/plugin-try-catch": "^7.0.0",
|
|
33
36
|
"@putout/printer": "^17.0.0",
|
|
@@ -40,16 +43,15 @@
|
|
|
40
43
|
},
|
|
41
44
|
"license": "MIT",
|
|
42
45
|
"devDependencies": {
|
|
43
|
-
"@
|
|
44
|
-
"@putout/eslint-flat": "^3.0.0",
|
|
46
|
+
"@putout/eslint-flat": "^4.0.0",
|
|
45
47
|
"@putout/plugin-goldstein": "./rules/goldstein",
|
|
46
48
|
"@putout/test": "^15.0.0",
|
|
47
49
|
"c8": "^10.0.0",
|
|
48
50
|
"check-dts": "^0.9.0",
|
|
49
51
|
"esbuild": "^0.27.0",
|
|
50
52
|
"esbuild-node-builtins": "^0.1.0",
|
|
51
|
-
"eslint": "^
|
|
52
|
-
"eslint-plugin-putout": "^
|
|
53
|
+
"eslint": "^10.0.0",
|
|
54
|
+
"eslint-plugin-putout": "^30.0.1",
|
|
53
55
|
"madrun": "^12.0.0",
|
|
54
56
|
"mock-require": "^3.0.3",
|
|
55
57
|
"montag": "^1.2.1",
|
|
@@ -12,11 +12,10 @@ import * as removeUnnamedObjectProperty from '../keyword-useless-comma/remove-un
|
|
|
12
12
|
|
|
13
13
|
export const compile = (source, options = {}) => {
|
|
14
14
|
const ast = parse(source, options);
|
|
15
|
+
const {rules} = options;
|
|
15
16
|
|
|
16
17
|
transform(ast, source, {
|
|
17
|
-
rules
|
|
18
|
-
...options.rules,
|
|
19
|
-
},
|
|
18
|
+
rules,
|
|
20
19
|
plugins: [
|
|
21
20
|
['try-catch', tryCatchPlugin],
|
|
22
21
|
['declare', declarePlugin],
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {types} from 'putout';
|
|
2
|
-
import {setGoldsteinTry} from '../types/try.js';
|
|
3
2
|
import {
|
|
4
3
|
BIND_LEXICAL,
|
|
5
4
|
BIND_SIMPLE_CATCH,
|
|
6
5
|
SCOPE_SIMPLE_CATCH,
|
|
7
6
|
tokTypes as tt,
|
|
8
|
-
} from '
|
|
7
|
+
} from '#operator';
|
|
8
|
+
import {setGoldsteinTry} from '../types/try.js';
|
|
9
9
|
|
|
10
10
|
const {
|
|
11
11
|
isCallExpression,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {types} from 'putout';
|
|
2
|
+
import {tokTypes as tt} from '#operator';
|
|
2
3
|
import {setGoldsteinTry} from '../types/try.js';
|
|
3
4
|
import {MissingInitializer} from '../keyword-missing-initializer/index.js';
|
|
4
|
-
import {tokTypes as tt} from '../operator/index.js';
|
|
5
5
|
|
|
6
6
|
const {assign} = Object;
|
|
7
7
|
|