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

@rive-app/flutter-wasm

Package Overview
Dependencies
Maintainers
5
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rive-app/flutter-wasm - npm Package Compare versions

Comparing version 22.0.0 to 23.0.0

8

build/bin/release/rive_text.js

@@ -19,8 +19,8 @@

function Ha(a,b){var c=Da;return"function"!=typeof WebAssembly.instantiateStreaming||Ca(c)||ma(c)||ha||"function"!=typeof fetch?Ga(c,a,b):fetch(c,{credentials:"same-origin"}).then(d=>WebAssembly.instantiateStreaming(d,a).then(b,function(e){t(`wasm streaming compile failed: ${e}`);t("falling back to ArrayBuffer instantiation");return Ga(c,a,b)}))}
var La={137448:(a,b,c,d,e)=>{if("undefined"===typeof window||void 0===(window.AudioContext||window.webkitAudioContext))return 0;if("undefined"===typeof window.Z){window.Z={za:0};window.Z.ga={};window.Z.ga.ya=a;window.Z.ga.capture=b;window.Z.ga.Ba=c;window.Z.sa={};window.Z.sa.stopped=d;window.Z.sa.Ya=e;let f=window.Z;f.ea=[];f.ob=function(g){for(var k=0;k<f.ea.length;++k)if(null==f.ea[k])return f.ea[k]=g,k;f.ea.push(g);return f.ea.length-1};f.$a=function(g){for(f.ea[g]=null;0<f.ea.length;)if(null==
var La={137544:(a,b,c,d,e)=>{if("undefined"===typeof window||void 0===(window.AudioContext||window.webkitAudioContext))return 0;if("undefined"===typeof window.Z){window.Z={za:0};window.Z.ga={};window.Z.ga.ya=a;window.Z.ga.capture=b;window.Z.ga.Ba=c;window.Z.sa={};window.Z.sa.stopped=d;window.Z.sa.Ya=e;let f=window.Z;f.ea=[];f.ob=function(g){for(var k=0;k<f.ea.length;++k)if(null==f.ea[k])return f.ea[k]=g,k;f.ea.push(g);return f.ea.length-1};f.$a=function(g){for(f.ea[g]=null;0<f.ea.length;)if(null==
f.ea[f.ea.length-1])f.ea.pop();else break};f.zb=function(g){for(var k=0;k<f.ea.length;++k)if(f.ea[k]==g)return f.$a(k)};f.ua=function(g){return f.ea[g]};f.Za=["touchend","click"];f.unlock=function(){for(var g=0;g<f.ea.length;++g){var k=f.ea[g];null!=k&&null!=k.ha&&k.state===f.sa.Ya&&k.ha.resume().then(()=>{Ia(k.Wa)},l=>{console.error("Failed to resume audiocontext",l)})}f.Za.map(function(l){document.removeEventListener(l,f.unlock,!0)})};f.Za.map(function(g){document.addEventListener(g,f.unlock,!0)})}window.Z.za+=
1;return 1},139626:()=>{"undefined"!==typeof window.Z&&(--window.Z.za,0===window.Z.za&&delete window.Z)},139790:()=>void 0!==navigator.mediaDevices&&void 0!==navigator.mediaDevices.getUserMedia,139894:()=>{try{var a=new (window.AudioContext||window.webkitAudioContext),b=a.sampleRate;a.close();return b}catch(c){return 0}},140065:(a,b,c,d,e,f)=>{if("undefined"===typeof window.Z)return-1;var g={},k={};a==window.Z.ga.ya&&0!=c&&(k.sampleRate=c);g.ha=new (window.AudioContext||window.webkitAudioContext)(k);
1;return 1},139722:()=>{"undefined"!==typeof window.Z&&(--window.Z.za,0===window.Z.za&&delete window.Z)},139886:()=>void 0!==navigator.mediaDevices&&void 0!==navigator.mediaDevices.getUserMedia,139990:()=>{try{var a=new (window.AudioContext||window.webkitAudioContext),b=a.sampleRate;a.close();return b}catch(c){return 0}},140161:(a,b,c,d,e,f)=>{if("undefined"===typeof window.Z)return-1;var g={},k={};a==window.Z.ga.ya&&0!=c&&(k.sampleRate=c);g.ha=new (window.AudioContext||window.webkitAudioContext)(k);
g.ha.suspend();g.state=window.Z.sa.stopped;c=0;a!=window.Z.ga.ya&&(c=b);g.qa=g.ha.createScriptProcessor(d,c,b);g.qa.onaudioprocess=function(l){if(null==g.va||0==g.va.length)g.va=new Float32Array(sa.buffer,e,d*b);if(a==window.Z.ga.capture||a==window.Z.ga.Ba){for(var h=0;h<b;h+=1)for(var q=l.inputBuffer.getChannelData(h),r=g.va,p=0;p<d;p+=1)r[p*b+h]=q[p];Ja(f,d,e)}if(a==window.Z.ga.ya||a==window.Z.ga.Ba)for(Ka(f,d,e),h=0;h<l.outputBuffer.numberOfChannels;++h)for(q=l.outputBuffer.getChannelData(h),r=
g.va,p=0;p<d;p+=1)q[p]=r[p*b+h];else for(h=0;h<l.outputBuffer.numberOfChannels;++h)l.outputBuffer.getChannelData(h).fill(0)};a!=window.Z.ga.capture&&a!=window.Z.ga.Ba||navigator.mediaDevices.getUserMedia({audio:!0,video:!1}).then(function(l){g.Aa=g.ha.createMediaStreamSource(l);g.Aa.connect(g.qa);g.qa.connect(g.ha.destination)}).catch(function(l){console.log("Failed to get user media: "+l)});a==window.Z.ga.ya&&g.qa.connect(g.ha.destination);g.Wa=f;return window.Z.ob(g)},142942:a=>window.Z.ua(a).ha.sampleRate,
143015:a=>{a=window.Z.ua(a);void 0!==a.qa&&(a.qa.onaudioprocess=function(){},a.qa.disconnect(),a.qa=void 0);void 0!==a.Aa&&(a.Aa.disconnect(),a.Aa=void 0);a.ha.close();a.ha=void 0;a.Wa=void 0},143415:a=>{window.Z.$a(a)},143465:a=>{a=window.Z.ua(a);a.ha.resume();a.state=window.Z.sa.Ya},143604:a=>{a=window.Z.ua(a);a.ha.suspend();a.state=window.Z.sa.stopped}},Ma=(a,b)=>{for(var c=0,d=a.length-1;0<=d;d--){var e=a[d];"."===e?a.splice(d,1):".."===e?(a.splice(d,1),c++):c&&(a.splice(d,1),c--)}if(b)for(;c;c--)a.unshift("..");
g.va,p=0;p<d;p+=1)q[p]=r[p*b+h];else for(h=0;h<l.outputBuffer.numberOfChannels;++h)l.outputBuffer.getChannelData(h).fill(0)};a!=window.Z.ga.capture&&a!=window.Z.ga.Ba||navigator.mediaDevices.getUserMedia({audio:!0,video:!1}).then(function(l){g.Aa=g.ha.createMediaStreamSource(l);g.Aa.connect(g.qa);g.qa.connect(g.ha.destination)}).catch(function(l){console.log("Failed to get user media: "+l)});a==window.Z.ga.ya&&g.qa.connect(g.ha.destination);g.Wa=f;return window.Z.ob(g)},143038:a=>window.Z.ua(a).ha.sampleRate,
143111:a=>{a=window.Z.ua(a);void 0!==a.qa&&(a.qa.onaudioprocess=function(){},a.qa.disconnect(),a.qa=void 0);void 0!==a.Aa&&(a.Aa.disconnect(),a.Aa=void 0);a.ha.close();a.ha=void 0;a.Wa=void 0},143511:a=>{window.Z.$a(a)},143561:a=>{a=window.Z.ua(a);a.ha.resume();a.state=window.Z.sa.Ya},143700:a=>{a=window.Z.ua(a);a.ha.suspend();a.state=window.Z.sa.stopped}},Ma=(a,b)=>{for(var c=0,d=a.length-1;0<=d;d--){var e=a[d];"."===e?a.splice(d,1):".."===e?(a.splice(d,1),c++):c&&(a.splice(d,1),c--)}if(b)for(;c;c--)a.unshift("..");
return a},F=a=>{var b="/"===a.charAt(0),c="/"===a.substr(-1);(a=Ma(a.split("/").filter(d=>!!d),!b).join("/"))||b||(a=".");a&&c&&(a+="/");return(b?"/":"")+a},Na=a=>{var b=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/.exec(a).slice(1);a=b[0];b=b[1];if(!a&&!b)return".";b&&=b.substr(0,b.length-1);return a+b},Oa=a=>{if("/"===a)return"/";a=F(a);a=a.replace(/\/$/,"");var b=a.lastIndexOf("/");return-1===b?a:a.substr(b+1)},Pa=()=>{if("object"==typeof crypto&&"function"==typeof crypto.getRandomValues)return c=>

@@ -27,0 +27,0 @@ crypto.getRandomValues(c);if(ha)try{var a=require("crypto");if(a.randomFillSync)return c=>a.randomFillSync(c);var b=a.randomBytes;return c=>(c.set(b(c.byteLength)),c)}catch(c){}oa("initRandomDevice")},Qa=a=>(Qa=Pa())(a);

@@ -19,8 +19,8 @@

function Ha(a,b){var c=Da;return"function"!=typeof WebAssembly.instantiateStreaming||Ca(c)||ma(c)||ha||"function"!=typeof fetch?Ga(c,a,b):fetch(c,{credentials:"same-origin"}).then(d=>WebAssembly.instantiateStreaming(d,a).then(b,function(e){t(`wasm streaming compile failed: ${e}`);t("falling back to ArrayBuffer instantiation");return Ga(c,a,b)}))}
var La={137448:(a,b,c,d,e)=>{if("undefined"===typeof window||void 0===(window.AudioContext||window.webkitAudioContext))return 0;if("undefined"===typeof window.Z){window.Z={za:0};window.Z.ga={};window.Z.ga.ya=a;window.Z.ga.capture=b;window.Z.ga.Ba=c;window.Z.sa={};window.Z.sa.stopped=d;window.Z.sa.Ya=e;let f=window.Z;f.ea=[];f.ob=function(g){for(var k=0;k<f.ea.length;++k)if(null==f.ea[k])return f.ea[k]=g,k;f.ea.push(g);return f.ea.length-1};f.$a=function(g){for(f.ea[g]=null;0<f.ea.length;)if(null==
var La={137544:(a,b,c,d,e)=>{if("undefined"===typeof window||void 0===(window.AudioContext||window.webkitAudioContext))return 0;if("undefined"===typeof window.Z){window.Z={za:0};window.Z.ga={};window.Z.ga.ya=a;window.Z.ga.capture=b;window.Z.ga.Ba=c;window.Z.sa={};window.Z.sa.stopped=d;window.Z.sa.Ya=e;let f=window.Z;f.ea=[];f.ob=function(g){for(var k=0;k<f.ea.length;++k)if(null==f.ea[k])return f.ea[k]=g,k;f.ea.push(g);return f.ea.length-1};f.$a=function(g){for(f.ea[g]=null;0<f.ea.length;)if(null==
f.ea[f.ea.length-1])f.ea.pop();else break};f.zb=function(g){for(var k=0;k<f.ea.length;++k)if(f.ea[k]==g)return f.$a(k)};f.ua=function(g){return f.ea[g]};f.Za=["touchend","click"];f.unlock=function(){for(var g=0;g<f.ea.length;++g){var k=f.ea[g];null!=k&&null!=k.ha&&k.state===f.sa.Ya&&k.ha.resume().then(()=>{Ia(k.Wa)},l=>{console.error("Failed to resume audiocontext",l)})}f.Za.map(function(l){document.removeEventListener(l,f.unlock,!0)})};f.Za.map(function(g){document.addEventListener(g,f.unlock,!0)})}window.Z.za+=
1;return 1},139626:()=>{"undefined"!==typeof window.Z&&(--window.Z.za,0===window.Z.za&&delete window.Z)},139790:()=>void 0!==navigator.mediaDevices&&void 0!==navigator.mediaDevices.getUserMedia,139894:()=>{try{var a=new (window.AudioContext||window.webkitAudioContext),b=a.sampleRate;a.close();return b}catch(c){return 0}},140065:(a,b,c,d,e,f)=>{if("undefined"===typeof window.Z)return-1;var g={},k={};a==window.Z.ga.ya&&0!=c&&(k.sampleRate=c);g.ha=new (window.AudioContext||window.webkitAudioContext)(k);
1;return 1},139722:()=>{"undefined"!==typeof window.Z&&(--window.Z.za,0===window.Z.za&&delete window.Z)},139886:()=>void 0!==navigator.mediaDevices&&void 0!==navigator.mediaDevices.getUserMedia,139990:()=>{try{var a=new (window.AudioContext||window.webkitAudioContext),b=a.sampleRate;a.close();return b}catch(c){return 0}},140161:(a,b,c,d,e,f)=>{if("undefined"===typeof window.Z)return-1;var g={},k={};a==window.Z.ga.ya&&0!=c&&(k.sampleRate=c);g.ha=new (window.AudioContext||window.webkitAudioContext)(k);
g.ha.suspend();g.state=window.Z.sa.stopped;c=0;a!=window.Z.ga.ya&&(c=b);g.qa=g.ha.createScriptProcessor(d,c,b);g.qa.onaudioprocess=function(l){if(null==g.va||0==g.va.length)g.va=new Float32Array(sa.buffer,e,d*b);if(a==window.Z.ga.capture||a==window.Z.ga.Ba){for(var h=0;h<b;h+=1)for(var q=l.inputBuffer.getChannelData(h),r=g.va,p=0;p<d;p+=1)r[p*b+h]=q[p];Ja(f,d,e)}if(a==window.Z.ga.ya||a==window.Z.ga.Ba)for(Ka(f,d,e),h=0;h<l.outputBuffer.numberOfChannels;++h)for(q=l.outputBuffer.getChannelData(h),r=
g.va,p=0;p<d;p+=1)q[p]=r[p*b+h];else for(h=0;h<l.outputBuffer.numberOfChannels;++h)l.outputBuffer.getChannelData(h).fill(0)};a!=window.Z.ga.capture&&a!=window.Z.ga.Ba||navigator.mediaDevices.getUserMedia({audio:!0,video:!1}).then(function(l){g.Aa=g.ha.createMediaStreamSource(l);g.Aa.connect(g.qa);g.qa.connect(g.ha.destination)}).catch(function(l){console.log("Failed to get user media: "+l)});a==window.Z.ga.ya&&g.qa.connect(g.ha.destination);g.Wa=f;return window.Z.ob(g)},142942:a=>window.Z.ua(a).ha.sampleRate,
143015:a=>{a=window.Z.ua(a);void 0!==a.qa&&(a.qa.onaudioprocess=function(){},a.qa.disconnect(),a.qa=void 0);void 0!==a.Aa&&(a.Aa.disconnect(),a.Aa=void 0);a.ha.close();a.ha=void 0;a.Wa=void 0},143415:a=>{window.Z.$a(a)},143465:a=>{a=window.Z.ua(a);a.ha.resume();a.state=window.Z.sa.Ya},143604:a=>{a=window.Z.ua(a);a.ha.suspend();a.state=window.Z.sa.stopped}},Ma=(a,b)=>{for(var c=0,d=a.length-1;0<=d;d--){var e=a[d];"."===e?a.splice(d,1):".."===e?(a.splice(d,1),c++):c&&(a.splice(d,1),c--)}if(b)for(;c;c--)a.unshift("..");
g.va,p=0;p<d;p+=1)q[p]=r[p*b+h];else for(h=0;h<l.outputBuffer.numberOfChannels;++h)l.outputBuffer.getChannelData(h).fill(0)};a!=window.Z.ga.capture&&a!=window.Z.ga.Ba||navigator.mediaDevices.getUserMedia({audio:!0,video:!1}).then(function(l){g.Aa=g.ha.createMediaStreamSource(l);g.Aa.connect(g.qa);g.qa.connect(g.ha.destination)}).catch(function(l){console.log("Failed to get user media: "+l)});a==window.Z.ga.ya&&g.qa.connect(g.ha.destination);g.Wa=f;return window.Z.ob(g)},143038:a=>window.Z.ua(a).ha.sampleRate,
143111:a=>{a=window.Z.ua(a);void 0!==a.qa&&(a.qa.onaudioprocess=function(){},a.qa.disconnect(),a.qa=void 0);void 0!==a.Aa&&(a.Aa.disconnect(),a.Aa=void 0);a.ha.close();a.ha=void 0;a.Wa=void 0},143511:a=>{window.Z.$a(a)},143561:a=>{a=window.Z.ua(a);a.ha.resume();a.state=window.Z.sa.Ya},143700:a=>{a=window.Z.ua(a);a.ha.suspend();a.state=window.Z.sa.stopped}},Ma=(a,b)=>{for(var c=0,d=a.length-1;0<=d;d--){var e=a[d];"."===e?a.splice(d,1):".."===e?(a.splice(d,1),c++):c&&(a.splice(d,1),c--)}if(b)for(;c;c--)a.unshift("..");
return a},F=a=>{var b="/"===a.charAt(0),c="/"===a.substr(-1);(a=Ma(a.split("/").filter(d=>!!d),!b).join("/"))||b||(a=".");a&&c&&(a+="/");return(b?"/":"")+a},Na=a=>{var b=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/.exec(a).slice(1);a=b[0];b=b[1];if(!a&&!b)return".";b&&=b.substr(0,b.length-1);return a+b},Oa=a=>{if("/"===a)return"/";a=F(a);a=a.replace(/\/$/,"");var b=a.lastIndexOf("/");return-1===b?a:a.substr(b+1)},Pa=()=>{if("object"==typeof crypto&&"function"==typeof crypto.getRandomValues)return c=>

@@ -27,0 +27,0 @@ crypto.getRandomValues(c);if(ha)try{var a=require("crypto");if(a.randomFillSync)return c=>a.randomFillSync(c);var b=a.randomBytes;return c=>(c.set(b(c.byteLength)),c)}catch(c){}oa("initRandomDevice")},Qa=a=>(Qa=Pa())(a);

{
"name": "@rive-app/flutter-wasm",
"version": "22.0.0",
"version": "23.0.0",
"description": "WASM portion of Rive's Flutter runtime.",

@@ -5,0 +5,0 @@ "homepage": "https://rive.app",

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