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.3.0 to 1.3.1

7

can-stache-key-test.js

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

});
QUnit.test("objHasKeyAtIndex doesn't handle non-object types correctly (#33)", function () {
var result = observeReader.read(47, observeReader.reads("toFixed"));
QUnit.equal(typeof result.value, 'function');
QUnit.equal(result.parent, 47);
QUnit.equal(result.parentHasKey, true);
});

1

can-stache-key.js

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

return !!(
obj && typeof obj === "object" &&
reads && reads.length &&

@@ -64,0 +63,0 @@ canReflect.hasKey(obj, reads[index].key)

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

@@ -50,3 +50,3 @@ "homepage": "https://canjs.com",

"can-observation-recorder": "^1.0.0",
"can-reflect": "^1.1.0",
"can-reflect": "^1.16.4",
"can-reflect-promise": "^2.0.0",

@@ -53,0 +53,0 @@ "can-symbol": "^1.0.0"

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