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

chai-quantifiers

Package Overview
Dependencies
Maintainers
3
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

chai-quantifiers - npm Package Compare versions

Comparing version 1.0.16 to 1.0.17

27

package.json
{
"name": "chai-quantifiers",
"version": "1.0.16",
"version": "1.0.17",
"description": "Array quantifier assertions for chai assertion library",

@@ -37,16 +37,16 @@ "main": "src/index.js",

"devDependencies": {
"@types/chai": "^4.2.22",
"@types/mocha": "^9.0.0",
"@types/node": "^16.11.6",
"@types/chai": "^4.3.1",
"@types/mocha": "^9.1.1",
"@types/node": "^18.0.1",
"ansi-regex": ">=5.0.1",
"chai": "^4.3.4",
"chai": "^4.3.6",
"coveralls": "^3.1.1",
"eslint": "^8.1.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-plugin-import": "^2.25.2",
"eslint-plugin-promise": "^5.1.1",
"mocha": "^9.1.3",
"eslint": "^8.19.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-promise": "^6.0.0",
"mocha": "^10.0.0",
"nyc": "^15.1.0",
"ts-node": "^10.4.0",
"typescript": "^4.4.4",
"ts-node": "^10.8.2",
"typescript": "^4.7.4",
"y18n": ">=4.0.1"

@@ -56,4 +56,3 @@ },

"chai": "^4.x.x"
},
"dependencies": {}
}
}

@@ -1,8 +0,6 @@

const evaluate = (array, predicate) => array.reduce(
(acc, item, i) => (
predicate(item)
? { t: [...acc.t, i], f: acc.f }
: { t: acc.t, f: [...acc.f, i] }
), { t: [], f: [] },
);
const evaluate = (array, predicate) => array.reduce((acc, item, i) => (
predicate(item)
? { t: [...acc.t, i], f: acc.f }
: { t: acc.t, f: [...acc.f, i] }
), { t: [], f: [] });

@@ -9,0 +7,0 @@ const plugin = (chai) => {

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