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 36.0.0 to 37.0.0

8

build/bin/release/rive_text.js

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

function Ga(a,b){var c=Ca;return"function"!=typeof WebAssembly.instantiateStreaming||Ba(c)||ma(c)||ha||"function"!=typeof fetch?Fa(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 Fa(c,a,b)}))}
var Ka={137608:(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 Ka={137640:(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(()=>{Ha(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},139786:()=>{"undefined"!==typeof window.Z&&(--window.Z.za,0===window.Z.za&&delete window.Z)},139950:()=>void 0!==navigator.mediaDevices&&void 0!==navigator.mediaDevices.getUserMedia,140054:()=>{try{var a=new (window.AudioContext||window.webkitAudioContext),b=a.sampleRate;a.close();return b}catch(c){return 0}},140225:(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},139818:()=>{"undefined"!==typeof window.Z&&(--window.Z.za,0===window.Z.za&&delete window.Z)},139982:()=>void 0!==navigator.mediaDevices&&void 0!==navigator.mediaDevices.getUserMedia,140086:()=>{try{var a=new (window.AudioContext||window.webkitAudioContext),b=a.sampleRate;a.close();return b}catch(c){return 0}},140257:(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(ra.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];Ia(f,d,e)}if(a==window.Z.ga.ya||a==window.Z.ga.Ba)for(Ja(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)},143102:a=>window.Z.ua(a).ha.sampleRate,
143175: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},143575:a=>{window.Z.$a(a)},143625:a=>{a=window.Z.ua(a);a.ha.resume();a.state=window.Z.sa.Ya},143764:a=>{a=window.Z.ua(a);a.ha.suspend();a.state=window.Z.sa.stopped}},La=(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)},143134:a=>window.Z.ua(a).ha.sampleRate,
143207: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},143607:a=>{window.Z.$a(a)},143657:a=>{a=window.Z.ua(a);a.ha.resume();a.state=window.Z.sa.Ya},143796:a=>{a=window.Z.ua(a);a.ha.suspend();a.state=window.Z.sa.stopped}},La=(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},G=a=>{var b="/"===a.charAt(0),c="/"===a.substr(-1);(a=La(a.split("/").filter(d=>!!d),!b).join("/"))||b||(a=".");a&&c&&(a+="/");return(b?"/":"")+a},Ma=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},Na=a=>{if("/"===a)return"/";a=G(a);a=a.replace(/\/$/,"");var b=a.lastIndexOf("/");return-1===b?a:a.substr(b+1)},Oa=()=>{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")},Pa=a=>(Pa=Oa())(a);

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

function Ga(a,b){var c=Ca;return"function"!=typeof WebAssembly.instantiateStreaming||Ba(c)||ma(c)||ha||"function"!=typeof fetch?Fa(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 Fa(c,a,b)}))}
var Ka={137608:(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 Ka={137640:(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(()=>{Ha(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},139786:()=>{"undefined"!==typeof window.Z&&(--window.Z.za,0===window.Z.za&&delete window.Z)},139950:()=>void 0!==navigator.mediaDevices&&void 0!==navigator.mediaDevices.getUserMedia,140054:()=>{try{var a=new (window.AudioContext||window.webkitAudioContext),b=a.sampleRate;a.close();return b}catch(c){return 0}},140225:(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},139818:()=>{"undefined"!==typeof window.Z&&(--window.Z.za,0===window.Z.za&&delete window.Z)},139982:()=>void 0!==navigator.mediaDevices&&void 0!==navigator.mediaDevices.getUserMedia,140086:()=>{try{var a=new (window.AudioContext||window.webkitAudioContext),b=a.sampleRate;a.close();return b}catch(c){return 0}},140257:(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(ra.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];Ia(f,d,e)}if(a==window.Z.ga.ya||a==window.Z.ga.Ba)for(Ja(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)},143102:a=>window.Z.ua(a).ha.sampleRate,
143175: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},143575:a=>{window.Z.$a(a)},143625:a=>{a=window.Z.ua(a);a.ha.resume();a.state=window.Z.sa.Ya},143764:a=>{a=window.Z.ua(a);a.ha.suspend();a.state=window.Z.sa.stopped}},La=(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)},143134:a=>window.Z.ua(a).ha.sampleRate,
143207: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},143607:a=>{window.Z.$a(a)},143657:a=>{a=window.Z.ua(a);a.ha.resume();a.state=window.Z.sa.Ya},143796:a=>{a=window.Z.ua(a);a.ha.suspend();a.state=window.Z.sa.stopped}},La=(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},G=a=>{var b="/"===a.charAt(0),c="/"===a.substr(-1);(a=La(a.split("/").filter(d=>!!d),!b).join("/"))||b||(a=".");a&&c&&(a+="/");return(b?"/":"")+a},Ma=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},Na=a=>{if("/"===a)return"/";a=G(a);a=a.replace(/\/$/,"");var b=a.lastIndexOf("/");return-1===b?a:a.substr(b+1)},Oa=()=>{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")},Pa=a=>(Pa=Oa())(a);

{
"name": "@rive-app/flutter-wasm",
"version": "36.0.0",
"version": "37.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