@jobber/hooks 2.9.2-CJS-to-ESM.18 → 2.9.2-CJS-to-ESM.19
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.
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { useQuery, } from "@apollo/client";
|
|
2
|
-
|
|
3
|
-
import cloneDeep from "lodash-es/cloneDeep";
|
|
2
|
+
import { cloneDeep } from "lodash";
|
|
4
3
|
import { useCallback, useEffect, useState } from "react";
|
|
5
4
|
import { config } from "@jobber/formatters";
|
|
6
5
|
import { uniqueNodes } from "./uniqueNodes";
|
|
@@ -2,8 +2,7 @@ import { useMemo, useState } from "react";
|
|
|
2
2
|
// Importing the polyfilled version of ResizeObserver
|
|
3
3
|
// eslint-disable-next-line import/no-internal-modules
|
|
4
4
|
import useResizeObserverPackage from "use-resize-observer/polyfilled";
|
|
5
|
-
|
|
6
|
-
import throttle from "lodash-es/throttle";
|
|
5
|
+
import { throttle } from "lodash";
|
|
7
6
|
export const Breakpoints = {
|
|
8
7
|
base: 640,
|
|
9
8
|
small: 500,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jobber/hooks",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.9.2-CJS-to-ESM.
|
|
4
|
+
"version": "2.9.2-CJS-to-ESM.19+74418c1f",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
7
7
|
"module": "./dist/index.js",
|
|
@@ -102,7 +102,6 @@
|
|
|
102
102
|
"@testing-library/react-hooks": "^7.0.0",
|
|
103
103
|
"@testing-library/user-event": "^14.5.1",
|
|
104
104
|
"@types/lodash": "4.14.136",
|
|
105
|
-
"@types/lodash-es": "4.17.12",
|
|
106
105
|
"@types/react": "^18.0.28",
|
|
107
106
|
"@types/react-dom": "^18.0.11",
|
|
108
107
|
"@types/uuid": "^8.3.3",
|
|
@@ -113,7 +112,6 @@
|
|
|
113
112
|
},
|
|
114
113
|
"dependencies": {
|
|
115
114
|
"lodash": "^4.17.20",
|
|
116
|
-
"lodash-es": "4.17.21",
|
|
117
115
|
"resize-observer-polyfill": "^1.5.1",
|
|
118
116
|
"ts-xor": "^1.0.8",
|
|
119
117
|
"use-resize-observer": "^6.1.0",
|
|
@@ -123,5 +121,5 @@
|
|
|
123
121
|
"@apollo/client": "^3.0.0",
|
|
124
122
|
"react": "^18"
|
|
125
123
|
},
|
|
126
|
-
"gitHead": "
|
|
124
|
+
"gitHead": "74418c1f36e859d72eae4ac9da4558a4d3927609"
|
|
127
125
|
}
|