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

can-fixture

Package Overview
Dependencies
Maintainers
11
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

can-fixture - npm Package Compare versions

Comparing version 3.0.0-pre.2 to 3.0.0-pre.3

11

matches.js

@@ -1,6 +0,5 @@

var BasicQuery = require("can-query-logic/src/types/basic-query");
var set = require("can-query-logic/src/set");
var canReflect = require("can-reflect");
var dataFromUrl = require("./data-from-url");
var Query = require("can-query-logic");
var QueryLogic = require("can-query-logic");

@@ -126,4 +125,4 @@

}
var q1 = new BasicQuery.And(removeFixtureAndXHR(queryA)),
q2 = new BasicQuery.And(removeFixtureAndXHR(queryB));
var q1 = new QueryLogic.KeysAnd(removeFixtureAndXHR(queryA)),
q2 = new QueryLogic.KeysAnd(removeFixtureAndXHR(queryB));
return set.isEqual( q1, q2 );

@@ -133,3 +132,3 @@ }

function quickSubset(queryA, queryB){
return set.isSubset( new BasicQuery.And(queryA), new BasicQuery.And(queryB) );
return set.isSubset( new QueryLogic.KeysAnd(queryA), new QueryLogic.KeysAnd(queryB) );
}

@@ -189,3 +188,3 @@

var query = new Query(schema);
var query = new QueryLogic(schema);

@@ -192,0 +191,0 @@

{
"name": "can-fixture",
"version": "3.0.0-pre.2",
"version": "3.0.0-pre.3",
"description": "Intercept AJAX requests and simulate responses.",

@@ -5,0 +5,0 @@ "main": "fixture.js",

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