lodash.combinations
Advanced tools
Comparing version 18.6.25 to 18.9.19
@@ -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(u){"use strict";(u=u&&u.hasOwnProperty("default")?u.default:u).mixin({combinations:function(t,i){t=u.values(t);var e,o,f=[];return e=function(e,o,n){o.length<i?u.find(t,function(n,t){e(u.concat(o,[n]),t+1)},n):f.push(o)},(o=function(){for(var n=[],t=arguments.length;t--;)n[t]=arguments[t];return e.call.apply(e,[this,o].concat(n))})([],0),f}})}); | ||
(function(a,b){"object"==typeof exports&&"undefined"!=typeof module?b(require("lodash")):"function"==typeof define&&define.amd?define(["lodash"],b):b(a._)})(this,function(a){"use strict";function b(a){var b=function(){for(var c=[],d=arguments.length;d--;)c[d]=arguments[d];return a.call.apply(a,[this,b].concat(c))};return b}a=a&&a.hasOwnProperty("default")?a["default"]:a,a.mixin({combinations:function c(d,e){d=a.values(d);var c=[];return b(function(b,f,g){f.length<e?a.find(d,function(c,d){b(a.concat(f,[c]),d+1)},g):c.push(f)})([],0),c}})}); |
{ | ||
"name": "lodash.combinations", | ||
"version": "18.6.25", | ||
"description": "Calculates all possible combinations of certain size.", | ||
"main": "lodash.combinations.js", | ||
"scripts": { | ||
"build": "rollup -c", | ||
"test": "node test", | ||
"prepublishOnly": "npm run build" | ||
}, | ||
"repository": "https://github.com/SeregPie/lodash.combinations.git", | ||
"version": "18.9.19", | ||
"description": "Calculates all possible combinations of a certain size.", | ||
"keywords": [ | ||
@@ -19,13 +12,20 @@ "array", | ||
], | ||
"license": "MIT", | ||
"author": "Sergej Sintschilin <seregpie@gmail.com>", | ||
"license": "MIT", | ||
"dependencies": { | ||
"lodash": "^4.17.10" | ||
"main": "lodash.combinations.js", | ||
"repository": "https://github.com/SeregPie/lodash.combinations.git", | ||
"scripts": { | ||
"build": "rollup -c", | ||
"prepublishOnly": "npm run build", | ||
"test": "node test" | ||
}, | ||
"devDependencies": { | ||
"@seregpie/rollup-plugin-resolve": "^18.6.13", | ||
"rollup": "^0.61.2", | ||
"rollup-plugin-buble": "^0.19.2", | ||
"rollup-plugin-uglify": "^4.0.0" | ||
"rollup": "^0.66.0", | ||
"rollup-plugin-babel-minify": "^6.0.0", | ||
"rollup-plugin-buble": "^0.19.2" | ||
}, | ||
"peerDependencies": { | ||
"lodash": "^4.17.11" | ||
} | ||
} |
@@ -5,3 +5,3 @@ # lodash.combinations | ||
Calculates all possible combinations of certain size. | ||
Calculates all possible combinations of a certain size. | ||
@@ -30,4 +30,4 @@ | argument | description | | ||
```javascript | ||
import 'lodash.combinations'; | ||
import _ from 'lodash'; | ||
import 'lodash.combinations'; | ||
``` | ||
@@ -38,4 +38,4 @@ | ||
```javascript | ||
const _ = require('lodash'); | ||
require('lodash.combinations'); | ||
let _ = require('lodash'); | ||
``` | ||
@@ -42,0 +42,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
3918
3
- Removedlodash@^4.17.10