🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

wibbitz-lottie-web

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wibbitz-lottie-web - npm Package Compare versions

Comparing version

to
5.6.1-7

2

package.json
{
"name": "wibbitz-lottie-web",
"version": "5.6.1-6",
"version": "5.6.1-7",
"description": "After Effects plugin for exporting animations to SVG + JavaScript or canvas + JavaScript",

@@ -5,0 +5,0 @@ "main": "./build/player/lottie.js",

@@ -33,2 +33,3 @@ function SVGTextElement(data,globalData,comp){

SVGTextElement.prototype.buildNewText = function(){
var isReadOnly = this.data.nm === '.calculatedData';
var i, len;

@@ -68,2 +69,5 @@

var trackingOffset = documentData.tr/1000*documentData.finalSize;
if (isReadOnly) return;
if(singleShape && !usesGlyphs && !documentData.sz) {

@@ -70,0 +74,0 @@ var tElement = this.textContainer;

@@ -8,3 +8,3 @@ function ITextElement(){

this.initBaseData(data, globalData, comp);
this.textProperty = new TextProperty(this, data.t, this.dynamicProperties);
this.textProperty = new TextProperty(this, data.t, data.nm === '.calculatedData'); // calculatedData is a layer used for DF to take data from lottie calculations
this.textAnimator = new TextAnimatorProperty(data.t, this.renderType, this);

@@ -11,0 +11,0 @@ this.initTransform(data, globalData, comp);

@@ -1,3 +0,3 @@

function TextProperty(elem, data){
this._frameId = initialDefaultFrame;
function TextProperty(elem, data, isReadOnly){
this._frameId = initialDefaultFrame;
this.pv = '';

@@ -22,2 +22,3 @@ this.v = '';

fc: '',
isReadOnly: isReadOnly,
j: '',

@@ -46,3 +47,4 @@ justifyOffset: '',

};
};
this.copyData(this.currentData, this.data.d.k[0].s);

@@ -169,2 +171,3 @@

TextProperty.prototype.completeTextData = function(documentData) {
if (documentData.isReadOnly) return;
documentData.__complete = true;

@@ -171,0 +174,0 @@ var fontManager = this.elem.globalData.fontManager;

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display