sass-embedded
Advanced tools
Comparing version 1.52.3 to 1.53.0
{ | ||
"name": "sass-embedded", | ||
"version": "1.52.3", | ||
"version": "1.53.0", | ||
"protocol-version": "1.0.0", | ||
"compiler-version": "1.52.3", | ||
"compiler-version": "1.53.0", | ||
"description": "Node.js library that communicates with Embedded Dart Sass using the Embedded Sass protocol", | ||
@@ -34,3 +34,3 @@ "repository": "sass/embedded-host-node", | ||
"immutable": "^4.0.0", | ||
"node-fetch": "^2.6.0", | ||
"make-fetch-happen": "^10.1.2", | ||
"rxjs": "^7.4.0", | ||
@@ -46,4 +46,4 @@ "semver": "^7.3.5", | ||
"@types/jest": "^27.0.2", | ||
"@types/make-fetch-happen": "^9.0.2", | ||
"@types/node": "^16.10.3", | ||
"@types/node-fetch": "^2.5.7", | ||
"@types/semver": "^7.3.4", | ||
@@ -57,2 +57,3 @@ "@types/shelljs": "^0.8.8", | ||
"jest": "^27.2.5", | ||
"minipass": "3.2.1", | ||
"protoc": "^1.0.4", | ||
@@ -59,0 +60,0 @@ "source-map-js": "^0.6.1", |
@@ -7,5 +7,5 @@ "use strict"; | ||
exports.getJSApi = exports.getDartSassEmbedded = exports.getEmbeddedProtocol = void 0; | ||
const make_fetch_happen_1 = require("make-fetch-happen"); | ||
const extractZip = require("extract-zip"); | ||
const fs_1 = require("fs"); | ||
const node_fetch_1 = require("node-fetch"); | ||
const p = require("path"); | ||
@@ -15,2 +15,3 @@ const shell = require("shelljs"); | ||
const pkg = require("../package.json"); | ||
const fetch = (0, make_fetch_happen_1.defaults)(); | ||
shell.config.fatal = true; | ||
@@ -163,3 +164,3 @@ // The current platform's operating system. Throws if the operating system | ||
console.log(`Downloading ${options.repo} release asset.`); | ||
const response = await (0, node_fetch_1.default)(options.assetUrl, { | ||
const response = await fetch(options.assetUrl, { | ||
redirect: 'follow', | ||
@@ -166,0 +167,0 @@ }); |
{ | ||
"name": "sass-embedded", | ||
"version": "1.52.3", | ||
"version": "1.53.0", | ||
"protocol-version": "1.0.0", | ||
"compiler-version": "1.52.3", | ||
"compiler-version": "1.53.0", | ||
"description": "Node.js library that communicates with Embedded Dart Sass using the Embedded Sass protocol", | ||
@@ -34,3 +34,3 @@ "repository": "sass/embedded-host-node", | ||
"immutable": "^4.0.0", | ||
"node-fetch": "^2.6.0", | ||
"make-fetch-happen": "^10.1.2", | ||
"rxjs": "^7.4.0", | ||
@@ -46,4 +46,4 @@ "semver": "^7.3.5", | ||
"@types/jest": "^27.0.2", | ||
"@types/make-fetch-happen": "^9.0.2", | ||
"@types/node": "^16.10.3", | ||
"@types/node-fetch": "^2.5.7", | ||
"@types/semver": "^7.3.4", | ||
@@ -57,2 +57,3 @@ "@types/shelljs": "^0.8.8", | ||
"jest": "^27.2.5", | ||
"minipass": "3.2.1", | ||
"protoc": "^1.0.4", | ||
@@ -59,0 +60,0 @@ "source-map-js": "^0.6.1", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1175806
17358
21
4
+ Addedmake-fetch-happen@^10.1.2
+ Added@gar/promisify@1.1.3(transitive)
+ Added@npmcli/fs@2.1.2(transitive)
+ Added@npmcli/move-file@2.0.1(transitive)
+ Added@tootallnate/once@2.0.0(transitive)
+ Addedagent-base@6.0.2(transitive)
+ Addedagentkeepalive@4.6.0(transitive)
+ Addedaggregate-error@3.1.0(transitive)
+ Addedbrace-expansion@2.0.1(transitive)
+ Addedcacache@16.1.3(transitive)
+ Addedclean-stack@2.2.0(transitive)
+ Addedencoding@0.1.13(transitive)
+ Addederr-code@2.0.3(transitive)
+ Addedglob@8.1.0(transitive)
+ Addedhttp-cache-semantics@4.1.1(transitive)
+ Addedhttp-proxy-agent@5.0.0(transitive)
+ Addedhttps-proxy-agent@5.0.1(transitive)
+ Addedhumanize-ms@1.2.1(transitive)
+ Addediconv-lite@0.6.3(transitive)
+ Addedimurmurhash@0.1.4(transitive)
+ Addedindent-string@4.0.0(transitive)
+ Addedinfer-owner@1.0.4(transitive)
+ Addedip-address@9.0.5(transitive)
+ Addedis-lambda@1.0.1(transitive)
+ Addedjsbn@1.1.0(transitive)
+ Addedlru-cache@7.18.3(transitive)
+ Addedmake-fetch-happen@10.2.1(transitive)
+ Addedminimatch@5.1.6(transitive)
+ Addedminipass-collect@1.0.2(transitive)
+ Addedminipass-fetch@2.1.2(transitive)
+ Addedminipass-flush@1.0.5(transitive)
+ Addedminipass-pipeline@1.2.4(transitive)
+ Addedminipass-sized@1.0.3(transitive)
+ Addednegotiator@0.6.4(transitive)
+ Addedp-map@4.0.0(transitive)
+ Addedpromise-inflight@1.0.1(transitive)
+ Addedpromise-retry@2.0.1(transitive)
+ Addedretry@0.12.0(transitive)
+ Addedrimraf@3.0.2(transitive)
+ Addedsafer-buffer@2.1.2(transitive)
+ Addedsmart-buffer@4.2.0(transitive)
+ Addedsocks@2.8.3(transitive)
+ Addedsocks-proxy-agent@7.0.0(transitive)
+ Addedsprintf-js@1.1.3(transitive)
+ Addedssri@9.0.1(transitive)
+ Addedunique-filename@2.0.1(transitive)
+ Addedunique-slug@3.0.0(transitive)
- Removednode-fetch@^2.6.0
- Removednode-fetch@2.7.0(transitive)
- Removedtr46@0.0.3(transitive)
- Removedwebidl-conversions@3.0.1(transitive)
- Removedwhatwg-url@5.0.0(transitive)