Socket
Socket
Sign inDemoInstall

natural-web

Package Overview
Dependencies
0
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.6 to 0.0.7

7

dist/index.js

@@ -19,4 +19,9 @@ "use strict";

});
var sorted = intermediate.sort(function (a, b) {
if (a.type === 'script')
return -1;
return 0;
});
//fs.writeFileSync('./out.json', JSON.stringify(intermediate, null, 4));
return renderer_1.render(interpretation_1.interpret(intermediate));
return renderer_1.render(interpretation_1.interpret(sorted));
}

@@ -23,0 +28,0 @@ exports.run = run;

2

package.json
{
"name": "natural-web",
"version": "0.0.6",
"version": "0.0.7",
"license": "MIT",

@@ -5,0 +5,0 @@ "contributors": [

@@ -28,5 +28,10 @@ import { parseTokens } from './tokenizer';

const sorted = intermediate.sort( ( a: CodeSection, b: CodeSection ) => {
if( a.type === 'script' ) return -1;
return 0;
} );
//fs.writeFileSync('./out.json', JSON.stringify(intermediate, null, 4));
return render( interpret( intermediate ) );
return render( interpret( sorted ) );
}

@@ -33,0 +38,0 @@

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