From f4789e0b3913858358599b11258da86435b9d668 Mon Sep 17 00:00:00 2001 From: chocolateboy Date: Tue, 23 Jun 2020 22:00:31 +0100 Subject: [PATCH] Revert ESM bundle workaround (bili bug) fixed in https://github.com/egoist/bili/pull/364 --- README.md | 2 +- package.json | 4 ++-- yarn.lock | 8 ++++---- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 1152340..6231c8c 100644 --- a/README.md +++ b/README.md @@ -292,7 +292,7 @@ The following NPM scripts are available: ## Modern -`index.js` and `index.es.js`: +`index.js` and `index.esm.js`: - [Maintained Node.js versions](https://github.com/nodejs/Release#readme) and compatible browsers diff --git a/package.json b/package.json index f041bff..9267b74 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ }, "files": [ "dist/index.d.ts", - "dist/index.es.js", + "dist/index.esm.js", "dist/index.js", "dist/index.umd.min.js" ], @@ -35,7 +35,7 @@ "@babel/core": "^7.10.3", "ava": "^3.9.0", "babel-plugin-source-map-support": "^2.1.2", - "bili": "^5.0.4", + "bili": "^5.0.5", "cross-env": "^7.0.2", "markdown-toc": "^1.2.0", "npm-run-all": "^4.1.5", diff --git a/yarn.lock b/yarn.lock index 5cf2a0f..db9c591 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1250,10 +1250,10 @@ big.js@^5.2.2: resolved "https://registry.yarnpkg.com/big.js/-/big.js-5.2.2.tgz#65f0af382f578bcdc742bd9c281e9cb2d7768328" integrity sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ== -bili@^5.0.4: - version "5.0.4" - resolved "https://registry.yarnpkg.com/bili/-/bili-5.0.4.tgz#b0c14009386e60b93a5782bae462b1d334bb141c" - integrity sha512-Ov2FnhgJ2hmGT/MCieEkBkbuHrp6rn424jfaAhuG9Zo0+FMvdxnqjtm7Zg0VJCiJQjXzUn1oQF2/RfKflSMXLg== +bili@^5.0.5: + version "5.0.5" + resolved "https://registry.yarnpkg.com/bili/-/bili-5.0.5.tgz#f0f313678312be491820efd7cd13202f723c37f0" + integrity sha512-LLqoGrlU3/rAF8mqy4MUqtZcrp1rtThD+9l/3IG/Pl6105gpJFzR2nvvJPMFgWyMy8Tlo3d2MxlICgvuUycc6w== dependencies: "@babel/core" "^7.10.2" "@babel/plugin-proposal-nullish-coalescing-operator" "^7.10.1"