@formatjs/cli 5.0.6 → 5.0.7
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 +4 -3
- package/package.json +2 -2
package/bin/formatjs
CHANGED
|
@@ -149111,13 +149111,13 @@ async function resolveBuiltinFormatter(format8) {
|
|
|
149111
149111
|
return crowdin_exports;
|
|
149112
149112
|
}
|
|
149113
149113
|
try {
|
|
149114
|
-
return import((0, import_path.resolve)(process.cwd(), format8));
|
|
149114
|
+
return import((0, import_url.pathToFileURL)((0, import_path.resolve)(process.cwd(), format8)).href);
|
|
149115
149115
|
} catch (e) {
|
|
149116
149116
|
console.error(`Cannot resolve formatter ${format8}`);
|
|
149117
149117
|
throw e;
|
|
149118
149118
|
}
|
|
149119
149119
|
}
|
|
149120
|
-
var import_path;
|
|
149120
|
+
var import_path, import_url;
|
|
149121
149121
|
var init_formatters = __esm({
|
|
149122
149122
|
"bazel-out/darwin-fastbuild/bin/packages/cli-lib/lib_esnext/src/formatters/index.js"() {
|
|
149123
149123
|
init_default();
|
|
@@ -149127,6 +149127,7 @@ var init_formatters = __esm({
|
|
|
149127
149127
|
init_lokalise();
|
|
149128
149128
|
init_crowdin();
|
|
149129
149129
|
import_path = require("path");
|
|
149130
|
+
import_url = require("url");
|
|
149130
149131
|
}
|
|
149131
149132
|
});
|
|
149132
149133
|
|
|
@@ -154915,7 +154916,7 @@ var require_out4 = __commonJS({
|
|
|
154915
154916
|
var version;
|
|
154916
154917
|
var init_package = __esm({
|
|
154917
154918
|
"bazel-out/darwin-fastbuild/bin/packages/cli-lib/lib_esnext/package.json"() {
|
|
154918
|
-
version = "5.0.
|
|
154919
|
+
version = "5.0.6";
|
|
154919
154920
|
}
|
|
154920
154921
|
});
|
|
154921
154922
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@formatjs/cli",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.7",
|
|
4
4
|
"description": "A CLI for formatjs.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"intl",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"url": "https://github.com/formatjs/formatjs/issues"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@formatjs/cli-lib": "5.0.
|
|
36
|
+
"@formatjs/cli-lib": "5.0.6"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
39
|
"@vue/compiler-sfc": "^3.2.34"
|