Socket
Socket
Sign inDemoInstall

@sanity/mutator

Package Overview
Dependencies
Maintainers
54
Versions
1328
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 3.41.1 to 3.41.2-manifests.141

9

package.json
{
"name": "@sanity/mutator",
"version": "3.41.1",
"version": "3.41.2-manifests.141+cd5f1f04f2",
"description": "A set of models to make it easier to utilize the powerful real time collaborative features of Sanity",

@@ -43,3 +43,2 @@ "keywords": [

"build": "pkg-utils build --strict --check --clean",
"build:bundle": "vite build --config package.bundle.ts",
"check:types": "tsc --project tsconfig.lib.json",

@@ -61,4 +60,4 @@ "clean": "rimraf lib",

"@jest/globals": "^29.7.0",
"@repo/package.config": "3.41.1",
"@sanity/types": "3.41.1",
"@repo/package.config": "3.43.0",
"@sanity/types": "3.41.2-manifests.141+cd5f1f04f2",
"@types/debug": "^4.1.5",

@@ -68,3 +67,3 @@ "@types/lodash": "^4.14.149",

},
"gitHead": "9080f74661eae5eb1fedef537fd354d12dc5dee1"
"gitHead": "cd5f1f04f28a123d80a6f9363a47df9d2d7e3054"
}

@@ -116,2 +116,15 @@ import {

if (str === this.source.slice(this.i, this.i + str.length)) {
// When checking symbols that consist of valid attribute characters, we
// need to make sure we don't inadvertently treat an attribute as a
// symbol. For example, an attribute 'trueCustomerField' should not be
// scanned as the boolean symbol "true".
if (str[0].match(attributeCharMatcher)) {
// check that char following the symbol match is not also an attribute char
if (this.length > this.i + str.length) {
const nextChar = this.source[this.i + str.length]
if (nextChar && nextChar.match(attributeCharMatcher)) {
return null
}
}
}
this.i += str.length

@@ -118,0 +131,0 @@ return str

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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