@measured/puck-plugin-heading-analyzer 0.17.2-canary.6a8578f → 0.17.2-canary.81a136e
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -0
- package/dist/index.mjs +1 -0
- package/package.json +2 -2
package/dist/index.js
CHANGED
@@ -1966,6 +1966,7 @@ var scrollIntoView = (el) => {
|
|
1966
1966
|
// ../core/lib/get-frame.ts
|
1967
1967
|
init_react_import();
|
1968
1968
|
var getFrame = () => {
|
1969
|
+
if (typeof window === "undefined") return;
|
1969
1970
|
let frameEl = document.querySelector("#preview-frame");
|
1970
1971
|
if ((frameEl == null ? void 0 : frameEl.tagName) === "IFRAME") {
|
1971
1972
|
return frameEl.contentDocument || document;
|
package/dist/index.mjs
CHANGED
@@ -1963,6 +1963,7 @@ var scrollIntoView = (el) => {
|
|
1963
1963
|
// ../core/lib/get-frame.ts
|
1964
1964
|
init_react_import();
|
1965
1965
|
var getFrame = () => {
|
1966
|
+
if (typeof window === "undefined") return;
|
1966
1967
|
let frameEl = document.querySelector("#preview-frame");
|
1967
1968
|
if ((frameEl == null ? void 0 : frameEl.tagName) === "IFRAME") {
|
1968
1969
|
return frameEl.contentDocument || document;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@measured/puck-plugin-heading-analyzer",
|
3
|
-
"version": "0.17.2-canary.
|
3
|
+
"version": "0.17.2-canary.81a136e",
|
4
4
|
"author": "Measured Corporation Ltd <hello@measured.co>",
|
5
5
|
"repository": "measuredco/puck",
|
6
6
|
"bugs": "https://github.com/measuredco/puck/issues",
|
@@ -25,7 +25,7 @@
|
|
25
25
|
"dist"
|
26
26
|
],
|
27
27
|
"devDependencies": {
|
28
|
-
"@measured/puck": "^0.17.2-canary.
|
28
|
+
"@measured/puck": "^0.17.2-canary.81a136e",
|
29
29
|
"@types/react": "^19.0.1",
|
30
30
|
"@types/react-dom": "^19.0.2",
|
31
31
|
"eslint": "^7.32.0",
|