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

@sanity/mutator

Package Overview
Dependencies
Maintainers
7
Versions
1361
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sanity/mutator - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

2

lib/jsonpath/arrayToJSONMatchPath.js

@@ -29,3 +29,3 @@ 'use strict';

var val = segment[key];
return '[' + key + '==\'' + val + '\']';
return '[' + key + '=="' + val + '"]';
}).join('');

@@ -32,0 +32,0 @@ }

{
"name": "@sanity/mutator",
"version": "0.1.2",
"version": "0.1.3",
"description": "A set of models to make it easier to utilize the powerful real time collaborative features of Sanity",

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

@@ -20,3 +20,3 @@ // @flow

const val = segment[key]
return `[${key}=='${val}']`
return `[${key}=="${val}"]`
}).join('')

@@ -23,0 +23,0 @@ }

@@ -13,3 +13,4 @@ // @flow

[[1, '-foo', 'bar', 4], "[1]['-foo'].bar[4]"],
[[1, {foo: 'bar', bar: 'baz'}, 4], "[1][foo=='bar'][bar=='baz'][4]"]
[[1, {foo: 'bar'}, 4], '[1][foo=="bar"][4]'],
[[1, {foo: 'bar', bar: 'baz'}, 4], '[1][foo=="bar"][bar=="baz"][4]']

@@ -16,0 +17,0 @@ // future maybe:

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