@sanity/mutator
Advanced tools
Comparing version 0.1.2 to 0.1.3
@@ -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: |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
317720
6646