New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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 2.2.1 to 2.2.2

6

CHANGELOG.md

@@ -0,1 +1,7 @@

<a name="2.2.2"></a>
## [2.2.2](https://github.com/kwonoj/emscripten-wasm-loader/compare/v2.2.1...v2.2.2) (2018-10-23)
- Support browser field for treeshaking
<a name="2.2.1"></a>

@@ -2,0 +8,0 @@ ## [2.2.1](https://github.com/kwonoj/emscripten-wasm-loader/compare/v2.1.1...v2.2.1) (2018-10-23)

@@ -30,2 +30,11 @@ "use strict";

exports.mountBuffer = mountBuffer;
/**
* Stub function to support `browser` field in package.json. Do not use.
*
* @internal
*/
var mountDirectory = function () {
throw new Error('not supported');
};
exports.mountDirectory = mountDirectory;
//# sourceMappingURL=mountBuffer.js.map

10

dist/esm/path/mountBuffer.js

@@ -27,3 +27,11 @@ import * as nanoid from 'nanoid';

}; };
export { mountBuffer };
/**
* Stub function to support `browser` field in package.json. Do not use.
*
* @internal
*/
var mountDirectory = function () {
throw new Error('not supported');
};
export { mountBuffer, mountDirectory };
//# sourceMappingURL=mountBuffer.js.map

@@ -15,3 +15,9 @@ import { FS } from '../BaseAsmModule';

declare const mountBuffer: (FS: FS, memPathId: string) => (contents: ArrayBufferView, fileName?: string | undefined) => string;
export { mountBuffer };
/**
* Stub function to support `browser` field in package.json. Do not use.
*
* @internal
*/
declare const mountDirectory: () => never;
export { mountBuffer, mountDirectory };
//# sourceMappingURL=mountBuffer.d.ts.map
{
"name": "emscripten-wasm-loader",
"version": "2.2.1",
"version": "2.2.2",
"description": "Common interface to load wasm module into isomorphic environment",

@@ -8,2 +8,6 @@ "main": "./dist/cjs/index.js",

"types": "./dist/types/index.d.ts",
"browser": {
"./dist/cjs/path/mountDirectory.js": "./dist/cjs/path/mountBuffer.js",
"./dist/esm/path/mountDirectory.js": "./dist/esm/path/mountBuffer.js"
},
"config": {

@@ -10,0 +14,0 @@ "commitizen": {

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