@freightos/fusion-location-input 2.2.0 → 2.2.1-34685aea

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.
@@ -0,0 +1,10 @@
1
+ self.__precacheManifest = (self.__precacheManifest || []).concat([
2
+ {
3
+ "revision": "80b3f30267985f700189cf0bddfc721c",
4
+ "url": "http://ship.freightos.local:8800/FusionLocationInput/index.html"
5
+ },
6
+ {
7
+ "revision": "3cc4cd95269fc2237e9e",
8
+ "url": "http://ship.freightos.local:8800/FusionLocationInput/main.bundle.js"
9
+ }
10
+ ]);
@@ -0,0 +1,39 @@
1
+ /**
2
+ * Welcome to your Workbox-powered service worker!
3
+ *
4
+ * You'll need to register this file in your web app and you should
5
+ * disable HTTP caching for this file too.
6
+ * See https://goo.gl/nhQhGp
7
+ *
8
+ * The rest of the code is auto-generated. Please don't update this file
9
+ * directly; instead, make changes to your Workbox build configuration
10
+ * and re-run your build process.
11
+ * See https://goo.gl/2aRDsh
12
+ */
13
+
14
+ importScripts("https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js");
15
+
16
+ importScripts(
17
+ "http://ship.freightos.local:8800/FusionLocationInput/precache-manifest.70f70f3409137021bed7f28bb17e8ba0.js"
18
+ );
19
+
20
+ self.addEventListener('message', (event) => {
21
+ if (event.data && event.data.type === 'SKIP_WAITING') {
22
+ self.skipWaiting();
23
+ }
24
+ });
25
+
26
+ workbox.core.clientsClaim();
27
+
28
+ /**
29
+ * The workboxSW.precacheAndRoute() method efficiently caches and responds to
30
+ * requests for URLs in the manifest.
31
+ * See https://goo.gl/S9QRab
32
+ */
33
+ self.__precacheManifest = [].concat(self.__precacheManifest || []);
34
+ workbox.precaching.precacheAndRoute(self.__precacheManifest, {});
35
+
36
+ workbox.routing.registerNavigationRoute(workbox.precaching.getCacheKeyForURL("/index.html"), {
37
+
38
+ blacklist: [/^\/_/,/\/[^/?]+\.[^/]+$/],
39
+ });
package/package.json CHANGED
@@ -1,66 +1,66 @@
1
- {
2
- "name": "@freightos/fusion-location-input",
3
- "version": "2.2.0",
4
- "description": "Fusion Location Input",
5
- "author": "Nowwar Kusa",
6
- "main": "build/main.bundle.js",
7
- "files": [
8
- "build",
9
- "public"
10
- ],
11
- "scripts": {
12
- "start": "npx craco start",
13
- "build": "npx craco build",
14
- "test": "react-scripts test",
15
- "yalcPublish": "npx yalc publish",
16
- "yalcBuild": "npx yarn build && npx yalc push"
17
- },
18
- "jest": {
19
- "transform": {
20
- "^.+\\.[t|j]sx?$": "babel-jest"
21
- },
22
- "transformIgnorePatterns": [
23
- "node_modules/(?!@shotgunjed)/",
24
- "node_modules/(?!(axios)/)"
25
- ]
26
- },
27
- "dependencies": {
28
- "axios-mock-adapter": "^1.20.0",
29
- "formik": "^2.2.6",
30
- "peer-deps-externals-webpack-plugin": "^1.0.4",
31
- "yalc": "^1.0.0-pre.53",
32
- "yup": "^0.32.9"
33
- },
34
- "devDependencies": {
35
- "@craco/craco": "5.8.0",
36
- "@freightos/design-system": "^6.0.23",
37
- "@freightos/freightos-i18n": "^4.0.2-test-fusion1",
38
- "@freightos/http-client": "^5.0.1"
39
- },
40
- "peerDependencies": {
41
- "@freightos/design-system": "^6.0.23",
42
- "@freightos/freightos-i18n": "^4.0.2-test-fusion1",
43
- "@freightos/http-client": "^5.0.1",
44
- "lodash": "^4.17.21",
45
- "moment": ">=2.26.0",
46
- "react": "16.x || 17.x || 18.x",
47
- "react-dom": "16.x || 17.x || 18.x",
48
- "styled-components": "^6.1.14"
49
- },
50
- "engines": {
51
- "node": "16.14",
52
- "npm": "8.x"
53
- },
54
- "browserslist": {
55
- "production": [
56
- ">0.2%",
57
- "not dead",
58
- "not op_mini all"
59
- ],
60
- "development": [
61
- "last 1 chrome version",
62
- "last 1 firefox version",
63
- "last 1 safari version"
64
- ]
65
- }
66
- }
1
+ {
2
+ "name": "@freightos/fusion-location-input",
3
+ "version": "2.2.1-34685aea",
4
+ "description": "Fusion Location Input",
5
+ "author": "Nowwar Kusa",
6
+ "main": "build/main.bundle.js",
7
+ "files": [
8
+ "build",
9
+ "public"
10
+ ],
11
+ "scripts": {
12
+ "start": "npx craco start",
13
+ "build": "npx craco build",
14
+ "test": "react-scripts test",
15
+ "yalcPublish": "npx yalc publish",
16
+ "yalcBuild": "npx yarn build && npx yalc push"
17
+ },
18
+ "jest": {
19
+ "transform": {
20
+ "^.+\\.[t|j]sx?$": "babel-jest"
21
+ },
22
+ "transformIgnorePatterns": [
23
+ "node_modules/(?!@shotgunjed)/",
24
+ "node_modules/(?!(axios)/)"
25
+ ]
26
+ },
27
+ "dependencies": {
28
+ "axios-mock-adapter": "^1.20.0",
29
+ "formik": "^2.2.6",
30
+ "peer-deps-externals-webpack-plugin": "^1.0.4",
31
+ "yalc": "^1.0.0-pre.53",
32
+ "yup": "^0.32.9"
33
+ },
34
+ "devDependencies": {
35
+ "@craco/craco": "5.8.0",
36
+ "@freightos/design-system": "^6.0.23",
37
+ "@freightos/freightos-i18n": "^4.0.2-test-fusion1",
38
+ "@freightos/http-client": "^5.0.1"
39
+ },
40
+ "peerDependencies": {
41
+ "@freightos/design-system": "^6.0.23",
42
+ "@freightos/freightos-i18n": "^4.0.2-test-fusion1",
43
+ "@freightos/http-client": "^5.0.1",
44
+ "lodash": "^4.17.21",
45
+ "moment": ">=2.26.0",
46
+ "react": "16.x || 17.x || 18.x",
47
+ "react-dom": "16.x || 17.x || 18.x",
48
+ "styled-components": "^6.1.14"
49
+ },
50
+ "engines": {
51
+ "node": "16.14",
52
+ "npm": "8.x"
53
+ },
54
+ "browserslist": {
55
+ "production": [
56
+ ">0.2%",
57
+ "not dead",
58
+ "not op_mini all"
59
+ ],
60
+ "development": [
61
+ "last 1 chrome version",
62
+ "last 1 firefox version",
63
+ "last 1 safari version"
64
+ ]
65
+ }
66
+ }
package/public/index.html CHANGED
@@ -1,9 +1,9 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width, initial-scale=1" />
6
- <meta name="theme-color" content="#000000" />
7
- <title>Fusion location input</title>
8
- </head>
9
- </html>
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8" />
5
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
6
+ <meta name="theme-color" content="#000000" />
7
+ <title>Fusion location input</title>
8
+ </head>
9
+ </html>
@@ -1,14 +0,0 @@
1
- /*
2
- object-assign
3
- (c) Sindre Sorhus
4
- @license MIT
5
- */
6
-
7
- /** @license React v17.0.2
8
- * react-jsx-runtime.production.min.js
9
- *
10
- * Copyright (c) Facebook, Inc. and its affiliates.
11
- *
12
- * This source code is licensed under the MIT license found in the
13
- * LICENSE file in the root directory of this source tree.
14
- */