@sanity/vision
Advanced tools
Comparing version 3.40.1-create-unstable.13 to 3.40.1-create-unstable.32
"use strict"; | ||
var jsxRuntime = require("react/jsx-runtime"), sanity = require("sanity"), ui = require("@sanity/ui"), react = require("react"), SplitPane = require("@rexxars/react-split-pane"), icons = require("@sanity/icons"), isHotkeyEsm = require("is-hotkey-esm"), CodeMirror = require("@uiw/react-codemirror"), autocomplete = require("@codemirror/autocomplete"), commands = require("@codemirror/commands"), langJavascript = require("@codemirror/lang-javascript"), language = require("@codemirror/language"), search = require("@codemirror/search"), view = require("@codemirror/view"), highlight = require("@lezer/highlight"), color = require("@sanity/color"), styledComponents = require("styled-components"), resizeObserver = require("@juggle/resize-observer"), JSON5 = require("json5"), debounce = require("lodash/debounce.js"), index = require("./index.js"), JSONInspector = require("@rexxars/react-json-inspector"), HLRU = require("hashlru"); | ||
var jsxRuntime = require("react/jsx-runtime"), sanity = require("sanity"), ui = require("@sanity/ui"), react = require("react"), SplitPane = require("@rexxars/react-split-pane"), icons = require("@sanity/icons"), isHotkeyEsm = require("is-hotkey-esm"), CodeMirror = require("@uiw/react-codemirror"), autocomplete = require("@codemirror/autocomplete"), commands = require("@codemirror/commands"), langJavascript = require("@codemirror/lang-javascript"), language = require("@codemirror/language"), search = require("@codemirror/search"), view = require("@codemirror/view"), highlight = require("@lezer/highlight"), color = require("@sanity/color"), styledComponents = require("styled-components"), resizeObserver = require("@juggle/resize-observer"), JSON5 = require("json5"), debounce = require("lodash/debounce.js"), index = require("./index.js"), JSONInspector = require("@rexxars/react-json-inspector"), LRU = require("quick-lru"); | ||
function _interopDefaultCompat(e) { | ||
return e && typeof e == "object" && "default" in e ? e : { default: e }; | ||
} | ||
var SplitPane__default = /* @__PURE__ */ _interopDefaultCompat(SplitPane), CodeMirror__default = /* @__PURE__ */ _interopDefaultCompat(CodeMirror), JSON5__default = /* @__PURE__ */ _interopDefaultCompat(JSON5), debounce__default = /* @__PURE__ */ _interopDefaultCompat(debounce), JSONInspector__default = /* @__PURE__ */ _interopDefaultCompat(JSONInspector), HLRU__default = /* @__PURE__ */ _interopDefaultCompat(HLRU); | ||
var SplitPane__default = /* @__PURE__ */ _interopDefaultCompat(SplitPane), CodeMirror__default = /* @__PURE__ */ _interopDefaultCompat(CodeMirror), JSON5__default = /* @__PURE__ */ _interopDefaultCompat(JSON5), debounce__default = /* @__PURE__ */ _interopDefaultCompat(debounce), JSONInspector__default = /* @__PURE__ */ _interopDefaultCompat(JSONInspector), LRU__default = /* @__PURE__ */ _interopDefaultCompat(LRU); | ||
const API_VERSIONS = ["v1", "vX", "v2021-03-25", "v2021-10-21", "v2022-03-07"], [DEFAULT_API_VERSION] = API_VERSIONS.slice(-1); | ||
@@ -469,3 +469,3 @@ function DelayedSpinner(props) { | ||
`; | ||
}), lru = HLRU__default.default(5e4); | ||
}), lru = new LRU__default.default({ maxSize: 5e4 }); | ||
function ResultView(props) { | ||
@@ -472,0 +472,0 @@ const { data } = props; |
@@ -23,3 +23,3 @@ import { jsx, jsxs } from "react/jsx-runtime"; | ||
import JSONInspector from "@rexxars/react-json-inspector"; | ||
import HLRU from "hashlru"; | ||
import LRU from "quick-lru"; | ||
const API_VERSIONS = ["v1", "vX", "v2021-03-25", "v2021-10-21", "v2022-03-07"], [DEFAULT_API_VERSION] = API_VERSIONS.slice(-1); | ||
@@ -487,3 +487,3 @@ function DelayedSpinner(props) { | ||
`; | ||
}), lru = HLRU(5e4); | ||
}), lru = new LRU({ maxSize: 5e4 }); | ||
function ResultView(props) { | ||
@@ -490,0 +490,0 @@ const { data } = props; |
{ | ||
"name": "@sanity/vision", | ||
"version": "3.40.1-create-unstable.13+e39e837db9", | ||
"version": "3.40.1-create-unstable.32+bb7454c9bc", | ||
"description": "Sanity plugin for running/debugging GROQ-queries against Sanity datasets", | ||
@@ -46,2 +46,3 @@ "keywords": [ | ||
"build": "pkg-utils build --strict --check --clean", | ||
"build:bundle": "vite build --config package.bundle.ts", | ||
"check:types": "tsc --project tsconfig.lib.json", | ||
@@ -68,23 +69,23 @@ "clean": "rimraf lib", | ||
"@uiw/react-codemirror": "^4.11.4", | ||
"hashlru": "^2.3.0", | ||
"is-hotkey-esm": "^1.0.0", | ||
"json5": "^2.2.3", | ||
"lodash": "^4.17.21" | ||
"lodash": "^4.17.21", | ||
"quick-lru": "^5.1.1" | ||
}, | ||
"devDependencies": { | ||
"@repo/package.config": "3.40.0", | ||
"@sanity/block-tools": "3.40.1-create-unstable.13+e39e837db9", | ||
"@sanity/cli": "3.40.1-create-unstable.13+e39e837db9", | ||
"@sanity/client": "^6.15.20", | ||
"@sanity/codegen": "3.40.1-create-unstable.13+e39e837db9", | ||
"@sanity/diff": "3.40.1-create-unstable.13+e39e837db9", | ||
"@sanity/migrate": "3.40.1-create-unstable.13+e39e837db9", | ||
"@sanity/mutator": "3.40.1-create-unstable.13+e39e837db9", | ||
"@sanity/portable-text-editor": "3.40.1-create-unstable.13+e39e837db9", | ||
"@sanity/schema": "3.40.1-create-unstable.13+e39e837db9", | ||
"@sanity/types": "3.40.1-create-unstable.13+e39e837db9", | ||
"@sanity/util": "3.40.1-create-unstable.13+e39e837db9", | ||
"@sanity/block-tools": "3.40.1-create-unstable.32+bb7454c9bc", | ||
"@sanity/cli": "3.40.1-create-unstable.32+bb7454c9bc", | ||
"@sanity/client": "^6.17.1", | ||
"@sanity/codegen": "3.40.1-create-unstable.32+bb7454c9bc", | ||
"@sanity/diff": "3.40.1-create-unstable.32+bb7454c9bc", | ||
"@sanity/migrate": "3.40.1-create-unstable.32+bb7454c9bc", | ||
"@sanity/mutator": "3.40.1-create-unstable.32+bb7454c9bc", | ||
"@sanity/portable-text-editor": "3.40.1-create-unstable.32+bb7454c9bc", | ||
"@sanity/schema": "3.40.1-create-unstable.32+bb7454c9bc", | ||
"@sanity/types": "3.40.1-create-unstable.32+bb7454c9bc", | ||
"@sanity/util": "3.40.1-create-unstable.32+bb7454c9bc", | ||
"@types/lodash": "^4.14.149", | ||
"react": "^18.3.1", | ||
"sanity": "3.40.1-create-unstable.13+e39e837db9", | ||
"sanity": "3.40.1-create-unstable.32+bb7454c9bc", | ||
"styled-components": "^6.1.8" | ||
@@ -96,3 +97,3 @@ }, | ||
}, | ||
"gitHead": "e39e837db9b15f00842e9fffce5e08042339bd89" | ||
"gitHead": "bb7454c9bc3acbe510872ab4fece1fb22a9b7d3c" | ||
} |
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
Sorry, the diff of this file is not supported yet
564279
+ Addedquick-lru@^5.1.1
+ Addedquick-lru@5.1.1(transitive)
- Removedhashlru@^2.3.0
- Removedhashlru@2.3.0(transitive)