google-closure-compiler 20220331.0.0-nightly → 20220401.0.0-nightly

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -467,30 +467,22 @@ google.maps.ControlPosition = {
467
467
  * This interface provides convenience methods for generating matrices to use
468
468
  * for rendering WebGL scenes on top of the Google base map. <br><br>Note: A
469
469
  * reference to this object should <b>not</b> be held outside of the scope of
470
- * the encapsulating {@link google.maps.WebglOverlayView.onDraw} call.
470
+ * the encapsulating {@link google.maps.WebGLOverlayView.onDraw} call.
471
471
  * @record
472
472
  */
473
473
  google.maps.CoordinateTransformer = function() {};
474
474
 
475
475
  /**
476
- * @param {!google.maps.LatLng|!google.maps.LatLngLiteral|!google.maps.LatLngAltitude|!google.maps.LatLngAltitudeLiteral}
477
- * latLngOrLatLngAltitude Latitude and longitude, or the latitude,
478
- * longitude, and altitude. This will migrate to solely the LatLngAltitude
479
- * type by March 15, 2022.
480
- * @param {(number|!Float32Array)=} altitudeOrRotations Altitude in meters or an
481
- * array that contains an Euler rotation angle in degrees, in the XYZ
482
- * convention. This will migrate to solely a Float32Array (for rotations) by
483
- * March 15, 2022.
484
- * @param {!Float32Array=} rotationsOrScale Array that contains an Euler
485
- * rotation angle in degrees in the XYZ convention, or an XYZ scalar array
486
- * to apply to the cardinal axis. This will migrate to represent only the
487
- * scalar array by March 15, 2022.
488
- * @param {!Float32Array=} scale Array of scalars to apply to the cardinal axis.
489
- * This will go away in favor of the third param by March 15, 2022.
476
+ * @param {!google.maps.LatLngAltitude|!google.maps.LatLngAltitudeLiteral}
477
+ * latLngAltitude Latitude, longitude, and altitude.
478
+ * @param {!Float32Array=} rotations An array that contains an Euler rotation
479
+ * angle in degrees, in the XYZ convention.
480
+ * @param {!Float32Array=} scale Array that contains an XYZ scalar array to
481
+ * apply to the cardinal axis.
490
482
  * @return {!Float64Array} MVP matrix to use with WebGL.
491
483
  */
492
484
  google.maps.CoordinateTransformer.prototype.fromLatLngAltitude = function(
493
- latLngOrLatLngAltitude, altitudeOrRotations, rotationsOrScale, scale) {};
485
+ latLngAltitude, rotations, scale) {};
494
486
 
495
487
  /**
496
488
  * @return {!google.maps.CameraParams} camera parameters
@@ -8501,153 +8493,6 @@ google.maps.WebGLStateOptions = function() {};
8501
8493
  */
8502
8494
  google.maps.WebGLStateOptions.prototype.gl;
8503
8495
 
