Socket
Socket
Sign inDemoInstall

binaryen

Package Overview
Dependencies
0
Maintainers
2
Versions
1462
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.37.20 to 37.0.0-nightly.20170831

1

index.d.ts

@@ -210,2 +210,3 @@ declare module binaryen {

emitText(): string;
emitAsmjs(): string;
validate(): number;

@@ -212,0 +213,0 @@ optimize(): void;

7

package.json
{
"name": "binaryen",
"description": "JavaScript version of Binaryen, a compiler infrastructure and toolchain library for WebAssembly.",
"version": "1.37.20",
"version": "37.0.0-nightly.20170831",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/dcodeIO/binaryen.js.git"
"url": "https://github.com/AssemblyScript/binaryen.js.git"
},

@@ -27,4 +27,7 @@ "keywords": [

"devDependencies": {
"dateformat": "^2.0.0",
"semver": "^5.4.1",
"simple-git": "^1.76.0",
"tape": "^4.8.0"
}
}

@@ -6,3 +6,3 @@ binaryen.js

[![npm](https://img.shields.io/npm/v/binaryen.svg)](https://www.npmjs.com/package/binaryen) [![npm (tag)](https://img.shields.io/npm/v/binaryen/nightly.svg)](https://www.npmjs.com/package/binaryen) [![Build Status](https://travis-ci.org/dcodeIO/binaryen.js.svg?branch=master)](https://travis-ci.org/dcodeIO/binaryen.js)
[![npm](https://img.shields.io/npm/v/binaryen.svg)](https://www.npmjs.com/package/binaryen) [![npm (tag)](https://img.shields.io/npm/v/binaryen/nightly.svg)](https://www.npmjs.com/package/binaryen) [![Build Status](https://travis-ci.org/AssemblyScript/binaryen.js.svg?branch=master)](https://travis-ci.org/AssemblyScript/binaryen.js)

@@ -28,3 +28,3 @@ Usage

The buildbot also publishes nightly versions once a day. The latest nightly can be installed through
The buildbot also publishes nightly versions once a day if there have been changes. The latest nightly can be installed through

@@ -35,3 +35,3 @@ ```

or you can use one of the [previous versions](https://github.com/dcodeIO/binaryen.js/tags) instead if necessary.
or you can use one of the [previous versions](https://github.com/AssemblyScript/binaryen.js/tags) instead if necessary.

@@ -73,2 +73,3 @@ API

* `emitBinary()`: Returns a binary for the module, which you can then compile and run in the browser.
* `emitAsmjs()`: Returns the module converted to asm.js, which can be run in older browsers as well.
* `emitText()`: Returns a text representation of the module, in s-expression format.

@@ -75,0 +76,0 @@ * `validate()`: Validates the module, checking it for correctness. Returns `1` if the module is valid, otherwise `0`.

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc