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

@silvermine/chai-strictly-equal

Package Overview
Dependencies
Maintainers
3
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@silvermine/chai-strictly-equal - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

.nvmrc

2

.eslintrc.json
{
"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

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