8504
- /**
8505
- * Available only in the v=beta channel: https://goo.gle/3oAthT3.
8506
- * A <code>WebglCameraParams</code> is a snapshot of camera properties used to
8507
- * render the current frame.
8508
- * @extends {google.maps.CameraParams}
8509
- * @record
8510
- * @deprecated Please use {@link google.maps.CameraParams} instead.
8511
- */
8512
- google.maps.WebglCameraParams = function() {};
8513
-
8514
- /**
8515
- * Latitude in degrees.
8516
- * @type {number}
8517
- */
8518
- google.maps.WebglCameraParams.prototype.lat;
8519
-
8520
- /**
8521
- * Longitude in degrees.
8522
- * @type {number}
8523
- */
8524
- google.maps.WebglCameraParams.prototype.lng;
8525
-
8526
- /**
8527
- * Available only in the v=beta channel: https://goo.gle/3oAthT3.
8528
- * The WebGL Overlay View provides direct access to the same WebGL rendering
8529
- * context Google Maps Platform uses to render the vector basemap. This use of a
8530
- * shared rendering context provides benefits such as depth occlusion with 3D
8531
- * building geometry, and the ability to sync 2D/3D content with basemap
8532
- * rendering. <br><br>With WebGL Overlay View you can add content to your maps
8533
- * using WebGL directly, or popular Graphics libraries like Three.js or deck.gl.
8534
- * To use the overlay, you can extend <code>google.maps.WebglOverlayView</code>
8535
- * and provide an implementation for each of the following lifecycle
8536
- * hooks: {@link google.maps.WebglOverlayView.onAdd}, {@link
8537
- * google.maps.WebglOverlayView.onContextRestored}, {@link
8538
- * google.maps.WebglOverlayView.onDraw}, {@link
8539
- * google.maps.WebglOverlayView.onContextLost} and {@link
8540
- * google.maps.WebglOverlayView.onRemove}. <br><br>You must call {@link
8541
- * google.maps.WebglOverlayView.setMap} with a valid {@link google.maps.Map}
8542
- * object to trigger the call to the <code>onAdd()</code> method and
8543
- * <code>setMap(null)</code> in order to trigger the <code>onRemove()</code>
8544
- * method. The <code>setMap()</code> method can be called at the time of
8545
- * construction or at any point afterward when the overlay should be re-shown
8546
- * after removing. The <code>onDraw()</code> method will then be called whenever
8547
- * a map property changes that could change the position of the element, such as
8548
- * zoom, center, or map type. WebglOverlayView may only be added to a vector map
8549
- * having a {@link google.maps.MapOptions.mapId}.
8550
- * @extends {google.maps.MVCObject}
8551
- * @constructor
8552
- * @deprecated Please use {@link google.maps.WebGLOverlayView} instead.
8553
- */
8554
- google.maps.WebglOverlayView = function() {};
8555
-
8556
- /**
8557
- * @return {?google.maps.Map|undefined}
8558
- * @deprecated Please use {@link google.maps.WebGLOverlayView.getMap} instead.
8559
- */
8560
- google.maps.WebglOverlayView.prototype.getMap = function() {};
8561
-
8562
- /**
8563
- * Implement this method to fetch or create intermediate data structures before
8564
- * the overlay is drawn that don’t require immediate access to the WebGL
8565
- * rendering context.
8566
- * @return {undefined}
8567
- * @deprecated Please use {@link google.maps.WebGLOverlayView.onAdd} instead.
8568
- */
8569
- google.maps.WebglOverlayView.prototype.onAdd = function() {};
8570
-
8571
- /**
8572
- * This method is called when the rendering context is lost for any reason, and
8573
- * is where you should clean up any pre-existing GL state, since it is no longer
8574
- * needed.
8575
- * @return {undefined}
8576
- * @deprecated Please use {@link google.maps.WebGLOverlayView.onContextLost}
8577
- * instead.
8578
- */
8579
- google.maps.WebglOverlayView.prototype.onContextLost = function() {};
8580
-
8581
- /**
8582
- * This method is called once the rendering context is available. Use it to
8583
- * initialize or bind any WebGL state such as shaders or buffer objects.
8584
- * @param {!WebGLRenderingContext} gl rendering context for developers to access
8585
- * WebGL.
8586
- * @return {undefined}
8587
- * @deprecated Please use {@link google.maps.WebGLOverlayView.onContextRestored}
8588
- * instead.
8589
- */
8590
- google.maps.WebglOverlayView.prototype.onContextRestored = function(gl) {};
8591
-
8592
- /**
8593
- * Implement this method to draw WebGL content directly on the map. Note that if
8594
- * the overlay needs a new frame drawn then call {@link
8595
- * google.maps.WebglOverlayView.requestRedraw}.
8596
- * @param {!WebGLRenderingContext} gl rendering context for developers to access
8597
- * WebGL.
8598
- * @param {!google.maps.CoordinateTransformer} transformer convenience class for
8599
- * providing camera transforms to center objects at latitude/longitude
8600
- * coordinates.
8601
- * @return {undefined}
8602
- * @deprecated Please use {@link google.maps.WebGLOverlayView.onDraw} instead.
8603
- */
8604
- google.maps.WebglOverlayView.prototype.onDraw = function(gl, transformer) {};
8605
-
8606
- /**
8607
- * Implement this method to handle any GL state updates outside of the render
8608
- * animation frame.
8609
- * @param {!WebGLRenderingContext} gl rendering context for developers to access
8610
- * WebGL.
8611
- * @return {undefined}
8612
- * @deprecated Please use {@link google.maps.WebGLOverlayView.onStateUpdate}
8613
- * instead.
8614
- */
8615
- google.maps.WebglOverlayView.prototype.onGlStateUpdate = function(gl) {};
8616
-
8617
- /**
8618
- * This method is called when the overlay is removed from the map with
8619
- * <code>WebglOverlayView.setMap(null)</code>, and is where you should remove
8620
- * all intermediate objects.
8621
- * @return {undefined}
8622
- * @deprecated Please use {@link google.maps.WebGLOverlayView.onRemove} instead.
8623
- */
8624
- google.maps.WebglOverlayView.prototype.onRemove = function() {};
8625
-
8626
- /**
8627
- * Triggers the map to update GL state.
8628
- * @return {undefined}
8629
- * @deprecated Please use {@link
8630
- * google.maps.WebGLOverlayView.requestStateUpdate} instead.
8631
- */
8632
- google.maps.WebglOverlayView.prototype.requestGlStateUpdate = function() {};
8633
-
8634
- /**
8635
- * Triggers the map to redraw a frame.
8636
- * @return {undefined}
8637
- * @deprecated Please use {@link google.maps.WebGLOverlayView.requestRedraw}
8638
- * instead.
8639
- */
8640
- google.maps.WebglOverlayView.prototype.requestRedraw = function() {};
8641
-
8642
- /**
8643
- * Adds the overlay to the map.
8644
- * @param {?google.maps.Map=} map The map to access the div, model and view
8645
- * state.
8646
- * @return {undefined}
8647
- * @deprecated Please use {@link google.maps.WebGLOverlayView.setMap} instead.
8648
- */
8649
- google.maps.WebglOverlayView.prototype.setMap = function(map) {};
8650
-
8651
8496
  /**
8652
8497
  * Options for the rendering of the zoom control.
8653
8498
  * @record
@@ -10601,9 +10446,11 @@ google.maps.places.PlaceSearchRequest.prototype.maxPriceLevel;
10601
10446
  google.maps.places.PlaceSearchRequest.prototype.minPriceLevel;
10602
10447
 
10603
10448
  /**
10604
- * Restricts the Place search results to Places that include this text in the
10605
- * name.
10449
+ * Equivalent to <code>keyword</code>. Values in this field are combined with
10450
+ * values in the <code>keyword</code> field and passed as part of the same
10451
+ * search string.
10606
10452
  * @type {string|undefined}
10453
+ * @deprecated Use <code>keyword</code> instead.
10607
10454
  */
