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 8.1.0 to 8.1.1-nightly-20200911-125608-bfeed88.0

15

dist/resolver/resolver.js

@@ -289,3 +289,3 @@ "use strict";

let hasParent = false;
let referToParent = false;
let startRefersToParent = false;
if (obj.resolved.parentId) {

@@ -298,3 +298,3 @@ hasParent = true;

// Only use parent if the expression resolves to a number (ie doesn't contain any references)
referToParent = true;
startRefersToParent = true;
}

@@ -305,3 +305,3 @@ }

directReferences = directReferences.concat(lookupStart.allReferences);
if (referToParent) {
if (startRefersToParent) {
lookedupStarts = lib_1.applyParentInstances(parentInstances, lookedupStarts);

@@ -346,2 +346,9 @@ }

const endExpr = expression_1.interpretExpression(enable.end);
let endRefersToParent = false;
if (obj.resolved.parentId) {
if (lib_1.isConstant(endExpr)) {
// Only use parent if the expression resolves to a number (ie doesn't contain any references)
endRefersToParent = true;
}
}
// lookedupEnds will contain an inverted list of instances. Therefore .start means an end

@@ -352,3 +359,3 @@ const lookupEnd = endExpr ? lookupExpression(resolvedTimeline, obj, endExpr, 'end') : null;

directReferences = directReferences.concat(lookupEnd.allReferences);
if (referToParent && lib_1.isConstant(endExpr)) {
if (endRefersToParent) {
lookedupEnds = lib_1.applyParentInstances(parentInstances, lookedupEnds);

@@ -355,0 +362,0 @@ }

{
"name": "superfly-timeline",
"version": "8.1.0",
"version": "8.1.1-nightly-20200911-125608-bfeed88.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

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