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

@hyperjump/json-pointer

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hyperjump/json-pointer - npm Package Compare versions

Comparing version 0.5.0 to 0.5.1

4

lib/json-pointer.js

@@ -37,3 +37,3 @@ const curry = require("just-curry-it");

} else if (Array.isArray(subject)) {
const clonedSubject = subject.map((a) => a);
const clonedSubject = { ...subject };
clonedSubject[pointer[0]] = value;

@@ -44,3 +44,3 @@ return clonedSubject;

} else {
return applySegment(value, pointer[0], cursor);
return applySegment(subject, pointer[0], cursor);
}

@@ -47,0 +47,0 @@ };

{
"name": "@hyperjump/json-pointer",
"version": "0.5.0",
"version": "0.5.1",
"description": "An RFC-6901 JSON Pointer implementation",

@@ -5,0 +5,0 @@ "main": "lib/json-pointer.js",

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