Comparing version 1.2.1 to 2.0.0
@@ -1,6 +0,6 @@ | ||
const is = require('arc-is'); | ||
const Check = require('../'); | ||
import is from 'arc-is'; | ||
import ArcCheck from "../index.js"; | ||
describe('ArcCheck tests', () => { | ||
let checkIt = new Check(); | ||
let checkIt = new ArcCheck(); | ||
it('Should be the correct types', () => { | ||
@@ -7,0 +7,0 @@ expect(is(checkIt)).toBe('object'); |
@@ -1,2 +0,2 @@ | ||
const is = require('arc-is'); | ||
import is from 'arc-is'; | ||
@@ -109,3 +109,3 @@ class ArcCheck{ | ||
} | ||
return (excludeCheck && includeCheck && iCallbackCheck && xCallbackCheck ? true : false); | ||
@@ -119,2 +119,2 @@ } | ||
module.exports = ArcCheck; | ||
export default ArcCheck; |
{ | ||
"name": "arc-check", | ||
"version": "1.2.1", | ||
"version": "2.0.0", | ||
"description": "An ES6 class to evaluate values against multiple complex inclusion/exclusion rules", | ||
"main": "index.js", | ||
"type": "module", | ||
"scripts": { | ||
"test": "jest" | ||
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js --coverage" | ||
}, | ||
@@ -23,7 +24,7 @@ "repository": { | ||
"dependencies": { | ||
"arc-is": "^1.0.8" | ||
"arc-is": "^2.0.0" | ||
}, | ||
"devDependencies": { | ||
"jest": "^27.5.1" | ||
"jest": "^29.2.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
11261
Yes
+ Addedarc-is@2.0.0(transitive)
- Removedarc-is@1.0.8(transitive)
Updatedarc-is@^2.0.0