@bigbinary/neeto-audit-frontend 2.1.2 → 2.2.0

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,3 @@
1
+ import commonEslintConfig from "@bigbinary/neeto-commons-frontend/configs/nanos/eslint/index.mjs";
2
+
3
+ export default commonEslintConfig;
@@ -0,0 +1,16 @@
1
+ import { defineConfig } from "eslint/config";
2
+ import defaultConfiguration from "@bigbinary/neeto-commons-frontend/configs/nanos/eslint/index.mjs";
3
+
4
+ export default defineConfig([
5
+ {
6
+ languageOptions: {
7
+ globals: {
8
+ chrome: "readonly"
9
+ }
10
+ },
11
+ rules: {
12
+ "@bigbinary/neeto/use-webpack-alias": "off"
13
+ }
14
+ },
15
+ ...defaultConfiguration,
16
+ ]);
@@ -0,0 +1,3 @@
1
+ import nanoEslintConfig from "@bigbinary/neeto-commons-frontend/configs/nanos/eslint/index.mjs";
2
+
3
+ export default nanoEslintConfig;
@@ -0,0 +1,9 @@
1
+ import defaultConfigurations from "@bigbinary/neeto-commons-frontend/configs/nanos/eslint/index.mjs";
2
+ import { defineConfig } from "eslint/config";
3
+
4
+ export default defineConfig([
5
+ {
6
+ rules: { "@bigbinary/neeto/file-name-and-export-name-standards": "off" },
7
+ },
8
+ ...defaultConfigurations,
9
+ ]);
@@ -4,10 +4,11 @@ const DEV_DEPENDENCIES = {
4
4
  "@babel/core": "7.26.0",
5
5
  "@babel/eslint-parser": "7.25.9",
6
6
  "@babel/plugin-transform-runtime": "7.25.9",
7
+ "@babel/plugin-syntax-dynamic-import": "^7.8.3",
7
8
  "@babel/preset-env": "7.26.0",
8
9
  "@babel/preset-react": "7.25.9",
9
10
  "@babel/preset-typescript": "7.26.0",
10
- "@babel/runtime": "7.26.0",
11
+ "@babel/runtime": "7.26.10",
11
12
  "autoprefixer": "10.4.20",
12
13
  "babel-loader": "^8.2.5",
13
14
  "babel-plugin-istanbul": "^6.1.1",
@@ -19,28 +20,31 @@ const DEV_DEPENDENCIES = {
19
20
  "babel-plugin-transform-react-remove-prop-types": "0.4.24",
20
21
  "babel-preset-react": "6.24.1",
21
22
  "babel-preset-typescript": "^7.0.0-alpha.19",
22
- "eslint": "8.14.0",
23
- "eslint-config-prettier": "8.5.0",
24
- "eslint-plugin-cypress": "2.12.1",
25
- "eslint-plugin-import": "2.31.0",
26
- "eslint-plugin-jam3": "0.2.3",
27
- "eslint-plugin-json": "3.1.0",
28
- "eslint-plugin-no-unsanitized": "4.1.2",
29
- "eslint-plugin-prettier": "4.0.0",
30
- "eslint-plugin-promise": "6.0.0",
31
- "eslint-plugin-react": "7.37.2",
32
- "eslint-plugin-react-hooks": "4.5.0",
33
- "eslint-plugin-security": "^1.7.1",
34
- "eslint-plugin-sonarjs": "^0.21.0",
35
- "eslint-plugin-unused-imports": "2.0.0",
23
+ "eslint": "^9.25.1",
24
+ "eslint-config-prettier": "^10.1.2",
25
+ "eslint-plugin-cypress": "^4.3.0",
26
+ "eslint-plugin-import": "^2.31.0",
27
+ "eslint-plugin-jam3": "^0.2.3",
28
+ "eslint-plugin-json": "^4.0.1",
29
+ "eslint-plugin-prettier": "^5.2.6",
30
+ "eslint-plugin-promise": "^7.2.1",
31
+ "eslint-plugin-react": "^7.37.5",
32
+ "eslint-plugin-react-hooks": "^5.2.0",
33
+ "eslint-plugin-security": "^3.0.1",
34
+ "eslint-plugin-sonarjs": "^3.0.2",
35
+ "eslint-plugin-unused-imports": "^4.1.4",
36
36
  "eslint-plugin-xss": "^0.1.12",
37
+ "@eslint/compat": "^1.2.8",
38
+ "@eslint/eslintrc": "^3.3.1",
39
+ "@eslint/js": "^9.25.1",
37
40
  "husky": "7.0.4",
41
+ "globals": "^16.0.0",
38
42
  "lint-staged": "12.4.1",
39
43
  "postcss": "8.4.49",
40
44
  "postcss-import": "^15.0.0",
41
45
  "postcss-loader": "^7.0.1",
42
46
  "postcss-preset-env": "7.8.2",
43
- "prettier": "2.6.2",
47
+ "prettier": "3",
44
48
  "prettier-plugin-tailwindcss": "0.1.10",
45
49
  };
46
50
 
@@ -2,7 +2,7 @@ const DEPENDENCIES = {
2
2
  "@honeybadger-io/js": "6.10.1",
3
3
  "@honeybadger-io/react": "6.1.25",
4
4
  "antd": "5.22.0",
5
- axios: "1.7.7",
5
+ axios: "1.8.2",
6
6
  "i18next": "22.5.1",
7
7
  "js-logger": "1.6.1",
8
8
  ramda: "0.29.1",
@@ -18,11 +18,11 @@ const DEV_DEPENDENCIES = {
18
18
  "@tippyjs/react": "4.2.6",
19
19
  "antd": "5.22.0",
20
20
  "avvvatars-react": "0.4.2",
21
- "axios": "1.7.7",
21
+ "axios": "1.8.2",
22
22
  "classnames": "2.5.1",
23
23
  "crypto-browserify": "3.12.1",
24
24
  "dayjs": "1.11.13",
25
- "dompurify": "^2.4.0",
25
+ "dompurify": "^3.2.4",
26
26
  "emoji-mart": "5.6.0",
27
27
  "formik": "2.4.6",
28
28
  "framer-motion": "11.11.11",
@@ -63,7 +63,7 @@ const DEV_DEPENDENCIES = {
63
63
  "util": "^0.12.5",
64
64
  "vm-browserify": "1.1.2",
65
65
  "yup": "0.32.11",
66
- "zustand": "4.3.2"
66
+ "zustand": "4.4.2"
67
67
  };
68
68
 
69
69
  const PEER_DEPENDENCIES = {
@@ -76,11 +76,11 @@ const PEER_DEPENDENCIES = {
76
76
  "@tippyjs/react": "4.2.6",
77
77
  "antd": "5.22.0",
78
78
  "avvvatars-react": "0.4.2",
79
- "axios": "1.7.7",
79
+ "axios": "1.8.2",
80
80
  "classnames": "2.5.1",
81
81
  "crypto-browserify": "3.12.1",
82
82
  "dayjs": "1.11.13",
83
- "dompurify": "^2.4.0",
83
+ "dompurify": "^3.2.4",
84
84
  "emoji-mart": "5.6.0",
85
85
  "framer-motion": "11.11.11",
86
86
  "formik": "2.4.6",
@@ -99,7 +99,7 @@ const PEER_DEPENDENCIES = {
99
99
  "react-colorful": "5.6.1",
100
100
  "react-dom": "18.2.0",
101
101
  "react-drag-listview": "2.0.0",
102
- "react-dropzone": "14.2.3",
102
+ "react-dropzone": "14.3.8",
103
103
  "react-helmet": "^6.1.0",
104
104
  "react-i18next": "12.3.1",
105
105
  "react-resizable": "3.0.5",
@@ -114,7 +114,7 @@ const PEER_DEPENDENCIES = {
114
114
  "util": "^0.12.5",
115
115
  "vm-browserify": "1.1.2",
116
116
  "yup": "0.32.11",
117
- "zustand": "4.3.2"
117
+ "zustand": "4.4.2"
118
118
  };
119
119
 
120
120
  export default {
@@ -14,7 +14,7 @@ const DEV_DEPENDENCIES = {
14
14
  "@tanstack/react-query": "5.59.20",
15
15
  "@tanstack/react-query-devtools": "5.59.20",
16
16
  "antd": "5.22.0",
17
- axios: "1.7.7",
17
+ axios: "1.8.2",
18
18
  classnames: "2.5.1",
19
19
  formik: "2.4.6",
20
20
  "i18next": "22.5.1",
@@ -43,7 +43,7 @@ const PEER_DEPENDENCIES = {
43
43
  "@honeybadger-io/react": "6.1.25",
44
44
  "@tanstack/react-query": "5.59.20",
45
45
  "@tanstack/react-query-devtools": "5.59.20",
46
- axios: "1.7.7",
46
+ axios: "1.8.2",
47
47
  classnames: "2.5.1",
48
48
  formik: "2.4.6",
49
49
  "i18next": "22.5.1",
package/dist/index.js CHANGED
@@ -10,12 +10,13 @@ import require$$4 from 'process';
10
10
  import { readFile, mkdir, lstat, writeFile } from 'fs/promises';
11
11
  import require$$0$3 from 'assert';
12
12
  import require$$1$1 from 'tty';
13
- import require$$1$2, { TextEncoder as TextEncoder$1 } from 'util';
13
+ import require$$1$2 from 'util';
14
14
  import require$$0$4 from 'os';
15
15
  import stream, { Readable } from 'stream';
16
16
  import require$$3$1 from 'http';
17
17
  import require$$4$1 from 'https';
18
18
  import require$$0$5 from 'url';
19
+ import crypto from 'crypto';
19
20
  import zlib from 'zlib';
20
21
 
21
22
  const ANSI_BACKGROUND_OFFSET = 10;
@@ -15908,10 +15909,11 @@ const DEV_DEPENDENCIES$4 = {
15908
15909
  "@babel/core": "7.26.0",
15909
15910
  "@babel/eslint-parser": "7.25.9",
15910
15911
  "@babel/plugin-transform-runtime": "7.25.9",
15912
+ "@babel/plugin-syntax-dynamic-import": "^7.8.3",
15911
15913
  "@babel/preset-env": "7.26.0",
15912
15914
  "@babel/preset-react": "7.25.9",
15913
15915
  "@babel/preset-typescript": "7.26.0",
15914
- "@babel/runtime": "7.26.0",
15916
+ "@babel/runtime": "7.26.10",
15915
15917
  "autoprefixer": "10.4.20",
15916
15918
  "babel-loader": "^8.2.5",
15917
15919
  "babel-plugin-istanbul": "^6.1.1",
@@ -15923,28 +15925,31 @@ const DEV_DEPENDENCIES$4 = {
15923
15925
  "babel-plugin-transform-react-remove-prop-types": "0.4.24",
15924
15926
  "babel-preset-react": "6.24.1",
15925
15927
  "babel-preset-typescript": "^7.0.0-alpha.19",
15926
- "eslint": "8.14.0",
15927
- "eslint-config-prettier": "8.5.0",
15928
- "eslint-plugin-cypress": "2.12.1",
15929
- "eslint-plugin-import": "2.31.0",
15930
- "eslint-plugin-jam3": "0.2.3",
15931
- "eslint-plugin-json": "3.1.0",
15932
- "eslint-plugin-no-unsanitized": "4.1.2",
15933
- "eslint-plugin-prettier": "4.0.0",
15934
- "eslint-plugin-promise": "6.0.0",
15935
- "eslint-plugin-react": "7.37.2",
15936
- "eslint-plugin-react-hooks": "4.5.0",
15937
- "eslint-plugin-security": "^1.7.1",
15938
- "eslint-plugin-sonarjs": "^0.21.0",
15939
- "eslint-plugin-unused-imports": "2.0.0",
15928
+ "eslint": "^9.25.1",
15929
+ "eslint-config-prettier": "^10.1.2",
15930
+ "eslint-plugin-cypress": "^4.3.0",
15931
+ "eslint-plugin-import": "^2.31.0",
15932
+ "eslint-plugin-jam3": "^0.2.3",
15933
+ "eslint-plugin-json": "^4.0.1",
15934
+ "eslint-plugin-prettier": "^5.2.6",
15935
+ "eslint-plugin-promise": "^7.2.1",
15936
+ "eslint-plugin-react": "^7.37.5",
15937
+ "eslint-plugin-react-hooks": "^5.2.0",
15938
+ "eslint-plugin-security": "^3.0.1",
15939
+ "eslint-plugin-sonarjs": "^3.0.2",
15940
+ "eslint-plugin-unused-imports": "^4.1.4",
15940
15941
  "eslint-plugin-xss": "^0.1.12",
15942
+ "@eslint/compat": "^1.2.8",
15943
+ "@eslint/eslintrc": "^3.3.1",
15944
+ "@eslint/js": "^9.25.1",
15941
15945
  "husky": "7.0.4",
15946
+ "globals": "^16.0.0",
15942
15947
  "lint-staged": "12.4.1",
15943
15948
  "postcss": "8.4.49",
15944
15949
  "postcss-import": "^15.0.0",
15945
15950
  "postcss-loader": "^7.0.1",
15946
15951
  "postcss-preset-env": "7.8.2",
15947
- "prettier": "2.6.2",
15952
+ "prettier": "3",
15948
15953
  "prettier-plugin-tailwindcss": "0.1.10",
15949
15954
  };
15950
15955
 
@@ -15960,7 +15965,7 @@ const DEPENDENCIES$3 = {
15960
15965
  "@honeybadger-io/js": "6.10.1",
15961
15966
  "@honeybadger-io/react": "6.1.25",
15962
15967
  "antd": "5.22.0",
15963
- axios: "1.7.7",
15968
+ axios: "1.8.2",
15964
15969
  "i18next": "22.5.1",
15965
15970
  "js-logger": "1.6.1",
15966
15971
  ramda: "0.29.1",
@@ -16003,11 +16008,11 @@ const DEV_DEPENDENCIES$2 = {
16003
16008
  "@tippyjs/react": "4.2.6",
16004
16009
  "antd": "5.22.0",
16005
16010
  "avvvatars-react": "0.4.2",
16006
- "axios": "1.7.7",
16011
+ "axios": "1.8.2",
16007
16012
  "classnames": "2.5.1",
16008
16013
  "crypto-browserify": "3.12.1",
16009
16014
  "dayjs": "1.11.13",
16010
- "dompurify": "^2.4.0",
16015
+ "dompurify": "^3.2.4",
16011
16016
  "emoji-mart": "5.6.0",
16012
16017
  "formik": "2.4.6",
16013
16018
  "framer-motion": "11.11.11",
@@ -16048,7 +16053,7 @@ const DEV_DEPENDENCIES$2 = {
16048
16053
  "util": "^0.12.5",
16049
16054
  "vm-browserify": "1.1.2",
16050
16055
  "yup": "0.32.11",
16051
- "zustand": "4.3.2"
16056
+ "zustand": "4.4.2"
16052
16057
  };
16053
16058
 
16054
16059
  const PEER_DEPENDENCIES$2 = {
@@ -16061,11 +16066,11 @@ const PEER_DEPENDENCIES$2 = {
16061
16066
  "@tippyjs/react": "4.2.6",
16062
16067
  "antd": "5.22.0",
16063
16068
  "avvvatars-react": "0.4.2",
16064
- "axios": "1.7.7",
16069
+ "axios": "1.8.2",
16065
16070
  "classnames": "2.5.1",
16066
16071
  "crypto-browserify": "3.12.1",
16067
16072
  "dayjs": "1.11.13",
16068
- "dompurify": "^2.4.0",
16073
+ "dompurify": "^3.2.4",
16069
16074
  "emoji-mart": "5.6.0",
16070
16075
  "framer-motion": "11.11.11",
16071
16076
  "formik": "2.4.6",
@@ -16084,7 +16089,7 @@ const PEER_DEPENDENCIES$2 = {
16084
16089
  "react-colorful": "5.6.1",
16085
16090
  "react-dom": "18.2.0",
16086
16091
  "react-drag-listview": "2.0.0",
16087
- "react-dropzone": "14.2.3",
16092
+ "react-dropzone": "14.3.8",
16088
16093
  "react-helmet": "^6.1.0",
16089
16094
  "react-i18next": "12.3.1",
16090
16095
  "react-resizable": "3.0.5",
@@ -16099,7 +16104,7 @@ const PEER_DEPENDENCIES$2 = {
16099
16104
  "util": "^0.12.5",
16100
16105
  "vm-browserify": "1.1.2",
16101
16106
  "yup": "0.32.11",
16102
- "zustand": "4.3.2"
16107
+ "zustand": "4.4.2"
16103
16108
  };
16104
16109
 
16105
16110
  var frontend = {
@@ -16124,7 +16129,7 @@ const DEV_DEPENDENCIES$1 = {
16124
16129
  "@tanstack/react-query": "5.59.20",
16125
16130
  "@tanstack/react-query-devtools": "5.59.20",
16126
16131
  "antd": "5.22.0",
16127
- axios: "1.7.7",
16132
+ axios: "1.8.2",
16128
16133
  classnames: "2.5.1",
16129
16134
  formik: "2.4.6",
16130
16135
  "i18next": "22.5.1",
@@ -16153,7 +16158,7 @@ const PEER_DEPENDENCIES$1 = {
16153
16158
  "@honeybadger-io/react": "6.1.25",
16154
16159
  "@tanstack/react-query": "5.59.20",
16155
16160
  "@tanstack/react-query-devtools": "5.59.20",
16156
- axios: "1.7.7",
16161
+ axios: "1.8.2",
16157
16162
  classnames: "2.5.1",
16158
16163
  formik: "2.4.6",
16159
16164
  "i18next": "22.5.1",
@@ -16794,26 +16799,6 @@ const toFiniteNumber = (value, defaultValue) => {
16794
16799
  return value != null && Number.isFinite(value = +value) ? value : defaultValue;
16795
16800
  };
16796
16801
 
16797
- const ALPHA = 'abcdefghijklmnopqrstuvwxyz';
16798
-
16799
- const DIGIT = '0123456789';
16800
-
16801
- const ALPHABET = {
16802
- DIGIT,
16803
- ALPHA,
16804
- ALPHA_DIGIT: ALPHA + ALPHA.toUpperCase() + DIGIT
16805
- };
16806
-
16807
- const generateString = (size = 16, alphabet = ALPHABET.ALPHA_DIGIT) => {
16808
- let str = '';
16809
- const {length} = alphabet;
16810
- while (size--) {
16811
- str += alphabet[Math.random() * length|0];
16812
- }
16813
-
16814
- return str;
16815
- };
16816
-
16817
16802
  /**
16818
16803
  * If the thing is a FormData object, return true, otherwise return false.
16819
16804
  *
@@ -16941,8 +16926,6 @@ var utils$1 = {
16941
16926
  findKey,
16942
16927
  global: _global,
16943
16928
  isContextDefined,
16944
- ALPHABET,
16945
- generateString,
16946
16929
  isSpecCompliantForm,
16947
16930
  toJSONObject,
16948
16931
  isAsyncFn,
@@ -16976,7 +16959,10 @@ function AxiosError(message, code, config, request, response) {
16976
16959
  code && (this.code = code);
16977
16960
  config && (this.config = config);
16978
16961
  request && (this.request = request);
16979
- response && (this.response = response);
16962
+ if (response) {
16963
+ this.response = response;
16964
+ this.status = response.status ? response.status : null;
16965
+ }
16980
16966
  }
16981
16967
 
16982
16968
  utils$1.inherits(AxiosError, Error, {
@@ -16996,7 +16982,7 @@ utils$1.inherits(AxiosError, Error, {
16996
16982
  // Axios
16997
16983
  config: utils$1.toJSONObject(this.config),
16998
16984
  code: this.code,
16999
- status: this.response && this.response.status ? this.response.status : null
16985
+ status: this.status
17000
16986
  };
17001
16987
  }
17002
16988
  });
@@ -29458,7 +29444,7 @@ function encode(val) {
29458
29444
  *
29459
29445
  * @param {string} url The base of the url (e.g., http://www.google.com)
29460
29446
  * @param {object} [params] The params to be appended
29461
- * @param {?object} options
29447
+ * @param {?(object|Function)} options
29462
29448
  *
29463
29449
  * @returns {string} The formatted url
29464
29450
  */
@@ -29470,6 +29456,12 @@ function buildURL(url, params, options) {
29470
29456
 
29471
29457
  const _encode = options && options.encode || encode;
29472
29458
 
29459
+ if (utils$1.isFunction(options)) {
29460
+ options = {
29461
+ serialize: options
29462
+ };
29463
+ }
29464
+
29473
29465
  const serializeFn = options && options.serialize;
29474
29466
 
29475
29467
  let serializedParams;
@@ -29568,6 +29560,29 @@ var transitionalDefaults = {
29568
29560
 
29569
29561
  var URLSearchParams = require$$0$5.URLSearchParams;
29570
29562
 
29563
+ const ALPHA = 'abcdefghijklmnopqrstuvwxyz';
29564
+
29565
+ const DIGIT = '0123456789';
29566
+
29567
+ const ALPHABET = {
29568
+ DIGIT,
29569
+ ALPHA,
29570
+ ALPHA_DIGIT: ALPHA + ALPHA.toUpperCase() + DIGIT
29571
+ };
29572
+
29573
+ const generateString = (size = 16, alphabet = ALPHABET.ALPHA_DIGIT) => {
29574
+ let str = '';
29575
+ const {length} = alphabet;
29576
+ const randomValues = new Uint32Array(size);
29577
+ crypto.randomFillSync(randomValues);
29578
+ for (let i = 0; i < size; i++) {
29579
+ str += alphabet[randomValues[i] % length];
29580
+ }
29581
+
29582
+ return str;
29583
+ };
29584
+
29585
+
29571
29586
  var platform$1 = {
29572
29587
  isNode: true,
29573
29588
  classes: {
@@ -29575,11 +29590,15 @@ var platform$1 = {
29575
29590
  FormData: FormData$2,
29576
29591
  Blob: typeof Blob !== 'undefined' && Blob || null
29577
29592
  },
29593
+ ALPHABET,
29594
+ generateString,
29578
29595
  protocols: [ 'http', 'https', 'file', 'data' ]
29579
29596
  };
29580
29597
 
29581
29598
  const hasBrowserEnv = typeof window !== 'undefined' && typeof document !== 'undefined';
29582
29599
 
29600
+ const _navigator = typeof navigator === 'object' && navigator || undefined;
29601
+
29583
29602
  /**
29584
29603
  * Determine if we're running in a standard browser environment
29585
29604
  *
@@ -29597,10 +29616,8 @@ const hasBrowserEnv = typeof window !== 'undefined' && typeof document !== 'unde
29597
29616
  *
29598
29617
  * @returns {boolean}
29599
29618
  */
29600
- const hasStandardBrowserEnv = (
29601
- (product) => {
29602
- return hasBrowserEnv && ['ReactNative', 'NativeScript', 'NS'].indexOf(product) < 0
29603
- })(typeof navigator !== 'undefined' && navigator.product);
29619
+ const hasStandardBrowserEnv = hasBrowserEnv &&
29620
+ (!_navigator || ['ReactNative', 'NativeScript', 'NS'].indexOf(_navigator.product) < 0);
29604
29621
 
29605
29622
  /**
29606
29623
  * Determine if we're running in a standard browser webWorker environment
@@ -29627,6 +29644,7 @@ var utils = /*#__PURE__*/Object.freeze({
29627
29644
  hasBrowserEnv: hasBrowserEnv,
29628
29645
  hasStandardBrowserEnv: hasStandardBrowserEnv,
29629
29646
  hasStandardBrowserWebWorkerEnv: hasStandardBrowserWebWorkerEnv,
29647
+ navigator: _navigator,
29630
29648
  origin: origin
29631
29649
  });
29632
29650
 
@@ -30348,13 +30366,16 @@ function combineURLs(baseURL, relativeURL) {
30348
30366
  *
30349
30367
  * @returns {string} The combined full path
30350
30368
  */
30351
- function buildFullPath(baseURL, requestedURL) {
30352
- if (baseURL && !isAbsoluteURL(requestedURL)) {
30369
+ function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls) {
30370
+ let isRelativeUrl = !isAbsoluteURL(requestedURL);
30371
+ if (baseURL && isRelativeUrl || allowAbsoluteUrls == false) {
30353
30372
  return combineURLs(baseURL, requestedURL);
30354
30373
  }
30355
30374
  return requestedURL;
30356
30375
  }
30357
30376
 
30377
+ var proxyFromEnv = {};
30378
+
30358
30379
  var parseUrl$1 = require$$0$5.parse;
30359
30380
 
30360
30381
  var DEFAULT_PORTS = {
@@ -30460,7 +30481,7 @@ function getEnv(key) {
30460
30481
  return process.env[key.toLowerCase()] || process.env[key.toUpperCase()] || '';
30461
30482
  }
30462
30483
 
30463
- var getProxyForUrl_1 = getProxyForUrl;
30484
+ proxyFromEnv.getProxyForUrl = getProxyForUrl;
30464
30485
 
30465
30486
  var followRedirects$1 = {exports: {}};
30466
30487
 
@@ -31156,7 +31177,7 @@ followRedirects$1.exports.wrap = wrap;
31156
31177
  var followRedirectsExports = followRedirects$1.exports;
31157
31178
  var followRedirects = /*@__PURE__*/getDefaultExportFromCjs(followRedirectsExports);
31158
31179
 
31159
- const VERSION = "1.7.4";
31180
+ const VERSION = "1.8.2";
31160
31181
 
31161
31182
  function parseProtocol(url) {
31162
31183
  const match = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url);
@@ -31364,9 +31385,9 @@ const readBlob = async function* (blob) {
31364
31385
  }
31365
31386
  };
31366
31387
 
31367
- const BOUNDARY_ALPHABET = utils$1.ALPHABET.ALPHA_DIGIT + '-_';
31388
+ const BOUNDARY_ALPHABET = platform.ALPHABET.ALPHA_DIGIT + '-_';
31368
31389
 
31369
- const textEncoder = new TextEncoder$1();
31390
+ const textEncoder = typeof TextEncoder === 'function' ? new TextEncoder() : new require$$1$2.TextEncoder();
31370
31391
 
31371
31392
  const CRLF = '\r\n';
31372
31393
  const CRLF_BYTES = textEncoder.encode(CRLF);
@@ -31424,7 +31445,7 @@ const formDataToStream = (form, headersHandler, options) => {
31424
31445
  const {
31425
31446
  tag = 'form-data-boundary',
31426
31447
  size = 25,
31427
- boundary = tag + '-' + utils$1.generateString(size, BOUNDARY_ALPHABET)
31448
+ boundary = tag + '-' + platform.generateString(size, BOUNDARY_ALPHABET)
31428
31449
  } = options || {};
31429
31450
 
31430
31451
  if(!utils$1.isFormData(form)) {
@@ -31698,7 +31719,7 @@ function dispatchBeforeRedirect(options, responseDetails) {
31698
31719
  function setProxy(options, configProxy, location) {
31699
31720
  let proxy = configProxy;
31700
31721
  if (!proxy && proxy !== false) {
31701
- const proxyUrl = getProxyForUrl_1(location);
31722
+ const proxyUrl = proxyFromEnv.getProxyForUrl(location);
31702
31723
  if (proxyUrl) {
31703
31724
  proxy = new URL(proxyUrl);
31704
31725
  }
@@ -31843,8 +31864,8 @@ var httpAdapter = isHttpAdapterSupported && function httpAdapter(config) {
31843
31864
  }
31844
31865
 
31845
31866
  // Parse url
31846
- const fullPath = buildFullPath(config.baseURL, config.url);
31847
- const parsed = new URL(fullPath, utils$1.hasBrowserEnv ? platform.origin : undefined);
31867
+ const fullPath = buildFullPath(config.baseURL, config.url, config.allowAbsoluteUrls);
31868
+ const parsed = new URL(fullPath, platform.hasBrowserEnv ? platform.origin : undefined);
31848
31869
  const protocol = parsed.protocol || supportedProtocols[0];
31849
31870
 
31850
31871
  if (protocol === 'data:') {
@@ -31929,7 +31950,7 @@ var httpAdapter = isHttpAdapterSupported && function httpAdapter(config) {
31929
31950
  } catch (e) {
31930
31951
  }
31931
31952
  }
31932
- } else if (utils$1.isBlob(data)) {
31953
+ } else if (utils$1.isBlob(data) || utils$1.isFile(data)) {
31933
31954
  data.size && headers.setContentType(data.type || 'application/octet-stream');
31934
31955
  headers.setContentLength(data.size || 0);
31935
31956
  data = stream.Readable.from(readBlob(data));
@@ -32040,7 +32061,7 @@ var httpAdapter = isHttpAdapterSupported && function httpAdapter(config) {
32040
32061
  if (config.socketPath) {
32041
32062
  options.socketPath = config.socketPath;
32042
32063
  } else {
32043
- options.hostname = parsed.hostname;
32064
+ options.hostname = parsed.hostname.startsWith("[") ? parsed.hostname.slice(1, -1) : parsed.hostname;
32044
32065
  options.port = parsed.port;
32045
32066
  setProxy(options, config.proxy, protocol + '//' + parsed.hostname + (parsed.port ? ':' + parsed.port : '') + options.path);
32046
32067
  }
@@ -32182,7 +32203,7 @@ var httpAdapter = isHttpAdapterSupported && function httpAdapter(config) {
32182
32203
  }
32183
32204
 
32184
32205
  const err = new AxiosError(
32185
- 'maxContentLength size of ' + config.maxContentLength + ' exceeded',
32206
+ 'stream has been aborted',
32186
32207
  AxiosError.ERR_BAD_RESPONSE,
32187
32208
  config,
32188
32209
  lastRequest
@@ -32305,68 +32326,18 @@ var httpAdapter = isHttpAdapterSupported && function httpAdapter(config) {
32305
32326
  });
32306
32327
  };
32307
32328
 
32308
- var isURLSameOrigin = platform.hasStandardBrowserEnv ?
32309
-
32310
- // Standard browser envs have full support of the APIs needed to test
32311
- // whether the request URL is of the same origin as current location.
32312
- (function standardBrowserEnv() {
32313
- const msie = /(msie|trident)/i.test(navigator.userAgent);
32314
- const urlParsingNode = document.createElement('a');
32315
- let originURL;
32316
-
32317
- /**
32318
- * Parse a URL to discover its components
32319
- *
32320
- * @param {String} url The URL to be parsed
32321
- * @returns {Object}
32322
- */
32323
- function resolveURL(url) {
32324
- let href = url;
32325
-
32326
- if (msie) {
32327
- // IE needs attribute set twice to normalize properties
32328
- urlParsingNode.setAttribute('href', href);
32329
- href = urlParsingNode.href;
32330
- }
32331
-
32332
- urlParsingNode.setAttribute('href', href);
32333
-
32334
- // urlParsingNode provides the UrlUtils interface - http://url.spec.whatwg.org/#urlutils
32335
- return {
32336
- href: urlParsingNode.href,
32337
- protocol: urlParsingNode.protocol ? urlParsingNode.protocol.replace(/:$/, '') : '',
32338
- host: urlParsingNode.host,
32339
- search: urlParsingNode.search ? urlParsingNode.search.replace(/^\?/, '') : '',
32340
- hash: urlParsingNode.hash ? urlParsingNode.hash.replace(/^#/, '') : '',
32341
- hostname: urlParsingNode.hostname,
32342
- port: urlParsingNode.port,
32343
- pathname: (urlParsingNode.pathname.charAt(0) === '/') ?
32344
- urlParsingNode.pathname :
32345
- '/' + urlParsingNode.pathname
32346
- };
32347
- }
32348
-
32349
- originURL = resolveURL(window.location.href);
32350
-
32351
- /**
32352
- * Determine if a URL shares the same origin as the current location
32353
- *
32354
- * @param {String} requestURL The URL to test
32355
- * @returns {boolean} True if URL shares the same origin, otherwise false
32356
- */
32357
- return function isURLSameOrigin(requestURL) {
32358
- const parsed = (utils$1.isString(requestURL)) ? resolveURL(requestURL) : requestURL;
32359
- return (parsed.protocol === originURL.protocol &&
32360
- parsed.host === originURL.host);
32361
- };
32362
- })() :
32329
+ var isURLSameOrigin = platform.hasStandardBrowserEnv ? ((origin, isMSIE) => (url) => {
32330
+ url = new URL(url, platform.origin);
32363
32331
 
32364
- // Non standard browser envs (web workers, react-native) lack needed support.
32365
- (function nonStandardBrowserEnv() {
32366
- return function isURLSameOrigin() {
32367
- return true;
32368
- };
32369
- })();
32332
+ return (
32333
+ origin.protocol === url.protocol &&
32334
+ origin.host === url.host &&
32335
+ (isMSIE || origin.port === url.port)
32336
+ );
32337
+ })(
32338
+ new URL(platform.origin),
32339
+ platform.navigator && /(msie|trident)/i.test(platform.navigator.userAgent)
32340
+ ) : () => true;
32370
32341
 
32371
32342
  var cookies = platform.hasStandardBrowserEnv ?
32372
32343
 
@@ -32423,7 +32394,7 @@ function mergeConfig(config1, config2) {
32423
32394
  config2 = config2 || {};
32424
32395
  const config = {};
32425
32396
 
32426
- function getMergedValue(target, source, caseless) {
32397
+ function getMergedValue(target, source, prop, caseless) {
32427
32398
  if (utils$1.isPlainObject(target) && utils$1.isPlainObject(source)) {
32428
32399
  return utils$1.merge.call({caseless}, target, source);
32429
32400
  } else if (utils$1.isPlainObject(source)) {
@@ -32435,11 +32406,11 @@ function mergeConfig(config1, config2) {
32435
32406
  }
32436
32407
 
32437
32408
  // eslint-disable-next-line consistent-return
32438
- function mergeDeepProperties(a, b, caseless) {
32409
+ function mergeDeepProperties(a, b, prop , caseless) {
32439
32410
  if (!utils$1.isUndefined(b)) {
32440
- return getMergedValue(a, b, caseless);
32411
+ return getMergedValue(a, b, prop , caseless);
32441
32412
  } else if (!utils$1.isUndefined(a)) {
32442
- return getMergedValue(undefined, a, caseless);
32413
+ return getMergedValue(undefined, a, prop , caseless);
32443
32414
  }
32444
32415
  }
32445
32416
 
@@ -32497,7 +32468,7 @@ function mergeConfig(config1, config2) {
32497
32468
  socketPath: defaultToConfig2,
32498
32469
  responseEncoding: defaultToConfig2,
32499
32470
  validateStatus: mergeDirectKeys,
32500
- headers: (a, b) => mergeDeepProperties(headersToObject(a), headersToObject(b), true)
32471
+ headers: (a, b , prop) => mergeDeepProperties(headersToObject(a), headersToObject(b),prop, true)
32501
32472
  };
32502
32473
 
32503
32474
  utils$1.forEach(Object.keys(Object.assign({}, config1, config2)), function computeConfigValue(prop) {
@@ -32745,47 +32716,50 @@ var xhrAdapter = isXHRAdapterSupported && function (config) {
32745
32716
  };
32746
32717
 
32747
32718
  const composeSignals = (signals, timeout) => {
32748
- let controller = new AbortController();
32719
+ const {length} = (signals = signals ? signals.filter(Boolean) : []);
32749
32720
 
32750
- let aborted;
32721
+ if (timeout || length) {
32722
+ let controller = new AbortController();
32751
32723
 
32752
- const onabort = function (cancel) {
32753
- if (!aborted) {
32754
- aborted = true;
32755
- unsubscribe();
32756
- const err = cancel instanceof Error ? cancel : this.reason;
32757
- controller.abort(err instanceof AxiosError ? err : new CanceledError(err instanceof Error ? err.message : err));
32758
- }
32759
- };
32724
+ let aborted;
32760
32725
 
32761
- let timer = timeout && setTimeout(() => {
32762
- onabort(new AxiosError(`timeout ${timeout} of ms exceeded`, AxiosError.ETIMEDOUT));
32763
- }, timeout);
32726
+ const onabort = function (reason) {
32727
+ if (!aborted) {
32728
+ aborted = true;
32729
+ unsubscribe();
32730
+ const err = reason instanceof Error ? reason : this.reason;
32731
+ controller.abort(err instanceof AxiosError ? err : new CanceledError(err instanceof Error ? err.message : err));
32732
+ }
32733
+ };
32764
32734
 
32765
- const unsubscribe = () => {
32766
- if (signals) {
32767
- timer && clearTimeout(timer);
32735
+ let timer = timeout && setTimeout(() => {
32768
32736
  timer = null;
32769
- signals.forEach(signal => {
32770
- signal &&
32771
- (signal.removeEventListener ? signal.removeEventListener('abort', onabort) : signal.unsubscribe(onabort));
32772
- });
32773
- signals = null;
32774
- }
32775
- };
32737
+ onabort(new AxiosError(`timeout ${timeout} of ms exceeded`, AxiosError.ETIMEDOUT));
32738
+ }, timeout);
32739
+
32740
+ const unsubscribe = () => {
32741
+ if (signals) {
32742
+ timer && clearTimeout(timer);
32743
+ timer = null;
32744
+ signals.forEach(signal => {
32745
+ signal.unsubscribe ? signal.unsubscribe(onabort) : signal.removeEventListener('abort', onabort);
32746
+ });
32747
+ signals = null;
32748
+ }
32749
+ };
32776
32750
 
32777
- signals.forEach((signal) => signal && signal.addEventListener && signal.addEventListener('abort', onabort));
32751
+ signals.forEach((signal) => signal.addEventListener('abort', onabort));
32778
32752
 
32779
- const {signal} = controller;
32753
+ const {signal} = controller;
32780
32754
 
32781
- signal.unsubscribe = unsubscribe;
32755
+ signal.unsubscribe = () => utils$1.asap(unsubscribe);
32782
32756
 
32783
- return [signal, () => {
32784
- timer && clearTimeout(timer);
32785
- timer = null;
32786
- }];
32757
+ return signal;
32758
+ }
32787
32759
  };
32788
32760
 
32761
+ var composeSignals$1 = composeSignals;
32762
+
32789
32763
  const streamChunk = function* (chunk, chunkSize) {
32790
32764
  let len = chunk.byteLength;
32791
32765
 
@@ -32804,14 +32778,34 @@ const streamChunk = function* (chunk, chunkSize) {
32804
32778
  }
32805
32779
  };
32806
32780
 
32807
- const readBytes = async function* (iterable, chunkSize, encode) {
32808
- for await (const chunk of iterable) {
32809
- yield* streamChunk(ArrayBuffer.isView(chunk) ? chunk : (await encode(String(chunk))), chunkSize);
32781
+ const readBytes = async function* (iterable, chunkSize) {
32782
+ for await (const chunk of readStream(iterable)) {
32783
+ yield* streamChunk(chunk, chunkSize);
32810
32784
  }
32811
32785
  };
32812
32786
 
32813
- const trackStream = (stream, chunkSize, onProgress, onFinish, encode) => {
32814
- const iterator = readBytes(stream, chunkSize, encode);
32787
+ const readStream = async function* (stream) {
32788
+ if (stream[Symbol.asyncIterator]) {
32789
+ yield* stream;
32790
+ return;
32791
+ }
32792
+
32793
+ const reader = stream.getReader();
32794
+ try {
32795
+ for (;;) {
32796
+ const {done, value} = await reader.read();
32797
+ if (done) {
32798
+ break;
32799
+ }
32800
+ yield value;
32801
+ }
32802
+ } finally {
32803
+ await reader.cancel();
32804
+ }
32805
+ };
32806
+
32807
+ const trackStream = (stream, chunkSize, onProgress, onFinish) => {
32808
+ const iterator = readBytes(stream, chunkSize);
32815
32809
 
32816
32810
  let bytes = 0;
32817
32811
  let done;
@@ -32914,7 +32908,11 @@ const getBodyLength = async (body) => {
32914
32908
  }
32915
32909
 
32916
32910
  if(utils$1.isSpecCompliantForm(body)) {
32917
- return (await new Request(body).arrayBuffer()).byteLength;
32911
+ const _request = new Request(platform.origin, {
32912
+ method: 'POST',
32913
+ body,
32914
+ });
32915
+ return (await _request.arrayBuffer()).byteLength;
32918
32916
  }
32919
32917
 
32920
32918
  if(utils$1.isArrayBufferView(body) || utils$1.isArrayBuffer(body)) {
@@ -32954,18 +32952,13 @@ var fetchAdapter = isFetchSupported && (async (config) => {
32954
32952
 
32955
32953
  responseType = responseType ? (responseType + '').toLowerCase() : 'text';
32956
32954
 
32957
- let [composedSignal, stopTimeout] = (signal || cancelToken || timeout) ?
32958
- composeSignals([signal, cancelToken], timeout) : [];
32959
-
32960
- let finished, request;
32955
+ let composedSignal = composeSignals$1([signal, cancelToken && cancelToken.toAbortSignal()], timeout);
32961
32956
 
32962
- const onFinish = () => {
32963
- !finished && setTimeout(() => {
32964
- composedSignal && composedSignal.unsubscribe();
32965
- });
32957
+ let request;
32966
32958
 
32967
- finished = true;
32968
- };
32959
+ const unsubscribe = composedSignal && composedSignal.unsubscribe && (() => {
32960
+ composedSignal.unsubscribe();
32961
+ });
32969
32962
 
32970
32963
  let requestContentLength;
32971
32964
 
@@ -32992,7 +32985,7 @@ var fetchAdapter = isFetchSupported && (async (config) => {
32992
32985
  progressEventReducer(asyncDecorator(onUploadProgress))
32993
32986
  );
32994
32987
 
32995
- data = trackStream(_request.body, DEFAULT_CHUNK_SIZE, onProgress, flush, encodeText);
32988
+ data = trackStream(_request.body, DEFAULT_CHUNK_SIZE, onProgress, flush);
32996
32989
  }
32997
32990
  }
32998
32991
 
@@ -33000,6 +32993,9 @@ var fetchAdapter = isFetchSupported && (async (config) => {
33000
32993
  withCredentials = withCredentials ? 'include' : 'omit';
33001
32994
  }
33002
32995
 
32996
+ // Cloudflare Workers throws when credentials are defined
32997
+ // see https://github.com/cloudflare/workerd/issues/902
32998
+ const isCredentialsSupported = "credentials" in Request.prototype;
33003
32999
  request = new Request(url, {
33004
33000
  ...fetchOptions,
33005
33001
  signal: composedSignal,
@@ -33007,14 +33003,14 @@ var fetchAdapter = isFetchSupported && (async (config) => {
33007
33003
  headers: headers.normalize().toJSON(),
33008
33004
  body: data,
33009
33005
  duplex: "half",
33010
- credentials: withCredentials
33006
+ credentials: isCredentialsSupported ? withCredentials : undefined
33011
33007
  });
33012
33008
 
33013
33009
  let response = await fetch(request);
33014
33010
 
33015
33011
  const isStreamResponse = supportsResponseStream && (responseType === 'stream' || responseType === 'response');
33016
33012
 
33017
- if (supportsResponseStream && (onDownloadProgress || isStreamResponse)) {
33013
+ if (supportsResponseStream && (onDownloadProgress || (isStreamResponse && unsubscribe))) {
33018
33014
  const options = {};
33019
33015
 
33020
33016
  ['status', 'statusText', 'headers'].forEach(prop => {
@@ -33031,8 +33027,8 @@ var fetchAdapter = isFetchSupported && (async (config) => {
33031
33027
  response = new Response(
33032
33028
  trackStream(response.body, DEFAULT_CHUNK_SIZE, onProgress, () => {
33033
33029
  flush && flush();
33034
- isStreamResponse && onFinish();
33035
- }, encodeText),
33030
+ unsubscribe && unsubscribe();
33031
+ }),
33036
33032
  options
33037
33033
  );
33038
33034
  }
@@ -33041,9 +33037,7 @@ var fetchAdapter = isFetchSupported && (async (config) => {
33041
33037
 
33042
33038
  let responseData = await resolvers[utils$1.findKey(resolvers, responseType) || 'text'](response, config);
33043
33039
 
33044
- !isStreamResponse && onFinish();
33045
-
33046
- stopTimeout && stopTimeout();
33040
+ !isStreamResponse && unsubscribe && unsubscribe();
33047
33041
 
33048
33042
  return await new Promise((resolve, reject) => {
33049
33043
  settle(resolve, reject, {
@@ -33056,7 +33050,7 @@ var fetchAdapter = isFetchSupported && (async (config) => {
33056
33050
  });
33057
33051
  })
33058
33052
  } catch (err) {
33059
- onFinish();
33053
+ unsubscribe && unsubscribe();
33060
33054
 
33061
33055
  if (err && err.name === 'TypeError' && /fetch/i.test(err.message)) {
33062
33056
  throw Object.assign(
@@ -33267,6 +33261,14 @@ validators$1.transitional = function transitional(validator, version, message) {
33267
33261
  };
33268
33262
  };
33269
33263
 
33264
+ validators$1.spelling = function spelling(correctSpelling) {
33265
+ return (value, opt) => {
33266
+ // eslint-disable-next-line no-console
33267
+ console.warn(`${opt} is likely a misspelling of ${correctSpelling}`);
33268
+ return true;
33269
+ }
33270
+ };
33271
+
33270
33272
  /**
33271
33273
  * Assert object's properties type
33272
33274
  *
@@ -33336,9 +33338,9 @@ class Axios {
33336
33338
  return await this._request(configOrUrl, config);
33337
33339
  } catch (err) {
33338
33340
  if (err instanceof Error) {
33339
- let dummy;
33341
+ let dummy = {};
33340
33342
 
33341
- Error.captureStackTrace ? Error.captureStackTrace(dummy = {}) : (dummy = new Error());
33343
+ Error.captureStackTrace ? Error.captureStackTrace(dummy) : (dummy = new Error());
33342
33344
 
33343
33345
  // slice off the Error: ... line
33344
33346
  const stack = dummy.stack ? dummy.stack.replace(/^.+\n/, '') : '';
@@ -33393,6 +33395,18 @@ class Axios {
33393
33395
  }
33394
33396
  }
33395
33397
 
33398
+ // Set config.allowAbsoluteUrls
33399
+ if (config.allowAbsoluteUrls !== undefined) ; else if (this.defaults.allowAbsoluteUrls !== undefined) {
33400
+ config.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls;
33401
+ } else {
33402
+ config.allowAbsoluteUrls = true;
33403
+ }
33404
+
33405
+ validator.assertOptions(config, {
33406
+ baseUrl: validators.spelling('baseURL'),
33407
+ withXsrfToken: validators.spelling('withXSRFToken')
33408
+ }, true);
33409
+
33396
33410
  // Set config.method
33397
33411
  config.method = (config.method || this.defaults.method || 'get').toLowerCase();
33398
33412
 
@@ -33483,7 +33497,7 @@ class Axios {
33483
33497
 
33484
33498
  getUri(config) {
33485
33499
  config = mergeConfig(this.defaults, config);
33486
- const fullPath = buildFullPath(config.baseURL, config.url);
33500
+ const fullPath = buildFullPath(config.baseURL, config.url, config.allowAbsoluteUrls);
33487
33501
  return buildURL(fullPath, config.params, config.paramsSerializer);
33488
33502
  }
33489
33503
  }
@@ -33623,6 +33637,20 @@ class CancelToken {
33623
33637
  }
33624
33638
  }
33625
33639
 
33640
+ toAbortSignal() {
33641
+ const controller = new AbortController();
33642
+
33643
+ const abort = (err) => {
33644
+ controller.abort(err);
33645
+ };
33646
+
33647
+ this.subscribe(abort);
33648
+
33649
+ controller.signal.unsubscribe = () => this.unsubscribe(abort);
33650
+
33651
+ return controller.signal;
33652
+ }
33653
+
33626
33654
  /**
33627
33655
  * Returns an object that contains a new `CancelToken` and a function that, when called,
33628
33656
  * cancels the `CancelToken`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bigbinary/neeto-audit-frontend",
3
- "version": "2.1.2",
3
+ "version": "2.2.0",
4
4
  "description": "Audits neeto frontend codebase for issues and suggests a fix.",
5
5
  "type": "module",
6
6
  "bin": "./dist/index.js",
@@ -24,7 +24,7 @@
24
24
  "dependencies": {
25
25
  "@bigbinary/neeto-cist": "1.0.8",
26
26
  "@bigbinary/neeto-commons-frontend": "3.1.10",
27
- "axios": "1.7.4",
27
+ "axios": "1.8.2",
28
28
  "chalk": "5.3.0",
29
29
  "commander": "11.1.0",
30
30
  "ora": "8.0.1",
@@ -1,2 +0,0 @@
1
- * @Thejus-Paul
2
- * @ajmaln
@@ -1 +0,0 @@
1
- module.exports = require("@bigbinary/neeto-commons-frontend/configs/nanos/eslint/index.js");
@@ -1,10 +0,0 @@
1
- const { mergeDeepLeft } = require("ramda");
2
- const defaultConfiguration = require("@bigbinary/neeto-commons-frontend/configs/nanos/eslint/index.js");
3
-
4
- module.exports = mergeDeepLeft(
5
- {
6
- globals: { chrome: "readonly" },
7
- rules: { "@bigbinary/neeto/use-webpack-alias": "off" },
8
- },
9
- defaultConfiguration
10
- );
@@ -1 +0,0 @@
1
- module.exports = require("@bigbinary/neeto-commons-frontend/configs/nanos/eslint/index.js");
@@ -1,9 +0,0 @@
1
- const defaultConfigurations = require("@bigbinary/neeto-commons-frontend/configs/nanos/eslint/index.js");
2
- const { mergeDeepLeft } = require("ramda");
3
-
4
- module.exports = mergeDeepLeft(
5
- {
6
- rules: { "@bigbinary/neeto/file-name-and-export-name-standards": "off" },
7
- },
8
- defaultConfigurations
9
- );