@hyperframes/parsers 0.8.32 → 0.8.34
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/gsapParser.d.ts +2 -2
- package/dist/gsapParser.js +2 -2
- package/dist/gsapParser.js.map +1 -1
- package/dist/gsapParserAcorn.d.ts +2 -2
- package/dist/gsapParserAcorn.js.map +1 -1
- package/dist/gsapParserExports.d.ts +1 -1
- package/dist/gsapParserExports.js +2 -2
- package/dist/gsapParserExports.js.map +1 -1
- package/dist/{gsapSerialize-DQW1kZ2G.d.ts → gsapSerialize-CqTuNW95.d.ts} +6 -0
- package/dist/gsapWriterAcorn.d.ts +1 -1
- package/dist/gsapWriterAcorn.js.map +1 -1
- package/dist/hfIds.d.ts +2 -1
- package/dist/hfIds.js +21 -16
- package/dist/hfIds.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +26 -21
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
|
@@ -153,6 +153,12 @@ interface SplitAnimationsResult {
|
|
|
153
153
|
/** Non-ID-selector animations that the engine cannot safely retarget. */
|
|
154
154
|
skippedSelectors: string[];
|
|
155
155
|
}
|
|
156
|
+
/**
|
|
157
|
+
* Construct executable JavaScript from trusted composition-author inputs.
|
|
158
|
+
* __raw: values, preamble, postamble, and timelineVar are code-bearing inputs
|
|
159
|
+
* and are deliberately not sanitized. Never populate them from untrusted data.
|
|
160
|
+
* Quoting ordinary values does not sandbox authored code or its side effects.
|
|
161
|
+
*/
|
|
156
162
|
declare function serializeGsapAnimations(animations: GsapAnimation[], timelineVar?: string, options?: {
|
|
157
163
|
includeMediaSync?: boolean;
|
|
158
164
|
preamble?: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { G as GsapAnimation, A as ArcPathConfig, g as SplitAnimationsOptions, h as SplitAnimationsResult, a as ArcPathSegment } from './gsapSerialize-
|
|
1
|
+
import { G as GsapAnimation, A as ArcPathConfig, g as SplitAnimationsOptions, h as SplitAnimationsResult, a as ArcPathSegment } from './gsapSerialize-CqTuNW95.js';
|
|
2
2
|
import './types-ewozML_N.js';
|
|
3
3
|
import './gsapConstants.js';
|
|
4
4
|
|