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

@types/emscripten

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/emscripten - npm Package Compare versions

Comparing version 0.0.29 to 0.0.30

emscripten/LICENSE

23

emscripten/index.d.ts
// Type definitions for Emscripten
// Project: http://kripken.github.io/emscripten-site/index.html
// Definitions by: Kensuke Matsuzaki <https://github.com/zakki>
// Periklis Tsirakidis <https://github.com/periklis>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.2
/// <reference types="webassembly-js-api" />
declare namespace Emscripten {

@@ -12,10 +16,27 @@ interface FileSystemType {

declare namespace Module {
type EnvironmentType = "WEB" | "NODE" | "SHELL" | "WORKER";
function print(str: string): void;
function printErr(str: string): void;
var arguments: string[];
var environment: EnvironmentType;
var preInit: { (): void }[];
var preRun: { (): void }[];
var postRun: { (): void }[];
var preinitializedWebGLContext: WebGLRenderingContext;
var noInitialRun: boolean;
var noExitRuntime: boolean;
var logReadFiles: boolean;
var filePackagePrefixURL: string;
var wasmBinary: ArrayBuffer;
function destroy(object: object): void;
function getPreloadedPackage(remotePackageName: string, remotePackageSize: number): ArrayBuffer;
function instantiateWasm(
imports: WebAssembly.Imports,
successCallback: (module: WebAssembly.Module) => void
): WebAssembly.Exports;
function locateFile(url: string): string;
function onCustomMessage(event: MessageEvent): void;
var Runtime: any;

@@ -69,3 +90,3 @@

// Tools
// Tools
function intArrayFromString(stringy: string, dontAddNull?: boolean, length?: number): number[];

@@ -72,0 +93,0 @@ function intArrayToString(array: number[]): string;

22

emscripten/package.json
{
"name": "@types/emscripten",
"version": "0.0.29",
"version": "0.0.30",
"description": "TypeScript definitions for Emscripten",
"license": "MIT",
"author": "Kensuke Matsuzaki <https://github.com/zakki>",
"contributors": [
{
"name": "Kensuke Matsuzaki",
"url": "https://github.com/zakki"
},
{
"name": "Periklis Tsirakidis",
"url": "https://github.com/periklis"
}
],
"main": "",

@@ -13,5 +22,8 @@ "repository": {

"scripts": {},
"dependencies": {},
"typings": "index.d.ts",
"typesPublisherContentHash": "09596ceae6a6adde525d559cc61ac7d730e391760668de8fa7d58c5c162fe36d"
"dependencies": {
"@types/webassembly-js-api": "*"
},
"peerDependencies": {},
"typesPublisherContentHash": "3407868a4e42a55e6d537516755835a4166dfddfdabbfc8b5ba5a3894ee3eb5e",
"typeScriptVersion": "2.2"
}

@@ -8,12 +8,10 @@ # Installation

# Details
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/types-2.0/emscripten
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/emscripten
Additional Details
* Last updated: Mon, 19 Sep 2016 16:15:24 GMT
* File structure: Global
* Library Dependencies: none
* Module Dependencies: none
* Last updated: Fri, 05 May 2017 16:07:17 GMT
* Dependencies: webassembly-js-api
* Global values: FS, IDBFS, MEMFS, Module, NODEFS
# Credits
These definitions were written by Kensuke Matsuzaki <https://github.com/zakki>.
These definitions were written by Kensuke Matsuzaki <https://github.com/zakki>, Periklis Tsirakidis <https://github.com/periklis>.
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