From cf9ccee33188266b4875995d42193170b8a3a4ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Jamr=C3=B3z?= Date: Mon, 28 Dec 2020 21:16:07 +0100 Subject: [PATCH] requirejs/text: use npm instead of github dependency --- js/main.js | 2 +- package-lock.json | 12 ++++++------ package.json | 4 ++-- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/js/main.js b/js/main.js index ff157050..9506288b 100644 --- a/js/main.js +++ b/js/main.js @@ -24,7 +24,7 @@ acceptance: '../test/acceptance', 'aw-parser': '../node_modules/aw-parser/dist/aw-parser.amd', 'aw-liner': '../node_modules/aw-liner/dist/aw-liner.amd', - text: '../node_modules/text/text', + text: '../node_modules/requirejs-text/text', Blob: 'libs/Blob' }, shim: { diff --git a/package-lock.json b/package-lock.json index 56bbcc2e..fa27cf1d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5228,8 +5228,12 @@ "requirejs": { "version": "2.3.6", "resolved": "https://registry.npmjs.org/requirejs/-/requirejs-2.3.6.tgz", - "integrity": "sha512-ipEzlWQe6RK3jkzikgCupiTbTvm4S0/CAU5GlgptkN5SO6F3u0UD0K18wy6ErDqiCyP4J4YYe1HuAShvsxePLg==", - "dev": true + "integrity": "sha512-ipEzlWQe6RK3jkzikgCupiTbTvm4S0/CAU5GlgptkN5SO6F3u0UD0K18wy6ErDqiCyP4J4YYe1HuAShvsxePLg==" + }, + "requirejs-text": { + "version": "2.0.15", + "resolved": "https://registry.npmjs.org/requirejs-text/-/requirejs-text-2.0.15.tgz", + "integrity": "sha1-ExOHM2E/xEV7fhJH6Mt1HfeqVCk=" }, "requizzle": { "version": "0.2.3", @@ -6680,10 +6684,6 @@ "execa": "^0.7.0" } }, - "text": { - "version": "github:requirejs/text#3f9d4c19b3a1a3c6f35650c5788cbea1db93197a", - "from": "github:requirejs/text" - }, "text-table": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", diff --git a/package.json b/package.json index 6eeaf2fe..8a4696dc 100644 --- a/package.json +++ b/package.json @@ -78,9 +78,9 @@ "lodash": "^4.17.20", "pdfkit": "^0.11.0", "protoplast": "2.0.3", + "requirejs-text": "^2.0.15", "snyk": "^1.319.0", - "stdio": "^0.2.7", - "text": "github:requirejs/text" + "stdio": "^0.2.7" }, "snyk": true }