@refinitiv-ui/i18n 7.0.5 → 7.1.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/CHANGELOG.md CHANGED
@@ -3,6 +3,16 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [7.1.0](https://github.com/Refinitiv/refinitiv-ui/compare/@refinitiv-ui/i18n@7.0.5...@refinitiv-ui/i18n@7.1.0) (2023-10-31)
7
+
8
+ ### Bug Fixes
9
+
10
+ - update `@trivago/prettier-plugin-sort-imports` to fix babel vulnerable to arbitrary code execution ([#1002](https://github.com/Refinitiv/refinitiv-ui/issues/1002)) ([e96385f](https://github.com/Refinitiv/refinitiv-ui/commit/e96385f652d8e2a8c3f6dffc952fecd718c9d033))
11
+
12
+ ### Features
13
+
14
+ - adding `type=module` to `package.json` ([#974](https://github.com/Refinitiv/refinitiv-ui/issues/974)) ([9bf21dc](https://github.com/Refinitiv/refinitiv-ui/commit/9bf21dc05cb7ed93e1d14e797c1bf6af85b659d3)), closes [#985](https://github.com/Refinitiv/refinitiv-ui/issues/985)
15
+
6
16
  ## [7.0.5](https://github.com/Refinitiv/refinitiv-ui/compare/@refinitiv-ui/i18n@7.0.4...@refinitiv-ui/i18n@7.0.5) (2023-10-24)
7
17
 
8
18
  **Note:** Version bump only for package @refinitiv-ui/i18n
package/lib/types.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { Formats, Options } from 'intl-messageformat';
2
1
  import type { MessageFormatElement } from '@formatjs/icu-messageformat-parser';
2
+ import { Formats, Options } from 'intl-messageformat';
3
3
  type TranslateOptions = {
4
4
  [key: string]: unknown;
5
5
  };
package/package.json CHANGED
@@ -1,9 +1,10 @@
1
1
  {
2
2
  "name": "@refinitiv-ui/i18n",
3
- "version": "7.0.5",
3
+ "version": "7.1.0",
4
4
  "description": "i18n support for Web Components",
5
5
  "main": "./lib/index.js",
6
6
  "module": "./lib/index.js",
7
+ "type": "module",
7
8
  "types": "./lib/index.d.ts",
8
9
  "repository": {
9
10
  "type": "git",
@@ -18,10 +19,10 @@
18
19
  "lint": "eslint .",
19
20
  "lint:fix": "eslint . --fix",
20
21
  "start": "npm run build && concurrently \"npm run build:watch\" \"vite serve __demo__ --open --force\"",
21
- "test": "npm run build && node ../../scripts/tests/run.mjs --package=i18n",
22
+ "test": "npm run build && node ../../scripts/tests/run.js --package=i18n",
22
23
  "test:watch": "npm run test -- --watch",
23
24
  "prepack": "npm run version",
24
- "version": "node ../../scripts/version/index.mjs"
25
+ "version": "node ../../scripts/version/index.js"
25
26
  },
26
27
  "author": "LSEG",
27
28
  "license": "Apache-2.0",
@@ -33,14 +34,14 @@
33
34
  "tslib": "^2.3.1"
34
35
  },
35
36
  "devDependencies": {
36
- "@refinitiv-ui/phrasebook": "^7.0.5",
37
- "@refinitiv-ui/test-helpers": "^7.0.4"
37
+ "@refinitiv-ui/phrasebook": "^7.1.0",
38
+ "@refinitiv-ui/test-helpers": "^7.1.0"
38
39
  },
39
40
  "peerDependencies": {
40
- "@refinitiv-ui/phrasebook": "^7.0.5"
41
+ "@refinitiv-ui/phrasebook": "^7.1.0"
41
42
  },
42
43
  "publishConfig": {
43
44
  "access": "public"
44
45
  },
45
- "gitHead": "3844f684f73a3ef5f035dd567e4362add74825eb"
46
+ "gitHead": "f0019ccc2f241a998c5e455b433c0e36720d5fe6"
46
47
  }