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

collect.js

Package Overview
Dependencies
Maintainers
1
Versions
149
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

collect.js - npm Package Compare versions

Comparing version 4.0.7 to 4.0.8

5

.eslintrc.js

@@ -10,5 +10,6 @@ module.exports = {

rules: {
'no-console': 0,
'newline-before-return': 2,
'no-console': 'error',
'newline-before-return': 'error',
'no-ternary': 'error',
},
};

8

build/collect.js

@@ -520,2 +520,3 @@ var collect =

module.exports = function dd() {
// eslint-disable-next-line
console.log(this.all());

@@ -802,2 +803,3 @@

module.exports = function dump() {
// eslint-disable-next-line
console.log(this);

@@ -1000,3 +1002,7 @@

return typeof defaultValue === 'function' ? defaultValue() : defaultValue;
if (typeof defaultValue === 'function') {
return defaultValue();
}
return defaultValue;
};

@@ -1003,0 +1009,0 @@

'use strict';
module.exports = function dd() {
// eslint-disable-next-line
console.log(this.all());

@@ -5,0 +6,0 @@

'use strict';
module.exports = function dump() {
// eslint-disable-next-line
console.log(this);

@@ -5,0 +6,0 @@

@@ -29,3 +29,7 @@ 'use strict';

return typeof defaultValue === 'function' ? defaultValue() : defaultValue;
if (typeof defaultValue === 'function') {
return defaultValue();
}
return defaultValue;
};
{
"name": "collect.js",
"version": "4.0.7",
"version": "4.0.8",
"description": "Convenient and dependency free wrapper for working with arrays and objects.",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

'use strict';
module.exports = function dd() {
// eslint-disable-next-line
console.log(this.all());

@@ -5,0 +6,0 @@

'use strict';
module.exports = function dump() {
// eslint-disable-next-line
console.log(this);

@@ -5,0 +6,0 @@

@@ -29,3 +29,7 @@ 'use strict';

return (typeof defaultValue === 'function' ? defaultValue() : defaultValue);
if (typeof defaultValue === 'function') {
return defaultValue();
}
return defaultValue;
};
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