@intlify/core 12.0.0-alpha.1 → 12.0.0-alpha.10

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.
@@ -1,31 +1,17 @@
1
- /*!
2
- * core v12.0.0-alpha.1
3
- * (c) 2016-present kazuya kawaguchi and contributors
4
- * Released under the MIT License.
5
- */
6
- import { registerMessageCompiler, compile, registerMessageResolver, resolveValue, registerLocaleFallbacker, fallbackWithLocaleChain } from '@intlify/core-base';
7
- export * from '@intlify/core-base';
8
- import { getGlobalThis } from '@intlify/shared';
9
-
10
1
  /**
11
- * This is only called in esm-bundler builds.
12
- * istanbul-ignore-next
13
- */
2
+ * @intlify/core v12.0.0-alpha.10
3
+ * (c) 2016-present kazuya kawaguchi and contributors
4
+ * @license MIT
5
+ **/
6
+ import { getGlobalThis } from "@intlify/shared";
7
+ export * from "@intlify/core-base";
8
+ // packages/core-base/src/misc.ts
9
+ /**
10
+ * This is only called in esm-bundler builds.
11
+ * istanbul-ignore-next
12
+ */
14
13
  function initFeatureFlags() {
15
- if (typeof __INTLIFY_PROD_DEVTOOLS__ !== 'boolean') {
16
- getGlobalThis().__INTLIFY_PROD_DEVTOOLS__ = false;
17
- }
18
- if (typeof __INTLIFY_DROP_MESSAGE_COMPILER__ !== 'boolean') {
19
- getGlobalThis().__INTLIFY_DROP_MESSAGE_COMPILER__ = false;
20
- }
21
- }
22
-
23
- {
24
- initFeatureFlags();
14
+ if (typeof __INTLIFY_DROP_MESSAGE_COMPILER__ !== "boolean") getGlobalThis().__INTLIFY_DROP_MESSAGE_COMPILER__ = false;
25
15
  }
26
- // register message compiler for jit compilation
27
- registerMessageCompiler(compile);
28
- // register message resolver at @intlify/core
29
- registerMessageResolver(resolveValue);
30
- // register fallback locale at @intlify/core
31
- registerLocaleFallbacker(fallbackWithLocaleChain);
16
+ // packages/core/src/runtime.ts
17
+ initFeatureFlags();
@@ -1,31 +1,17 @@
1
- /*!
2
- * core v12.0.0-alpha.1
3
- * (c) 2016-present kazuya kawaguchi and contributors
4
- * Released under the MIT License.
5
- */
6
- import { registerMessageCompiler, compile, registerMessageResolver, resolveValue, registerLocaleFallbacker, fallbackWithLocaleChain } from '@intlify/core-base';
7
- export * from '@intlify/core-base';
8
- import { getGlobalThis } from '@intlify/shared';
9
-
10
1
  /**
11
- * This is only called in esm-bundler builds.
12
- * istanbul-ignore-next
13
- */
2
+ * @intlify/core v12.0.0-alpha.10
3
+ * (c) 2016-present kazuya kawaguchi and contributors
4
+ * @license MIT
5
+ **/
6
+ import { getGlobalThis } from "@intlify/shared";
7
+ export * from "@intlify/core-base";
8
+ // packages/core-base/src/misc.ts
9
+ /**
10
+ * This is only called in esm-bundler builds.
11
+ * istanbul-ignore-next
12
+ */
14
13
  function initFeatureFlags() {
15
- if (typeof __INTLIFY_PROD_DEVTOOLS__ !== 'boolean') {
16
- getGlobalThis().__INTLIFY_PROD_DEVTOOLS__ = false;
17
- }
18
- if (typeof __INTLIFY_DROP_MESSAGE_COMPILER__ !== 'boolean') {
19
- getGlobalThis().__INTLIFY_DROP_MESSAGE_COMPILER__ = false;
20
- }
21
- }
22
-
23
- {
24
- initFeatureFlags();
14
+ if (typeof __INTLIFY_DROP_MESSAGE_COMPILER__ !== "boolean") getGlobalThis().__INTLIFY_DROP_MESSAGE_COMPILER__ = false;
25
15
  }
