You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

nodent

Package Overview
Dependencies
Maintainers
1
Versions
195
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nodent - npm Package Compare versions

Comparing version

to
3.2.0

4

package.json
{
"name": "nodent",
"version": "3.1.8",
"version": "3.2.0",
"description": "NoDent - Asynchronous Javascript language extensions",

@@ -16,3 +16,3 @@ "main": "nodent.js",

"dependencies": {
"nodent-compiler": "^3.1.8",
"nodent-compiler": "^3.2.0",
"nodent-runtime": "^3.2.1",

@@ -19,0 +19,0 @@ "resolve": "^1.5.0"

@@ -586,2 +586,11 @@ [![NPM](https://nodei.co/npm/nodent.png?downloads=true&downloadRank=true)](https://nodei.co/npm/nodent/)

18-Apr-18 v3.2.0
- Use `nodent-compiler @3.2.0`, which in turn uses the `nodent-transform@3.2.0`, which is the base AST transformer (with no parser or code generator), which is also used
from Babel 7-beta (see https://github.com/babel/babel/pull/7076) and forms the basis of leaner (external) `fast-async` Babel plugin.
10-Apr-18 v3.1.3-8
- Various minor fixes and compatability changes to ensure operation with a variety of versions of acorn, babel, node, etc.
21-Aug-17 v3.1.2

@@ -588,0 +597,0 @@

@@ -104,2 +104,3 @@ /* Test parser/output routines, not async transformations */

debugger ;
function eqTree(a,b,p) {

@@ -109,12 +110,12 @@ if (!p) p = "" ;

var kb = Object.keys(b).filter(locations).sort() ;
if (ka.length != kb.length)
if (ka.length > kb.length)
throw new Error("length("+ka.length+","+kb.length+") "+p) ;
for (var i=0;i<ka.length;i++)
if (ka[i] != kb[i] || typeof a[ka[i]] != typeof b[kb[i]] || (!(a[ka[i]] instanceof Object) && a[ka[i]] !== b[kb[i]]))
throw new Error("key("+ka[i]+","+kb[i]+") "+p) ;
if (typeof a[ka[i]] != typeof b[ka[i]] || (!(a[ka[i]] instanceof Object) && a[ka[i]] !== b[ka[i]]))
throw new Error("key("+ka[i]+","+ka[i]+") "+p) ;
for (var i=0;i<ka.length;i++)
if (typeof a[ka[i]] === 'object' && a[ka[i]])
eqTree(a[ka[i]],b[kb[i]],p+" > "+ka[i]+":"+a[ka[i]].type) ;
eqTree(a[ka[i]],b[ka[i]],p+" > "+ka[i]+":"+a[ka[i]].type) ;
return true ;

@@ -121,0 +122,0 @@ }