@vocab/webpack 1.2.12 → 1.2.13-fix-messageformat-import-20250923004826
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/dist/chunk-nOFOJqeH.js +30 -0
- package/dist/chunk-name-CBgqhApm.js +14 -0
- package/dist/chunk-name-CBgqhApm.js.map +1 -0
- package/dist/chunk-name-D6UZ3rB7.mjs +8 -0
- package/dist/chunk-name-D6UZ3rB7.mjs.map +1 -0
- package/dist/chunk-name.d.mts +5 -0
- package/dist/chunk-name.d.ts +5 -0
- package/dist/chunk-name.js +3 -0
- package/dist/chunk-name.mjs +3 -0
- package/dist/index.d.mts +19 -0
- package/dist/index.d.ts +19 -0
- package/dist/index.js +33 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +30 -0
- package/dist/index.mjs.map +1 -0
- package/dist/loader.d.mts +9 -0
- package/dist/loader.d.ts +8 -0
- package/dist/loader.js +99 -0
- package/dist/loader.js.map +1 -0
- package/dist/loader.mjs +94 -0
- package/dist/loader.mjs.map +1 -0
- package/dist/logger-CoUhqRrx.mjs +14 -0
- package/dist/logger-CoUhqRrx.mjs.map +1 -0
- package/dist/logger-vmXVx1Ky.js +16 -0
- package/dist/logger-vmXVx1Ky.js.map +1 -0
- package/dist/web.d.mts +8 -0
- package/dist/web.d.ts +8 -0
- package/dist/web.js +31 -0
- package/dist/web.js.map +1 -0
- package/dist/web.mjs +22 -0
- package/dist/web.mjs.map +1 -0
- package/package.json +17 -27
- package/README.md +0 -827
- package/chunk-name/dist/vocab-webpack-chunk-name.cjs.d.ts +0 -2
- package/chunk-name/dist/vocab-webpack-chunk-name.cjs.dev.js +0 -9
- package/chunk-name/dist/vocab-webpack-chunk-name.cjs.js +0 -7
- package/chunk-name/dist/vocab-webpack-chunk-name.cjs.prod.js +0 -9
- package/chunk-name/dist/vocab-webpack-chunk-name.esm.js +0 -5
- package/chunk-name/package.json +0 -4
- package/dist/declarations/src/chunk-name.d.ts +0 -1
- package/dist/declarations/src/index.d.ts +0 -12
- package/dist/declarations/src/loader.d.ts +0 -5
- package/dist/declarations/src/web.d.ts +0 -3
- package/dist/logger-018d2c78.cjs.prod.js +0 -12
- package/dist/logger-c5869e3f.esm.js +0 -6
- package/dist/logger-ebb09632.cjs.dev.js +0 -12
- package/dist/vocab-webpack.cjs.d.ts +0 -2
- package/dist/vocab-webpack.cjs.dev.js +0 -43
- package/dist/vocab-webpack.cjs.js +0 -7
- package/dist/vocab-webpack.cjs.prod.js +0 -43
- package/dist/vocab-webpack.esm.js +0 -38
- package/loader/dist/vocab-webpack-loader.cjs.d.ts +0 -3
- package/loader/dist/vocab-webpack-loader.cjs.dev.js +0 -137
- package/loader/dist/vocab-webpack-loader.cjs.js +0 -7
- package/loader/dist/vocab-webpack-loader.cjs.prod.js +0 -137
- package/loader/dist/vocab-webpack-loader.esm.js +0 -109
- package/loader/package.json +0 -4
- package/web/dist/vocab-webpack-web.cjs.d.ts +0 -2
- package/web/dist/vocab-webpack-web.cjs.dev.js +0 -34
- package/web/dist/vocab-webpack-web.cjs.js +0 -7
- package/web/dist/vocab-webpack-web.cjs.prod.js +0 -34
- package/web/dist/vocab-webpack-web.esm.js +0 -26
- package/web/package.json +0 -4
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var icuHandler = require('@vocab/core/icu-handler');
|
|
6
|
-
var translationFile = require('@vocab/core/translation-file');
|
|
7
|
-
|
|
8
|
-
const createLanguage = (moduleId, loadImport) => {
|
|
9
|
-
let promiseValue;
|
|
10
|
-
return {
|
|
11
|
-
getValue: locale => {
|
|
12
|
-
// @ts-expect-error Missing webpack types
|
|
13
|
-
if (!__webpack_modules__[moduleId]) {
|
|
14
|
-
return undefined;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
// @ts-expect-error Missing webpack types
|
|
18
|
-
const m = __webpack_require__(moduleId);
|
|
19
|
-
return icuHandler.getParsedICUMessages(m, locale);
|
|
20
|
-
},
|
|
21
|
-
load: () => {
|
|
22
|
-
if (!promiseValue) {
|
|
23
|
-
promiseValue = loadImport();
|
|
24
|
-
}
|
|
25
|
-
return promiseValue;
|
|
26
|
-
}
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
|
|
30
|
-
Object.defineProperty(exports, 'createTranslationFile', {
|
|
31
|
-
enumerable: true,
|
|
32
|
-
get: function () { return translationFile.createTranslationFile; }
|
|
33
|
-
});
|
|
34
|
-
exports.createLanguage = createLanguage;
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var icuHandler = require('@vocab/core/icu-handler');
|
|
6
|
-
var translationFile = require('@vocab/core/translation-file');
|
|
7
|
-
|
|
8
|
-
const createLanguage = (moduleId, loadImport) => {
|
|
9
|
-
let promiseValue;
|
|
10
|
-
return {
|
|
11
|
-
getValue: locale => {
|
|
12
|
-
// @ts-expect-error Missing webpack types
|
|
13
|
-
if (!__webpack_modules__[moduleId]) {
|
|
14
|
-
return undefined;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
// @ts-expect-error Missing webpack types
|
|
18
|
-
const m = __webpack_require__(moduleId);
|
|
19
|
-
return icuHandler.getParsedICUMessages(m, locale);
|
|
20
|
-
},
|
|
21
|
-
load: () => {
|
|
22
|
-
if (!promiseValue) {
|
|
23
|
-
promiseValue = loadImport();
|
|
24
|
-
}
|
|
25
|
-
return promiseValue;
|
|
26
|
-
}
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
|
|
30
|
-
Object.defineProperty(exports, 'createTranslationFile', {
|
|
31
|
-
enumerable: true,
|
|
32
|
-
get: function () { return translationFile.createTranslationFile; }
|
|
33
|
-
});
|
|
34
|
-
exports.createLanguage = createLanguage;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { getParsedICUMessages } from '@vocab/core/icu-handler';
|
|
2
|
-
export { createTranslationFile } from '@vocab/core/translation-file';
|
|
3
|
-
|
|
4
|
-
const createLanguage = (moduleId, loadImport) => {
|
|
5
|
-
let promiseValue;
|
|
6
|
-
return {
|
|
7
|
-
getValue: locale => {
|
|
8
|
-
// @ts-expect-error Missing webpack types
|
|
9
|
-
if (!__webpack_modules__[moduleId]) {
|
|
10
|
-
return undefined;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
// @ts-expect-error Missing webpack types
|
|
14
|
-
const m = __webpack_require__(moduleId);
|
|
15
|
-
return getParsedICUMessages(m, locale);
|
|
16
|
-
},
|
|
17
|
-
load: () => {
|
|
18
|
-
if (!promiseValue) {
|
|
19
|
-
promiseValue = loadImport();
|
|
20
|
-
}
|
|
21
|
-
return promiseValue;
|
|
22
|
-
}
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
|
|
26
|
-
export { createLanguage };
|
package/web/package.json
DELETED