chai-exclude
Advanced tools
Comparing version 1.0.12 to 2.0.0
{ | ||
"name": "chai-exclude", | ||
"version": "1.0.12", | ||
"version": "2.0.0", | ||
"description": "Exclude keys to compare from a deep equal operation with chai expect and assert", | ||
"main": "lib/chai-exclude.js", | ||
"types": "lib/chai-exclude.d.ts", | ||
"main": "chai-exclude.js", | ||
"types": "index.d.ts", | ||
"author": "Saugat Acharya <mesaugat@gmail.com>", | ||
@@ -11,7 +11,9 @@ "license": "MIT", | ||
"files": [ | ||
"lib" | ||
"chai-exclude.js", | ||
"index.d.ts" | ||
], | ||
"scripts": { | ||
"test": "mocha", | ||
"lint": "standard --fix" | ||
"test": "mocha --reporter spec --recursive --colors *.test.js && tsd-check", | ||
"lint": "standard --fix", | ||
"typecheck": "tsd-check" | ||
}, | ||
@@ -37,3 +39,4 @@ "keywords": [ | ||
"mocha": "^5.0.0", | ||
"standard": "^12.0.1" | ||
"standard": "^12.0.1", | ||
"tsd-check": "^0.3.0" | ||
}, | ||
@@ -40,0 +43,0 @@ "dependencies": { |
@@ -42,6 +42,6 @@ # chai-exclude | ||
```js | ||
import { use } from 'chai'; | ||
import chai from 'chai'; | ||
import chaiExclude from 'chai-exclude'; | ||
use(chaiExclude); | ||
chai.use(chaiExclude); | ||
``` | ||
@@ -52,6 +52,6 @@ | ||
```js | ||
import { use } from 'chai'; | ||
import chaiExclude = require('chai-exclude'); | ||
import * as chai from 'chai'; | ||
import chaiExclude from 'chai-exclude'; | ||
use(chaiExclude); | ||
chai.use(chaiExclude); | ||
@@ -58,0 +58,0 @@ // The typings for chai-exclude are included with the package itself. |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
13596
197
5
1