@snack-uikit/breadcrumbs 0.11.42-preview-eff3bc02.0 → 0.11.42

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/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## 0.11.42 (2026-08-07)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **PDS-3768:** replaced deprecated lodash specific packages with a global latest lodash to resolve vulnerabilities ([260f60d](https://github.com/cloud-ru-tech/snack-uikit/commit/260f60ddb5e644d44787116e5034d8d8d723a8ac))
12
+
13
+
14
+
15
+
16
+
6
17
  ## 0.11.41 (2026-07-03)
7
18
 
8
19
  ### Only dependencies have been changed
package/dist/cjs/hooks.js CHANGED
@@ -2,16 +2,11 @@
2
2
 
3
3
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
4
  var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/slicedToArray"));
5
- var __importDefault = void 0 && (void 0).__importDefault || function (mod) {
6
- return mod && mod.__esModule ? mod : {
7
- "default": mod
8
- };
9
- };
10
5
  Object.defineProperty(exports, "__esModule", {
11
6
  value: true
12
7
  });
13
8
  exports.useBreadcrumbsLayout = useBreadcrumbsLayout;
14
- const lodash_debounce_1 = __importDefault(require("lodash.debounce"));
9
+ const lodash_1 = require("lodash");
15
10
  const react_1 = require("react");
16
11
  const utils_1 = require("./utils");
17
12
  const selectConfig = (containerWidth, configs) => {
@@ -71,7 +66,7 @@ function useBreadcrumbsLayout(containerRef) {
71
66
  return;
72
67
  }
73
68
  setWidth((0, utils_1.getMaxPossibleWidth)(visibleContainer));
74
- const reselectConfig = (0, lodash_debounce_1.default)(() => {
69
+ const reselectConfig = (0, lodash_1.debounce)(() => {
75
70
  setWidth((0, utils_1.getMaxPossibleWidth)(visibleContainer));
76
71
  }, 100);
77
72
  const visibleContainerObserver = new ResizeObserver(reselectConfig);
package/dist/esm/hooks.js CHANGED
@@ -1,4 +1,4 @@
1
- import debounce from 'lodash.debounce';
1
+ import { debounce } from 'lodash';
2
2
  import { useEffect, useMemo, useState } from 'react';
3
3
  import { getMaxPossibleWidth } from './utils';
4
4
  const selectConfig = (containerWidth, configs) => {
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "access": "public"
5
5
  },
6
6
  "title": "Breadcrumbs",
7
- "version": "0.11.42-preview-eff3bc02.0",
7
+ "version": "0.11.42",
8
8
  "sideEffects": [
9
9
  "*.css",
10
10
  "*.woff",
@@ -36,11 +36,11 @@
36
36
  "license": "Apache-2.0",
37
37
  "scripts": {},
38
38
  "dependencies": {
39
- "@snack-uikit/list": "0.33.4-preview-eff3bc02.0",
39
+ "@snack-uikit/list": "0.33.4",
40
40
  "@snack-uikit/typography": "0.8.13",
41
41
  "@snack-uikit/utils": "4.0.2",
42
42
  "classnames": "2.5.1",
43
- "lodash.debounce": "4.0.8"
43
+ "lodash": "4.18.1"
44
44
  },
45
- "gitHead": "2ada20a05882c3ba2fa0e5a6ef967b504cfa6c31"
45
+ "gitHead": "9e6abdd71a846caf1f1252b9504560a3b796942f"
46
46
  }
package/src/hooks.tsx CHANGED
@@ -1,4 +1,4 @@
1
- import debounce from 'lodash.debounce';
1
+ import { debounce } from 'lodash';
2
2
  import { RefObject, useEffect, useMemo, useState } from 'react';
3
3
 
4
4
  import { BreadcrumbsConfig, CurrentConfigState } from './types';