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

superfly-timeline

Package Overview
Dependencies
Maintainers
0
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

superfly-timeline - npm Package Compare versions

Comparing version 9.0.2-nightly-fix-better-trace-resolving-20241003-050338-7e8de97.0 to 9.0.2-nightly-fix-better-trace-resolving-20241003-064759-7723b89.0

1

dist/index.d.ts
import { ResolvedTimeline, ResolveOptions, Expression, ExpressionObj, InnerExpression, Time, TimelineState, Content, TimelineKeyframe, TimelineObject } from './api';
export * from './api';
export { ResolveError } from './resolver/lib/Error';
/**

@@ -4,0 +5,0 @@ * Resolves a timeline, i.e. resolves the references between objects

4

dist/index.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.onCloseCleanup = exports.validateExpression = exports.wrapInnerExpressions = exports.simplifyExpression = exports.interpretExpression = exports.applyKeyframeContent = exports.validateReferenceString = exports.validateKeyframe = exports.validateObject = exports.validateTimeline = exports.getResolvedState = exports.resolveTimeline = void 0;
exports.onCloseCleanup = exports.validateExpression = exports.wrapInnerExpressions = exports.simplifyExpression = exports.interpretExpression = exports.applyKeyframeContent = exports.validateReferenceString = exports.validateKeyframe = exports.validateObject = exports.validateTimeline = exports.getResolvedState = exports.resolveTimeline = exports.ResolveError = void 0;
const tslib_1 = require("tslib");
tslib_1.__exportStar(require("./api"), exports);
var Error_1 = require("./resolver/lib/Error");
Object.defineProperty(exports, "ResolveError", { enumerable: true, get: function () { return Error_1.ResolveError; } });
const StateHandler_1 = require("./resolver/StateHandler");

@@ -7,0 +9,0 @@ const ExpressionHandler_1 = require("./resolver/ExpressionHandler");

@@ -11,2 +11,4 @@ import { ResolvedTimelineObject, ResolverCache } from '../api';

persistData(): void;
/** Resets / Clears the cache */
static resetCache(cache: Partial<ResolverCache>): void;
}

@@ -13,0 +15,0 @@ /** Return a "hash-string" which changes whenever anything that affects timing of a timeline-object has changed. */

@@ -17,4 +17,3 @@ "use strict";

// Reset the cache:
cache.objHashes = {};
cache.objects = {};
CacheHandler.resetCache(cache);
this.canUseIncomingCache = false;

@@ -177,2 +176,8 @@ }

}
/** Resets / Clears the cache */
static resetCache(cache) {
delete cache.canBeUsed;
cache.objHashes = {};
cache.objects = {};
}
}

@@ -179,0 +184,0 @@ exports.CacheHandler = CacheHandler;

@@ -6,2 +6,3 @@ "use strict";

const performance_1 = require("./lib/performance");
const CacheHandler_1 = require("./CacheHandler");
const TimelineValidator_1 = require("./TimelineValidator");

@@ -80,2 +81,6 @@ const Error_1 = require("./lib/Error");

catch (e) {
if (this.options.cache) {
// Reset cache, since it might be corrupt.
CacheHandler_1.CacheHandler.resetCache(this.options.cache);
}
throw new Error_1.ResolveError(e, this.resolvedTimeline.getResolvedTimeline());

@@ -82,0 +87,0 @@ }

{
"name": "superfly-timeline",
"version": "9.0.2-nightly-fix-better-trace-resolving-20241003-050338-7e8de97.0",
"version": "9.0.2-nightly-fix-better-trace-resolving-20241003-064759-7723b89.0",
"description": "A collection of rules as well as a resolver for placing objects on a virtual timeline.",

@@ -5,0 +5,0 @@ "license": "MIT",

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

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