drone_view 3.0.56 → 3.0.57
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.
- package/dist/droneView.js +1 -1
- package/dist/droneView.js.LICENSE.txt +65 -58
- package/package.json +1 -1
- package/webpack.config.prod.js +24 -16
|
@@ -1,74 +1,81 @@
|
|
|
1
1
|
/* Copyright 2015-2018 Esri. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 @preserve */
|
|
2
2
|
|
|
3
3
|
/*!
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
4
|
+
* URI.js - Mutating URLs
|
|
5
|
+
*
|
|
6
|
+
* Version: 1.19.11
|
|
7
|
+
*
|
|
8
|
+
* Author: Rodney Rehm
|
|
9
|
+
* Web: http://medialize.github.io/URI.js/
|
|
10
|
+
*
|
|
11
|
+
* Licensed under
|
|
12
|
+
* MIT License http://www.opensource.org/licenses/mit-license
|
|
13
|
+
*
|
|
14
|
+
*/
|
|
15
15
|
|
|
16
16
|
/*!
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
17
|
+
* URI.js - Mutating URLs
|
|
18
|
+
* IPv6 Support
|
|
19
|
+
*
|
|
20
|
+
* Version: 1.19.11
|
|
21
|
+
*
|
|
22
|
+
* Author: Rodney Rehm
|
|
23
|
+
* Web: http://medialize.github.io/URI.js/
|
|
24
|
+
*
|
|
25
|
+
* Licensed under
|
|
26
|
+
* MIT License http://www.opensource.org/licenses/mit-license
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
29
|
|
|
30
30
|
/*!
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
31
|
+
* URI.js - Mutating URLs
|
|
32
|
+
* Second Level Domain (SLD) Support
|
|
33
|
+
*
|
|
34
|
+
* Version: 1.19.11
|
|
35
|
+
*
|
|
36
|
+
* Author: Rodney Rehm
|
|
37
|
+
* Web: http://medialize.github.io/URI.js/
|
|
38
|
+
*
|
|
39
|
+
* Licensed under
|
|
40
|
+
* MIT License http://www.opensource.org/licenses/mit-license
|
|
41
|
+
*
|
|
42
|
+
*/
|
|
43
43
|
|
|
44
44
|
/*!
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
45
|
+
* protobuf.js v7.5.4 (c) 2016, daniel wirtz
|
|
46
|
+
* compiled fri, 15 aug 2025 23:28:54 utc
|
|
47
|
+
* licensed under the bsd-3-clause license
|
|
48
|
+
* see: https://github.com/dcodeio/protobuf.js for details
|
|
49
|
+
*/
|
|
50
|
+
|
|
51
|
+
/*! @license DOMPurify 3.3.0 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.3.0/LICENSE */
|
|
50
52
|
|
|
51
53
|
/*! https://mths.be/punycode v1.4.0 by @mathias */
|
|
52
54
|
|
|
53
55
|
/**
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
56
|
+
* @license
|
|
57
|
+
* Cesium - https://github.com/CesiumGS/cesium
|
|
58
|
+
* Version 1.135.0
|
|
59
|
+
*
|
|
60
|
+
* Copyright 2011-2022 Cesium Contributors
|
|
61
|
+
*
|
|
62
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
63
|
+
* you may not use this file except in compliance with the License.
|
|
64
|
+
* You may obtain a copy of the License at
|
|
65
|
+
*
|
|
66
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
67
|
+
*
|
|
68
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
69
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
70
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
71
|
+
* See the License for the specific language governing permissions and
|
|
72
|
+
* limitations under the License.
|
|
73
|
+
*
|
|
74
|
+
* Columbus View (Pat. Pend.)
|
|
75
|
+
*
|
|
76
|
+
* Portions licensed separately.
|
|
77
|
+
* See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
|
|
78
|
+
*/
|
|
72
79
|
|
|
73
80
|
/**
|
|
74
81
|
* @license
|
package/package.json
CHANGED
package/webpack.config.prod.js
CHANGED
|
@@ -4,9 +4,10 @@ const path = require("path");
|
|
|
4
4
|
const webpack = require("webpack");
|
|
5
5
|
const CopyWebpackPlugin = require("copy-webpack-plugin");
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
const cesiumESM = "node_modules/cesium";
|
|
7
|
+
const cesiumRoot = "node_modules/cesium";
|
|
9
8
|
const cesiumUnmin = "node_modules/cesium/Build/CesiumUnminified";
|
|
9
|
+
// ESM source folder (explicit)
|
|
10
|
+
const cesiumSource = path.resolve(__dirname, "node_modules/cesium/Source");
|
|
10
11
|
|
|
11
12
|
module.exports = {
|
|
12
13
|
entry: {
|
|
@@ -18,14 +19,22 @@ module.exports = {
|
|
|
18
19
|
errorDetails: true,
|
|
19
20
|
},
|
|
20
21
|
|
|
22
|
+
// allow Cesium's AMD modules to resolve "toUrl" properly
|
|
23
|
+
amd: {
|
|
24
|
+
toUrlUndefined: true,
|
|
25
|
+
},
|
|
26
|
+
|
|
21
27
|
output: {
|
|
22
28
|
filename: "droneView.js",
|
|
23
29
|
path: path.resolve(__dirname, "dist"),
|
|
24
30
|
library: "DroneView",
|
|
25
31
|
libraryTarget: "umd",
|
|
26
|
-
publicPath
|
|
32
|
+
// adjust publicPath if your pipeline needs it; runtime Cesium assets use CESIUM_BASE_URL
|
|
33
|
+
publicPath: "",
|
|
27
34
|
sourcePrefix: "",
|
|
28
35
|
clean: true,
|
|
36
|
+
// globalObject recommended for universal builds
|
|
37
|
+
globalObject: "this",
|
|
29
38
|
},
|
|
30
39
|
|
|
31
40
|
resolve: {
|
|
@@ -35,12 +44,12 @@ module.exports = {
|
|
|
35
44
|
zlib: false,
|
|
36
45
|
http: false,
|
|
37
46
|
url: false,
|
|
38
|
-
fs: false, //
|
|
47
|
+
fs: false, // required for Cesium ESM/Node polyfills
|
|
39
48
|
},
|
|
40
49
|
|
|
41
50
|
alias: {
|
|
42
|
-
//
|
|
43
|
-
cesium: path.resolve(__dirname,
|
|
51
|
+
// point to the Source/ESM folder (explicit)
|
|
52
|
+
cesium: path.resolve(__dirname, "node_modules/cesium/Build/CesiumUnminified"),
|
|
44
53
|
},
|
|
45
54
|
},
|
|
46
55
|
|
|
@@ -63,7 +72,7 @@ module.exports = {
|
|
|
63
72
|
},
|
|
64
73
|
|
|
65
74
|
{
|
|
66
|
-
// Required for Cesium ES modules to load correctly
|
|
75
|
+
// Required for Cesium ES modules to load correctly from node_modules/cesium
|
|
67
76
|
test: /\.js$/,
|
|
68
77
|
include: /node_modules[\\/]cesium/,
|
|
69
78
|
type: "javascript/esm",
|
|
@@ -72,17 +81,15 @@ module.exports = {
|
|
|
72
81
|
},
|
|
73
82
|
|
|
74
83
|
plugins: [
|
|
75
|
-
// Copy Cesium
|
|
84
|
+
// Copy Cesium static assets (Workers, Widgets, Assets, ThirdParty)
|
|
76
85
|
new CopyWebpackPlugin({
|
|
77
86
|
patterns: [
|
|
78
|
-
{ from: `${cesiumUnmin}/
|
|
79
|
-
{ from: `${cesiumUnmin}/
|
|
80
|
-
{ from: `${cesiumUnmin}/
|
|
81
|
-
{ from: `${cesiumUnmin}/
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
to: path.resolve(__dirname, "service/3d/Cesium.js"),
|
|
85
|
-
},
|
|
87
|
+
{ from: path.join(__dirname, `${cesiumUnmin}/Workers`), to: path.resolve(__dirname, "service/3d/Workers") },
|
|
88
|
+
{ from: path.join(__dirname, `${cesiumUnmin}/ThirdParty`), to: path.resolve(__dirname, "service/3d/ThirdParty") },
|
|
89
|
+
{ from: path.join(__dirname, `${cesiumUnmin}/Assets`), to: path.resolve(__dirname, "service/3d/Assets") },
|
|
90
|
+
{ from: path.join(__dirname, `${cesiumUnmin}/Widgets`), to: path.resolve(__dirname, "service/3d/Widgets") },
|
|
91
|
+
// optional: copy Cesium.js if you want the unminified UMD available
|
|
92
|
+
{ from: path.join(__dirname, `${cesiumUnmin}/Cesium.js`), to: path.resolve(__dirname, "service/3d/Cesium.js") },
|
|
86
93
|
],
|
|
87
94
|
}),
|
|
88
95
|
|
|
@@ -91,6 +98,7 @@ module.exports = {
|
|
|
91
98
|
}),
|
|
92
99
|
|
|
93
100
|
new webpack.DefinePlugin({
|
|
101
|
+
// runtime path for Cesium static assets (workers, etc)
|
|
94
102
|
CESIUM_BASE_URL: JSON.stringify("/service/3d/"),
|
|
95
103
|
}),
|
|
96
104
|
],
|