arc-reg-exp
Advanced tools
Comparing version 1.0.1 to 2.0.0
@@ -1,3 +0,3 @@ | ||
const is = require('arc-is'); | ||
const ArcRegExp = require('../index'); | ||
import is from 'arc-is'; | ||
import ArcRegExp from "../index.js"; | ||
@@ -4,0 +4,0 @@ describe('ArcRegExp tests',()=>{ |
@@ -1,2 +0,2 @@ | ||
const is = require('arc-is'); | ||
import is from 'arc-is'; | ||
@@ -114,2 +114,2 @@ class ArcRegExp extends RegExp { | ||
module.exports = ArcRegExp; | ||
export default ArcRegExp; |
{ | ||
"name": "arc-reg-exp", | ||
"version": "1.0.1", | ||
"version": "2.0.0", | ||
"description": "Convenience subclass to the native RegExp object", | ||
"main": "index.js", | ||
"type": "module", | ||
"scripts": { | ||
"test": "jest --coverage", | ||
"test:watch": "jest --watchAll" | ||
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js --coverage", | ||
"test:watch": "node --experimental-vm-modules node_modules/jest/bin/jest.js --watchAll" | ||
}, | ||
@@ -26,8 +27,8 @@ "repository": { | ||
"homepage": "https://github.com/anyuzer/arc-reg-exp#readme", | ||
"dependencies": { | ||
"arc-is": "^2.0.0" | ||
}, | ||
"devDependencies": { | ||
"jest": "^27.5.1" | ||
}, | ||
"dependencies": { | ||
"arc-is": "^1.0.8" | ||
"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
12801
Yes
+ Addedarc-is@2.0.0(transitive)
- Removedarc-is@1.0.8(transitive)
Updatedarc-is@^2.0.0