New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ck-array

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

ck-array - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

2

package.json
{
"name": "ck-array",
"version": "0.1.2",
"version": "0.1.3",
"description": "A simple observable array for JavaScript Frameworks",

@@ -5,0 +5,0 @@ "main": "src/ckArray.js",

@@ -21,6 +21,7 @@ // Generated by CoffeeScript 1.9.1

var args, result;
self = this;
args = Array.prototype.slice.call(arguments);
this.observers.map(function(observer) {
var ref;
return (ref = observer.prePush) != null ? ref.apply(this, args) : void 0;
return (ref = observer.prePush) != null ? ref.apply(self, args) : void 0;
});

@@ -30,3 +31,3 @@ result = Array.prototype.push.call(this, args);

var ref;
return (ref = observer.postPush) != null ? ref.apply(this, args) : void 0;
return (ref = observer.postPush) != null ? ref.apply(self, args) : void 0;
});

@@ -37,6 +38,7 @@ return result;

var args, result;
self = this;
args = Array.prototype.slice.call(arguments);
this.observers.map(function(observer) {
var ref;
return (ref = observer.preSplice) != null ? ref.apply(this, args) : void 0;
return (ref = observer.preSplice) != null ? ref.apply(self, args) : void 0;
});

@@ -46,3 +48,3 @@ result = Array.prototype.splice.apply(this, args);

var ref;
return (ref = observer.postSplice) != null ? ref.call(this, result) : void 0;
return (ref = observer.postSplice) != null ? ref.call(self, result) : void 0;
});

@@ -53,6 +55,7 @@ return result;

var args, result;
self = this;
args = Array.prototype.slice.call(arguments);
this.observers.map(function(observer) {
var ref;
return (ref = observer.preSlice) != null ? ref.apply(this, args) : void 0;
return (ref = observer.preSlice) != null ? ref.apply(self, args) : void 0;
});

@@ -62,3 +65,3 @@ result = Array.prototype.slice.apply(this, args);

var ref;
return (ref = observer.postSlice) != null ? ref.call(this, result) : void 0;
return (ref = observer.postSlice) != null ? ref.call(self, result) : void 0;
});

@@ -65,0 +68,0 @@ return result;

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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