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.1 to 0.3.2

3

dist/quickjs.js

@@ -413,2 +413,5 @@ "use strict";

}
// dispose created functions; or no-op if these are this.undefined
get.dispose();
set.dispose();
};

@@ -415,0 +418,0 @@ /**

@@ -125,2 +125,14 @@ "use strict";

});
mocha_1.describe('properties', function () {
mocha_1.it('defining a property does not leak', function () {
vm.defineProp(vm.global, 'Name', {
enumerable: false,
configurable: false,
get: function () { return vm.newString('World'); },
});
var result = vm.unwrapResult(vm.evalCode('"Hello " + Name'));
assert_1.default.equal(vm.dump(result), 'Hello World');
result.dispose();
});
});
mocha_1.describe('objects', function () {

@@ -127,0 +139,0 @@ mocha_1.it('can set and get properties by native string', function () {

2

package.json
{
"name": "quickjs-emscripten",
"version": "0.3.1",
"version": "0.3.2",
"main": "dist/quickjs.js",

@@ -5,0 +5,0 @@ "license": "MIT",

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc