Skip to content

Commit

Permalink
chore: update packages
Browse files Browse the repository at this point in the history
  • Loading branch information
mgermerie committed Jul 28, 2023
1 parent cba2146 commit a841343
Show file tree
Hide file tree
Showing 22 changed files with 3,621 additions and 13,594 deletions.
17,106 changes: 3,562 additions & 13,544 deletions package-lock.json

Large diffs are not rendered by default.

62 changes: 31 additions & 31 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,66 +56,66 @@
},
"homepage": "https://itowns.github.io/",
"dependencies": {
"@loaders.gl/las": "^3.2.3",
"@mapbox/mapbox-gl-style-spec": "^13.24.0",
"@loaders.gl/las": "^3.4.4",
"@mapbox/mapbox-gl-style-spec": "^13.28.0",
"@mapbox/vector-tile": "^1.3.1",
"@tmcw/togeojson": "^5.1.3",
"@tmcw/togeojson": "^5.6.2",
"@tweenjs/tween.js": "^18.6.4",
"earcut": "^2.2.3",
"earcut": "^2.2.4",
"js-priority-queue": "^0.1.5",
"pbf": "^3.2.1",
"regenerator-runtime": "^0.13.9",
"shpjs": "^4.0.2",
"regenerator-runtime": "^0.13.11",
"shpjs": "^4.0.4",
"text-encoding-utf-8": "^1.0.2"
},
"peerDependencies": {
"proj4": "^2.8.0",
"three": "0.153.0"
},
"devDependencies": {
"@babel/cli": "^7.17.10",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.17.12",
"@babel/plugin-transform-runtime": "^7.18.0",
"@babel/preset-env": "^7.18.0",
"@babel/register": "^7.17.7",
"@babel/cli": "^7.22.5",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.18.6",
"@babel/plugin-transform-runtime": "^7.22.5",
"@babel/preset-env": "^7.22.5",
"@babel/register": "^7.22.5",
"@types/three": "^0.153.0",
"babel-inline-import-loader": "^1.0.1",
"babel-loader": "^8.2.5",
"babel-loader": "^9.1.2",
"babel-plugin-inline-import": "^3.0.0",
"babel-plugin-minify-dead-code-elimination": "^0.5.2",
"babel-plugin-minify-replace": "^0.5.0",
"babel-plugin-module-resolver": "^4.1.0",
"chalk": "^5.0.1",
"chart.js": "^3.7.1",
"babel-plugin-module-resolver": "^5.0.0",
"chalk": "^5.2.0",
"chart.js": "^4.3.0",
"compare-func": "^2.0.0",
"conventional-changelog-cli": "^2.2.2",
"conventional-changelog-cli": "^3.0.0",
"copyfiles": "^2.4.1",
"core-js": "^3.22.6",
"core-js": "^3.31.0",
"cross-env": "^7.0.3",
"eslint": "^8.16.0",
"eslint": "^8.43.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-import-resolver-webpack": "^0.13.2",
"eslint-plugin-import": "^2.26.0",
"eslint-webpack-plugin": "^3.1.1",
"eslint-plugin-import": "^2.27.5",
"eslint-webpack-plugin": "^4.0.1",
"github-url-from-git": "^1.5.0",
"grunt": "^1.5.3",
"grunt": "^1.6.1",
"grunt-bump": "^0.8.0",
"https-proxy-agent": "^5.0.1",
"jsdoc": "^3.6.10",
"marked": "^4.0.16",
"mocha": "^10.0.0",
"https-proxy-agent": "^7.0.0",
"jsdoc": "^4.0.2",
"marked": "^5.1.0",
"mocha": "^10.2.0",
"node-fetch": "^2.6.7",
"nyc": "^15.1.0",
"proj4": "^2.8.0",
"puppeteer": "^14.1.1",
"proj4": "^2.9.0",
"puppeteer": "^19.4.0",
"q": "^1.5.1",
"replace-in-file": "^6.3.2",
"replace-in-file": "^7.0.1",
"three": "0.153.0",
"typescript": "^5.1.6",
"url-polyfill": "^1.1.12",
"webpack": "^5.72.1",
"webpack-cli": "^4.9.2",
"webpack-dev-server": "^4.9.0",
"webpack": "^5.87.0",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^4.15.1",
"whatwg-fetch": "^3.6.2"
}
}
2 changes: 1 addition & 1 deletion test/unit/3dtileslayerprocess.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import C3DTilesLayer from 'Layer/C3DTilesLayer';
import C3DTilesSource from 'Source/C3DTilesSource';
import View from 'Core/View';
import GlobeView from 'Core/Prefab/GlobeView';
import HttpsProxyAgent from 'https-proxy-agent';
import { HttpsProxyAgent } from 'https-proxy-agent';
import Coordinates from 'Core/Geographic/Coordinates';
import Renderer from './bootstrap';

Expand Down
2 changes: 1 addition & 1 deletion test/unit/3dtileslayerprocessbatchtable.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import C3DTExtensions from 'Core/3DTiles/C3DTExtensions';
import C3DTilesTypes from 'Core/3DTiles/C3DTilesTypes';
import View from 'Core/View';
import GlobeView from 'Core/Prefab/GlobeView';
import HttpsProxyAgent from 'https-proxy-agent';
import { HttpsProxyAgent } from 'https-proxy-agent';
import Coordinates from 'Core/Geographic/Coordinates';
import Renderer from './bootstrap';

Expand Down
2 changes: 2 additions & 0 deletions test/unit/3dtileslayerstyle.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import assert from 'assert';
import proj4 from 'proj4';
import * as THREE from 'three';
import { HttpsProxyAgent } from 'https-proxy-agent';
import Extent from 'Core/Geographic/Extent';
import PlanarView from 'Core/Prefab/PlanarView';
import Style from 'Core/Style';
Expand Down Expand Up @@ -28,6 +29,7 @@ describe('3DTilesLayer Style', () => {
source: new C3DTilesSource({
url: 'https://raw.githubusercontent.com/iTowns/iTowns2-sample-data/master/' +
'3DTiles/lyon1_with_surface_type_2018/tileset.json',
networkOptions: process.env.HTTPS_PROXY ? { agent: new HttpsProxyAgent(process.env.HTTPS_PROXY) } : {},
}),
},
view,
Expand Down
9 changes: 7 additions & 2 deletions test/unit/bootstrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,13 @@ global.window = {
setTimeout,
};

global.URL = function URL() {
this.ref = undefined;
global.URL = function URL(url) {
return {
host: url.split('://')[1]?.split('/')[0],
hostname: url.split('://')[1]?.split(':')[0],
port: url.split('://')[1]?.split(':')[1],
protocol: url.split('://')[0],
};
};

global.Event = () => {};
Expand Down
2 changes: 1 addition & 1 deletion test/unit/demutils.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as THREE from 'three';
import ElevationLayer from 'Layer/ElevationLayer';
import WMTSSource from 'Source/WMTSSource';
import HttpsProxyAgent from 'https-proxy-agent';
import { HttpsProxyAgent } from 'https-proxy-agent';
import assert from 'assert';
import GlobeView from 'Core/Prefab/GlobeView';
import Coordinates from 'Core/Geographic/Coordinates';
Expand Down
2 changes: 1 addition & 1 deletion test/unit/entwine.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import assert from 'assert';
import HttpsProxyAgent from 'https-proxy-agent';
import { HttpsProxyAgent } from 'https-proxy-agent';
import View from 'Core/View';
import GlobeView from 'Core/Prefab/GlobeView';
import Coordinates from 'Core/Geographic/Coordinates';
Expand Down
2 changes: 1 addition & 1 deletion test/unit/featuregeometrylayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import assert from 'assert';
import GlobeView from 'Core/Prefab/GlobeView';
import FeatureGeometryLayer from 'Layer/FeatureGeometryLayer';
import FileSource from 'Source/FileSource';
import HttpsProxyAgent from 'https-proxy-agent';
import { HttpsProxyAgent } from 'https-proxy-agent';
import Extent from 'Core/Geographic/Extent';
import Coordinates from 'Core/Geographic/Coordinates';
import OBB from 'Renderer/OBB';
Expand Down
2 changes: 1 addition & 1 deletion test/unit/featuregeometrylayererror.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import assert from 'assert';
import GlobeView from 'Core/Prefab/GlobeView';
import FeatureGeometryLayer from 'Layer/FeatureGeometryLayer';
import FileSource from 'Source/FileSource';
import HttpsProxyAgent from 'https-proxy-agent';
import { HttpsProxyAgent } from 'https-proxy-agent';
import Extent from 'Core/Geographic/Extent';
import Coordinates from 'Core/Geographic/Coordinates';
import OBB from 'Renderer/OBB';
Expand Down
2 changes: 1 addition & 1 deletion test/unit/gdf.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import assert from 'assert';
import HttpsProxyAgent from 'https-proxy-agent';
import { HttpsProxyAgent } from 'https-proxy-agent';
import Fetcher from 'Provider/Fetcher';
import GDFParser from 'Parser/GDFParser';

Expand Down
2 changes: 1 addition & 1 deletion test/unit/geoidlayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import GeoidLayer from 'Layer/GeoidLayer';
import FileSource from 'Source/FileSource';
import Coordinates from 'Core/Geographic/Coordinates';
import GlobeView from 'Core/Prefab/GlobeView';
import HttpsProxyAgent from 'https-proxy-agent';
import { HttpsProxyAgent } from 'https-proxy-agent';
import Extent from 'Core/Geographic/Extent';
import OBB from 'Renderer/OBB';
import TileMesh from 'Core/TileMesh';
Expand Down
2 changes: 1 addition & 1 deletion test/unit/gtx.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import assert from 'assert';
import HttpsProxyAgent from 'https-proxy-agent';
import { HttpsProxyAgent } from 'https-proxy-agent';
import GTXParser from 'Parser/GTXParser';
import Fetcher from 'Provider/Fetcher';

Expand Down
2 changes: 1 addition & 1 deletion test/unit/isg.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import assert from 'assert';
import HttpsProxyAgent from 'https-proxy-agent';
import { HttpsProxyAgent } from 'https-proxy-agent';
import Fetcher from 'Provider/Fetcher';
import ISGParser from 'Parser/ISGParser';

Expand Down
3 changes: 2 additions & 1 deletion test/unit/label.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import LabelLayer from 'Layer/LabelLayer';
import GlobeView from 'Core/Prefab/GlobeView';
import ColorLayer from 'Layer/ColorLayer';
import FileSource from 'Source/FileSource';
import HttpsProxyAgent from 'https-proxy-agent';
import { HttpsProxyAgent } from 'https-proxy-agent';
import Renderer from './bootstrap';

const geojson = require('../data/geojson/simple.geojson.json');
Expand Down Expand Up @@ -187,6 +187,7 @@ describe('Label2DRenderer', function () {
fetchedData: geojson,
crs: 'EPSG:4326',
format: 'application/json',
// TODO : is it necessary since we use fetchedData property ?
networkOptions: process.env.HTTPS_PROXY ? { agent: new HttpsProxyAgent(process.env.HTTPS_PROXY) } : {},
});

Expand Down
2 changes: 1 addition & 1 deletion test/unit/lasparser.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import assert from 'assert';
import HttpsProxyAgent from 'https-proxy-agent';
import { HttpsProxyAgent } from 'https-proxy-agent';
import LASParser from 'Parser/LASParser';
import Fetcher from 'Provider/Fetcher';
import { compareWithEpsilon } from './utils';
Expand Down
2 changes: 1 addition & 1 deletion test/unit/orientedimagelayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import proj4 from 'proj4';
import assert from 'assert';
import OrientedImageLayer from 'Layer/OrientedImageLayer';
import OrientedImageSource from 'Source/OrientedImageSource';
import HttpsProxyAgent from 'https-proxy-agent';
import { HttpsProxyAgent } from 'https-proxy-agent';
import Coordinates from 'Core/Geographic/Coordinates';
import GlobeView from 'Core/Prefab/GlobeView';
import Renderer from './bootstrap';
Expand Down
2 changes: 1 addition & 1 deletion test/unit/potree.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import PotreeLayer from 'Layer/PotreeLayer';
import PotreeSource from 'Source/PotreeSource';
import View from 'Core/View';
import GlobeView from 'Core/Prefab/GlobeView';
import HttpsProxyAgent from 'https-proxy-agent';
import { HttpsProxyAgent } from 'https-proxy-agent';
import Coordinates from 'Core/Geographic/Coordinates';
import PotreeNode from 'Core/PotreeNode';
import PointsMaterial from 'Renderer/PointsMaterial';
Expand Down
2 changes: 1 addition & 1 deletion test/unit/potreelayerparsing.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import PotreeSource from 'Source/PotreeSource';
import Coordinates from 'Core/Geographic/Coordinates';
import GlobeView from 'Core/Prefab/GlobeView';
import View from 'Core/View';
import HttpsProxyAgent from 'https-proxy-agent';
import { HttpsProxyAgent } from 'https-proxy-agent';
import Renderer from './bootstrap';

describe('Potree Provider', function () {
Expand Down
2 changes: 1 addition & 1 deletion test/unit/source.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import OrientedImageSource from 'Source/OrientedImageSource';
import C3DTilesSource from 'Source/C3DTilesSource';
import C3DTilesIonSource from 'Source/C3DTilesIonSource';
import Extent from 'Core/Geographic/Extent';
import HttpsProxyAgent from 'https-proxy-agent';
import { HttpsProxyAgent } from 'https-proxy-agent';

describe('Sources', function () {
// geojson url to parse
Expand Down
2 changes: 1 addition & 1 deletion test/unit/vectortiles.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import fs from 'fs';
import assert from 'assert';
import HttpsProxyAgent from 'https-proxy-agent';
import { HttpsProxyAgent } from 'https-proxy-agent';
import VectorTileParser from 'Parser/VectorTileParser';
import VectorTilesSource from 'Source/VectorTilesSource';
import Extent from 'Core/Geographic/Extent';
Expand Down
1 change: 1 addition & 0 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ module.exports = () => {
client: {
overlay: {
errors: true,
runtimeErrors: false,
warnings: false,
},
},
Expand Down

0 comments on commit a841343

Please sign in to comment.