@azure/core-paging 1.1.3-alpha.20200929.1 → 1.1.3

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
@@ -1,7 +1,8 @@
1
1
  # Release History
2
2
 
3
- ## 1.1.3 (Unreleased)
3
+ ## 1.1.3 (2020-09-30)
4
4
 
5
+ - Also pack `esm` build in addition to `commonjs` build. This fixes the warning about `core-paging` in Angular 10 applications [Issue 11550](https://github.com/Azure/azure-sdk-for-js/issues/11550).
5
6
 
6
7
  ## 1.1.2 (2020-09-02)
7
8
 
File without changes
@@ -0,0 +1,3 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT license.
3
+ import "@azure/core-asynciterator-polyfill";
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@azure/core-paging",
3
3
  "author": "Microsoft Corporation",
4
4
  "sdk-type": "client",
5
- "version": "1.1.3-alpha.20200929.1",
5
+ "version": "1.1.3",
6
6
  "description": "Core types for paging async iterable iterators",
7
7
  "tags": [
8
8
  "microsoft",
@@ -14,7 +14,8 @@
14
14
  "azure",
15
15
  "cloud"
16
16
  ],
17
- "main": "dist-esm/index.js",
17
+ "main": "dist/index.js",
18
+ "module": "dist-esm/src/index.js",
18
19
  "types": "./types/latest/core-paging.d.ts",
19
20
  "typesVersions": {
20
21
  "<3.6": {
@@ -26,7 +27,8 @@
26
27
  "files": [
27
28
  "types/latest/core-paging.d.ts",
28
29
  "types/3.1",
29
- "dist-esm/index.js",
30
+ "dist/index.js",
31
+ "dist-esm/src/index.js",
30
32
  "LICENSE",
31
33
  "README.md"
32
34
  ],
@@ -41,10 +43,10 @@
41
43
  },
42
44
  "scripts": {
43
45
  "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit",
44
- "build": "tsc -p .",
46
+ "build": "tsc -p tsconfig.json && tsc -p tsconfig.es.json",
45
47
  "build:test": "echo skipped",
46
48
  "check-format": "prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"*.{js,json}\"",
47
- "clean": "echo skipped",
49
+ "clean": "rimraf dist dist-esm",
48
50
  "execute:samples": "echo skipped",
49
51
  "format": "prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"*.{js,json}\"",
50
52
  "integration-test:browser": "echo skipped",
@@ -67,7 +69,7 @@
67
69
  "@azure/core-asynciterator-polyfill": "^1.0.0"
68
70
  },
69
71
  "devDependencies": {
70
- "@azure/eslint-plugin-azure-sdk": "^3.0.0-alpha",
72
+ "@azure/eslint-plugin-azure-sdk": "^3.0.0",
71
73
  "@types/node": "^8.0.0",
72
74
  "eslint": "^6.1.0",
73
75
  "prettier": "^1.16.4",