10608
10455
  google.maps.places.PlaceSearchRequest.prototype.name;
10609
10456
 
@@ -467,30 +467,22 @@ google.maps.ControlPosition = {
467
467
  * This interface provides convenience methods for generating matrices to use
468
468
  * for rendering WebGL scenes on top of the Google base map. <br><br>Note: A
469
469
  * reference to this object should <b>not</b> be held outside of the scope of
470
- * the encapsulating {@link google.maps.WebglOverlayView.onDraw} call.
470
+ * the encapsulating {@link google.maps.WebGLOverlayView.onDraw} call.
471
471
  * @record
472
472
  */
473
473
  google.maps.CoordinateTransformer = function() {};
474
474
 
475
475
  /**
476
- * @param {!google.maps.LatLng|!google.maps.LatLngLiteral|!google.maps.LatLngAltitude|!google.maps.LatLngAltitudeLiteral}
477
- * latLngOrLatLngAltitude Latitude and longitude, or the latitude,
478
- * longitude, and altitude. This will migrate to solely the LatLngAltitude
479
- * type by March 15, 2022.
480
- * @param {(number|!Float32Array)=} altitudeOrRotations Altitude in meters or an
481
- * array that contains an Euler rotation angle in degrees, in the XYZ
482
- * convention. This will migrate to solely a Float32Array (for rotations) by
483
- * March 15, 2022.
484
- * @param {!Float32Array=} rotationsOrScale Array that contains an Euler
485
- * rotation angle in degrees in the XYZ convention, or an XYZ scalar array
486
- * to apply to the cardinal axis. This will migrate to represent only the
487
- * scalar array by March 15, 2022.
488
- * @param {!Float32Array=} scale Array of scalars to apply to the cardinal axis.
489
- * This will go away in favor of the third param by March 15, 2022.
476
+ * @param {!google.maps.LatLngAltitude|!google.maps.LatLngAltitudeLiteral}
477
+ * latLngAltitude Latitude, longitude, and altitude.
478
+ * @param {!Float32Array=} rotations An array that contains an Euler rotation
479
+ * angle in degrees, in the XYZ convention.
480
+ * @param {!Float32Array=} scale Array that contains an XYZ scalar array to
481
+ * apply to the cardinal axis.
490
482
  * @return {!Float64Array} MVP matrix to use with WebGL.
491
483
  */
492
484
  google.maps.CoordinateTransformer.prototype.fromLatLngAltitude = function(
493
- latLngOrLatLngAltitude, altitudeOrRotations, rotationsOrScale, scale) {};
485
+ latLngAltitude, rotations, scale) {};
494
486
 
