eddev 2.3.22 → 2.3.23

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.
@@ -1 +1 @@
1
- {"version":3,"file":"installGutenbergHooks.d.ts","sourceRoot":"","sources":["../../../../../src/app/lib/blocks/editor/installGutenbergHooks.tsx"],"names":[],"mappings":"AA4BA,eAAO,MAAM,oBAAoB;;CAAgC,CAAA;AAEjE,wBAAgB,iBAAiB,kBAsBhC;AAED,wBAAgB,uBAAuB,SAyVtC"}
1
+ {"version":3,"file":"installGutenbergHooks.d.ts","sourceRoot":"","sources":["../../../../../src/app/lib/blocks/editor/installGutenbergHooks.tsx"],"names":[],"mappings":"AA4BA,eAAO,MAAM,oBAAoB;;CAAgC,CAAA;AAEjE,wBAAgB,iBAAiB,kBAsBhC;AAED,wBAAgB,uBAAuB,SA2VtC"}
@@ -266,6 +266,11 @@ export function installEDGutenbergHooks() {
266
266
  }
267
267
  blocksByTag.add(item.name, item.tags);
268
268
  const isRootBlock = rootBlocks.isRootBlock(name, item.tags);
269
+ const initialTransforms = {
270
+ from: item.transforms?.from ?? [],
271
+ to: item.transforms?.to ?? [],
272
+ ungroup: item.transforms?.ungroup,
273
+ };
269
274
  return {
270
275
  ...item,
271
276
  get parent() {
@@ -274,11 +279,7 @@ export function installEDGutenbergHooks() {
274
279
  return blocksByTag.expand([...(item.parent ?? []), ...(isRootBlock ? ["core/post-content"] : [])]);
275
280
  },
276
281
  get transforms() {
277
- const result = {
278
- from: item.transforms?.from ?? [],
279
- to: item.transforms?.to ?? [],
280
- ungroup: item.transforms?.ungroup,
281
- };
282
+ const result = { ...initialTransforms };
282
283
  const meta = blockMetaDescriptors.get(resolveAcfBlockName(name, false));
283
284
  if (meta?.transforms) {
284
285
  result.from = [...(result.from ?? []), ...(meta.transforms.from ?? [])];
@@ -1 +1 @@
1
- {"version":3,"file":"proxy-wp-admin.d.ts","sourceRoot":"","sources":["../../../src/app/server/proxy-wp-admin.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAwD,OAAO,EAAE,MAAM,YAAY,CAAA;AAI/G,wBAAsB,YAAY,CAAC,KAAK,EAAE,OAAO,CAAC,mBAAmB,CAAC,qBAuHrE"}
1
+ {"version":3,"file":"proxy-wp-admin.d.ts","sourceRoot":"","sources":["../../../src/app/server/proxy-wp-admin.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAwD,OAAO,EAAE,MAAM,YAAY,CAAA;AAI/G,wBAAsB,YAAY,CAAC,KAAK,EAAE,OAAO,CAAC,mBAAmB,CAAC,qBAwHrE"}
@@ -62,6 +62,7 @@ export async function proxyWpAdmin(event) {
62
62
  }
63
63
  res.headers.set(key, value);
64
64
  });
65
+ res.headers.set("document-isolation-policy", "none");
65
66
  // Set cookies in the response headers
66
67
  // TODO: May need to rewrite cookie domain here before setting.
67
68
  if (cookies.length > 0) {
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "2.3.22";
1
+ export declare const VERSION = "2.3.23";
2
2
  //# sourceMappingURL=version.d.ts.map
@@ -1 +1 @@
1
- export const VERSION = "2.3.22";
1
+ export const VERSION = "2.3.23";
@@ -1 +1 @@
1
- {"version":3,"file":"vinxi-codegen.d.ts","sourceRoot":"","sources":["../../../src/node/compiler/vinxi-codegen.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAA;AAC/C,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAA;AAGlD,KAAK,OAAO,GAAG;IACb,IAAI,EAAE,aAAa,GAAG,YAAY,CAAA;IAClC,UAAU,EAAE,OAAO,CAAA;IACnB,OAAO,EAAE,OAAO,CAAA;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB,CAAA;AAED,wBAAgB,cAAc,CAAC,IAAI,EAAE,IAAI,CAAC,OAAO,EAAE,MAAM,GAAG,YAAY,CAAC,UAExE;AAED,wBAAsB,eAAe,CAAC,IAAI,EAAE,OAAO,iBAIlD;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,OAAO,aA+vB/C"}
1
+ {"version":3,"file":"vinxi-codegen.d.ts","sourceRoot":"","sources":["../../../src/node/compiler/vinxi-codegen.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAA;AAC/C,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAA;AAGlD,KAAK,OAAO,GAAG;IACb,IAAI,EAAE,aAAa,GAAG,YAAY,CAAA;IAClC,UAAU,EAAE,OAAO,CAAA;IACnB,OAAO,EAAE,OAAO,CAAA;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB,CAAA;AAED,wBAAgB,cAAc,CAAC,IAAI,EAAE,IAAI,CAAC,OAAO,EAAE,MAAM,GAAG,YAAY,CAAC,UAExE;AAED,wBAAsB,eAAe,CAAC,IAAI,EAAE,OAAO,iBAIlD;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,OAAO,aAswB/C"}
@@ -100,6 +100,16 @@ export function createVinxiCodegen(opts) {
100
100
  import bootAdmin from "eddev/_internal/boot-admin.js"
101
101
 
102
102
  bootAdmin()
103
+
104
+ if (import.meta.hot) {
105
+ import.meta.hot.accept(() => {
106
+ console.log("Attempting to self-accept HMR")
107
+ });
108
+ import.meta.hot.on('vite:beforeFullReload', () => {
109
+ throw '(skipping full reload in editor)';
110
+ });
111
+ }
112
+
103
113
  `;
104
114
  },
105
115
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eddev",
3
- "version": "2.3.22",
3
+ "version": "2.3.23",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "type": "module",