@cardcore/util
Advanced tools
Comparing version 0.0.1-e80ccd96 to 0.0.1-eabef0a0
@@ -6,2 +6,3 @@ "use strict"; | ||
}); | ||
exports.hashState = exports.Box = undefined; | ||
@@ -73,4 +74,17 @@ var _targetHelper = require("./target-helper"); | ||
}); | ||
exports.serverFetch = serverFetch; | ||
var _isomorphicFetch = require("isomorphic-fetch"); | ||
var _isomorphicFetch2 = _interopRequireDefault(_isomorphicFetch); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
function serverFetch(url) { | ||
for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { | ||
args[_key - 1] = arguments[_key]; | ||
} | ||
return _isomorphicFetch2.default.apply(undefined, ["" + url].concat(args)); | ||
} | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@cardcore/util", | ||
"version": "0.0.1-e80ccd96", | ||
"version": "0.0.1-eabef0a0", | ||
"description": "various streamcards utilities", | ||
@@ -14,5 +14,7 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"@streamplace/ssb-keys": "^7.0.16" | ||
"@streamplace/ssb-keys": "7.0.18", | ||
"isomorphic-fetch": "^2.2.1", | ||
"json-stable-stringify": "^1.0.1" | ||
}, | ||
"gitHead": "e80ccd9627337c33e9f62eed0f17f765917c1713" | ||
"gitHead": "eabef0a0394971b4774eeda9d1ea4aa1fc9f1e9f" | ||
} |
@@ -7,1 +7,6 @@ export * from "./target-helper"; | ||
export { default as hashState } from "./hash-state"; | ||
import fetch from "isomorphic-fetch"; | ||
export function serverFetch(url, ...args) { | ||
return fetch(`${url}`, ...args); | ||
} |
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
45791
797
3
1
+ Addedisomorphic-fetch@^2.2.1
+ Addedjson-stable-stringify@^1.0.1
+ Added@streamplace/chloride@2.2.11(transitive)
+ Added@streamplace/ssb-keys@7.0.18(transitive)
+ Addedchloride@2.4.1(transitive)
+ Addedencoding@0.1.13(transitive)
+ Addediconv-lite@0.6.3(transitive)
+ Addedini@1.3.8(transitive)
+ Addedis-stream@1.1.0(transitive)
+ Addedisomorphic-fetch@2.2.1(transitive)
+ Addednan@2.22.0(transitive)
+ Addednode-fetch@1.7.3(transitive)
+ Addednode-gyp-build@4.8.4(transitive)
+ Addedprivate-box@0.2.1(transitive)
+ Addedsafer-buffer@2.1.2(transitive)
+ Addedsodium-native@2.4.93.4.1(transitive)
+ Addedwhatwg-fetch@3.6.20(transitive)
- Removed@streamplace/chloride@2.2.12(transitive)
- Removed@streamplace/private-box@0.2.1(transitive)
- Removed@streamplace/ssb-keys@7.0.21(transitive)
Updated@streamplace/ssb-keys@7.0.18