@wordpress/i18n 6.9.1-next.8fd3f8831.0 → 6.10.1-next.06ee73755.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.
package/LICENSE.md CHANGED
@@ -1,6 +1,6 @@
1
1
  ## Gutenberg
2
2
 
3
- Copyright 2016-2025 by the contributors
3
+ Copyright 2016-2026 by the contributors
4
4
 
5
5
  **License for Contributions (on and after April 15, 2021)**
6
6
 
@@ -33,7 +33,7 @@ __export(create_i18n_exports, {
33
33
  createI18n: () => createI18n
34
34
  });
35
35
  module.exports = __toCommonJS(create_i18n_exports);
36
- var import_tannin = __toESM(require("tannin"), 1);
36
+ var import_tannin = __toESM(require("tannin"));
37
37
  var DEFAULT_LOCALE_DATA = {
38
38
  "": {
39
39
  plural_forms(n) {
package/build/index.cjs CHANGED
@@ -47,7 +47,7 @@ __export(index_exports, {
47
47
  module.exports = __toCommonJS(index_exports);
48
48
  var import_sprintf = require("./sprintf.cjs");
49
49
  __reExport(index_exports, require("./create-i18n.cjs"), module.exports);
50
- var import_default_i18n = __toESM(require("./default-i18n.cjs"), 1);
50
+ var import_default_i18n = __toESM(require("./default-i18n.cjs"));
51
51
  // Annotate the CommonJS export names for ESM import in node:
52
52
  0 && (module.exports = {
53
53
  __,
package/build/sprintf.cjs CHANGED
@@ -33,7 +33,7 @@ __export(sprintf_exports, {
33
33
  sprintf: () => sprintf
34
34
  });
35
35
  module.exports = __toCommonJS(sprintf_exports);
36
- var import_sprintf = __toESM(require("@tannin/sprintf"), 1);
36
+ var import_sprintf = __toESM(require("@tannin/sprintf"));
37
37
  function sprintf(format, ...args) {
38
38
  return (0, import_sprintf.default)(format, ...args);
39
39
  }
@@ -210,4 +210,4 @@ var createI18n = (initialData, initialDomain, hooks) => {
210
210
  export {
211
211
  createI18n
212
212
  };
213
- //# sourceMappingURL=create-i18n.js.map
213
+ //# sourceMappingURL=create-i18n.mjs.map
@@ -1,5 +1,5 @@
1
1
  // packages/i18n/src/default-i18n.ts
2
- import { createI18n } from "./create-i18n.js";
2
+ import { createI18n } from "./create-i18n.mjs";
3
3
  import { defaultHooks } from "@wordpress/hooks";
4
4
  var i18n = createI18n(void 0, void 0, defaultHooks);
5
5
  var default_i18n_default = i18n;
@@ -26,4 +26,4 @@ export {
26
26
  setLocaleData,
27
27
  subscribe
28
28
  };
29
- //# sourceMappingURL=default-i18n.js.map
29
+ //# sourceMappingURL=default-i18n.mjs.map
@@ -1,6 +1,6 @@
1
1
  // packages/i18n/src/index.ts
2
- import { sprintf } from "./sprintf.js";
3
- export * from "./create-i18n.js";
2
+ import { sprintf } from "./sprintf.mjs";
3
+ export * from "./create-i18n.mjs";
4
4
  import {
5
5
  default as default2,
6
6
  setLocaleData,
@@ -13,7 +13,7 @@ import {
13
13
  _nx,
14
14
  isRTL,
15
15
  hasTranslation
16
- } from "./default-i18n.js";
16
+ } from "./default-i18n.mjs";
17
17
  export {
18
18
  __,
19
19
  _n,
@@ -28,4 +28,4 @@ export {
28
28
  sprintf,
29
29
  subscribe
30
30
  };
31
- //# sourceMappingURL=index.js.map
31
+ //# sourceMappingURL=index.mjs.map
@@ -6,4 +6,4 @@ function sprintf(format, ...args) {
6
6
  export {
7
7
  sprintf
8
8
  };
9
- //# sourceMappingURL=sprintf.js.map
9
+ //# sourceMappingURL=sprintf.mjs.map
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=types.mjs.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wordpress/i18n",
3
- "version": "6.9.1-next.8fd3f8831.0",
3
+ "version": "6.10.1-next.06ee73755.0",
4
4
  "description": "WordPress internationalization (i18n) library.",
5
5
  "author": "The WordPress Contributors",
6
6
  "license": "GPL-2.0-or-later",
@@ -29,13 +29,12 @@
29
29
  "build-types",
30
30
  "*.md"
31
31
  ],
32
- "type": "module",
33
32
  "main": "build/index.cjs",
34
- "module": "build-module/index.js",
33
+ "module": "build-module/index.mjs",
35
34
  "exports": {
36
35
  ".": {
37
36
  "types": "./build-types/index.d.ts",
38
- "import": "./build-module/index.js",
37
+ "import": "./build-module/index.mjs",
39
38
  "require": "./build/index.cjs"
40
39
  },
41
40
  "./package.json": "./package.json"
@@ -48,13 +47,16 @@
48
47
  },
49
48
  "dependencies": {
50
49
  "@tannin/sprintf": "^1.3.2",
51
- "@wordpress/hooks": "^4.36.1-next.8fd3f8831.0",
50
+ "@wordpress/hooks": "^4.37.1-next.06ee73755.0",
52
51
  "gettext-parser": "^1.3.1",
53
52
  "memize": "^2.1.0",
54
53
  "tannin": "^1.2.0"
55
54
  },
55
+ "devDependencies": {
56
+ "benchmark": "2.1.4"
57
+ },
56
58
  "publishConfig": {
57
59
  "access": "public"
58
60
  },
59
- "gitHead": "e582b351bc4c4b8734bb087f63a3beec9875c3c7"
61
+ "gitHead": "fd315436f44683a993d5f053789b5279d95b2872"
60
62
  }
@@ -1 +0,0 @@
1
- //# sourceMappingURL=types.js.map
File without changes
File without changes