Comparing version 4.1.3 to 5.0.0
@@ -1,2 +0,1 @@ | ||
'use strict'; | ||
/* globals Symbol: false, Uint8Array: false, WeakMap: false */ | ||
@@ -9,3 +8,4 @@ /*! | ||
var type = require('type-detect'); | ||
import type from 'type-detect'; | ||
function FakeMap() { | ||
@@ -29,3 +29,3 @@ this._key = 'chai/deep-eql__' + Math.random() + Date.now(); | ||
var MemoizeMap = typeof WeakMap === 'function' ? WeakMap : FakeMap; | ||
export var MemoizeMap = typeof WeakMap === 'function' ? WeakMap : FakeMap; | ||
/*! | ||
@@ -81,4 +81,3 @@ * Check to see if the MemoizeMap has recorded a result of the two operands | ||
module.exports = deepEqual; | ||
module.exports.MemoizeMap = MemoizeMap; | ||
export default deepEqual; | ||
@@ -85,0 +84,0 @@ /** |
{ | ||
"name": "deep-eql", | ||
"version": "4.1.3", | ||
"version": "5.0.0", | ||
"description": "Improved deep equality testing for Node.js and the browser.", | ||
@@ -22,3 +22,4 @@ "keywords": [ | ||
], | ||
"main": "./index", | ||
"type": "module", | ||
"main": "./index.js", | ||
"files": [ | ||
@@ -30,12 +31,10 @@ "index.js", | ||
"bench": "node bench", | ||
"build": "browserify $npm_package_main --standalone deepEqual -o deep-eql.js", | ||
"lint": "eslint --ignore-path .gitignore .", | ||
"prepublish": "npm run build", | ||
"semantic-release": "semantic-release pre && npm publish && semantic-release post", | ||
"semantic-release": "semantic-release pre && semantic-release post", | ||
"pretest": "npm run lint", | ||
"test": "npm run test:node && npm run test:browser", | ||
"test:browser": "karma start --singleRun=true", | ||
"test:browser": "web-test-runner", | ||
"test:node": "istanbul cover _mocha", | ||
"upload-coverage": "lcov-result-merger 'coverage/**/lcov.info' | coveralls; exit 0", | ||
"watch": "karma start --auto-watch --singleRun=false" | ||
"watch": "web-test-runner --watch" | ||
}, | ||
@@ -51,2 +50,6 @@ "eslintConfig": { | ||
"spaced-comment": 0 | ||
}, | ||
"parserOptions": { | ||
"sourceType": "module", | ||
"ecmaVersion": 2015 | ||
} | ||
@@ -58,6 +61,6 @@ }, | ||
"devDependencies": { | ||
"@js-temporal/polyfill": "^0.4.1", | ||
"@js-temporal/polyfill": "^0.4.3", | ||
"@rollup/plugin-commonjs": "^24.1.0", | ||
"@web/test-runner": "^0.16.1", | ||
"benchmark": "^2.1.0", | ||
"browserify": "^17.0.0", | ||
"browserify-istanbul": "^3.0.1", | ||
"coveralls": "^3.1.1", | ||
@@ -68,8 +71,2 @@ "eslint": "^7.32.0", | ||
"istanbul": "^0.4.2", | ||
"karma": "^6.3.4", | ||
"karma-browserify": "^8.1.0", | ||
"karma-chrome-launcher": "^3.1.0", | ||
"karma-coverage": "^2.0.3", | ||
"karma-mocha": "^2.0.1", | ||
"karma-sauce-launcher": "^4.1.4", | ||
"kewlr": "^0.4.1", | ||
@@ -76,0 +73,0 @@ "lcov-result-merger": "^1.0.2", |
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
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
14
Yes
23947
450