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

lodash.product

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lodash.product - npm Package Compare versions

Comparing version 17.12.17 to 18.1.16

2

lodash.product.js

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

!function(n,t){"object"==typeof exports&&"undefined"!=typeof module?t(require("lodash")):"function"==typeof define&&define.amd?define(["lodash"],t):t(n._)}(this,function(n){"use strict";(n=n&&n.hasOwnProperty("default")?n.default:n).mixin({product:function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var o=[];return function(n){var t=function(){for(var e=[],o=arguments.length;o--;)e[o]=arguments[o];return n.call.apply(n,[this,t].concat(e))};return t}(function(e,f){f.length<t.length?n.forEach(t[f.length],function(t){e(n.concat(f,[t]))}):o.push(f)})([]),o}})});
!function(n,t){"object"==typeof exports&&"undefined"!=typeof module?t(require("lodash")):"function"==typeof define&&define.amd?define(["lodash"],t):t(n._)}(this,function(n){"use strict";(n=n&&n.hasOwnProperty("default")?n.default:n).mixin({product:function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var o,f,i=[];return(o=function(e,o){o.length<t.length?n.forEach(t[o.length],function(t){e(n.concat(o,[t]))}):i.push(o)},f=function(){for(var n=[],t=arguments.length;t--;)n[t]=arguments[t];return o.call.apply(o,[this,f].concat(n))})([]),i}})});
{
"name": "lodash.product",
"version": "17.12.17",
"version": "18.1.16",
"description": "Calculates the Cartesian product between multiple collections.",

@@ -33,4 +33,4 @@ "main": "lodash.product.js",

"devDependencies": {
"eslint": "^4.13.1",
"rollup": "^0.52.2",
"eslint": "^4.15.0",
"rollup": "^0.54.0",
"rollup-plugin-buble": "^0.18.0",

@@ -37,0 +37,0 @@ "rollup-plugin-uglify": "^2.0.1"

@@ -21,6 +21,4 @@ # lodash.product

```sh
```shell
npm install lodash.product
```

@@ -30,7 +28,5 @@

```js
```javascript
import _ from 'lodash';
import 'lodash.product';
```

@@ -40,7 +36,5 @@

```js
```javascript
const _ = require('lodash');
require('lodash.product');
```

@@ -51,6 +45,4 @@

```html
<script src="https://unpkg.com/lodash"></script>
<script src="https://unpkg.com/lodash.product"></script>
```

@@ -60,15 +52,11 @@

```js
```javascript
let product = _.product([false, true], ['a', 'b', 'c'], [{}]);
// => [[false, 'a', {}], [false, 'b', {}], [false, 'c', {}], [true, 'a', {}], [true, 'b', {}], [true, 'c', {}]]
```
```js
```javascript
let array = [1, 2, 3];
let product = _.product(array, array);
// => [[1, 1], [1, 2], [1, 3], [2, 1], [2, 2], [2, 3], [3, 1], [3, 2], [3, 3]]
```
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