drone_view 3.0.54 → 3.0.55

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.
@@ -42,35 +42,33 @@
42
42
  */
43
43
 
44
44
  /*!
45
- * protobuf.js v7.1.0 (c) 2016, daniel wirtz
46
- * compiled fri, 09 sep 2022 03:02:57 utc
45
+ * protobuf.js v7.5.4 (c) 2016, daniel wirtz
46
+ * compiled fri, 15 aug 2025 23:28:54 utc
47
47
  * licensed under the bsd-3-clause license
48
48
  * see: https://github.com/dcodeio/protobuf.js for details
49
49
  */
50
50
 
51
- /*! @license DOMPurify 2.4.5 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.4.5/LICENSE */
52
-
53
51
  /*! https://mths.be/punycode v1.4.0 by @mathias */
54
52
 
55
53
  /**
56
- * @license
57
- * Copyright 2009 The Closure Library Authors
58
- * Copyright 2020 Daniel Wirtz / The long.js Authors.
59
- *
60
- * Licensed under the Apache License, Version 2.0 (the "License");
61
- * you may not use this file except in compliance with the License.
62
- * You may obtain a copy of the License at
63
- *
64
- * http://www.apache.org/licenses/LICENSE-2.0
65
- *
66
- * Unless required by applicable law or agreed to in writing, software
67
- * distributed under the License is distributed on an "AS IS" BASIS,
68
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
69
- * See the License for the specific language governing permissions and
70
- * limitations under the License.
71
- *
72
- * SPDX-License-Identifier: Apache-2.0
73
- */
54
+ * @license
55
+ * Copyright 2009 The Closure Library Authors
56
+ * Copyright 2020 Daniel Wirtz / The long.js Authors.
57
+ *
58
+ * Licensed under the Apache License, Version 2.0 (the "License");
59
+ * you may not use this file except in compliance with the License.
60
+ * You may obtain a copy of the License at
61
+ *
62
+ * http://www.apache.org/licenses/LICENSE-2.0
63
+ *
64
+ * Unless required by applicable law or agreed to in writing, software
65
+ * distributed under the License is distributed on an "AS IS" BASIS,
66
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
67
+ * See the License for the specific language governing permissions and
68
+ * limitations under the License.
69
+ *
70
+ * SPDX-License-Identifier: Apache-2.0
71
+ */
74
72
 
75
73
  /**
76
74
  * @license
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "drone_view",
3
- "version": "3.0.54",
3
+ "version": "3.0.55",
4
4
  "main": "dist/droneView.js",
5
5
  "license": "MIT",
6
6
  "scripts": {
@@ -38,7 +38,7 @@
38
38
  "@turf/bbox": "^6.5.0",
39
39
  "@turf/center-of-mass": "^6.5.0",
40
40
  "axios": "^1.4.0",
41
- "cesium": "^1.97.0",
41
+ "cesium": "^1.135.0",
42
42
  "eslint": "^7.32.0",
43
43
  "husky": "^8.0.2",
44
44
  "jspm": "^0.16.55",
@@ -1,7 +1,7 @@
1
1
  /* eslint-disable linebreak-style */
2
2
  // The path to the CesiumJS source code
3
3
  const cesiumSource = 'node_modules/cesium/Source';
4
- const cesiumWorkers = '../Build/Cesium/Workers';
4
+ const cesiumBuild = 'node_modules/cesium/Build/Cesium';
5
5
  const CopyWebpackPlugin = require('copy-webpack-plugin');
6
6
  const path = require('path');
7
7
  const webpack = require('webpack');
@@ -37,8 +37,9 @@ module.exports = {
37
37
  },
38
38
  mainFiles: ['droneView', 'Cesium'],
39
39
  alias: {
40
- // CesiumJS module name
41
40
  cesium: path.resolve(__dirname, cesiumSource),
41
+ 'process/browser': require.resolve('process/browser.js'),
42
+ process: require.resolve('process/browser.js'),
42
43
  },
43
44
  },
44
45
  module: {
@@ -60,17 +61,17 @@ module.exports = {
60
61
  }],
61
62
  },
62
63
  plugins: [
63
- // Copy Cesium Assets, Widgets, and Workers to a static directory
64
+ // Copy Cesium Assets, Widgets, and Workers to a static directory used at runtime
64
65
  new CopyWebpackPlugin({
65
66
  patterns: [
66
- { from: path.join(cesiumSource, cesiumWorkers), to: 'Workers' },
67
- { from: path.join(cesiumSource, 'Assets'), to: 'Assets' },
68
- { from: path.join(cesiumSource, 'Widgets'), to: 'Widgets' },
69
- { from: path.join(cesiumSource, 'ThirdParty'), to: 'ThirdParty' },
67
+ { from: path.join(cesiumBuild, 'Workers'), to: path.resolve(__dirname, 'service/3d/Workers') },
68
+ { from: path.join(cesiumBuild, 'Assets'), to: path.resolve(__dirname, 'service/3d/Assets') },
69
+ { from: path.join(cesiumBuild, 'Widgets'), to: path.resolve(__dirname, 'service/3d/Widgets') },
70
+ { from: path.join(cesiumBuild, 'ThirdParty'), to: path.resolve(__dirname, 'service/3d/ThirdParty') },
70
71
  ],
71
72
  }),
72
73
  new webpack.ProvidePlugin({
73
- process: 'process/browser',
74
+ process: require.resolve('process/browser.js'),
74
75
  }),
75
76
  new webpack.DefinePlugin({
76
77
  // Define relative base path in cesium for loading assets
@@ -1,7 +1,7 @@
1
1
  /* eslint-disable linebreak-style */
2
2
  // The path to the CesiumJS source code
3
3
  const cesiumSource = 'node_modules/cesium/Source';
4
- const cesiumWorkers = '../Build/Cesium/Workers';
4
+ const cesiumBuild = 'node_modules/cesium/Build/Cesium';
5
5
  const CopyWebpackPlugin = require('copy-webpack-plugin');
6
6
  const path = require('path');
7
7
  const webpack = require('webpack');
@@ -57,17 +57,17 @@ module.exports = {
57
57
  }],
58
58
  },
59
59
  plugins: [
60
- // Copy Cesium Assets, Widgets, and Workers to a static directory
60
+ // Copy Cesium Assets, Widgets, and Workers to a static directory used at runtime
61
61
  new CopyWebpackPlugin({
62
62
  patterns: [
63
- { from: path.join(cesiumSource, cesiumWorkers), to: 'Workers' },
64
- { from: path.join(cesiumSource, 'Assets'), to: 'Assets' },
65
- { from: path.join(cesiumSource, 'ThirdParty'), to: 'ThirdParty' },
66
- { from: path.join(cesiumSource, 'Widgets'), to: 'Widgets' },
63
+ { from: path.join(cesiumBuild, 'Workers'), to: path.resolve(__dirname, 'service/3d/Workers') },
64
+ { from: path.join(cesiumBuild, 'Assets'), to: path.resolve(__dirname, 'service/3d/Assets') },
65
+ { from: path.join(cesiumBuild, 'Widgets'), to: path.resolve(__dirname, 'service/3d/Widgets') },
66
+ { from: path.join(cesiumBuild, 'ThirdParty'), to: path.resolve(__dirname, 'service/3d/ThirdParty') },
67
67
  ],
68
68
  }),
69
69
  new webpack.ProvidePlugin({
70
- process: 'process/browser',
70
+ process: require.resolve('process/browser.js'),
71
71
  }),
72
72
  new webpack.DefinePlugin({
73
73
  // Define relative base path in cesium for loading assets