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

@vostokplatform/signature-generator

Package Overview
Dependencies
Maintainers
6
Versions
94
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vostokplatform/signature-generator - npm Package Compare versions

Comparing version 1.2.5 to 1.2.6

2

dist/libs/secure-random.js

@@ -44,3 +44,3 @@ "use strict";

options = options || { type: 'Array' };
if (typeof window !== 'undefined' && typeof exports === 'undefined') {
if (typeof window === 'object' && typeof window.document === 'object') {
return browserRandom(count, options);

@@ -47,0 +47,0 @@ }

{
"name": "@vostokplatform/signature-generator",
"version": "1.2.5",
"version": "1.2.6",
"main": "dist/index.js",

@@ -20,3 +20,3 @@ "files": [

"prepare": "npm run build",
"test": "npm run compile-test && jest",
"test": "npm run compile-test && jest --config jest.config.json",
"compile": "tsc -p ./",

@@ -23,0 +23,0 @@ "compile-test": "tsc -p ./test",

@@ -44,3 +44,3 @@ "use strict";

options = options || { type: 'Array' };
if (typeof window !== 'undefined' && typeof exports === 'undefined') {
if (typeof window === 'object' && typeof window.document === 'object') {
return browserRandom(count, options);

@@ -47,0 +47,0 @@ }

@@ -54,7 +54,9 @@ declare let exports: any;

if (typeof window !== 'undefined' && typeof exports === 'undefined') {
if (typeof window === 'object' && typeof window.document === 'object') {
return browserRandom(count, options);
} else if (typeof exports === 'object' && typeof module !== 'undefined') {
}
else if (typeof exports === 'object' && typeof module !== 'undefined') {
return nodeRandom(count, options);
} else {
}
else {
throw new Error('Your environment is not defined');

@@ -61,0 +63,0 @@ }

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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