google-closure-compiler
Advanced tools
Comparing version 20181008.0.0 to 20181028.0.0
15
cli.js
#!/usr/bin/env node | ||
/* | ||
* Copyright 2018 The Closure Compiler Authors. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
'use strict'; | ||
@@ -3,0 +18,0 @@ const fs = require('fs'); |
@@ -513,2 +513,8 @@ /* | ||
/** | ||
* @param {string} actionKey | ||
* @return {!md.$toast.preset} | ||
*/ | ||
md.$toast.preset.prototype.actionKey = function(actionKey) {}; | ||
/** | ||
* @param {boolean} capsule | ||
@@ -515,0 +521,0 @@ * @return {!md.$toast.preset} |
@@ -470,2 +470,8 @@ /* | ||
/** | ||
* @param {string} actionKey | ||
* @return {!md.$toast.preset} | ||
*/ | ||
md.$toast.preset.prototype.actionKey = function(actionKey) {}; | ||
/** | ||
* @param {boolean} capsule | ||
@@ -472,0 +478,0 @@ * @return {!md.$toast.preset} |
@@ -149,3 +149,9 @@ /* | ||
/** | ||
* @param {!jasmine.Spy} expected | ||
* @return {void} | ||
*/ | ||
jasmine.Matchers.prototype.toHaveBeenCalledBefore = function(expected) {}; | ||
/** @param {...*} var_args */ | ||
@@ -152,0 +158,0 @@ jasmine.Matchers.prototype.toHaveBeenCalledWith = function(var_args) {}; |
@@ -126,2 +126,4 @@ /* | ||
PolymerElement.prototype.ready = function() {}; | ||
/** On before register callback. */ | ||
PolymerElement.prototype.beforeRegister = function() {}; | ||
/** On registered callback. */ | ||
@@ -128,0 +130,0 @@ PolymerElement.prototype.registered = function() {}; |
@@ -320,2 +320,7 @@ /* | ||
/** | ||
* @return {!Array<!SinonSpyCall>} | ||
*/ | ||
SinonSpy.prototype.getCalls = function() {}; | ||
SinonSpy.prototype.reset = function() {}; | ||
@@ -322,0 +327,0 @@ |
@@ -44,3 +44,3 @@ /* | ||
static get gjd() { | ||
return require('./jscomp.js').gjd; | ||
return require('google-closure-compiler-js').gjd; | ||
} | ||
@@ -47,0 +47,0 @@ } |
@@ -27,3 +27,3 @@ /* | ||
const contribPath = path.dirname(path.resolve(__dirname, '../../')) + '/contrib'; | ||
const jscomp = require('../../jscomp.js'); | ||
const jscomp = require('google-closure-compiler-js'); | ||
const CONSOLE_COLOR_CHARS = /\u001B\[\d+m/ug; | ||
@@ -30,0 +30,0 @@ |
@@ -27,3 +27,3 @@ /* | ||
const spawn = require('child_process').spawn; | ||
const compilerPath = require.resolve('../../compiler.jar'); | ||
const compilerPath = require('google-closure-compiler-java'); | ||
const path = require('path'); | ||
@@ -30,0 +30,0 @@ const contribPath = path.dirname(compilerPath) + '/contrib'; |
@@ -0,1 +1,16 @@ | ||
/* | ||
* Copyright 2018 The Closure Compiler Authors. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
'use strict'; | ||
@@ -2,0 +17,0 @@ |
{ | ||
"name": "google-closure-compiler", | ||
"version": "20181008.0.0", | ||
"version": "20181028.0.0", | ||
"description": "Check, compile, optimize and compress Javascript with Closure-Compiler", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/google/closure-compiler-npm.git" | ||
}, | ||
"repository": "https://github.com/google/closure-compiler-npm/tree/master/packages/google-closure-compiler", | ||
"keywords": [ | ||
@@ -30,6 +27,4 @@ "javascript", | ||
"lib/", | ||
"compiler.jar", | ||
"cli.js", | ||
"index.js", | ||
"jscomp.js", | ||
"package.json", | ||
@@ -46,2 +41,4 @@ "contrib/", | ||
"chalk": "^1.0.0", | ||
"google-closure-compiler-java": "^20181028.0.0", | ||
"google-closure-compiler-js": "^20181028.0.0", | ||
"minimist": "^1.2.0", | ||
@@ -52,4 +49,4 @@ "vinyl": "^2.0.1", | ||
"optionalDependencies": { | ||
"google-closure-compiler-linux": "^20181008.0.0", | ||
"google-closure-compiler-osx": "^20181008.0.0" | ||
"google-closure-compiler-linux": "^20181028.0.0", | ||
"google-closure-compiler-osx": "^20181028.0.0" | ||
}, | ||
@@ -61,2 +58,3 @@ "devDependencies": { | ||
"gulp-sourcemaps": "^2.6.4", | ||
"lerna": "^3.4.1", | ||
"lodash": "^4.17.10", | ||
@@ -70,8 +68,9 @@ "mocha": "5.2.0", | ||
"scripts": { | ||
"test": "mocha", | ||
"pretest": "./build_compiler.js" | ||
"build": "echo \"google-closure-compiler build\"", | ||
"test": "mocha" | ||
}, | ||
"engines": { | ||
"node": ">=6" | ||
} | ||
}, | ||
"gitHead": "68ea2513a82cae6c5c235247454db5b5752bcae2" | ||
} |
# google-closure-compiler | ||
[![Build Status](https://travis-ci.org/google/closure-compiler-npm.svg?branch=master)](https://travis-ci.org/google/closure-compiler-npm) [![npm version](https://badge.fury.io/js/google-closure-compiler.svg)](https://badge.fury.io/js/google-closure-compiler) | ||
[![npm version](https://badge.fury.io/js/google-closure-compiler.svg)](https://badge.fury.io/js/google-closure-compiler) | ||
@@ -89,4 +89,4 @@ Check, compile, optimize and compress Javascript with Closure-Compiler | ||
* [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) | ||
* [Grunt Plugin](https://github.com/google/closure-compiler-npm/blob/master/packages/google-closure-compiler/docs/grunt.md) | ||
* [Gulp Plugin](https://github.com/google/closure-compiler-npm/blob/master/packages/google-closure-compiler/docs/gulp.md) | ||
* [Webpack Plugin](https://github.com/webpack-contrib/closure-webpack-plugin) | ||
@@ -144,4 +144,4 @@ | ||
console.log(ClosureCompiler.COMPILER_PATH); // absolute path the compiler jar | ||
console.log(ClosureCompiler.CONTRIB_PATH); // absolute path the contrib folder which contains | ||
console.log(ClosureCompiler.COMPILER_PATH); // absolute path to the compiler jar | ||
console.log(ClosureCompiler.CONTRIB_PATH); // absolute path to the contrib folder which contain externs | ||
@@ -163,3 +163,3 @@ const closureCompiler = new ClosureCompiler({ | ||
console.log(ClosureCompiler.CONTRIB_PATH); // absolute path the contrib folder which contains | ||
console.log(ClosureCompiler.CONTRIB_PATH); // absolute path to the contrib folder which contains externs | ||
@@ -166,0 +166,0 @@ const closureCompiler = new ClosureCompiler({ |
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 repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
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
6047005
8
11
165
237597
5
+ Addedgoogle-closure-compiler-java@20181028.0.0(transitive)
+ Addedgoogle-closure-compiler-js@20181028.0.0(transitive)
+ Addedgoogle-closure-compiler-linux@20181028.0.1(transitive)
+ Addedgoogle-closure-compiler-osx@20181028.0.1(transitive)
- Removedgoogle-closure-compiler-linux@20181008.0.0(transitive)
- Removedgoogle-closure-compiler-osx@20181008.0.0(transitive)