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

google-closure-compiler

Package Overview
Dependencies
Maintainers
5
Versions
1968
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

google-closure-compiler - npm Package Compare versions

Comparing version 20180610.0.2 to 20180621.0.0-webpack-beta

21

contrib/externs/google_youtube_iframe.js

@@ -348,2 +348,23 @@ /*

/**
* Gets the spherical video config object, with information about the viewport
* headings and zoom level.
*
* @return {{yaw: (undefined|number), pitch: (undefined|number),
* roll: (undefined|number), fov: (undefined|number)}}
*/
YT.Player.prototype.getSphericalProperties = function() {};
/**
* Sets the spherical video config object. The call will be No-Op for non-360
* videos, and will change the view port according to the input for 360 videos.
*
* @param {?{yaw: (undefined|number), pitch: (undefined|number),
* roll: (undefined|number), fov: (undefined|number),
* enableOrientationSensor: (undefined|boolean)}} option
*/
YT.Player.prototype.setSphericalProperties = function(option) {};
/** @enum */

@@ -350,0 +371,0 @@ YT.PlayerState = {

15

contrib/externs/webassembly.js

@@ -89,3 +89,3 @@ /*

* @param {Object=} importObject
* @return {!Promise<{module:WebAssembly.Module, instance:WebAssembly.Instance}>}
* @return {!Promise<{module:!WebAssembly.Module, instance:!WebAssembly.Instance}>}
*/

@@ -95,2 +95,9 @@ WebAssembly.instantiate = function(moduleObject, importObject) {};

/**
* @param {!Promise<!Response>} moduleStream
* @param {Object=} importObject
* @return {!Promise<{module:!WebAssembly.Module, instance:!WebAssembly.Instance}>}
*/
WebAssembly.instantiateStreaming = function(moduleStream, importObject) {};
/**
* @param {!BufferSource} bytes

@@ -102,2 +109,8 @@ * @return {!Promise<!WebAssembly.Module>}

/**
* @param {!Promise<!Response>} moduleStream
* @return {!Promise<!WebAssembly.Module>}
*/
WebAssembly.compileStreaming = function(moduleStream) {};
/**
* @param {!BufferSource} bytes

@@ -104,0 +117,0 @@ * @return {boolean}

5

package.json
{
"name": "google-closure-compiler",
"version": "20180610.0.2",
"version": "20180621.0.0-webpack-beta",
"description": "Check, compile, optimize and compress Javascript with Closure-Compiler",
"publishConfig": {
"tag": "webpack-beta"
},
"repository": {

@@ -6,0 +9,0 @@ "type": "git",

@@ -49,19 +49,4 @@ # google-closure-compiler

The compiler has a large number of flags. The best documentation for the flags can be found by
running the `--help` command of the compiler.jar found inside the
`node_modules/google-closure-compiler` folder:
See the [full list of compiler flags](https://github.com/google/closure-compiler/wiki/Flags-and-Options).
```
java -jar compiler.jar --help
```
## Build Tool Plugins
The compiler package also includes build tool plugins for [Grunt](http://gruntjs.com/) and
[Gulp](http://gulpjs.com/). There is also an [official webpack plugin](https://www.npmjs.com/package/closure-webpack-plugin).
* [Grunt Plugin](https://github.com/google/closure-compiler-npm/blob/master/docs/grunt.md)
* [Gulp Plugin](https://github.com/google/closure-compiler-npm/blob/master/docs/gulp.md)
* [Webpack Plugin](https://github.com/webpack-contrib/closure-webpack-plugin)
### Specifying Options
The build tool plugins take options objects. The option parameters map directly to the

@@ -94,2 +79,10 @@ compiler flags without the leading '--' characters. You may also use camelCase option names.

## Build Tool Plugins
The compiler package also includes build tool plugins for [Grunt](http://gruntjs.com/) and
[Gulp](http://gulpjs.com/). There is also an [official webpack plugin](https://www.npmjs.com/package/closure-webpack-plugin).
* [Grunt Plugin](https://github.com/google/closure-compiler-npm/blob/master/docs/grunt.md)
* [Gulp Plugin](https://github.com/google/closure-compiler-npm/blob/master/docs/gulp.md)
* [Webpack Plugin](https://github.com/webpack-contrib/closure-webpack-plugin)
## Advanced Java Version Usage

@@ -96,0 +89,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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