Skip to content

Commit

Permalink
chore: update npm packages.
Browse files Browse the repository at this point in the history
  • Loading branch information
gchoqueux committed Aug 1, 2019
1 parent f3d47da commit feba6ff
Show file tree
Hide file tree
Showing 11 changed files with 919 additions and 534 deletions.
1,395 changes: 893 additions & 502 deletions package-lock.json

Large diffs are not rendered by default.

44 changes: 22 additions & 22 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
"homepage": "https://itowns.github.io/",
"dependencies": {
"@babel/polyfill": "^7.4.4",
"@babel/runtime": "^7.4.5",
"@mapbox/mapbox-gl-style-spec": "^13.7.0",
"@babel/runtime": "^7.5.5",
"@mapbox/mapbox-gl-style-spec": "^13.7.2",
"@mapbox/togeojson": "^0.16.0",
"@mapbox/vector-tile": "^1.3.1",
"@tweenjs/tween.js": "^17.4.0",
Expand All @@ -54,14 +54,14 @@
},
"peerDependencies": {
"proj4": "^2.5.0",
"three": "^0.106.2"
"three": "^0.107.0"
},
"devDependencies": {
"@babel/cli": "^7.4.4",
"@babel/core": "^7.4.5",
"@babel/plugin-transform-runtime": "^7.4.4",
"@babel/preset-env": "^7.4.5",
"@babel/register": "^7.4.4",
"@babel/cli": "^7.5.5",
"@babel/core": "^7.5.5",
"@babel/plugin-transform-runtime": "^7.5.5",
"@babel/preset-env": "^7.5.5",
"@babel/register": "^7.5.5",
"babel-inline-import-loader": "^0.1.0",
"babel-loader": "^8.0.6",
"babel-plugin-inline-import": "^3.0.0",
Expand All @@ -70,26 +70,26 @@
"babel-plugin-module-resolver": "^3.2.0",
"chalk": "^2.4.2",
"chart.js": "^2.8.0",
"copyfiles": "^2.1.0",
"copyfiles": "^2.1.1",
"cross-env": "^5.2.0",
"eslint": "^5.16.0",
"eslint-config-airbnb-base": "^13.1.0",
"eslint": "^6.1.0",
"eslint-config-airbnb-base": "^13.2.0",
"eslint-import-resolver-webpack": "^0.11.1",
"eslint-loader": "^2.1.2",
"eslint-plugin-import": "^2.17.3",
"eslint-loader": "^2.2.1",
"eslint-plugin-import": "^2.18.2",
"https-proxy-agent": "^2.2.2",
"jsdoc": "^3.6.2",
"marked": "^0.6.3",
"mocha": "^6.1.4",
"jsdoc": "^3.6.3",
"marked": "^0.7.0",
"mocha": "^6.2.0",
"node-fetch": "^2.6.0",
"nyc": "^14.1.1",
"proj4": "^2.5.0",
"puppeteer": "^1.18.1",
"replace-in-file": "^4.1.0",
"three": "^0.106.2",
"url-polyfill": "^1.1.5",
"webpack": "^4.35.2",
"webpack-cli": "^3.3.5",
"puppeteer": "^1.19.0",
"replace-in-file": "^4.1.1",
"three": "^0.107.0",
"url-polyfill": "^1.1.7",
"webpack": "^4.38.0",
"webpack-cli": "^3.3.6",
"webpack-dev-server": "^3.7.2",
"whatwg-fetch": "^3.0.0"
}
Expand Down
1 change: 0 additions & 1 deletion src/Controls/GlobeControls.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* globals window */
import * as THREE from 'three';
import AnimationPlayer, { Animation } from 'Core/AnimationPlayer';
import Coordinates from 'Core/Geographic/Coordinates';
Expand Down
4 changes: 2 additions & 2 deletions src/Core/System/Capabilities.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ let maxTexturesUnits = 8;
let maxTextureSize = 4096;

function _WebGLShader(renderer, type, string) {
const gl = renderer.context;
const gl = renderer.getContext();
const shader = gl.createShader(type);

gl.shaderSource(shader, string);
Expand Down Expand Up @@ -35,7 +35,7 @@ export default {
return maxTextureSize;
},
updateCapabilities(renderer) {
const gl = renderer.context;
const gl = renderer.getContext();
maxTexturesUnits = gl.getParameter(gl.MAX_TEXTURE_IMAGE_UNITS);
maxTextureSize = gl.getParameter(gl.MAX_TEXTURE_SIZE);

Expand Down
1 change: 0 additions & 1 deletion src/Core/View.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* global window */
import * as THREE from 'three';
import Camera from 'Renderer/Camera';
import MainLoop, { MAIN_LOOP_EVENTS, RENDERING_PAUSED } from 'Core/MainLoop';
Expand Down
2 changes: 0 additions & 2 deletions src/Renderer/c3DEngine.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
* Description: 3DEngine est l'interface avec le framework webGL.
*/

/* global Uint8Array, document, window, Image */

import * as THREE from 'three';
import Capabilities from 'Core/System/Capabilities';
import { unpack1K } from 'Renderer/LayeredMaterial';
Expand Down
2 changes: 1 addition & 1 deletion test/functional/bootstrap.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* global process, Promise */
/* global Promise */
// eslint-disable-next-line import/no-extraneous-dependencies
const puppeteer = require('puppeteer');
// const { TimeoutError } = require('puppeteer/Errors');
Expand Down
1 change: 0 additions & 1 deletion test/unit/3dtilesprocess.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* global process */
import assert from 'assert';
import { Group } from 'three';
import GeometryLayer from 'Layer/GeometryLayer';
Expand Down
1 change: 1 addition & 0 deletions test/unit/mock.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ class Renderer {
clear() {}
render() {}
readRenderTargetPixels() { }
getContext() { return this.context; }
}

export default Renderer;
1 change: 0 additions & 1 deletion test/unit/orientedImageCamera.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import * as THREE from 'three';
import assert from 'assert';
import OrientedImageCamera from 'Renderer/OrientedImageCamera';
/* global describe, it */

describe('oriented image camera', function () {
it('Should have default values', () => {
Expand Down
1 change: 0 additions & 1 deletion test/unit/pointcloud.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* global process */
import assert from 'assert';
import GeometryLayer from 'Layer/GeometryLayer';
import View from 'Core/View';
Expand Down

0 comments on commit feba6ff

Please sign in to comment.