@instructure/ui-utils 8.9.2-snapshot.1 → 8.9.2-snapshot.12
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-utils",
|
|
3
|
-
"version": "8.9.2-snapshot.
|
|
3
|
+
"version": "8.9.2-snapshot.12+6231ada93",
|
|
4
4
|
"description": "A collection of utilities for UI components",
|
|
5
5
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
6
6
|
"type": "commonjs",
|
|
@@ -23,14 +23,14 @@
|
|
|
23
23
|
},
|
|
24
24
|
"license": "MIT",
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@instructure/ui-babel-preset": "8.9.2-snapshot.
|
|
27
|
-
"@instructure/ui-test-utils": "8.9.2-snapshot.
|
|
26
|
+
"@instructure/ui-babel-preset": "8.9.2-snapshot.12+6231ada93",
|
|
27
|
+
"@instructure/ui-test-utils": "8.9.2-snapshot.12+6231ada93",
|
|
28
28
|
"@types/json-stable-stringify": "^1.0.1"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@babel/runtime": "^7.13.10",
|
|
32
|
-
"@instructure/console": "8.9.2-snapshot.
|
|
33
|
-
"@instructure/ui-dom-utils": "8.9.2-snapshot.
|
|
32
|
+
"@instructure/console": "8.9.2-snapshot.12+6231ada93",
|
|
33
|
+
"@instructure/ui-dom-utils": "8.9.2-snapshot.12+6231ada93",
|
|
34
34
|
"bowser": "^1.9.4",
|
|
35
35
|
"fast-deep-equal": "^2",
|
|
36
36
|
"json-stable-stringify": "^1.0.1",
|
|
@@ -44,5 +44,5 @@
|
|
|
44
44
|
"access": "public"
|
|
45
45
|
},
|
|
46
46
|
"sideEffects": false,
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "6231ada93bd4299d640b5d39d7e44b0f54852b2a"
|
|
48
48
|
}
|
package/src/shallowEqual.ts
CHANGED
|
@@ -38,10 +38,7 @@ const hasOwnProperty = Object.prototype.hasOwnProperty
|
|
|
38
38
|
* @param {Object} objB
|
|
39
39
|
* @returns {Boolean} Returns true when the values of all keys are strictly equal
|
|
40
40
|
*/
|
|
41
|
-
function shallowEqual(
|
|
42
|
-
objA: Record<string, unknown>,
|
|
43
|
-
objB: Record<string, unknown>
|
|
44
|
-
) {
|
|
41
|
+
function shallowEqual(objA: Record<string, any>, objB: Record<string, any>) {
|
|
45
42
|
if (is(objA, objB)) {
|
|
46
43
|
return true
|
|
47
44
|
}
|
package/types/shallowEqual.d.ts
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* @param {Object} objB
|
|
12
12
|
* @returns {Boolean} Returns true when the values of all keys are strictly equal
|
|
13
13
|
*/
|
|
14
|
-
declare function shallowEqual(objA: Record<string,
|
|
14
|
+
declare function shallowEqual(objA: Record<string, any>, objB: Record<string, any>): boolean;
|
|
15
15
|
export default shallowEqual;
|
|
16
16
|
export { shallowEqual };
|
|
17
17
|
//# sourceMappingURL=shallowEqual.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shallowEqual.d.ts","sourceRoot":"","sources":["../src/shallowEqual.ts"],"names":[],"mappings":"AA2BA;;;;;;;;;;;;GAYG;AACH,iBAAS,YAAY,
|
|
1
|
+
{"version":3,"file":"shallowEqual.d.ts","sourceRoot":"","sources":["../src/shallowEqual.ts"],"names":[],"mappings":"AA2BA;;;;;;;;;;;;GAYG;AACH,iBAAS,YAAY,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,WAgCzE;AAkBD,eAAe,YAAY,CAAA;AAC3B,OAAO,EAAE,YAAY,EAAE,CAAA"}
|