@refinitiv-ui/translate 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,20 @@
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/translate@7.0.6...@refinitiv-ui/translate@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
+
16
+ ## [7.0.6](https://github.com/Refinitiv/refinitiv-ui/compare/@refinitiv-ui/translate@7.0.5...@refinitiv-ui/translate@7.0.6) (2023-10-24)
17
+
18
+ **Note:** Version bump only for package @refinitiv-ui/translate
19
+
6
20
  ## [7.0.5](https://github.com/Refinitiv/refinitiv-ui/compare/@refinitiv-ui/translate@7.0.4...@refinitiv-ui/translate@7.0.5) (2023-10-09)
7
21
 
8
22
  **Note:** Version bump only for package @refinitiv-ui/translate
@@ -1,7 +1,7 @@
1
1
  import { AsyncDirective } from 'lit/async-directive.js';
2
2
  import { DirectiveResult, PartInfo } from 'lit/directive.js';
3
- import { TranslateOptions, TranslateParams } from '@refinitiv-ui/i18n';
4
3
  import type { BasicElement } from '@refinitiv-ui/core';
4
+ import { TranslateOptions, TranslateParams } from '@refinitiv-ui/i18n';
5
5
  declare const TranslatePropertyKey: unique symbol;
6
6
  type DecoratorOptions = {
7
7
  /**
package/package.json CHANGED
@@ -1,11 +1,12 @@
1
1
  {
2
2
  "name": "@refinitiv-ui/translate",
3
- "version": "7.0.5",
3
+ "version": "7.1.0",
4
4
  "description": "i18n implementation for Element Framework components",
5
5
  "author": "LSEG",
6
6
  "license": "Apache-2.0",
7
7
  "main": "./lib/translate.js",
8
8
  "module": "./lib/translate.js",
9
+ "type": "module",
9
10
  "types": "./lib/translate.d.ts",
10
11
  "repository": {
11
12
  "type": "git",
@@ -20,28 +21,28 @@
20
21
  "lint": "eslint .",
21
22
  "lint:fix": "eslint . --fix",
22
23
  "start": "npm run build && concurrently \"npm run build:watch\" \"vite serve __demo__ --open --force\"",
23
- "test": "npm run build && node ../../scripts/tests/run.mjs --package=translate",
24
+ "test": "npm run build && node ../../scripts/tests/run.js --package=translate",
24
25
  "test:snapshots": "npm run test -- --update-snapshots",
25
26
  "test:watch": "npm run test -- --watch",
26
27
  "prepack": "npm run version",
27
- "version": "node ../../scripts/version/index.mjs"
28
+ "version": "node ../../scripts/version/index.js"
28
29
  },
29
30
  "dependencies": {
30
31
  "lit": "^2.2.7",
31
32
  "tslib": "^2.3.1"
32
33
  },
33
34
  "devDependencies": {
34
- "@refinitiv-ui/core": "^7.2.1",
35
- "@refinitiv-ui/i18n": "^7.0.4",
36
- "@refinitiv-ui/phrasebook": "^7.0.4",
37
- "@refinitiv-ui/test-helpers": "^7.0.4"
35
+ "@refinitiv-ui/core": "^7.3.0",
36
+ "@refinitiv-ui/i18n": "^7.1.0",
37
+ "@refinitiv-ui/phrasebook": "^7.1.0",
38
+ "@refinitiv-ui/test-helpers": "^7.1.0"
38
39
  },
39
40
  "peerDependencies": {
40
- "@refinitiv-ui/i18n": "^7.0.4",
41
- "@refinitiv-ui/phrasebook": "^7.0.4"
41
+ "@refinitiv-ui/i18n": "^7.1.0",
42
+ "@refinitiv-ui/phrasebook": "^7.1.0"
42
43
  },
43
44
  "publishConfig": {
44
45
  "access": "public"
45
46
  },
46
- "gitHead": "4ba5cbcd3390fba7f3d554afc8886976291c47a2"
47
+ "gitHead": "f0019ccc2f241a998c5e455b433c0e36720d5fe6"
47
48
  }