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

emscripten-wasm-loader

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

emscripten-wasm-loader - npm Package Compare versions

Comparing version 3.0.2 to 3.0.3

src/ambient.d.ts

9

CHANGELOG.md

@@ -0,1 +1,10 @@

## [3.0.3](https://github.com/kwonoj/emscripten-wasm-loader/compare/v3.0.2...v3.0.3) (2019-07-19)
### Bug Fixes
* **getmoduleloader:** raise exception when init timeout occurs ([6169bb3](https://github.com/kwonoj/emscripten-wasm-loader/commit/6169bb3))
## [3.0.2](https://github.com/kwonoj/emscripten-wasm-loader/compare/v3.0.1...v3.0.2) (2019-06-13)

@@ -2,0 +11,0 @@

6

dist/cjs/getModuleLoader.js

@@ -25,3 +25,7 @@ "use strict";

const asmModule = runtimeModule(constructedModule);
await asmModule.initializeRuntime(timeout);
const result = await asmModule.initializeRuntime(timeout);
if (!result) {
logger_1.log(`loadModule: failed to initialize runtime in time`);
throw new Error(`Timeout to initialize runtime`);
}
logger_1.log(`loadModule: initialized wasm binary Runtime`);

@@ -28,0 +32,0 @@ return factoryLoader(asmModule);

@@ -23,3 +23,7 @@ import { constructModule } from './constructModule';

const asmModule = runtimeModule(constructedModule);
await asmModule.initializeRuntime(timeout);
const result = await asmModule.initializeRuntime(timeout);
if (!result) {
log(`loadModule: failed to initialize runtime in time`);
throw new Error(`Timeout to initialize runtime`);
}
log(`loadModule: initialized wasm binary Runtime`);

@@ -26,0 +30,0 @@ return factoryLoader(asmModule);

2

package.json
{
"name": "emscripten-wasm-loader",
"version": "3.0.2",
"version": "3.0.3",
"description": "Common interface to load wasm module into isomorphic environment",

@@ -5,0 +5,0 @@ "main": "./dist/cjs/index.js",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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