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

can-stache-key

Package Overview
Dependencies
Maintainers
8
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.0.1 to 1.0.2

6

can-stache-key-test.js

@@ -263,1 +263,7 @@ var observeReader = require("can-stache-key");

QUnit.test("writing to a null observable is ignored", function(){
observeReader.write({},"foo.bar", "value");
observeReader.write(null,"bar", "value");
observeReader.write(null,"foo.bar", "value");
QUnit.ok(true, "all passed without error");
});

4

can-stache-key.js

@@ -297,3 +297,2 @@ var ObservationRecorder = require('can-observation-recorder');

options = options || {};
if(keys.length > 1) {

@@ -306,2 +305,5 @@ last = keys.pop();

}
if(!parent) {
return;
}
var keyValue = peek(parent, last.key);

@@ -308,0 +310,0 @@ // here's where we need to figure out the best way to write

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

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

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