@formatjs/intl-displaynames 2.2.8 → 2.2.9

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.
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=polyfill-force.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"polyfill-force.d.ts","sourceRoot":"","sources":["../src/polyfill-force.ts"],"names":[],"mappings":""}
@@ -0,0 +1,8 @@
1
+ import { DisplayNames } from '.';
2
+ Object.defineProperty(Intl, 'DisplayNames', {
3
+ value: DisplayNames,
4
+ enumerable: false,
5
+ writable: true,
6
+ configurable: true,
7
+ });
8
+ //# sourceMappingURL=polyfill-force.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"polyfill-force.js","sourceRoot":"","sources":["../src/polyfill-force.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,YAAY,EAAC,MAAM,GAAG,CAAC;AAE/B,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,cAAc,EAAE;IAC1C,KAAK,EAAE,YAAY;IACnB,UAAU,EAAE,KAAK;IACjB,QAAQ,EAAE,IAAI;IACd,YAAY,EAAE,IAAI;CACnB,CAAC,CAAC"}
@@ -5,7 +5,7 @@
5
5
  "toolPackages": [
6
6
  {
7
7
  "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.8.0"
8
+ "packageVersion": "7.8.12"
9
9
  }
10
10
  ]
11
11
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@formatjs/intl-displaynames",
3
- "version": "2.2.8",
3
+ "version": "2.2.9",
4
4
  "description": "Polyfill for: https://tc39.es/proposal-intl-displaynames",
5
5
  "keywords": [
6
6
  "i18n",
@@ -30,10 +30,10 @@
30
30
  "url": "git+https://github.com/formatjs/formatjs.git"
31
31
  },
32
32
  "dependencies": {
33
- "@formatjs/intl-utils": "^3.4.1"
33
+ "@formatjs/intl-utils": "^3.5.0"
34
34
  },
35
35
  "devDependencies": {
36
- "@formatjs/intl-getcanonicallocales": "^1.2.6",
36
+ "@formatjs/intl-getcanonicallocales": "^1.2.7",
37
37
  "@types/chalk": "^2.2.0",
38
38
  "@types/jest": "^25.2.1",
39
39
  "chalk": "^4.0.0",
@@ -42,8 +42,8 @@
42
42
  "ts-jest": "^25.4.0"
43
43
  },
44
44
  "scripts": {
45
- "cldr": "ts-node scripts/cldr",
46
- "build": "yarn run cldr && yarn run compile && yarn run rollup",
45
+ "cldr": "ts-node scripts/cldr --outDir dist/locale-data --test262MainFile dist-es6/test262-main.js --polyfillLocalesOutFile polyfill-locales.js",
46
+ "build": "yarn cldr && yarn compile && yarn rollup",
47
47
  "clean": "rimraf dist dist-es6 lib *.tsbuildinfo",
48
48
  "jest": "cross-env cross-env NODE_ENV=test jest",
49
49
  "test262": "cross-env ts-node tests/runner",
@@ -54,5 +54,5 @@
54
54
  "bugs": {
55
55
  "url": "https://github.com/formatjs/formatjs/issues"
56
56
  },
57
- "gitHead": "aa6995c4f8c9f79e13e5ca551057f6e1f3a72c22"
57
+ "gitHead": "76e649f2f673c1344fe29ccf739d4b4ebd573ead"
58
58
  }
@@ -0,0 +1,8 @@
1
+ import {DisplayNames} from '.';
2
+
3
+ Object.defineProperty(Intl, 'DisplayNames', {
4
+ value: DisplayNames,
5
+ enumerable: false,
6
+ writable: true,
7
+ configurable: true,
8
+ });