Skip to content

Commit

Permalink
Merge pull request #8184 from AnalyticalGraphicsInc/update-node-modules
Browse files Browse the repository at this point in the history
Update node modules
  • Loading branch information
mramato authored Sep 20, 2019
2 parents 58624ba + 1a8e2dd commit 12f2bf1
Show file tree
Hide file tree
Showing 22 changed files with 12 additions and 35 deletions.
1 change: 0 additions & 1 deletion Apps/CesiumViewer/CesiumViewerStartup.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/*global require*/
/*eslint-disable strict*/
require({
baseUrl : '.',
Expand Down
2 changes: 1 addition & 1 deletion Apps/Sandcastle/CesiumSandcastle.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*global require,Blob,JSHINT */
/*global JSHINT */
/*global decodeBase64Data, embedInSandcastleTemplate */
/*global gallery_demos, has_new_gallery_demos, hello_world_index*/// defined in gallery/gallery-index.js, created by build
/*global sandcastleJsHintOptions*/// defined by jsHintOptions.js, created by build
Expand Down
2 changes: 0 additions & 2 deletions Apps/Sandcastle/Sandcastle-client.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
(function() {
'use strict';
/*global console,Sandcastle,window*/

window.parent.postMessage('reload', '*');

function defined(value) {
Expand Down
1 change: 0 additions & 1 deletion Apps/TimelineDemo/TimelineDemo.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/*global document,window,define*/
define([
'Core/Clock',
'Core/ClockRange',
Expand Down
1 change: 0 additions & 1 deletion Apps/TimelineDemo/boot.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/*global require*/
require({
baseUrl : '../..',
packages : [{
Expand Down
1 change: 0 additions & 1 deletion Source/Core/ArcGISTiledElevationTerrainProvider.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/*global define*/
define([
'../ThirdParty/when',
'./Cartesian2',
Expand Down
1 change: 0 additions & 1 deletion Source/Core/CoplanarPolygonGeometry.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/*global define*/
define([
'./arrayRemoveDuplicates',
'./BoundingRectangle',
Expand Down
1 change: 0 additions & 1 deletion Source/Core/CoplanarPolygonOutlineGeometry.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/*global define*/
define([
'./arrayRemoveDuplicates',
'./BoundingSphere',
Expand Down
1 change: 0 additions & 1 deletion Source/Core/getTimestamp.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
define(function() {
'use strict';
/*global performance*/

/**
* Gets a timestamp that can be used in measuring the time between events. Timestamps
Expand Down
1 change: 0 additions & 1 deletion Source/Renderer/AutomaticUniforms.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ define([
Matrix4,
WebGLConstants) {
'use strict';
/*global WebGLRenderingContext*/

var viewerPositionWCScratch = new Cartesian3();

Expand Down
3 changes: 0 additions & 3 deletions Source/Renderer/Context.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,6 @@ define([
UniformState,
VertexArray) {
'use strict';
/*global WebGLRenderingContext*/

/*global WebGL2RenderingContext*/

function errorToString(gl, error) {
var message = 'WebGL Error: ';
Expand Down
1 change: 0 additions & 1 deletion Source/Renderer/freezeRenderState.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/*global define*/
define([
'../Core/freezeObject'
], function(
Expand Down
1 change: 0 additions & 1 deletion Source/Workers/createTaskProcessorWorker.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ define([
var postMessage;

return function(event) {
/*global self*/
var data = event.data;

var transferableObjects = [];
Expand Down
3 changes: 1 addition & 2 deletions Source/Workers/transferTypedArrayTest.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/*global self:true*/
// make sure self is defined so that the Dojo build can evaluate this file without crashing.
if (typeof self === 'undefined') {
self = {};
self = {}; //eslint-disable-line no-implicit-globals, no-global-assign
}

self.onmessage = function(event) {
Expand Down
3 changes: 1 addition & 2 deletions Source/main.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
/*global require*/
// require in the complete Cesium object and reassign it globally.
// This is meant for use with the Almond loader.
require([
'Cesium'
], function(
Cesium) {
'use strict';
/*global self,module*/
/*global module*/
if (typeof window !== 'undefined') {
window.Cesium = Cesium;
} else if (typeof self !== 'undefined') {
Expand Down
3 changes: 0 additions & 3 deletions Specs/Core/HeadingPitchRollSpec.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ define([
'use strict';

describe('Core/HeadingPitchRoll', function() {

/*global it,expect*/

var deg2rad = CesiumMath.RADIANS_PER_DEGREE;

it('construct with default values', function() {
Expand Down
1 change: 0 additions & 1 deletion Specs/Core/ResourceSpec.js
Original file line number Diff line number Diff line change
Expand Up @@ -1733,7 +1733,6 @@ describe('Core/Resource', function() {
}).then(function(result) {
expect(result.type).toEqual('image/png');

/*global URL*/
var blobUrl = URL.createObjectURL(result);

return Resource.fetchImage(blobUrl).then(function(image) {
Expand Down
1 change: 0 additions & 1 deletion Specs/DomEventSimulator.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ define([
var deltaMode = defaultValue(options.deltaMode, 0);

try {
/*global WheelEvent*/
return new WheelEvent(type, {
view : view,
detail : detail,
Expand Down
2 changes: 1 addition & 1 deletion Specs/karma-main.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
(function() {
/*global __karma__,require*/
/*global __karma__*/
'use strict';

var included = '';
Expand Down
4 changes: 1 addition & 3 deletions Specs/spec-main.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
[jasmine-gem]: http://github.com/pivotal/jasmine-gem
*/

/*global require*/

(function() {
'use strict';

Expand Down Expand Up @@ -60,7 +58,7 @@
Cesium,
paths) {

/*global jasmineRequire,jasmine,exports,specs*/
/*global jasmineRequire,exports,specs*/

var when = Cesium.when;

Expand Down
3 changes: 2 additions & 1 deletion Tools/eslint-config-cesium/browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ module.exports = {
browser: true
},
rules: {
'no-implicit-globals': 'error'
'no-implicit-globals': 'error',
"no-prototype-builtins": "off"
}
};
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@
},
"devDependencies": {
"almond": "^0.3.3",
"aws-sdk": "^2.18.0",
"aws-sdk": "^2.531.0",
"bluebird": "^3.4.6",
"cloc": "^2.3.3",
"compression": "^1.6.2",
"eslint": "^5.13.0",
"eslint-plugin-html": "^5.0.3",
"eslint": "^6.4.0",
"eslint-plugin-html": "^6.0.0",
"express": "^4.15.0",
"globby": "^10.0.0",
"glsl-strip-comments": "^1.0.0",
Expand All @@ -48,7 +48,7 @@
"gulp-json-transform": "^0.4.6",
"gulp-rename": "^1.2.2",
"gulp-replace": "^1.0.0",
"gulp-tap": "^1.0.1",
"gulp-tap": "^2.0.0",
"gulp-uglify": "^3.0.0",
"gulp-zip": "^5.0.0",
"jasmine-core": "^3.3.0",
Expand All @@ -70,7 +70,7 @@
"mkdirp": "^0.5.1",
"open": "^6.4.0",
"request": "^2.79.0",
"rimraf": "^2.6.1",
"rimraf": "^3.0.0",
"stream-to-promise": "^2.2.0",
"yargs": "^14.0.0"
},
Expand Down

0 comments on commit 12f2bf1

Please sign in to comment.