strictr 0.2.71 → 0.3.0
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.
|
@@ -53,7 +53,7 @@ const addUseStrict = (path) => {
|
|
|
53
53
|
? [one, ...lines]
|
|
54
54
|
: lines;
|
|
55
55
|
fs.writeFileSync(path, (0, lodash_1.join)(lines, '\n'), 'utf-8');
|
|
56
|
-
console.log(clc.blue(' - Strictr Added ' + clc.italic("'use strict';") + ' to' + clc.bold(path) + '...'));
|
|
56
|
+
console.log(clc.blue(' - Strictr Added ' + clc.italic("'use strict';") + ' to ' + clc.bold(path) + '...'));
|
|
57
57
|
};
|
|
58
58
|
exports.default = addUseStrict;
|
|
59
59
|
//# sourceMappingURL=add.use.strict.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add.use.strict.js","sourceRoot":"","sources":["../../src/functions/add.use.strict.ts"],"names":[],"mappings":";AACA,YAAY,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEb,uCAAyB;AACzB,mCAAkE;AAElE,MAAM,GAAG,GAAG,OAAO,CAAC,WAAW,CAAC,CAAC;AAEjC,MAAM,YAAY,GAAG,CAAC,IAAY,EAAQ,EAAE;IAC3C,IAAI,CAAC,EAAE,CAAC,UAAU,CAAC,IAAI,CAAC;QAAE,OAAO,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,mBAAmB,GAAG,GAAG,CAAC,IAAI,CAAC,GAAG,IAAI,EAAE,CAAC,GAAG,kBAAkB,CAAC,CAAC,CAAC;IAEtH,MAAM,OAAO,GAAG,EAAE,CAAC,YAAY,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IAC/C,IAAI,KAAK,GAAa,IAAA,cAAK,EAAC,IAAA,aAAI,EAAC,OAAO,CAAC,EAAE,IAAI,CAAC,CAAC;IAEjD,MAAM,GAAG,GAAW,IAAA,aAAI,EAAC,IAAA,cAAK,EAAC,KAA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
|
"engines": {
|
|
6
6
|
"node": ">=20.12.1"
|
|
@@ -39,25 +39,25 @@
|
|
|
39
39
|
"@types/cli-table": "^0.3.4",
|
|
40
40
|
"cli-color": "^2.0.3",
|
|
41
41
|
"cli-table": "^0.3.11",
|
|
42
|
-
"commander": "^
|
|
42
|
+
"commander": "^14.0.0",
|
|
43
43
|
"lodash": "^4.17.21"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@types/chai": "^4.3.11",
|
|
47
|
-
"@types/lodash": "^4.17.
|
|
47
|
+
"@types/lodash": "^4.17.19",
|
|
48
48
|
"@types/mocha": "^10.0.10",
|
|
49
|
-
"@types/node": "^
|
|
49
|
+
"@types/node": "^24.0.7",
|
|
50
50
|
"chai": "^4.4.0",
|
|
51
|
-
"mocha": "^11.1
|
|
51
|
+
"mocha": "^11.7.1",
|
|
52
52
|
"nyc": "^17.1.0",
|
|
53
|
-
"prettier": "^3.
|
|
53
|
+
"prettier": "^3.6.2",
|
|
54
54
|
"source-map-support": "^0.5.21",
|
|
55
55
|
"ts-node": "^10.9.2",
|
|
56
56
|
"tslint": "^6.1.3",
|
|
57
57
|
"tslint-config-prettier": "^1.18.0",
|
|
58
58
|
"tslint-etc": "^1.13.10",
|
|
59
59
|
"tslint-no-unused-expression-chai": "^0.1.4",
|
|
60
|
-
"typedoc": "^0.28.
|
|
60
|
+
"typedoc": "^0.28.7",
|
|
61
61
|
"typescript": "^5.8.3"
|
|
62
62
|
},
|
|
63
63
|
"nyc": {
|
|
@@ -95,7 +95,9 @@
|
|
|
95
95
|
"es5-ext"
|
|
96
96
|
],
|
|
97
97
|
"overrides": {
|
|
98
|
-
"@babel/helpers@<7.26.10": ">=7.26.10"
|
|
98
|
+
"@babel/helpers@<7.26.10": ">=7.26.10",
|
|
99
|
+
"brace-expansion@>=1.0.0 <=1.1.11": ">=1.1.12"
|
|
99
100
|
}
|
|
100
|
-
}
|
|
101
|
+
},
|
|
102
|
+
"packageManager": "pnpm@10.12.3"
|
|
101
103
|
}
|