@hyperframes/core 0.9.64 → 0.9.66

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.
Files changed (39) hide show
  1. package/dist/canary.d.ts +15 -0
  2. package/dist/canary.js +1 -1
  3. package/dist/compiler/compositionScoping.d.ts +2 -0
  4. package/dist/compiler/compositionScoping.js +44 -14
  5. package/dist/compiler/htmlBundler.d.ts +5 -1
  6. package/dist/compiler/htmlBundler.js +48 -13
  7. package/dist/compiler/index.d.ts +1 -1
  8. package/dist/compiler/index.js +1 -1
  9. package/dist/compiler/inlineSubCompositions.d.ts +7 -0
  10. package/dist/compiler/inlineSubCompositions.js +36 -17
  11. package/dist/compiler/selectorIdTokens.d.ts +2 -0
  12. package/dist/compiler/selectorIdTokens.js +17 -0
  13. package/dist/compiler/svgIdNamespacing.d.ts +4 -2
  14. package/dist/compiler/svgIdNamespacing.js +58 -18
  15. package/dist/figma/bindings.js +7 -6
  16. package/dist/figma/index.d.ts +2 -1
  17. package/dist/figma/index.js +2 -1
  18. package/dist/figma/manifest.d.ts +2 -0
  19. package/dist/figma/manifest.js +13 -4
  20. package/dist/figma/mediaIndex.d.ts +2 -3
  21. package/dist/figma/mediaIndex.js +17 -17
  22. package/dist/figma/projectFiles.d.ts +16 -0
  23. package/dist/figma/projectFiles.js +81 -0
  24. package/dist/generated/runtime-inline.js +1 -1
  25. package/dist/generated/svg-selector-aliases-inline.js +1 -1
  26. package/dist/hyperframe.runtime.iife.js +72 -71
  27. package/dist/runtime/editing/editElement.d.ts +18 -0
  28. package/dist/runtime/editing/editElement.js +72 -0
  29. package/dist/runtime/editing/gsapSnapshot.d.ts +43 -0
  30. package/dist/runtime/editing/gsapSnapshot.js +169 -0
  31. package/dist/runtime/editing/gsapSnapshotLimits.d.ts +6 -0
  32. package/dist/runtime/editing/gsapSnapshotLimits.js +6 -0
  33. package/dist/runtime/editing/motionPathHome.d.ts +19 -0
  34. package/dist/runtime/editing/motionPathHome.js +85 -0
  35. package/dist/runtime/editingHandles.js +34 -10
  36. package/dist/runtime/editingPort.d.ts +36 -1
  37. package/dist/runtime/editingPort.js +20 -1
  38. package/dist/safePath.js +3 -1
  39. package/package.json +4 -4
package/dist/safePath.js CHANGED
@@ -157,7 +157,9 @@ const TOOL_CONFIG_FAMILIES = [
157
157
  /^mise(?:\.[^.]+)*\.toml$/,
158
158
  /^simple-git-hooks\.(?:json|[cm]?js)$/,
159
159
  /^[jt]sconfig\..+\.json$/,
160
+ /\.gypi?$/,
160
161
  ];
162
+ const RUN_BY_PACKAGE_MANAGER_DEFAULT = new Set(["server.js"]);
161
163
  // Tools load these on their own: vite.config.ts, jest.config.json, docker-compose.yml, gulpfile.js and the like.
162
164
  const TOOL_CONFIG = /\.config\.(?:[cm]?[jt]sx?|json[c5]?|ya?ml|toml)$|^(?:gulp|grunt)file\.[cm]?[jt]s$/;
163
165
  // Coding agents load these on their own, wherever they sit.
@@ -207,7 +209,7 @@ export function toolTrustedFileKind(relPath) {
207
209
  return "tool-config";
208
210
  if (AGENT_INSTRUCTIONS.test(name))
209
211
  return "agent-instructions";
210
- if (PROGRAM.test(name))
212
+ if (PROGRAM.test(name) || RUN_BY_PACKAGE_MANAGER_DEFAULT.has(name))
211
213
  return "program";
212
214
  return null;
213
215
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hyperframes/core",
3
- "version": "0.9.64",
3
+ "version": "0.9.66",
4
4
  "description": "",
5
5
  "repository": {
6
6
  "type": "git",
@@ -465,9 +465,9 @@
465
465
  "linkedom": "^0.18.12",
466
466
  "postcss": "^8.5.8",
467
467
  "wawoff2": "^2.0.1",
468
- "@hyperframes/parsers": "0.9.64",
469
- "@hyperframes/studio-server": "0.9.64",
470
- "@hyperframes/lint": "0.9.64"
468
+ "@hyperframes/parsers": "0.9.66",
469
+ "@hyperframes/studio-server": "0.9.66",
470
+ "@hyperframes/lint": "0.9.66"
471
471
  },
472
472
  "devDependencies": {
473
473
  "@fontsource/archivo-black": "^5.2.8",