@silvermine/chai-strictly-equal
Advanced tools
Comparing version 1.0.0 to 1.1.0
{ | ||
"extends": "eslint-config-silvermine/node" | ||
"extends": "@silvermine/eslint-config/node" | ||
} |
{ | ||
"name": "@silvermine/chai-strictly-equal", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "Chai assertion library plugin to add `strictlyEqual` function and disable `equal`", | ||
"main": "src/index.js", | ||
"types": "./types/index.d.ts", | ||
"scripts": { | ||
@@ -31,11 +32,15 @@ "test": "./node_modules/.bin/istanbul cover --root src --include-all-sources ./node_modules/.bin/_mocha -- -R spec 'tests/**/*.test.js'" | ||
"homepage": "https://github.com/silvermine/chai-strictly-equal#readme", | ||
"engines": { | ||
"node": ">=8.10.0", | ||
"npm": "6.4.1" | ||
}, | ||
"devDependencies": { | ||
"@silvermine/eslint-config": "1.5.0", | ||
"chai": "4.1.2", | ||
"coveralls": "3.0.0", | ||
"coveralls": "3.0.2", | ||
"eslint": "4.18.1", | ||
"eslint-config-silvermine": "1.4.0", | ||
"grunt": "1.0.2", | ||
"grunt": "1.0.3", | ||
"grunt-eslint": "20.1.0", | ||
"istanbul": "0.4.5", | ||
"mocha": "5.0.1", | ||
"mocha": "5.2.0", | ||
"mocha-lcov-reporter": "1.3.0", | ||
@@ -42,0 +47,0 @@ "rewire": "3.0.2", |
# Silvermine Chai Strictly Equal Plugin | ||
[![Build Status](https://travis-ci.org/silvermine/chai-strictly-equal.png?branch=master)](https://travis-ci.org/silvermine/chai-strictly-equal) | ||
[![Build Status](https://travis-ci.org/silvermine/chai-strictly-equal.svg?branch=master)](https://travis-ci.org/silvermine/chai-strictly-equal) | ||
[![Coverage Status](https://coveralls.io/repos/github/silvermine/chai-strictly-equal/badge.svg?branch=master)](https://coveralls.io/github/silvermine/chai-strictly-equal?branch=master) | ||
[![Dependency Status](https://david-dm.org/silvermine/chai-strictly-equal.png)](https://david-dm.org/silvermine/chai-strictly-equal) | ||
[![Dev Dependency Status](https://david-dm.org/silvermine/chai-strictly-equal/dev-status.png)](https://david-dm.org/silvermine/chai-strictly-equal#info=devDependencies&view=table) | ||
[![Dependency Status](https://david-dm.org/silvermine/chai-strictly-equal.svg)](https://david-dm.org/silvermine/chai-strictly-equal) | ||
[![Dev Dependency Status](https://david-dm.org/silvermine/chai-strictly-equal/dev-status.svg)](https://david-dm.org/silvermine/chai-strictly-equal#info=devDependencies&view=table) | ||
@@ -28,3 +28,3 @@ | ||
``` | ||
```js | ||
var chai = require('chai'); | ||
@@ -35,2 +35,11 @@ | ||
Or, if you are using TypeScript: | ||
```typescript | ||
import chai from 'chai'; | ||
import enableStrictlyEqual from '@silvermine/chai-strictly-equal'; | ||
chai.use(enableStrictlyEqual); | ||
``` | ||
That's all there is to it. Then your `.equal` calls will throw an error, indicating that | ||
@@ -37,0 +46,0 @@ you should replace them with `.eql` or `.strictlyEqual`. |
{ | ||
"extends": "eslint-config-silvermine/node-tests" | ||
"extends": "@silvermine/eslint-config/node-tests" | ||
} |
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
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
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
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
12
59
11567
91
2