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

a-toolbox

Package Overview
Dependencies
Maintainers
1
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

a-toolbox - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

14

main.js
/* global Blob File FormData $ */
if (typeof module !== 'undefined' && module.exports) {
var crypto = require('crypto')
}
var crypto = require('crypto')

@@ -18,3 +16,3 @@ var tools = {

onBrowser: function () {
return (typeof window !== 'undefined' && typeof module === 'undefined')
return typeof window === 'object' && window instanceof Window
}

@@ -286,2 +284,10 @@ },

/**
* @todo check if both are objects
*/
inherits: function (destination, source) {
Object.getOwnPropertyNames(source).forEach((property) => {
destination[property] = source[property]
})
},
/**
* @todo properly

@@ -288,0 +294,0 @@ */

{
"name": "a-toolbox",
"version": "0.1.0",
"version": "0.1.1",
"description": "basic lightweight tools",

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

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