Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@sanity/overlays

Package Overview
Dependencies
Maintainers
38
Versions
111
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sanity/overlays - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

dist/_chunks/VisualEditingOverlay-203c3be0.js

11

CHANGELOG.md

@@ -8,2 +8,13 @@ <!-- markdownlint-disable --><!-- textlint-disable -->

## [1.0.5](https://github.com/sanity-io/overlays/compare/v1.0.4...v1.0.5) (2023-09-05)
### Bug Fixes
- **deps:** update dependency @floating-ui/react-dom to ^2.0.2 ([#12](https://github.com/sanity-io/overlays/issues/12)) ([0132187](https://github.com/sanity-io/overlays/commit/01321871cf72e6531d4ae11a99facdb8dad86a08))
- **deps:** Update dependency @sanity/ui to ^1.8.2 ([#13](https://github.com/sanity-io/overlays/issues/13)) ([2c0a38c](https://github.com/sanity-io/overlays/commit/2c0a38cf72d1567db13a4ecd83d97efc4dd958a1))
- **deps:** Update dependency react-intersection-observer to ^9.5.2 ([#14](https://github.com/sanity-io/overlays/issues/14)) ([ccf55e7](https://github.com/sanity-io/overlays/commit/ccf55e799eaf7ce9b78ce41778ebc1fc3e7e5070))
- **deps:** update dependency styled-components to ^5.3.11 ([#15](https://github.com/sanity-io/overlays/issues/15)) ([532f436](https://github.com/sanity-io/overlays/commit/532f436f91994ae55f1ede24b23d295a58a24c72))
- prevent multiple instantiations ([#28](https://github.com/sanity-io/overlays/issues/28)) ([6f6e8ee](https://github.com/sanity-io/overlays/commit/6f6e8ee870224976183b5b24e40aeaadd54f83db))
- reenable mutationObserver cleanup ([#27](https://github.com/sanity-io/overlays/issues/27)) ([c634dbf](https://github.com/sanity-io/overlays/commit/c634dbfc616554f249ac31020c6a3d404d3e010a))
## [1.0.4](https://github.com/sanity-io/overlays/compare/v1.0.3...v1.0.4) (2023-09-04)

@@ -10,0 +21,0 @@

2

dist/index.js

@@ -1,1 +0,1 @@

import{jsx as e}from"react/jsx-runtime";function t(){let t=!1,n=null,i=null;return Promise.all([import("react-dom/client"),import("./_chunks/VisualEditingOverlay-4e5e085f.js")]).then((([r,{VisualEditingOverlay:l}])=>{if(t)return;n=document.createElement("div"),n.id="sanity-visual-editing",document.body.appendChild(n);const{createRoot:o}="default"in r?r.default:r;i=o(n),i.render(e(l,{}))})),()=>{t=!0,i&&i.unmount(),n&&document.body.removeChild(n)}}export{t as enableVisualEditing};//# sourceMappingURL=index.js.map
import{jsx as e}from"react/jsx-runtime";let t=null,n=null;function i(){n&&(n.unmount(),n=null),t&&(document.body.removeChild(t),t=null)}function l(){if(n||t)return i;let l=!1;return Promise.all([import("react-dom/client"),import("./_chunks/VisualEditingOverlay-203c3be0.js")]).then((([i,{VisualEditingOverlay:r}])=>{if(l)return;t=document.createElement("div"),t.id="sanity-visual-editing",document.body.appendChild(t);const{createRoot:u}="default"in i?i.default:i;n=u(t),n.render(e(r,{}))})),()=>{l=!0,i()}}export{l as enableVisualEditing};//# sourceMappingURL=index.js.map
{
"name": "@sanity/overlays",
"version": "1.0.4",
"version": "1.0.5",
"homepage": "https://github.com/sanity-io/overlays#readme",

@@ -112,22 +112,22 @@ "bugs": {

"dependencies": {
"@floating-ui/react-dom": "^2.0.1",
"@floating-ui/react-dom": "^2.0.2",
"@sanity/icons": "^2.4.1",
"@sanity/ui": "^1.7.1",
"@sanity/ui": "^1.8.2",
"@vercel/stega": "0.1.0",
"nanoid": "^4.0.2",
"react-intersection-observer": "^9.4.4",
"react-intersection-observer": "^9.5.2",
"scroll-into-view-if-needed": "^3.0.10"
},
"devDependencies": {
"@sanity/pkg-utils": "^2.3.3",
"@sanity/semantic-release-preset": "^4.1.1",
"@types/react": "^18.2.14",
"@types/react-dom": "^18.2.6",
"@sanity/pkg-utils": "^2.4.8",
"@sanity/semantic-release-preset": "^4.1.4",
"@types/react": "^18.2.21",
"@types/react-dom": "^18.2.7",
"@types/styled-components": "^5.1.26",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"eslint": "^8.44.0",
"@typescript-eslint/eslint-plugin": "^6.6.0",
"@typescript-eslint/parser": "^6.6.0",
"eslint": "^8.48.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",

@@ -137,8 +137,8 @@ "eslint-plugin-simple-import-sort": "^10.0.0",

"react": "^18.2.0",
"react-dom": "^18",
"react-is": "^18",
"react-dom": "^18.2.0",
"react-is": "^18.2.0",
"rimraf": "^5.0.1",
"semantic-release": "^21.1.1",
"styled-components": "^5.2.3",
"typescript": "^5.1.6"
"styled-components": "^5.3.11",
"typescript": "^5.2.2"
},

@@ -149,3 +149,3 @@ "peerDependencies": {

"react-is": "^18",
"styled-components": "^5.2"
"styled-components": "^5.3.11"
},

@@ -152,0 +152,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