Comparing version 0.0.72 to 0.0.73
{ | ||
"name": "traceur", | ||
"version": "0.0.72", | ||
"version": "0.0.73", | ||
"description": "ES6 to ES5 compiler", | ||
@@ -57,3 +57,3 @@ "keywords": [ | ||
"semver": "2.x", | ||
"traceur": "0.0.71", | ||
"traceur": "0.0.72", | ||
"promises-aplus-tests": "2.x", | ||
@@ -60,0 +60,0 @@ "compat-table": "git+https://github.com/kangax/compat-table.git#gh-pages", |
@@ -14,3 +14,3 @@ [![Build Status](https://travis-ci.org/google/traceur-compiler.svg)](https://travis-ci.org/google/traceur-compiler) | ||
JavaScript's evolution needs your input. | ||
[Try](https://github.com/google/traceur-compiler/wiki/GettingStarted) out the | ||
[Try](https://github.com/google/traceur-compiler/wiki/Getting-Started) out the | ||
new language features. | ||
@@ -24,3 +24,3 @@ [Tell us](http://groups.google.com/group/traceur-compiler-discuss) | ||
Read the | ||
[Getting Started](https://github.com/google/traceur-compiler/wiki/GettingStarted) | ||
[Getting Started](https://github.com/google/traceur-compiler/wiki/Getting-Started) | ||
page to get up and running. You can use some language features right now and | ||
@@ -27,0 +27,0 @@ even try it out in your browser |
@@ -24,4 +24,20 @@ // Copyright 2014 Traceur Authors. | ||
var System = new traceur.runtime.TraceurLoader(nodeLoader, url); | ||
var LoaderCompiler = traceur.runtime.LoaderCompiler; | ||
var NodeLoaderCompiler = function() { | ||
LoaderCompiler.call(this); | ||
}; | ||
NodeLoaderCompiler.prototype = { | ||
__proto__: LoaderCompiler.prototype, | ||
evaluateCodeUnit: function(codeUnit) { | ||
var result = module._compile(codeUnit.metadata.transcoded, codeUnit.address); | ||
codeUnit.metadata.transformedTree = null; | ||
return result; | ||
} | ||
}; | ||
var System = new traceur.runtime.TraceurLoader(nodeLoader, url, | ||
new NodeLoaderCompiler()); | ||
Reflect.global.System = System; | ||
@@ -28,0 +44,0 @@ System.map = System.semverMap(System.version); |
@@ -24,3 +24,3 @@ // Copyright 2012 Traceur Authors. | ||
('global', eval)(data); | ||
module._compile(data, filename); | ||
@@ -27,0 +27,0 @@ // traceur is a module and thus frozen. |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
High entropy strings
Supply chain riskContains high entropy strings. This could be a sign of encrypted data, leaked secrets or obfuscated code.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
1183821
30913
0
14