From 7783cbff0b9f508f9252f3612413f0af2e2dd8ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sa=C3=BAl=20Ibarra=20Corretg=C3=A9?= Date: Thu, 12 Aug 2021 20:35:16 +0200 Subject: [PATCH 1/3] fix(build) specify extension Webpack 5 fails with the following error: ~~~~ ERROR in ./node_modules/@jitsi/sdp-interop/lib/index.js 16:0-26 Module not found: Error: Can't resolve './interop' in '/Users/saghul/work/jitsi/lib-jitsi-meet/node_modules/@jitsi/sdp-interop/lib' Did you mean 'interop.js'? BREAKING CHANGE: The request './interop' failed to resolve only because it was resolved as fully specified (probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '*.mjs' file, or a '*.js' file where the package.json contains '"type": "module"'). The extension in the request is mandatory for it to be fully specified. Add the extension to the request. ~~~~ --- lib/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/index.js b/lib/index.js index e5fc66e..93cb276 100644 --- a/lib/index.js +++ b/lib/index.js @@ -13,4 +13,4 @@ * limitations under the License. */ -export * from './interop'; +export * from './interop.js'; From 729eb1db2199ddef2325742892656a5357c173fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sa=C3=BAl=20Ibarra=20Corretg=C3=A9?= Date: Thu, 12 Aug 2021 20:38:27 +0200 Subject: [PATCH 2/3] Bump version --- package-lock.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 9f756e3..34020c0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "@jitsi/sdp-interop", - "version": "1.0.4", + "version": "1.0.5", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 2a37dcf..23dfb18 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "@jitsi/sdp-interop", "description": "A simple SDP interoperability layer for Unified Plan/Plan B", "author": "", - "version": "1.0.4", + "version": "1.0.5", "stability": "unstable", "repository": { "type": "git", From 6b73ae68f86724f23e51d64733164c8729cd4aa3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sa=C3=BAl=20Ibarra=20Corretg=C3=A9?= Date: Thu, 12 Aug 2021 20:39:30 +0200 Subject: [PATCH 3/3] fix(build) run npm audit fix --- package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 34020c0..56c866a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1586,9 +1586,9 @@ "dev": true }, "path-parse": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz", - "integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==", + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", + "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", "dev": true }, "path-type": {