26
- // register message compiler for jit compilation
27
- registerMessageCompiler(compile);
28
- // register message resolver at @intlify/core
29
- registerMessageResolver(resolveValue);
30
- // register fallback locale at @intlify/core
31
- registerLocaleFallbacker(fallbackWithLocaleChain);
16
+ // packages/core/src/runtime.ts
17
+ initFeatureFlags();
package/package.json CHANGED
@@ -1,41 +1,63 @@
1
1
  {
2
2
  "name": "@intlify/core",
3
- "version": "12.0.0-alpha.1",
4
3
  "description": "@intlify/core",
5
- "keywords": [
6
- "core",
7
- "fundamental",
8
- "i18n",
9
- "internationalization",
10
- "intlify"
11
- ],
12
- "license": "MIT",
4
+ "version": "12.0.0-alpha.10",
13
5
  "author": {
14
6
  "name": "kazuya kawaguchi",
15
7
  "email": "kawakazu80@gmail.com"
16
8
  },
17
- "homepage": "https://github.com/intlify/vue-i18n/tree/master/packages/core#readme",
9
+ "license": "MIT",
10
+ "funding": "https://github.com/sponsors/kazupon",
11
+ "bugs": {
12
+ "url": "https://github.com/intlify/vue-i18n/issues"
13
+ },
18
14
  "repository": {
19
15
  "type": "git",
20
16
  "url": "git+https://github.com/intlify/vue-i18n.git",
21
17
  "directory": "packages/core"
22
18
  },
23
- "bugs": {
24
- "url": "https://github.com/intlify/vue-i18n/issues"
19
+ "keywords": [
20
+ "core",
21
+ "fundamental",
22
+ "i18n",
23
+ "internationalization",
24
+ "intlify"
25
+ ],
26
+ "homepage": "https://github.com/intlify/vue-i18n/tree/master/packages/core#readme",
27
+ "publishConfig": {
28
+ "access": "public"
29
+ },
30
+ "engines": {
31
+ "node": ">= 22"
25
32
  },
33
+ "type": "module",
34
+ "sideEffects": false,
26
35
  "files": [
27
36
  "dist"
28
37
  ],
29
38
  "module": "dist/core.js",
30
39
  "unpkg": "dist/core.global.js",
31
40
  "jsdelivr": "dist/core.global.js",
41
+ "exports": {
42
+ ".": {
43
+ "types": "./dist/core.d.ts",
44
+ "node": {
45
+ "import": {
46
+ "production": "./dist/core.node.js",
47
+ "development": "./dist/core.node.js",
48
+ "default": "./dist/core.node.js"
49
+ }
50
+ },
51
+ "import": "./dist/core.js",
52
+ "browser": "./dist/core.esm-browser.js"
53
+ },
54
+ "./dist/*": "./dist/*",
55
+ "./package.json": "./package.json"
56
+ },
32
57
  "types": "dist/core.d.ts",
33
58
  "dependencies": {
34
- "@intlify/core-base": "12.0.0-alpha.1",
35
- "@intlify/shared": "12.0.0-alpha.1"
36
- },
37
- "engines": {
38
- "node": ">= 16"
59
+ "@intlify/core-base": "12.0.0-alpha.10",
60
+ "@intlify/shared": "12.0.0-alpha.10"
39
61
  },
40
62
  "buildOptions": {
41
63
  "name": "IntlifyCore",
@@ -49,26 +71,5 @@
49
71
  "global",
50
72
  "global-runtime"
51
73
  ]
52
- },
53
- "exports": {
54
- ".": {
55
- "types": "./dist/core.d.ts",
56
- "import": "./dist/core.js",
57
- "browser": "./dist/core.esm-browser.js",
58
- "node": {
59
- "import": {
60
- "production": "./dist/core.prod.node.js",
61
- "development": "./dist/core.node.js",
62
- "default": "./dist/core.node.js"
63
- }
64
- }
65
- },
66
- "./dist/*": "./dist/*",
67
- "./package.json": "./package.json"
68
- },
69
- "funding": "https://github.com/sponsors/kazupon",
70
- "publishConfig": {
71
- "access": "public"
72
- },
73
- "sideEffects": false
74
+ }
74
75
  }