495
487
  /**
496
488
  * @return {!google.maps.CameraParams} camera parameters
@@ -8501,153 +8493,6 @@ google.maps.WebGLStateOptions = function() {};
8501
8493
  */
8502
8494
  google.maps.WebGLStateOptions.prototype.gl;
8503
8495
 
8504
- /**
8505
- * Available only in the v=beta channel: https://goo.gle/3oAthT3.
8506
- * A <code>WebglCameraParams</code> is a snapshot of camera properties used to
8507
- * render the current frame.
8508
- * @extends {google.maps.CameraParams}
8509
- * @record
8510
- * @deprecated Please use {@link google.maps.CameraParams} instead.
8511
- */
8512
- google.maps.WebglCameraParams = function() {};
8513
-
8514
- /**
8515
- * Latitude in degrees.
8516
- * @type {number}
8517
- */
8518
- google.maps.WebglCameraParams.prototype.lat;
8519
-
8520
- /**
8521
- * Longitude in degrees.
8522
- * @type {number}
8523
- */
8524
- google.maps.WebglCameraParams.prototype.lng;
8525
-
8526
- /**
8527
- * Available only in the v=beta channel: https://goo.gle/3oAthT3.
8528
- * The WebGL Overlay View provides direct access to the same WebGL rendering
8529
- * context Google Maps Platform uses to render the vector basemap. This use of a
8530
- * shared rendering context provides benefits such as depth occlusion with 3D
8531
- * building geometry, and the ability to sync 2D/3D content with basemap
8532
- * rendering. <br><br>With WebGL Overlay View you can add content to your maps
8533
- * using WebGL directly, or popular Graphics libraries like Three.js or deck.gl.
8534
- * To use the overlay, you can extend <code>google.maps.WebglOverlayView</code>
8535
- * and provide an implementation for each of the following lifecycle
8536
- * hooks: {@link google.maps.WebglOverlayView.onAdd}, {@link
8537
- * google.maps.WebglOverlayView.onContextRestored}, {@link
8538
- * google.maps.WebglOverlayView.onDraw}, {@link
8539
- * google.maps.WebglOverlayView.onContextLost} and {@link
8540
- * google.maps.WebglOverlayView.onRemove}. <br><br>You must call {@link
8541
- * google.maps.WebglOverlayView.setMap} with a valid {@link google.maps.Map}
8542
- * object to trigger the call to the <code>onAdd()</code> method and
8543
- * <code>setMap(null)</code> in order to trigger the <code>onRemove()</code>
8544
- * method. The <code>setMap()</code> method can be called at the time of
8545
- * construction or at any point afterward when the overlay should be re-shown
8546
- * after removing. The <code>onDraw()</code> method will then be called whenever
8547
- * a map property changes that could change the position of the element, such as
8548
- * zoom, center, or map type. WebglOverlayView may only be added to a vector map
8549
- * having a {@link google.maps.MapOptions.mapId}.
8550
- * @extends {google.maps.MVCObject}
8551
- * @constructor
8552
- * @deprecated Please use {@link google.maps.WebGLOverlayView} instead.
8553
- */
8554
- google.maps.WebglOverlayView = function() {};
8555
-
8556
- /**
8557
- * @return {?google.maps.Map|undefined}
8558
- * @deprecated Please use {@link google.maps.WebGLOverlayView.getMap} instead.
8559
- */
8560
- google.maps.WebglOverlayView.prototype.getMap = function() {};
8561
-
8562
- /**
8563
- * Implement this method to fetch or create intermediate data structures before
8564
- * the overlay is drawn that don’t require immediate access to the WebGL
8565
- * rendering context.
8566
- * @return {undefined}
8567
- * @deprecated Please use {@link google.maps.WebGLOverlayView.onAdd} instead.
8568
- */
8569
- google.maps.WebglOverlayView.prototype.onAdd = function() {};
8570
-
8571
- /**
8572
- * This method is called when the rendering context is lost for any reason, and
8573
- * is where you should clean up any pre-existing GL state, since it is no longer
8574
- * needed.
8575
- * @return {undefined}
8576
- * @deprecated Please use {@link google.maps.WebGLOverlayView.onContextLost}
8577
- * instead.
8578
- */
8579
- google.maps.WebglOverlayView.prototype.onContextLost = function() {};
8580
-
8581
- /**
8582
- * This method is called once the rendering context is available. Use it to
8583
- * initialize or bind any WebGL state such as shaders or buffer objects.
8584
- * @param {!WebGLRenderingContext} gl rendering context for developers to access
8585
- * WebGL.
8586
- * @return {undefined}
8587
- * @deprecated Please use {@link google.maps.WebGLOverlayView.onContextRestored}
8588
- * instead.
8589
- */
8590
- google.maps.WebglOverlayView.prototype.onContextRestored = function(gl) {};
8591
-
8592
- /**
8593
- * Implement this method to draw WebGL content directly on the map. Note that if
8594
- * the overlay needs a new frame drawn then call {@link
8595
- * google.maps.WebglOverlayView.requestRedraw}.
8596
- * @param {!WebGLRenderingContext} gl rendering context for developers to access
8597
- * WebGL.
8598
- * @param {!google.maps.CoordinateTransformer} transformer convenience class for
8599
- * providing camera transforms to center objects at latitude/longitude
8600
- * coordinates.
8601
- * @return {undefined}
8602
- * @deprecated Please use {@link google.maps.WebGLOverlayView.onDraw} instead.
8603
- */
8604
- google.maps.WebglOverlayView.prototype.onDraw = function(gl, transformer) {};
8605
-
8606
- /**
8607
- * Implement this method to handle any GL state updates outside of the render
8608
- * animation frame.
8609
- * @param {!WebGLRenderingContext} gl rendering context for developers to access
8610
- * WebGL.
8611
- * @return {undefined}
8612
- * @deprecated Please use {@link google.maps.WebGLOverlayView.onStateUpdate}
8613
- * instead.
8614
- */
8615
- google.maps.WebglOverlayView.prototype.onGlStateUpdate = function(gl) {};
8616
-
8617
- /**
8618
- * This method is called when the overlay is removed from the map with
8619
- * <code>WebglOverlayView.setMap(null)</code>, and is where you should remove
8620
- * all intermediate objects.
8621
- * @return {undefined}
8622
- * @deprecated Please use {@link google.maps.WebGLOverlayView.onRemove} instead.
8623
- */
8624
- google.maps.WebglOverlayView.prototype.onRemove = function() {};
8625
-
8626
- /**
8627
- * Triggers the map to update GL state.
8628
- * @return {undefined}
8629
- * @deprecated Please use {@link
8630
- * google.maps.WebGLOverlayView.requestStateUpdate} instead.
8631
- */
8632
- google.maps.WebglOverlayView.prototype.requestGlStateUpdate = function() {};
8633
-
8634
- /**
8635
- * Triggers the map to redraw a frame.
8636
- * @return {undefined}
8637
- * @deprecated Please use {@link google.maps.WebGLOverlayView.requestRedraw}
8638
- * instead.
8639
- */
8640
- google.maps.WebglOverlayView.prototype.requestRedraw = function() {};
8641
-
8642
- /**
8643
- * Adds the overlay to the map.
8644
- * @param {?google.maps.Map=} map The map to access the div, model and view
8645
- * state.
8646
- * @return {undefined}
8647
- * @deprecated Please use {@link google.maps.WebGLOverlayView.setMap} instead.
8648
- */
8649
- google.maps.WebglOverlayView.prototype.setMap = function(map) {};
8650
-
8651
8496
  /**
8652
8497
  * Options for the rendering of the zoom control.
8653
8498
  * @record
@@ -10601,9 +10446,11 @@ google.maps.places.PlaceSearchRequest.prototype.maxPriceLevel;
10601
10446
  google.maps.places.PlaceSearchRequest.prototype.minPriceLevel;
10602
10447
 
10603
10448
  /**
10604
- * Restricts the Place search results to Places that include this text in the
10605
- * name.
10449
+ * Equivalent to <code>keyword</code>. Values in this field are combined with
10450
+ * values in the <code>keyword</code> field and passed as part of the same
10451
+ * search string.
10606
10452
  * @type {string|undefined}
10453
+ * @deprecated Use <code>keyword</code> instead.
10607
10454
  */
