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

esjava

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

esjava - npm Package Compare versions

Comparing version 0.0.7 to 0.0.8

2

bin/ESJava.js

@@ -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

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