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

can-set

Package Overview
Dependencies
Maintainers
7
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

can-set - npm Package Compare versions

Comparing version 1.3.0-pre.0 to 1.3.0

4

package.json
{
"name": "can-set",
"version": "1.3.0-pre.0",
"version": "1.3.0",
"description": "Set logic for CanJS",

@@ -9,3 +9,3 @@ "main": "src/set.js",

"version": "git commit -am \"Update dist for release\" && git checkout -b release && git add -f dist/",
"postversion": "git push --tags && git checkout can-reflect && git branch -D release && git push",
"postversion": "git push --tags && git checkout master && git branch -D release && git push",
"release:pre": "npm version prerelease && npm publish --tag=pre",

@@ -12,0 +12,0 @@ "release:patch": "npm version patch && npm publish",

@@ -13,3 +13,3 @@ QUnit.module("can/set core - nested");

test('set.equal', function(){
var algebra = new set.Algebra(

@@ -26,3 +26,3 @@ new set.Translate("where","$where"),

);
var res;

@@ -40,3 +40,3 @@

);
ok(res, 'folder case ignored');

@@ -48,3 +48,3 @@

test('set.subset', function(){
var algebra = new set.Algebra(

@@ -62,3 +62,3 @@ new set.Translate("where","$where"),

);
var res;

@@ -105,3 +105,3 @@

);
equal( algebra.properSubset( {$where:{foo: "bar"}}, {$where:{}}), true );

@@ -118,3 +118,3 @@ equal( algebra.properSubset({$where:{}},{$where:{}}), false );

);
var res = algebra.difference({$where:{}}, {$where:{ completed: true }});

@@ -147,3 +147,3 @@ ok(res === true, "diff should be true");

});
var res = algebra.difference({$where:{ colors: ['red','blue'] }}, {$where:{ colors: ['blue'] }});

@@ -249,3 +249,3 @@

ok( algebra.has({$where: {someId: 5}}, {someId: 5, name: "foo"}), true);
ok( algebra.has({$where: {someId: 5}}, {someId: 5, name: "foo"}), 'contains');

@@ -288,4 +288,1 @@ var res;

});
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