Socket
Socket
Sign inDemoInstall

quickjs-emscripten

Package Overview
Dependencies
0
Maintainers
1
Versions
56
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.3.0 to 0.3.1

dist/emscripten-types.d.ts

4

dist/ffi.d.ts

@@ -1,2 +0,2 @@

/// <reference types="emscripten" />
import { QuickJSEmscriptenModule } from "./emscripten-types";
/**

@@ -54,3 +54,3 @@ * C pointer to export type `CType`. Pointer types are used internally for FFI, but

private module;
constructor(module: EmscriptenModule);
constructor(module: QuickJSEmscriptenModule);
QTS_SetHostCallback: (fp: QTS_C_To_HostCallbackFuncPointer) => void;

@@ -57,0 +57,0 @@ QTS_ArgvGetJSValueConstPointer: (argv: JSValuePointer | JSValueConstPointer, index: number) => JSValueConstPointer;

"use strict";
// This file generated by "generate.ts ffi" in the root of the repo.
Object.defineProperty(exports, "__esModule", { value: true });

@@ -4,0 +3,0 @@ /**

import { QuickJSFFI, JSContextPointer, JSValuePointer, JSRuntimePointer, JSValueConstPointer } from './ffi';
import { LowLevelJavascriptVm, VmPropertyDescriptor, VmCallResult, VmFunctionImplementation } from './vm-interface';
declare const QuickJSModule: import("./quickjs-emscripten-module").QuickJSEmscriptenModule;
declare const QuickJSModule: import("./emscripten-types").QuickJSEmscriptenModule;
declare type CToHostCallbackFunctionImplementation = (ctx: JSContextPointer, this_ptr: JSValueConstPointer, argc: number, argv: JSValueConstPointer, fn_data_ptr: JSValueConstPointer) => JSValuePointer;

@@ -5,0 +5,0 @@ declare type CToHostInterruptImplementation = (rt: JSRuntimePointer) => 0 | 1;

{
"name": "quickjs-emscripten",
"version": "0.3.0",
"version": "0.3.1",
"main": "dist/quickjs.js",

@@ -16,3 +16,3 @@ "license": "MIT",

"scripts": {
"prepare": "yarn make-release && yarn build && mocha ./dist/quickjs.test.js",
"prepare": "yarn make-release && yarn build && mocha ./dist/quickjs.test.js && yarn tarball && yarn smoketest",
"update-quickjs": "git subtree pull --prefix=quickjs --squash git@github.com:ldarren/QuickJS.git mod",

@@ -26,3 +26,5 @@ "make-debug": "make DEBUG=1 -j 8",

"prettier": "prettier --write ./*.json ./**/*.ts ./*.js ./*.md",
"run-n": "yarn make-debug && ./build/wrapper/native/test.exe"
"run-n": "yarn make-debug && ./build/wrapper/native/test.exe",
"tarball": "yarn pack --filename build/quickjs-emscripten.tgz",
"smoketest": "cd ../quickjs-emscripten-examples && yarn add ../quickjs-emscripten/build/quickjs-emscripten.tgz && tsc --lib ES2015,dom index.ts && node index.js"
},

@@ -29,0 +31,0 @@ "devDependencies": {

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