atriusmaps-node-sdk 3.3.353 → 3.3.354
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/cjs/package.json.js +78 -76
- package/dist/cjs/src/utils/i18n.js +3 -2
- package/dist/package.json.js +1 -1
- package/dist/src/utils/i18n.js +1 -1
- package/package.json +11 -11
package/dist/cjs/package.json.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var name = "web-engine";
|
|
6
|
-
var version = "3.3.
|
|
6
|
+
var version = "3.3.354";
|
|
7
7
|
var license = "UNLICENSED";
|
|
8
8
|
var type = "module";
|
|
9
9
|
var main = "src/main.js";
|
|
@@ -33,7 +33,7 @@ var scripts = {
|
|
|
33
33
|
mol: "demo/startMol.sh",
|
|
34
34
|
"mol:build": "demo/startMolBuild.sh",
|
|
35
35
|
molProd: "cd deploy && yarn buildAndRunMol",
|
|
36
|
-
prepare: "husky
|
|
36
|
+
prepare: "husky",
|
|
37
37
|
test: "jest --no-cache --verbose",
|
|
38
38
|
"test-watch": "jest --verbose --watch",
|
|
39
39
|
"test:e2e:video": "cypress run",
|
|
@@ -44,9 +44,9 @@ var browserslist = [
|
|
|
44
44
|
];
|
|
45
45
|
var dependencies = {
|
|
46
46
|
"@azure/event-hubs": "^5.12.2",
|
|
47
|
-
"@dnd-kit/core": "^6.1
|
|
48
|
-
"@dnd-kit/modifiers": "^
|
|
49
|
-
"@dnd-kit/sortable": "^
|
|
47
|
+
"@dnd-kit/core": "^6.3.1",
|
|
48
|
+
"@dnd-kit/modifiers": "^9.0.0",
|
|
49
|
+
"@dnd-kit/sortable": "^10.0.0",
|
|
50
50
|
"@dnd-kit/utilities": "^3.2.2",
|
|
51
51
|
"@john-osullivan/react-window-dynamic-fork": "^1.9.0-alpha.1",
|
|
52
52
|
"@locus-labs/mod-badge": "^0.1.102",
|
|
@@ -60,122 +60,124 @@ var dependencies = {
|
|
|
60
60
|
"@locus-labs/mod-qr-code-card": "^0.0.104",
|
|
61
61
|
"@locus-labs/mod-qr-code-window": "^0.0.105",
|
|
62
62
|
"@locus-labs/mod-walk-time-matrix": "^0.0.103",
|
|
63
|
-
"@locus-labs/mol-desktop-building-level-selector": "^0.1.
|
|
64
|
-
"@locus-labs/mol-desktop-compass": "^0.1.
|
|
65
|
-
"@locus-labs/mol-desktop-default-theme": "^0.2.
|
|
66
|
-
"@locus-labs/mol-desktop-icon": "^0.1.
|
|
67
|
-
"@locus-labs/mol-desktop-logo": "^0.1.
|
|
68
|
-
"@locus-labs/mol-desktop-map-nav-button": "^0.1.
|
|
69
|
-
"@locus-labs/mol-desktop-tooltip": "^0.3.
|
|
70
|
-
"@locus-labs/mol-desktop-zoom-control": "^0.1.
|
|
63
|
+
"@locus-labs/mol-desktop-building-level-selector": "^0.1.121",
|
|
64
|
+
"@locus-labs/mol-desktop-compass": "^0.1.133",
|
|
65
|
+
"@locus-labs/mol-desktop-default-theme": "^0.2.118",
|
|
66
|
+
"@locus-labs/mol-desktop-icon": "^0.1.144",
|
|
67
|
+
"@locus-labs/mol-desktop-logo": "^0.1.114",
|
|
68
|
+
"@locus-labs/mol-desktop-map-nav-button": "^0.1.143",
|
|
69
|
+
"@locus-labs/mol-desktop-tooltip": "^0.3.115",
|
|
70
|
+
"@locus-labs/mol-desktop-zoom-control": "^0.1.143",
|
|
71
71
|
"@locus-labs/mol-mobile-box": "^0.1.115",
|
|
72
|
-
"@locus-labs/mol-mobile-floating-action-button": "^0.0.
|
|
72
|
+
"@locus-labs/mol-mobile-floating-action-button": "^0.0.120",
|
|
73
73
|
"@locus-labs/mol-mobile-icon": "^0.1.118",
|
|
74
74
|
"@locus-labs/mol-mobile-text": "^0.1.116",
|
|
75
|
-
"@locus-labs/mol-mobile-toast": "^0.1.
|
|
76
|
-
"@mapbox/mapbox-gl-draw": "^1.
|
|
75
|
+
"@locus-labs/mol-mobile-toast": "^0.1.115",
|
|
76
|
+
"@mapbox/mapbox-gl-draw": "^1.5.0",
|
|
77
77
|
"@mapbox/mapbox-gl-draw-static-mode": "^1.0.1",
|
|
78
78
|
"@microsoft/applicationinsights-web": "^3.3.4",
|
|
79
|
-
"@turf/circle": "^
|
|
80
|
-
"@turf/helpers": "^
|
|
81
|
-
"@turf/point-to-line-distance": "^
|
|
82
|
-
"@vitejs/plugin-react": "^4.
|
|
79
|
+
"@turf/circle": "^7.1.0",
|
|
80
|
+
"@turf/helpers": "^7.1.0",
|
|
81
|
+
"@turf/point-to-line-distance": "^7.1.0",
|
|
82
|
+
"@vitejs/plugin-react": "^4.3.4",
|
|
83
83
|
IObject: "^0.7.2",
|
|
84
|
-
"axe-core": "^4.
|
|
84
|
+
"axe-core": "^4.10.2",
|
|
85
85
|
browserslist: "^4.24.2",
|
|
86
|
-
"crypto-browserify": "^3.12.
|
|
86
|
+
"crypto-browserify": "^3.12.1",
|
|
87
87
|
"cypress-axe": "^1.5.0",
|
|
88
|
-
"cypress-multi-reporters": "^
|
|
88
|
+
"cypress-multi-reporters": "^2.0.4",
|
|
89
89
|
"file-loader": "^6.2.0",
|
|
90
90
|
flexsearch: "^0.7.43",
|
|
91
91
|
"h3-js": "^4.1.0",
|
|
92
|
-
i18next: "^20.
|
|
93
|
-
"i18next-browser-languagedetector": "^
|
|
92
|
+
i18next: "^20.6.1",
|
|
93
|
+
"i18next-browser-languagedetector": "^8.0.2",
|
|
94
94
|
"jest-transform-css": "6.0.1",
|
|
95
95
|
jsdom: "^25.0.1",
|
|
96
|
-
jsonschema: "^1.
|
|
97
|
-
luxon: "^3.
|
|
96
|
+
jsonschema: "^1.4.1",
|
|
97
|
+
luxon: "^3.5.0",
|
|
98
98
|
"maplibre-gl": "^4.7.1",
|
|
99
|
-
"mini-css-extract-plugin": "^
|
|
99
|
+
"mini-css-extract-plugin": "^2.9.2",
|
|
100
100
|
"mocha-junit-reporter": "^2.2.1",
|
|
101
101
|
mochawesome: "^7.1.3",
|
|
102
|
-
"node-polyfill-webpack-plugin": "^
|
|
102
|
+
"node-polyfill-webpack-plugin": "^3.0.0",
|
|
103
103
|
"path-browserify": "^1.0.1",
|
|
104
|
-
polished: "^4.
|
|
105
|
-
"prop-types": "^15.
|
|
106
|
-
"query-string": "^
|
|
104
|
+
polished: "^4.3.1",
|
|
105
|
+
"prop-types": "^15.8.1",
|
|
106
|
+
"query-string": "^9.1.1",
|
|
107
107
|
ramda: "^0.30.1",
|
|
108
108
|
react: "^17.0.2",
|
|
109
|
-
"react-compound-slider": "^3.
|
|
109
|
+
"react-compound-slider": "^3.4.0",
|
|
110
110
|
"react-dom": "^17.0.2",
|
|
111
|
-
"react-json-editor-ajrm": "^2.5.
|
|
112
|
-
"react-qr-svg": "^2.
|
|
113
|
-
"react-svg": "^16.
|
|
111
|
+
"react-json-editor-ajrm": "^2.5.14",
|
|
112
|
+
"react-qr-svg": "^2.4.0",
|
|
113
|
+
"react-svg": "^16.2.0",
|
|
114
114
|
"react-tageditor": "^0.2.3",
|
|
115
|
-
"react-virtualized-auto-sizer": "^1.0.
|
|
115
|
+
"react-virtualized-auto-sizer": "^1.0.24",
|
|
116
116
|
"smoothscroll-polyfill": "^0.4.4",
|
|
117
|
-
"styled-components": "
|
|
118
|
-
"styled-normalize": "^8.
|
|
119
|
-
"throttle-debounce": "^
|
|
120
|
-
trackjs: "^3.
|
|
121
|
-
"ua-parser-js": "^0.
|
|
122
|
-
uuid: "
|
|
117
|
+
"styled-components": "6.1.13",
|
|
118
|
+
"styled-normalize": "^8.1.1",
|
|
119
|
+
"throttle-debounce": "^5.0.2",
|
|
120
|
+
trackjs: "^3.10.4",
|
|
121
|
+
"ua-parser-js": "^2.0.0",
|
|
122
|
+
uuid: "11.0.3",
|
|
123
123
|
zousan: "^3.0.1",
|
|
124
124
|
"zousan-plus": "^4.0.1"
|
|
125
125
|
};
|
|
126
126
|
var devDependencies = {
|
|
127
|
-
"@applitools/eyes-cypress": "^3.47.
|
|
127
|
+
"@applitools/eyes-cypress": "^3.47.1",
|
|
128
128
|
"@babel/core": "^7.26.0",
|
|
129
129
|
"@babel/eslint-parser": "^7.25.9",
|
|
130
130
|
"@babel/plugin-proposal-class-properties": "^7.18.6",
|
|
131
131
|
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
|
|
132
132
|
"@babel/plugin-syntax-import-assertions": "^7.26.0",
|
|
133
|
-
"@babel/plugin-transform-modules-commonjs": "^7.
|
|
133
|
+
"@babel/plugin-transform-modules-commonjs": "^7.26.3",
|
|
134
134
|
"@babel/plugin-transform-runtime": "^7.25.9",
|
|
135
135
|
"@babel/preset-env": "^7.26.0",
|
|
136
|
-
"@babel/preset-react": "^7.
|
|
136
|
+
"@babel/preset-react": "^7.26.3",
|
|
137
137
|
"@testing-library/jest-dom": "^6.6.3",
|
|
138
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
139
|
-
"@typescript-eslint/parser": "^
|
|
140
|
-
"babel-jest": "^
|
|
141
|
-
"babel-loader": "^
|
|
138
|
+
"@typescript-eslint/eslint-plugin": "^8.18.0",
|
|
139
|
+
"@typescript-eslint/parser": "^8.18.0",
|
|
140
|
+
"babel-jest": "^29.7.0",
|
|
141
|
+
"babel-loader": "^9.2.1",
|
|
142
142
|
"babel-plugin-inline-json-import": "^0.3.2",
|
|
143
|
-
"babel-plugin-module-resolver": "^5.0.
|
|
143
|
+
"babel-plugin-module-resolver": "^5.0.2",
|
|
144
|
+
"babel-plugin-styled-components": "^2.1.4",
|
|
144
145
|
"babel-polyfill": "^6.26.0",
|
|
145
146
|
"chai-colors": "^1.0.1",
|
|
146
|
-
"css-loader": "^
|
|
147
|
-
cypress: "^
|
|
147
|
+
"css-loader": "^7.1.2",
|
|
148
|
+
cypress: "^13.16.1",
|
|
148
149
|
"cypress-browser-permissions": "^1.1.0",
|
|
149
|
-
"cypress-real-events": "^1.
|
|
150
|
-
"cypress-wait-until": "^
|
|
151
|
-
eslint: "^8.57.
|
|
152
|
-
"eslint-config-standard": "^
|
|
153
|
-
"eslint-import-resolver-typescript": "^3.
|
|
154
|
-
"eslint-plugin-cypress": "^
|
|
155
|
-
"eslint-plugin-import": "^2.
|
|
156
|
-
"eslint-plugin-jest": "^28.
|
|
150
|
+
"cypress-real-events": "^1.13.0",
|
|
151
|
+
"cypress-wait-until": "^3.0.2",
|
|
152
|
+
eslint: "^8.57.1",
|
|
153
|
+
"eslint-config-standard": "^17.1.0",
|
|
154
|
+
"eslint-import-resolver-typescript": "^3.7.0",
|
|
155
|
+
"eslint-plugin-cypress": "^3.6.0",
|
|
156
|
+
"eslint-plugin-import": "^2.31.0",
|
|
157
|
+
"eslint-plugin-jest": "^28.9.0",
|
|
158
|
+
"eslint-plugin-n": "^17.15.0",
|
|
157
159
|
"eslint-plugin-node": "^11.1.0",
|
|
158
|
-
"eslint-plugin-promise": "^
|
|
159
|
-
"eslint-plugin-react": "^7.
|
|
160
|
+
"eslint-plugin-promise": "^7.2.1",
|
|
161
|
+
"eslint-plugin-react": "^7.37.2",
|
|
160
162
|
"eslint-plugin-standard": "^5.0.0",
|
|
161
|
-
"fetch-mock-jest": "^1.
|
|
162
|
-
glob: "^
|
|
163
|
-
husky: "^
|
|
163
|
+
"fetch-mock-jest": "^1.5.1",
|
|
164
|
+
glob: "^11.0.0",
|
|
165
|
+
husky: "^9.1.7",
|
|
164
166
|
jest: "29.7.0",
|
|
165
167
|
"jest-environment-jsdom": "^29.7.0",
|
|
166
|
-
"lint-staged": "^
|
|
167
|
-
"node-fetch": "^2.
|
|
168
|
+
"lint-staged": "^15.2.11",
|
|
169
|
+
"node-fetch": "^2.7.0",
|
|
168
170
|
"null-loader": "^4.0.1",
|
|
169
|
-
nx: "
|
|
170
|
-
"nx-remotecache-azure": "^
|
|
171
|
-
"start-server-and-test": "^2.0.
|
|
172
|
-
typescript: "^5.
|
|
173
|
-
vite: "^4.
|
|
174
|
-
vitest: "^2.1.
|
|
175
|
-
webpack: "^5.
|
|
171
|
+
nx: "20.2.2",
|
|
172
|
+
"nx-remotecache-azure": "^20.0.0",
|
|
173
|
+
"start-server-and-test": "^2.0.9",
|
|
174
|
+
typescript: "^5.7.2",
|
|
175
|
+
vite: "^4.5.5",
|
|
176
|
+
vitest: "^2.1.8",
|
|
177
|
+
webpack: "^5.97.1",
|
|
176
178
|
"webpack-merge": "^6.0.1"
|
|
177
179
|
};
|
|
178
|
-
var packageManager = "yarn@4.3
|
|
180
|
+
var packageManager = "yarn@4.5.3";
|
|
179
181
|
var engines = {
|
|
180
182
|
node: ">=20"
|
|
181
183
|
};
|
|
@@ -25,10 +25,11 @@ async function init (langOverride, { debugMode, fallbackLng } = {}) {
|
|
|
25
25
|
fallbackLng: fallbackLng === undefined ? 'en' : fallbackLng,
|
|
26
26
|
// ns: ['common', 'banner', 'common', 'directions', 'failure', 'flights', 'legal', 'navigation', 'poi', 'search', 'security', 'time', 'tooltip'],
|
|
27
27
|
// defaultNS: 'common',
|
|
28
|
-
lng: langOverride
|
|
28
|
+
lng: langOverride
|
|
29
|
+
/* interpolation: {
|
|
29
30
|
escapeValue: true
|
|
30
31
|
} */
|
|
31
|
-
postProcess: ['pseudoTrans']
|
|
32
|
+
// postProcess: ['pseudoTrans']
|
|
32
33
|
})
|
|
33
34
|
.then(() => {
|
|
34
35
|
if (debugMode) {
|
package/dist/package.json.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var e="web-engine",s="3.3.
|
|
1
|
+
var e="web-engine",s="3.3.354",o="UNLICENSED",l="module",r="src/main.js",t=["demo","deploy","nodesdk","src/extModules/flexapi","services/*","libraries/*"],a={colors:"cat utils/colors1.txt && node utils/processColors.js | pbcopy && cat utils/colors2.txt","cypress:a11y":"APPLITOOLS_IS_DISABLED=true && cypress open --browser chrome --env INPUT_MODALITY='keyboard'","cypress:comp":"APPLITOOLS_IS_DISABLED=true && cypress open --component --browser chrome","cypress:e2e":"APPLITOOLS_IS_DISABLED=true && cypress open --e2e --browser chrome",demo:"cd demo/ && yarn start","e2e:comp":"cypress run --component","e2e:record":"yarn cypress run --env RECORD_MODE=true",e2eSDKTest:"yarn start-server-and-test 'cd ./deploy && yarn buildDev && yarn serveLocal' 8085 'cd ./cypress/e2e/sdk && npx http-server' 8080 'yarn cypress run --spec cypress/e2e/sdk/**'",e2eTest:"cypress run --browser chrome",goProd:"cd deploy && scripts/goProd.sh",goStaging:"deploy/scripts/goStaging.sh",i18nOverrides:"yarn node utils/i18nOverrideCli src/i18n src/i18n-overrides",lint:"eslint .",mod:"demo/startMod.sh",mol:"demo/startMol.sh","mol:build":"demo/startMolBuild.sh",molProd:"cd deploy && yarn buildAndRunMol",prepare:"husky",test:"jest --no-cache --verbose","test-watch":"jest --verbose --watch","test:e2e:video":"cypress run","test:vitest":"vitest"},i=["defaults"],n={"@azure/event-hubs":"^5.12.2","@dnd-kit/core":"^6.3.1","@dnd-kit/modifiers":"^9.0.0","@dnd-kit/sortable":"^10.0.0","@dnd-kit/utilities":"^3.2.2","@john-osullivan/react-window-dynamic-fork":"^1.9.0-alpha.1","@locus-labs/mod-badge":"^0.1.102","@locus-labs/mod-default-theme":"^0.0.113","@locus-labs/mod-footer":"^0.0.111","@locus-labs/mod-header":"^0.0.105","@locus-labs/mod-location-marker":"^0.0.104","@locus-labs/mod-map-legend":"^0.0.104","@locus-labs/mod-offscreen-indicator":"^0.0.104","@locus-labs/mod-pin":"^0.0.104","@locus-labs/mod-qr-code-card":"^0.0.104","@locus-labs/mod-qr-code-window":"^0.0.105","@locus-labs/mod-walk-time-matrix":"^0.0.103","@locus-labs/mol-desktop-building-level-selector":"^0.1.121","@locus-labs/mol-desktop-compass":"^0.1.133","@locus-labs/mol-desktop-default-theme":"^0.2.118","@locus-labs/mol-desktop-icon":"^0.1.144","@locus-labs/mol-desktop-logo":"^0.1.114","@locus-labs/mol-desktop-map-nav-button":"^0.1.143","@locus-labs/mol-desktop-tooltip":"^0.3.115","@locus-labs/mol-desktop-zoom-control":"^0.1.143","@locus-labs/mol-mobile-box":"^0.1.115","@locus-labs/mol-mobile-floating-action-button":"^0.0.120","@locus-labs/mol-mobile-icon":"^0.1.118","@locus-labs/mol-mobile-text":"^0.1.116","@locus-labs/mol-mobile-toast":"^0.1.115","@mapbox/mapbox-gl-draw":"^1.5.0","@mapbox/mapbox-gl-draw-static-mode":"^1.0.1","@microsoft/applicationinsights-web":"^3.3.4","@turf/circle":"^7.1.0","@turf/helpers":"^7.1.0","@turf/point-to-line-distance":"^7.1.0","@vitejs/plugin-react":"^4.3.4",IObject:"^0.7.2","axe-core":"^4.10.2",browserslist:"^4.24.2","crypto-browserify":"^3.12.1","cypress-axe":"^1.5.0","cypress-multi-reporters":"^2.0.4","file-loader":"^6.2.0",flexsearch:"^0.7.43","h3-js":"^4.1.0",i18next:"^20.6.1","i18next-browser-languagedetector":"^8.0.2","jest-transform-css":"6.0.1",jsdom:"^25.0.1",jsonschema:"^1.4.1",luxon:"^3.5.0","maplibre-gl":"^4.7.1","mini-css-extract-plugin":"^2.9.2","mocha-junit-reporter":"^2.2.1",mochawesome:"^7.1.3","node-polyfill-webpack-plugin":"^3.0.0","path-browserify":"^1.0.1",polished:"^4.3.1","prop-types":"^15.8.1","query-string":"^9.1.1",ramda:"^0.30.1",react:"^17.0.2","react-compound-slider":"^3.4.0","react-dom":"^17.0.2","react-json-editor-ajrm":"^2.5.14","react-qr-svg":"^2.4.0","react-svg":"^16.2.0","react-tageditor":"^0.2.3","react-virtualized-auto-sizer":"^1.0.24","smoothscroll-polyfill":"^0.4.4","styled-components":"6.1.13","styled-normalize":"^8.1.1","throttle-debounce":"^5.0.2",trackjs:"^3.10.4","ua-parser-js":"^2.0.0",uuid:"11.0.3",zousan:"^3.0.1","zousan-plus":"^4.0.1"},c={"@applitools/eyes-cypress":"^3.47.1","@babel/core":"^7.26.0","@babel/eslint-parser":"^7.25.9","@babel/plugin-proposal-class-properties":"^7.18.6","@babel/plugin-syntax-dynamic-import":"^7.8.3","@babel/plugin-syntax-import-assertions":"^7.26.0","@babel/plugin-transform-modules-commonjs":"^7.26.3","@babel/plugin-transform-runtime":"^7.25.9","@babel/preset-env":"^7.26.0","@babel/preset-react":"^7.26.3","@testing-library/jest-dom":"^6.6.3","@typescript-eslint/eslint-plugin":"^8.18.0","@typescript-eslint/parser":"^8.18.0","babel-jest":"^29.7.0","babel-loader":"^9.2.1","babel-plugin-inline-json-import":"^0.3.2","babel-plugin-module-resolver":"^5.0.2","babel-plugin-styled-components":"^2.1.4","babel-polyfill":"^6.26.0","chai-colors":"^1.0.1","css-loader":"^7.1.2",cypress:"^13.16.1","cypress-browser-permissions":"^1.1.0","cypress-real-events":"^1.13.0","cypress-wait-until":"^3.0.2",eslint:"^8.57.1","eslint-config-standard":"^17.1.0","eslint-import-resolver-typescript":"^3.7.0","eslint-plugin-cypress":"^3.6.0","eslint-plugin-import":"^2.31.0","eslint-plugin-jest":"^28.9.0","eslint-plugin-n":"^17.15.0","eslint-plugin-node":"^11.1.0","eslint-plugin-promise":"^7.2.1","eslint-plugin-react":"^7.37.2","eslint-plugin-standard":"^5.0.0","fetch-mock-jest":"^1.5.1",glob:"^11.0.0",husky:"^9.1.7",jest:"29.7.0","jest-environment-jsdom":"^29.7.0","lint-staged":"^15.2.11","node-fetch":"^2.7.0","null-loader":"^4.0.1",nx:"20.2.2","nx-remotecache-azure":"^20.0.0","start-server-and-test":"^2.0.9",typescript:"^5.7.2",vite:"^4.5.5",vitest:"^2.1.8",webpack:"^5.97.1","webpack-merge":"^6.0.1"},p="yarn@4.5.3",d={node:">=20"},m={},u={name:e,version:s,private:!0,license:o,type:l,main:r,workspaces:t,scripts:a,"lint-staged":{"*.js":["eslint --fix"]},browserslist:i,dependencies:n,devDependencies:c,packageManager:p,engines:d,nx:m};export{i as browserslist,u as default,n as dependencies,c as devDependencies,d as engines,o as license,r as main,e as name,m as nx,p as packageManager,a as scripts,l as type,s as version,t as workspaces};
|
package/dist/src/utils/i18n.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import n from"i18next";async function e(e,{debugMode:t,fallbackLng:o}={}){const a=n.createInstance();return a.init({debug:t,interpolation:{escapeValue:!1},resources:{en:{translation:{"Proceed xx minutes to":"Proceed {{count}} minute to","Proceed xx minutes to_plural":"Proceed {{count}} minutes to"}}},fallbackLng:void 0===o?"en":o,lng:e
|
|
1
|
+
import n from"i18next";async function e(e,{debugMode:t,fallbackLng:o}={}){const a=n.createInstance();return a.init({debug:t,interpolation:{escapeValue:!1},resources:{en:{translation:{"Proceed xx minutes to":"Proceed {{count}} minute to","Proceed xx minutes to_plural":"Proceed {{count}} minutes to"}}},fallbackLng:void 0===o?"en":o,lng:e}).then((()=>(t&&a.on("missingKey",(function(n,e,t,o){console.error("i18nNext: key not found. Language: "+a.language+", Key: "+t+", namespace: "+e+", lngs: ",n)})),a)))}const t={ar:"بال عن أمام الأخذ البرية. ثم كما وقام شاسعة الجنوبي, أمدها الإمداد عن انه. ٣٠ فكانت والكساد انه. أساسي الشمال الإتفاقية بال أم. زهاء المؤلّفة حين عل, سكان قررت هذه ان, شعار باستخدام ولم مع.\n\nدول الأمور الصفحة الأوروبية قد. تم حدى فاتّبع الهجوم, ما أوسع معاملة فعل, خلاف الأوروبية، إيو كل. تُصب واندونيسيا، حين قد. أي حاول حقول وهولندا، هذا, بين عن لهيمنة بالسيطرة.\n\nأعمال الإتحاد العمليات من وصل. وقوعها، باستخدام قد أخر, بل حتى علاقة التبرعات. فقد لم الأرض استبدال. حتى الخاسر اقتصادية بـ. أصقاع أعلنت اتفاقية تلك بل, كان إذ بحشد أخرى ليبين. الشتاء، اليابان، مكن أم, به، قد العالم، أوراقهم, بل لعدم لغزو أواخر مكن.\n",ja:"私は場合いよいよある所有らってのの末がしたた。無論結果に圧迫顔もよくその発展ないですまでを決するてみるでしでも発展云いませたから、そうには描いたないたた。機会へ載っない方は別に今をひょろひょろでずまし。むしろ嘉納さんを意味方面そう#「を積んない権力この自分何か記念をというおお尋ねだろででですで、ある今はこれか頼み例があるで、ネルソンさんののの引込のあなたにもっともお努力といと私赤に実建設が起っようにとやかくご附随を描いですましから、どうもとにかく相違に云おでてならますのが行っないませ。"},o=(n,e)=>"en"===e?n:a(n,t[e]),a=(n,e)=>n.length<e.length?e.substring(0,n.length):e;export{e as default,o as toLang};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "atriusmaps-node-sdk",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.354",
|
|
4
4
|
"description": "This project provides an API to Atrius Personal Wayfinder maps within a Node environment. See the README.md for more information",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"map",
|
|
@@ -37,22 +37,22 @@
|
|
|
37
37
|
"test": "vitest test"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@turf/circle": "^
|
|
41
|
-
"@turf/helpers": "^
|
|
42
|
-
"@turf/point-to-line-distance": "^
|
|
43
|
-
"IObject": "^0.
|
|
40
|
+
"@turf/circle": "^7.1.0",
|
|
41
|
+
"@turf/helpers": "^7.1.0",
|
|
42
|
+
"@turf/point-to-line-distance": "^7.1.0",
|
|
43
|
+
"IObject": "^0.7.2",
|
|
44
44
|
"flexsearch": "^0.7.43",
|
|
45
|
-
"https-proxy-agent": "^7.0.
|
|
46
|
-
"i18next": "^20.
|
|
47
|
-
"node-fetch": "^
|
|
48
|
-
"query-string": "^
|
|
45
|
+
"https-proxy-agent": "^7.0.6",
|
|
46
|
+
"i18next": "^20.6.1",
|
|
47
|
+
"node-fetch": "^3.3.2",
|
|
48
|
+
"query-string": "^9.1.1",
|
|
49
49
|
"ramda": "^0.30.1",
|
|
50
50
|
"zousan-plus": "^4.0.1"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@rollup/plugin-json": "^6.1.0",
|
|
54
|
-
"rollup": "^4.
|
|
54
|
+
"rollup": "^4.28.1",
|
|
55
55
|
"rollup-plugin-terser": "^7.0.2",
|
|
56
|
-
"vitest": "^2.1.
|
|
56
|
+
"vitest": "^2.1.8"
|
|
57
57
|
}
|
|
58
58
|
}
|