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

arc-check

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

arc-check - npm Package Compare versions

Comparing version 1.2.1 to 2.0.0

6

__tests__/basic.js

@@ -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"
}
}
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