Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@aml-org/amf-custom-validator

Package Overview
Dependencies
Maintainers
9
Versions
116
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aml-org/amf-custom-validator - npm Package Compare versions

Comparing version 1.3.0 to 1.4.0

30

lib/wasm_exec_node.js

@@ -21,16 +21,20 @@ // Copyright 2021 The Go Authors. All rights reserved.

globalThis.performance = {
now() {
const [sec, nsec] = process.hrtime();
return sec * 1000 + nsec / 1000000;
},
};
if (!globalThis.performance || !globalThis.performance.now) {
globalThis.performance = {
now() {
const [sec, nsec] = process.hrtime();
return sec * 1000 + nsec / 1000000; // time in milliseconds
},
};
}
const crypto = require("crypto");
globalThis.crypto = {
getRandomValues(b) {
crypto.randomFillSync(b);
},
};
const crypto = require("crypto")
if (!globalThis.crypto || !globalThis.crypto.getRandomValues) {
globalThis.crypto = {
getRandomValues(b) {
crypto.randomFillSync(b);
},
};
}
require("./wasm_exec");
require("./wasm_exec");
{
"name": "@aml-org/amf-custom-validator",
"version": "1.3.0",
"version": "1.4.0",
"description": "AMF validator backed by OPA Rego",

@@ -5,0 +5,0 @@ "main": "index.js",

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