New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

oasis-std

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

oasis-std - npm Package Compare versions

Comparing version 0.1.0-rc.19 to 0.1.0-rc.20

11

lib/src/utils.js

@@ -11,7 +11,8 @@ "use strict";

};
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
var _a;
Object.defineProperty(exports, "__esModule", { value: true });
const node_fetch_1 = __importDefault(require("node-fetch"));
const isNode = typeof process !== 'undefined' && !!((_a = process === null || process === void 0 ? void 0 : process.versions) === null || _a === void 0 ? void 0 : _a.node);
if (isNode) {
globalThis.fetch = require('node-fetch');
}
/** Parses a (possibly 0x-prefixed) big-endian hex string into bytes */

@@ -40,3 +41,3 @@ function decodeHex(hex) {

else {
return new Uint8Array(yield (yield node_fetch_1.default(bytecodeUrl)).arrayBuffer());
return new Uint8Array(yield (yield fetch(bytecodeUrl)).arrayBuffer());
}

@@ -43,0 +44,0 @@ });

{
"name": "oasis-std",
"version": "0.1.0-rc.19",
"version": "0.1.0-rc.20",
"description": "Oasis platform standard library",

@@ -30,3 +30,3 @@ "license": "Apache-2.0",

},
"gitHead": "c8f11b7a696b6661e99a3cd52a641e78aa85206b"
"gitHead": "9efc59744d5016f05914c69bcbb09d17d4d2011e"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc