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

lodash._baseclone

Package Overview
Dependencies
Maintainers
5
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lodash._baseclone - npm Package Compare versions

Comparing version 3.1.0 to 3.2.0

16

index.js
/**
* lodash 3.1.0 (Custom Build) <https://lodash.com/>
* lodash 3.2.0 (Custom Build) <https://lodash.com/>
* Build: `lodash modern modularize exports="npm" -o ./`

@@ -13,4 +13,4 @@ * Copyright 2012-2015 The Dojo Foundation <http://dojofoundation.org/>

baseFor = require('lodash._basefor'),
getNative = require('lodash._getnative'),
isArray = require('lodash.isarray'),
isNative = require('lodash.isnative'),
keys = require('lodash.keys');

@@ -75,6 +75,6 @@

/** Native method references. */
var ArrayBuffer = isNative(ArrayBuffer = global.ArrayBuffer) && ArrayBuffer,
bufferSlice = isNative(bufferSlice = ArrayBuffer && new ArrayBuffer(0).slice) && bufferSlice,
var ArrayBuffer = getNative(root, 'ArrayBuffer'),
bufferSlice = getNative(ArrayBuffer && new ArrayBuffer(0), 'slice'),
floor = Math.floor,
Uint8Array = isNative(Uint8Array = global.Uint8Array) && Uint8Array;
Uint8Array = getNative(root, 'Uint8Array');

@@ -87,6 +87,6 @@ /** Used to clone array buffers. */

try {
var func = isNative(func = global.Float64Array) && func,
var func = getNative(root, 'Float64Array'),
result = new func(new ArrayBuffer(10), 0, 1) && func;
} catch(e) {}
return result;
return result || null;
}());

@@ -304,3 +304,3 @@

var type = typeof value;
return type == 'function' || (!!value && type == 'object');
return !!value && (type == 'object' || type == 'function');
}

@@ -307,0 +307,0 @@

{
"name": "lodash._baseclone",
"version": "3.1.0",
"version": "3.2.0",
"description": "The modern build of lodash’s internal `baseClone` as a module.",

@@ -23,6 +23,6 @@ "homepage": "https://lodash.com/",

"lodash._basefor": "^3.0.0",
"lodash._getnative": "^3.0.0",
"lodash.isarray": "^3.0.0",
"lodash.isnative": "^3.0.0",
"lodash.keys": "^3.0.0"
}
}

@@ -1,2 +0,2 @@

# lodash._baseclone v3.1.0
# lodash._baseclone v3.2.0

@@ -20,2 +20,2 @@ The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash’s](https://lodash.com/) internal `baseClone` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.

See the [package source](https://github.com/lodash/lodash/blob/3.1.0-npm-packages/lodash._baseclone) for more details.
See the [package source](https://github.com/lodash/lodash/blob/3.2.0-npm-packages/lodash._baseclone) for more details.
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