analyze-css
Advanced tools
Comparing version 2.0.0 to 2.1.0
@@ -37,6 +37,8 @@ /** | ||
*/ | ||
function request(requestOptions, callback) { | ||
var debug = require("debug")("analyze-css:http"), | ||
fetch = require("node-fetch"); | ||
async function request(requestOptions, callback) { | ||
const debug = require("debug")("analyze-css:http"); | ||
// eslint-disable-next-line node/no-unsupported-features/es-syntax | ||
const fetch = (await import("node-fetch")).default; | ||
debug("GET %s", requestOptions.url); | ||
@@ -43,0 +45,0 @@ debug("Options: %j", requestOptions); |
{ | ||
"name": "analyze-css", | ||
"version": "2.0.0", | ||
"version": "2.1.0", | ||
"author": "Maciej Brencz <maciej.brencz@gmail.com> (https://github.com/macbre)", | ||
@@ -32,4 +32,4 @@ "description": "CSS selectors complexity and performance analyzer", | ||
"glob": "^7.1.6", | ||
"http-proxy-agent": "^4.0.1", | ||
"node-fetch": "^2.6.0", | ||
"http-proxy-agent": "^5.0.0", | ||
"node-fetch": "^3.0.0", | ||
"onecolor": "^3.1.0", | ||
@@ -49,3 +49,3 @@ "specificity": "^0.4.1" | ||
"postcss": "^8.3.6", | ||
"prettier": "2.3.2" | ||
"prettier": "2.4.1" | ||
}, | ||
@@ -52,0 +52,0 @@ "optionalDependencies": { |
Sorry, the diff of this file is too big to display
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
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
135954
4120
+ Added@tootallnate/once@2.0.0(transitive)
+ Addeddata-uri-to-buffer@4.0.1(transitive)
+ Addedfetch-blob@3.2.0(transitive)
+ Addedformdata-polyfill@4.0.10(transitive)
+ Addedhttp-proxy-agent@5.0.0(transitive)
+ Addednode-domexception@1.0.0(transitive)
+ Addednode-fetch@3.3.2(transitive)
+ Addedweb-streams-polyfill@3.3.3(transitive)
- Removed@tootallnate/once@1.1.2(transitive)
- Removedhttp-proxy-agent@4.0.1(transitive)
- Removednode-fetch@2.7.0(transitive)
- Removedtr46@0.0.3(transitive)
- Removedwebidl-conversions@3.0.1(transitive)
- Removedwhatwg-url@5.0.0(transitive)
Updatedhttp-proxy-agent@^5.0.0
Updatednode-fetch@^3.0.0