google-closure-compiler
Advanced tools
Comparing version 20180610.0.2 to 20180621.0.0-webpack-beta
@@ -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 = { |
@@ -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} |
{ | ||
"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
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
18888883
245913
1
181