@adobe/fetch
Advanced tools
Comparing version 4.0.0 to 4.0.1
{ | ||
"name": "@adobe/fetch", | ||
"version": "4.0.0", | ||
"version": "4.0.1", | ||
"description": "Light-weight Fetch implementation transparently supporting both HTTP/1(.1) and HTTP/2", | ||
@@ -5,0 +5,0 @@ "main": "./src/index.js", |
@@ -14,3 +14,2 @@ /* | ||
import { types } from 'util'; | ||
import { readFileSync } from 'fs'; | ||
import { Readable } from 'stream'; | ||
@@ -28,5 +27,4 @@ import tls from 'tls'; | ||
import { isPlainObject } from '../common/utils.js'; | ||
// as of node v16 support for importing JSON modules is still experimental | ||
// import pkg from '../../package.json'; | ||
const pkg = JSON.parse(readFileSync(new URL('../../package.json', import.meta.url))); | ||
import pkg from '../package.cjs'; | ||
const { version } = pkg; | ||
@@ -33,0 +31,0 @@ |
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
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
142275
24
3269
0