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

superfly-timeline

Package Overview
Dependencies
Maintainers
2
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 4.0.2 to 5.0.0

15

CHANGELOG.md

@@ -5,2 +5,17 @@ # Change Log

<a name="5.0.0"></a>
# [5.0.0](https://github.com/SuperFlyTV/supertimeline/compare/4.0.2...5.0.0) (2018-08-17)
### Features
* Major refactoring, switched out the iterative resolving for a nice recursive one ([13cbace](https://github.com/SuperFlyTV/supertimeline/commit/13cbace))
### BREAKING CHANGES
* removed circular, iterative resolving. Might cause unexpected issues
<a name="4.0.2"></a>

@@ -7,0 +22,0 @@ ## [4.0.2](https://github.com/SuperFlyTV/supertimeline/compare/4.0.1...4.0.2) (2018-08-05)

22

dist/resolver/resolver.d.ts

@@ -56,3 +56,3 @@ import { TriggerType, TraceLevel, EventType } from '../enums/enums';

resolved: ResolvedDetails;
parent?: ObjectId;
parent?: TimelineResolvedObject;
}

@@ -66,5 +66,5 @@ export interface ResolvedDetails {

outerDuration?: Duration;
parentStart?: StartTime;
parentId?: ObjectId;
disabled?: boolean;
referralIndex?: number | null;
referredObjectIds?: Array<ResolvedObjectId> | null;

@@ -119,8 +119,7 @@ repeatingStartTime?: StartTime;

}
declare type WhosAskingTrace = Array<TimelineResolvedObject | TimelineResolvedKeyframe>;
declare type WhosAskingTrace = Array<string>;
declare type objAttributeFunction = (objId: string, hook: 'start' | 'end' | 'duration' | 'parentStart', whosAsking: WhosAskingTrace) => number | null;
declare class Resolver {
static setTraceLevel(levelName: string | TraceLevel): void;
static getTraceLevel(): TraceLevel;
static setCircularLimit(limit: number): void;
static getCircularLimit(): number;
static getState(data: UnresolvedTimeline | ResolvedTimeline, time: SomeTime, externalFunctions?: ExternalFunctions): TimelineState;

@@ -131,3 +130,3 @@ static getNextEvents(data: ResolvedTimeline, time: SomeTime, count?: number): TimelineEvent[];

static interpretExpression(strOrExpr: string | number | Expression, isLogical?: boolean): string | number | ExpressionObj | null;
static resolveExpression(strOrExpr: string | number | Expression, resolvedObjects?: ResolvedObjectsStore, ctx?: ResolveExpressionContext, whosAsking?: WhosAskingTrace): StartTime;
static resolveExpression(strOrExpr: string | number | Expression, getObjectAttribute?: objAttributeFunction): StartTime;
static resolveLogicalExpression(expressionOrString: Expression | null, obj?: TimelineResolvedObject, returnExpl?: boolean, currentState?: TimelineState): boolean;

@@ -137,13 +136,2 @@ static developTimelineAroundTime(tl: ResolvedTimeline, time: SomeTime): DevelopedTimeline;

}
export interface ResolveExpressionContext {
touchedObjectExpressions: {
[expression: string]: any;
};
touchedObjectIDs: TouchedObjectIds;
referralIndex: number;
}
declare type TouchedObjectIds = Array<{
id: string;
hook: string;
}>;
export { Resolver };
{
"name": "superfly-timeline",
"version": "4.0.2",
"version": "5.0.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 too big to display

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