10608
10455
  google.maps.places.PlaceSearchRequest.prototype.name;
10609
10456
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "google-closure-compiler",
3
- "version": "20220331.0.0-nightly",
3
+ "version": "20220401.0.0-nightly",
4
4
  "description": "Check, compile, optimize and compress Javascript with Closure-Compiler",
5
5
  "repository": "https://github.com/google/closure-compiler-npm/tree/master/packages/google-closure-compiler",
6
6
  "keywords": [
@@ -37,15 +37,15 @@
37
37
  "homepage": "https://developers.google.com/closure/compiler/",
38
38
  "dependencies": {
39
39
  "chalk": "2.x",
40
- "google-closure-compiler-java": "^20220331.0.0-nightly",
40
+ "google-closure-compiler-java": "^20220401.0.0-nightly",
41
41
  "minimist": "1.x",
42
42
  "vinyl": "2.x",
43
43
  "vinyl-sourcemaps-apply": "^0.2.0"
44
44
  },
45
45
  "optionalDependencies": {
46
- "google-closure-compiler-linux": "^20220331.0.0-nightly",
47
- "google-closure-compiler-osx": "^20220331.0.0-nightly",
48
- "google-closure-compiler-windows": "^20220331.0.0-nightly"
46
+ "google-closure-compiler-linux": "^20220401.0.0-nightly",
47
+ "google-closure-compiler-osx": "^20220401.0.0-nightly",
48
+ "google-closure-compiler-windows": "^20220401.0.0-nightly"
49
49
  },
50
50
  "devDependencies": {
51
51
  "gulp": "4.x",
@@ -67,5 +67,5 @@
67
67
  "engines": {
68
68
  "node": ">=10"
69
69
  },
70
- "gitHead": "f34256a9965908b6dfafa0170ad4bf5b0e114391"
70
+ "gitHead": "6c15dad9c12210fa98e7bda845ee64ab2d9c8762"
71
71
  }