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

can-stache-key

Package Overview
Dependencies
Maintainers
9
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

can-stache-key - npm Package Compare versions

Comparing version 1.3.2 to 1.4.0

1

build.js

@@ -0,1 +1,2 @@

"use strict";
var stealTools = require("steal-tools");

@@ -2,0 +3,0 @@

27

can-stache-key.js

@@ -0,1 +1,2 @@

"use strict";
var ObservationRecorder = require('can-observation-recorder');

@@ -16,9 +17,11 @@ var dev = require('can-log/dev/dev');

//!steal-remove-start
bindName = function(source){
var fn = Function.prototype.bind.call(this, source);
Object.defineProperty(fn, "name", {
value: canReflect.getName(source) + "."+canReflect.getName(this)
});
return fn;
};
if (process.env.NODE_ENV !== 'production') {
bindName = function(source){
var fn = Function.prototype.bind.call(this, source);
Object.defineProperty(fn, "name", {
value: canReflect.getName(source) + "."+canReflect.getName(this)
});
return fn;
};
}
//!steal-remove-end

@@ -242,6 +245,8 @@

//!steal-remove-start
if( prop.at && specialRead[prop.key] && ( ("@"+prop.key) in value)) {
options.foundAt = true;
dev.warn("Use %"+prop.key+" in place of @"+prop.key+".");
return undefined;
if (process.env.NODE_ENV !== 'production') {
if( prop.at && specialRead[prop.key] && ( ("@"+prop.key) in value)) {
options.foundAt = true;
dev.warn("Use %"+prop.key+" in place of @"+prop.key+".");
return undefined;
}
}

@@ -248,0 +253,0 @@ //!steal-remove-end

{
"name": "can-stache-key",
"version": "1.3.2",
"version": "1.4.0",
"description": "Read and write keys on a value",

@@ -65,5 +65,5 @@ "homepage": "https://canjs.com",

"steal-tools": "^1.2.0",
"testee": "^0.7.0"
"testee": "^0.8.0"
},
"license": "MIT"
}
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