New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@sanity/core-loader

Package Overview
Dependencies
Maintainers
64
Versions
230
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sanity/core-loader - npm Package Compare versions

Comparing version 1.7.18-release.0 to 1.7.18-release.1

7

CHANGELOG.md

@@ -21,2 +21,9 @@ <!-- markdownlint-disable --><!-- textlint-disable -->

## [1.7.18](https://github.com/sanity-io/visual-editing/compare/core-loader-v1.7.17...core-loader-v1.7.18) (2024-12-03)
### Bug Fixes
* remove `SanityClient` instanceof check ([d811370](https://github.com/sanity-io/visual-editing/commit/d811370f1c0bb4ed80ae5c74ca7f7f6d68bc7fa7))
## [1.7.17](https://github.com/sanity-io/visual-editing/compare/core-loader-v1.7.16...core-loader-v1.7.17) (2024-12-03)

@@ -23,0 +30,0 @@

8

dist/_chunks-es/enableLiveMode.js
import { createCompatibilityActors } from "./createDataAttribute.js";
import { SanityClient, validateApiPerspective } from "@sanity/client";
import { validateApiPerspective } from "@sanity/client";
import { stegaEncodeSourceMap } from "@sanity/client/stega";

@@ -9,7 +9,5 @@ import { createNode, createNodeMachine } from "@sanity/comlink";

const { client, setFetcher, onConnect, onDisconnect } = options;
if (!client || !(client instanceof SanityClient))
if (!client)
throw new Error(
`Expected \`client\` to be an instance of SanityClient or SanityStegaClient: ${JSON.stringify(
client
)}`
`Expected \`client\` to be an instance of SanityClient: ${JSON.stringify(client)}`
);

@@ -16,0 +14,0 @@ const { projectId, dataset } = client.config(), $perspective = atom("previewDrafts"), $connected = atom(!1), cache = /* @__PURE__ */ new Map(), comlink = createNode(

{
"name": "@sanity/core-loader",
"version": "1.7.18-release.0",
"version": "1.7.18-release.1",
"homepage": "https://github.com/sanity-io/visual-editing/tree/main/packages/core-loader#readme",

@@ -65,3 +65,3 @@ "bugs": {

"@sanity/client": "^6.24.1",
"@sanity/comlink": "2.0.1-release.0"
"@sanity/comlink": "2.0.1-release.1"
},

@@ -79,5 +79,5 @@ "devDependencies": {

"@repo/eslint-config": "0.0.0",
"@repo/package.config": "0.0.0",
"@repo/prettier-config": "0.0.0",
"@repo/visual-editing-helpers": "0.7.6",
"@repo/package.config": "0.0.0"
"@repo/visual-editing-helpers": "0.7.6"
},

@@ -84,0 +84,0 @@ "engines": {

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