ipfs-utils
Advanced tools
Comparing version 1.0.0 to 1.1.0
@@ -0,1 +1,16 @@ | ||
<a name="1.1.0"></a> | ||
# [1.1.0](https://github.com/ipfs/js-ipfs-utils/compare/v1.0.0...v1.1.0) (2020-03-26) | ||
### Bug Fixes | ||
* fix error code param ([dd73a33](https://github.com/ipfs/js-ipfs-utils/commit/dd73a33)) | ||
### Features | ||
* add temp dir function ([7714c66](https://github.com/ipfs/js-ipfs-utils/commit/7714c66)) | ||
<a name="1.0.0"></a> | ||
@@ -2,0 +17,0 @@ # [1.0.0](https://github.com/ipfs/js-ipfs-utils/compare/v0.7.2...v1.0.0) (2020-03-20) |
{ | ||
"name": "ipfs-utils", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "Package to aggregate shared logic and dependencies for the IPFS ecosystem", | ||
@@ -14,2 +14,7 @@ "main": "src/index.js", | ||
], | ||
"browser": { | ||
"fs-extra": false, | ||
"./src/text-encoder.js": "./src/text-encoder.browser.js", | ||
"./src/temp-dir.js": "./src/temp-dir.browser.js" | ||
}, | ||
"repository": "github:ipfs/js-ipfs-utils", | ||
@@ -38,2 +43,3 @@ "scripts": { | ||
"merge-options": "^2.0.0", | ||
"nanoid": "^2.1.11", | ||
"node-fetch": "^2.6.0", | ||
@@ -57,7 +63,3 @@ "stream-to-it": "^0.2.0" | ||
"Marcin Rataj <lidel@lidel.org>" | ||
], | ||
"browser": { | ||
"fs-extra": false, | ||
"./src/text-encoder.js": "./src/text-encoder.browser.js" | ||
} | ||
] | ||
} |
@@ -46,3 +46,3 @@ 'use strict' | ||
* | ||
* @param input Object | ||
* @param {Object} input | ||
* @return AsyncInterable<{ path, content: AsyncIterable<Buffer> }> | ||
@@ -53,3 +53,3 @@ */ | ||
if (input === null || input === undefined) { | ||
throw errCode(new Error(`Unexpected input: ${input}`, 'ERR_UNEXPECTED_INPUT')) | ||
throw errCode(new Error(`Unexpected input: ${input}`), 'ERR_UNEXPECTED_INPUT') | ||
} | ||
@@ -56,0 +56,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
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
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
52525
22
923
11
5
+ Addednanoid@^2.1.11
+ Addednanoid@2.1.11(transitive)