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

contextify

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

contextify - npm Package Compare versions

Comparing version 0.1.14 to 0.1.15

.dntrc

12

package.json
{
"name": "contextify",
"version": "0.1.14",
"version": "0.1.15",
"description": "Turn an object into a persistent execution context.",

@@ -18,3 +18,5 @@ "author": "Brian McDaniel <brianmcd05@gmail.com>",

"Andrew Paprocki (https://github.com/apaprocki)",
"Trygve Lie (https://github.com/trygve-lie)"
"Trygve Lie (https://github.com/trygve-lie)",
"Ido Ben-Yair (https://github.com/idoby)",
"Rod Vagg (https://r.va.gg/)"
],

@@ -31,3 +33,3 @@ "keywords": ["context","vm"],

"engines": {
"node": ">=0.4.0"
"node": ">=0.10.11"
},

@@ -41,4 +43,4 @@ "licenses": [

"dependencies": {
"bindings" : "*",
"nan" : "~1.8.4"
"bindings": "^1.2.1",
"nan": "^2.1.0"
},

@@ -45,0 +47,0 @@ "devDependencies": {

# Contextify
## YOU DON'T NEED THIS MODULE ON NODE >= 0.12
As of Node 0.12, Contextify has been merged into Node (thanks to @domenic), replacing the native `vm` module.
The code has been improved on since then, so if at all possible, you should use a newer Node and the native `vm` module.
Note that newer versions of JSDOM no longer depend on Contextify.
The README below applies to Node 0.10 and below.
## Installation issues
Make sure you have the `node-gyp` prerequisites installed: https://github.com/nodejs/node-gyp#installation
For Windows issues, see here: https://github.com/brianmcd/contextify/wiki/Windows-Installation-Guide
Please add to the wiki if you find new issues/solutions.
## What is Contextify?

@@ -7,0 +19,0 @@ Turn an object into a V8 execution context. A contextified object acts as the global 'this' when executing scripts in its context. Contextify adds 3 methods to the contextified object: run(code, filename), getGlobal(), and dispose(). The main difference between Contextify and Node's vm methods is that Contextify allows asynchronous functions to continue executing in the Contextified object's context. See vm vs. Contextify below for more discussion.

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