Comparing version 0.0.7 to 0.0.8
@@ -14,3 +14,3 @@ // Generated by CoffeeScript 1.10.0 | ||
javaparser = require('../lib/javaparser7'); | ||
javaparser = require('java-parser'); | ||
@@ -17,0 +17,0 @@ SuperVisitor = require('./OverloadVisitor'); |
{ | ||
"name": "esjava", | ||
"version": "0.0.7", | ||
"version": "0.0.8", | ||
"description": "EXPERIMENTAL Java => ES6 Transpiler", | ||
"dependencies": { | ||
"ast-types": "~0.8.14", | ||
"escodegen": "~1.7.1" | ||
"ast-types": "^0.8.16", | ||
"escodegen": "^1.8.0", | ||
"java-parser": "0.0.1" | ||
}, | ||
"devDependencies": { | ||
"coffee-script": "latest" | ||
"babel-cli": "^6.7.7", | ||
"babel-preset-es2015": "^6.6.0", | ||
"browserify": "^13.0.0", | ||
"coffee-script": "^1.10.0", | ||
"coffeeify": "^2.0.1", | ||
"uglify-js": "^2.6.2" | ||
}, | ||
"scripts": { | ||
"prepublish": "test/test.sh && coffee -o bin/ -c src/ && sed -i '1i#!/usr/bin/env node' bin/cmd.js" | ||
"prepublish": "test/test.sh && ./node_modules/coffee-script/bin/coffee -o bin/ -c src/ && sed -i '1i#!/usr/bin/env node' bin/cmd.js" | ||
}, | ||
@@ -15,0 +21,0 @@ "repository": { |
@@ -10,2 +10,27 @@ ### ESJava: *EXPERIMENTAL* Java => ES6 Transpiler | ||
- [Parser Only](http://mazko.github.io/jsjavaparser) | ||
- [Parser Only](http://mazko.github.io/jsjavaparser) | ||
### Example: | ||
~$ npm i -g esjava | ||
~$ echo ' | ||
public class Horse extends Animal { | ||
Horse(String name) { | ||
super(name); | ||
} | ||
private static final int UNIVERSE = 42; | ||
} | ||
' > HelloWorld.java | ||
~$ esjava HelloWorld.java | ||
'use strict'; | ||
class Horse extends Animal { | ||
constructor(name) { | ||
super(name); | ||
} | ||
static get UNIVERSE() { | ||
return 42; | ||
} | ||
} |
Sorry, the diff of this file is too big to display
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 too big to display
Sorry, the diff of this file is not supported yet
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
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
35
826598
3
6
38
8264
3
5
+ Addedjava-parser@0.0.1
+ Addedescodegen@1.14.3(transitive)
+ Addedesprima@4.0.1(transitive)
+ Addedestraverse@4.3.0(transitive)
+ Addedfast-levenshtein@2.0.6(transitive)
+ Addedjava-parser@0.0.1(transitive)
+ Addedlevn@0.3.0(transitive)
+ Addedoptionator@0.8.3(transitive)
+ Addedsource-map@0.6.1(transitive)
+ Addedword-wrap@1.2.5(transitive)
- Removedamdefine@1.0.1(transitive)
- Removedescodegen@1.7.1(transitive)
- Removedesprima@1.2.5(transitive)
- Removedestraverse@1.9.3(transitive)
- Removedfast-levenshtein@1.0.7(transitive)
- Removedlevn@0.2.5(transitive)
- Removedoptionator@0.5.0(transitive)
- Removedsource-map@0.2.0(transitive)
- Removedwordwrap@0.0.3(transitive)
Updatedast-types@^0.8.16
Updatedescodegen@^1.8.0