@sanity/core-loader
Advanced tools
Comparing version 1.7.8-release.1 to 1.7.8
@@ -21,2 +21,16 @@ <!-- markdownlint-disable --><!-- textlint-disable --> | ||
## [1.7.8](https://github.com/sanity-io/visual-editing/compare/core-loader-v1.7.7...core-loader-v1.7.8) (2024-11-06) | ||
### Bug Fixes | ||
* **deps:** update dependency @sanity/client to ^6.22.3 ([0b78719](https://github.com/sanity-io/visual-editing/commit/0b7871937422d0d8dfe7851bd1603141f0c434c4)) | ||
### Dependencies | ||
* The following workspace dependencies were updated | ||
* devDependencies | ||
* @repo/visual-editing-helpers bumped to 0.6.30 | ||
## [1.7.7](https://github.com/sanity-io/visual-editing/compare/core-loader-v1.7.6...core-loader-v1.7.7) (2024-11-04) | ||
@@ -23,0 +37,0 @@ |
@@ -28,3 +28,3 @@ import { createCompatibilityActors } from "./createDataAttribute.js"; | ||
if (data.projectId === projectId && data.dataset === dataset) { | ||
if (data.perspective !== "published" && data.perspective !== "previewDrafts" && !data.perspective.startsWith("bundle.") || data.perspective === "raw") | ||
if (data.perspective !== "published" && data.perspective !== "previewDrafts") | ||
throw new Error(`Unsupported perspective: ${JSON.stringify(data.perspective)}`); | ||
@@ -31,0 +31,0 @@ $perspective.set(data.perspective), updateLiveQueries(); |
@@ -290,3 +290,3 @@ import type {ClientPerspective, ContentSourceMap, QueryParams, SanityClient} from '@sanity/client' | ||
sourceMap?: ContentSourceMap | ||
perspective?: ClientPerspective | `bundle.${string}` | ||
perspective?: ClientPerspective | ||
} | ||
@@ -293,0 +293,0 @@ |
{ | ||
"name": "@sanity/core-loader", | ||
"version": "1.7.8-release.1", | ||
"version": "1.7.8", | ||
"homepage": "https://github.com/sanity-io/visual-editing/tree/main/packages/core-loader#readme", | ||
@@ -64,7 +64,7 @@ "bugs": { | ||
"dependencies": { | ||
"@sanity/comlink": "1.1.2-release.6" | ||
"@sanity/comlink": "1.1.1" | ||
}, | ||
"devDependencies": { | ||
"@sanity/client": "6.22.2-bundle-perspective-2", | ||
"@sanity/pkg-utils": "6.11.6", | ||
"@sanity/client": "^6.22.3", | ||
"@sanity/pkg-utils": "6.11.9", | ||
"@typescript-eslint/eslint-plugin": "^7.18.0", | ||
@@ -74,13 +74,13 @@ "@typescript-eslint/parser": "^7.18.0", | ||
"eslint": "^8.57.1", | ||
"happy-dom": "^15.7.4", | ||
"happy-dom": "^15.10.1", | ||
"nanostores": "0.10.3", | ||
"typescript": "5.6.3", | ||
"vitest": "^2.1.4", | ||
"@repo/eslint-config": "0.0.0", | ||
"@repo/visual-editing-helpers": "0.6.30", | ||
"@repo/package.config": "0.0.0", | ||
"@repo/eslint-config": "0.0.0", | ||
"@repo/visual-editing-helpers": "0.6.29", | ||
"@repo/prettier-config": "0.0.0" | ||
}, | ||
"peerDependencies": { | ||
"@sanity/client": "6.22.2-bundle-perspective-2" | ||
"@sanity/client": "^6.22.3" | ||
}, | ||
@@ -93,5 +93,2 @@ "engines": { | ||
}, | ||
"overrides": { | ||
"@sanity/client": "6.22.2-bundle-perspective-2" | ||
}, | ||
"scripts": { | ||
@@ -98,0 +95,0 @@ "build": "pkg build --strict --check --clean", |
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
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
0
961422
+ Added@sanity/client@6.28.2(transitive)
+ Added@sanity/comlink@1.1.1(transitive)
- Removed@sanity/client@6.22.2-bundle-perspective-2(transitive)
- Removed@sanity/comlink@1.1.2-release.6(transitive)
Updated@sanity/comlink@1.1.1