Socket
Socket
Sign inDemoInstall

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 5.6.1-10 to 5.6.1-11

2

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

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

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

this.initElement(data,globalData,comp);
this._readOnly = readOnlyLayers.includes(data.nm);
}

@@ -34,11 +33,6 @@

SVGTextElement.prototype.buildNewText = function(isReadOnly){
SVGTextElement.prototype.buildNewText = function(){
var i, len;
var documentData = this.textProperty.currentData;
if(isReadOnly) {
this.layerElement.setAttribute('read-only-data', documentData.t);
return;
}
this.renderedLetters = createSizedArray(documentData ? documentData.l.length : 0);

@@ -45,0 +39,0 @@ if(documentData.fc) {

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

if(this.textProperty._mdf || this.textProperty._isFirstFrame) {
this.buildNewText(this._readOnly);
this.buildNewText();
this.textProperty._isFirstFrame = false;

@@ -29,0 +29,0 @@ this.textProperty._mdf = false;

@@ -6,3 +6,1 @@ var svgNS = "http://www.w3.org/2000/svg";

var initialDefaultFrame = -999999;
var readOnlyLayers = ['.calculatedData', 'inAnimCustomBezier', 'outAnimCustomBezier'];
function TextProperty(elem, data){
this._frameId = initialDefaultFrame;
this._readOnly = readOnlyLayers.includes(elem.data.nm);
this._frameId = initialDefaultFrame;
this.pv = '';

@@ -50,3 +49,3 @@ this.v = '';

if(!this.searchProperty()) {
this.completeTextData(this.currentData, this._readOnly);
this.completeTextData(this.currentData);
}

@@ -68,3 +67,3 @@ }

if(!data.__complete) {
this.completeTextData(data, this._readOnly);
this.completeTextData(data);
}

@@ -169,5 +168,4 @@ this.currentData = data;

TextProperty.prototype.completeTextData = function(documentData, autoComplete) {
TextProperty.prototype.completeTextData = function(documentData) {
documentData.__complete = true;
if (autoComplete) return;
var fontManager = this.elem.globalData.fontManager;

@@ -174,0 +172,0 @@ var data = this.data;

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

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