@formatjs/cli 6.3.11 → 6.3.13
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/bin/formatjs +5 -5
- package/package.json +6 -6
package/bin/formatjs
CHANGED
|
@@ -18045,12 +18045,12 @@ async function compileFolder(files, outFolder, opts = {}) {
|
|
|
18045
18045
|
outFiles.map((outFile, i) => (0, import_fs_extra2.outputFile)(outFile, results[i]))
|
|
18046
18046
|
);
|
|
18047
18047
|
}
|
|
18048
|
-
var
|
|
18048
|
+
var import_fs_extra2, import_path2;
|
|
18049
18049
|
var init_compile_folder = __esm({
|
|
18050
18050
|
"packages/cli-lib/src/compile_folder.ts"() {
|
|
18051
|
-
init_compile();
|
|
18052
|
-
import_path2 = require("path");
|
|
18053
18051
|
import_fs_extra2 = __toESM(require_lib());
|
|
18052
|
+
import_path2 = require("path");
|
|
18053
|
+
init_compile();
|
|
18054
18054
|
}
|
|
18055
18055
|
});
|
|
18056
18056
|
|
|
@@ -226792,8 +226792,8 @@ var require_interpolate_name = __commonJS({
|
|
|
226792
226792
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
226793
226793
|
exports.interpolateName = interpolateName2;
|
|
226794
226794
|
var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports));
|
|
226795
|
-
var path = tslib_1.__importStar(require("path"));
|
|
226796
226795
|
var crypto_1 = require("crypto");
|
|
226796
|
+
var path = tslib_1.__importStar(require("path"));
|
|
226797
226797
|
function getHashDigest(content, hashType = "md5", digestType = "hex", length = 9999) {
|
|
226798
226798
|
const hasher = (0, crypto_1.createHash)(hashType);
|
|
226799
226799
|
hasher.update(content);
|
|
@@ -227638,7 +227638,7 @@ __export(gts_extractor_exports, {
|
|
|
227638
227638
|
function parseFile3(source, fileName, options) {
|
|
227639
227639
|
const scriptParseFn = parseScript(options, fileName);
|
|
227640
227640
|
const transformedSource = p.process(source, { filename: fileName });
|
|
227641
|
-
scriptParseFn(transformedSource);
|
|
227641
|
+
scriptParseFn(transformedSource.code);
|
|
227642
227642
|
const parseResult = p.parse(source, { filename: fileName });
|
|
227643
227643
|
for (let parsed of parseResult) {
|
|
227644
227644
|
parseFile2(parsed.contents, fileName, options);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@formatjs/cli",
|
|
3
|
-
"version": "6.3.
|
|
3
|
+
"version": "6.3.13",
|
|
4
4
|
"description": "A CLI for formatjs.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"intl",
|
|
@@ -33,15 +33,15 @@
|
|
|
33
33
|
"url": "https://github.com/formatjs/formatjs/issues"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@formatjs/cli-lib": "
|
|
36
|
+
"@formatjs/cli-lib": "7.0.1"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
39
|
"@glimmer/env": "^0.1.7",
|
|
40
|
-
"@glimmer/reference": "^0.91.1 || ^0.92.0",
|
|
41
|
-
"@glimmer/syntax": "^0.92.0",
|
|
42
|
-
"@glimmer/validator": "^0.92.0",
|
|
40
|
+
"@glimmer/reference": "^0.91.1 || ^0.92.0 || ^0.93.0",
|
|
41
|
+
"@glimmer/syntax": "^0.92.0 || ^0.93.0",
|
|
42
|
+
"@glimmer/validator": "^0.92.0 || ^0.93.0",
|
|
43
43
|
"@vue/compiler-core": "^3.4.0",
|
|
44
|
-
"content-tag": "^2.0.1",
|
|
44
|
+
"content-tag": "^2.0.1 || ^3.0.0",
|
|
45
45
|
"ember-template-recast": "^6.1.4",
|
|
46
46
|
"vue": "^3.4.0"
|
|
47
47
|
},
|