@bigbinary/neeto-commons-frontend 2.1.39 → 3.0.1
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/README.md +6 -51
- package/configs/scripts/dead-code-eliminator/index.js +1 -4
- package/configs/scripts/jsdoc-builder/utils.mjs +1 -1
- package/configs/webpack/helpers/customize-default-rules.js +1 -4
- package/initializers.cjs.js +10 -9
- package/initializers.cjs.js.map +1 -1
- package/initializers.js +2 -1
- package/initializers.js.map +1 -1
- package/package.json +3 -7
- package/react-utils.cjs.js +2 -2
- package/react-utils.cjs.js.map +1 -1
- package/react-utils.js +1 -1
- package/react-utils.js.map +1 -1
- package/utils.cjs.js +5 -5
- package/utils.cjs.js.map +1 -1
- package/utils.js +4 -4
- package/utils.js.map +1 -1
- package/pure.cjs.js +0 -1191
- package/pure.cjs.js.map +0 -1
- package/pure.d.ts +0 -1801
- package/pure.js +0 -1115
- package/pure.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bigbinary/neeto-commons-frontend",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.1",
|
|
4
4
|
"description": "A package encapsulating common code across neeto projects including initializers, utility functions, common components and hooks and so on.",
|
|
5
5
|
"repository": "git@github.com:bigbinary/neeto-commons-frontend.git",
|
|
6
6
|
"author": "Amaljith K <amaljith.k@bigbinary.com>",
|
|
@@ -28,7 +28,6 @@
|
|
|
28
28
|
"cypress-utils.*",
|
|
29
29
|
"cypress-commands.*",
|
|
30
30
|
"utils.*",
|
|
31
|
-
"pure.*",
|
|
32
31
|
"constants.*",
|
|
33
32
|
"configs",
|
|
34
33
|
"cypress-configs"
|
|
@@ -54,11 +53,6 @@
|
|
|
54
53
|
"require": "./utils.cjs.js",
|
|
55
54
|
"types": "./utils.d.ts"
|
|
56
55
|
},
|
|
57
|
-
"./pure": {
|
|
58
|
-
"import": "./pure.js",
|
|
59
|
-
"require": "./pure.cjs.js",
|
|
60
|
-
"types": "./pure.d.ts"
|
|
61
|
-
},
|
|
62
56
|
"./initializers": {
|
|
63
57
|
"import": "./initializers.js",
|
|
64
58
|
"require": "./initializers.cjs.js",
|
|
@@ -85,6 +79,7 @@
|
|
|
85
79
|
"@bigbinary/babel-preset-neeto": "^1.0.3",
|
|
86
80
|
"@bigbinary/eslint-plugin-neeto": "^1.1.1",
|
|
87
81
|
"@bigbinary/neeto-audit-frontend": "1.0.8",
|
|
82
|
+
"@bigbinary/neeto-cist": "^1.0.4",
|
|
88
83
|
"@bigbinary/neeto-commons-frontend": "^2.1.5",
|
|
89
84
|
"@bigbinary/neeto-icons": "^1.9.15",
|
|
90
85
|
"@bigbinary/neeto-molecules": "^1.0.9",
|
|
@@ -183,6 +178,7 @@
|
|
|
183
178
|
},
|
|
184
179
|
"peerDependencies": {
|
|
185
180
|
"@bigbinary/babel-preset-neeto": "^1.0.3",
|
|
181
|
+
"@bigbinary/neeto-cist": "latest",
|
|
186
182
|
"@bigbinary/neeto-commons-frontend": "latest",
|
|
187
183
|
"@bigbinary/neeto-icons": "latest",
|
|
188
184
|
"@bigbinary/neeto-molecules": "^latest",
|
package/react-utils.cjs.js
CHANGED
|
@@ -9,7 +9,7 @@ var ramda = require('ramda');
|
|
|
9
9
|
var reactI18next = require('react-i18next');
|
|
10
10
|
var ErrorPage = require('@bigbinary/neeto-molecules/ErrorPage');
|
|
11
11
|
var reactRouterDom = require('react-router-dom');
|
|
12
|
-
var
|
|
12
|
+
var neetoCist = require('@bigbinary/neeto-cist');
|
|
13
13
|
var reactUtils = require('@bigbinary/neeto-commons-frontend/react-utils');
|
|
14
14
|
var axios = require('axios');
|
|
15
15
|
var utils$3 = require('@bigbinary/neeto-commons-frontend/utils');
|
|
@@ -296,7 +296,7 @@ var useFetchNeetoApps = function useFetchNeetoApps(options) {
|
|
|
296
296
|
var neetoApps = reactUtils.usePersistedQuery.getCache(scopedQueryKey);
|
|
297
297
|
return reactUtils.usePersistedQuery(scopedQueryKey, neetoAppsApi.fetch, _objectSpread$3({
|
|
298
298
|
staleTime: NEETO_APPS_LIST_STALE_TIME,
|
|
299
|
-
enabled:
|
|
299
|
+
enabled: neetoCist.isNotPresent(neetoApps === null || neetoApps === void 0 ? void 0 : neetoApps.data)
|
|
300
300
|
}, options));
|
|
301
301
|
};
|
|
302
302
|
|