@teambit/lanes.hooks.use-viewed-lane-from-url 0.0.229 → 0.0.231

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,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.useViewedLaneFromUrl = void 0;
3
+ exports.useViewedLaneFromUrl = useViewedLaneFromUrl;
4
4
  const base_react_navigation_link_1 = require("@teambit/base-react.navigation.link");
5
5
  const ui_foundation_ui_react_router_use_query_1 = require("@teambit/ui-foundation.ui.react-router.use-query");
6
6
  const lanes_ui_models_lanes_model_1 = require("@teambit/lanes.ui.models.lanes-model");
@@ -10,5 +10,4 @@ function useViewedLaneFromUrl() {
10
10
  const viewedLaneFromUrl = ((location === null || location === void 0 ? void 0 : location.pathname) && lanes_ui_models_lanes_model_1.LanesModel.getLaneIdFromPathname(location === null || location === void 0 ? void 0 : location.pathname, query)) || undefined;
11
11
  return viewedLaneFromUrl;
12
12
  }
13
- exports.useViewedLaneFromUrl = useViewedLaneFromUrl;
14
13
  //# sourceMappingURL=use-viewed-lane-from-url.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"use-viewed-lane-from-url.js","sourceRoot":"","sources":["../use-viewed-lane-from-url.ts"],"names":[],"mappings":";;;AAAA,oFAAkE;AAClE,8GAA4E;AAE5E,sFAAkE;AAElE,SAAgB,oBAAoB;IAClC,MAAM,QAAQ,GAAG,IAAA,wCAAW,GAAE,CAAC;IAC/B,MAAM,KAAK,GAAG,IAAA,kDAAQ,GAAE,CAAC;IAEzB,MAAM,iBAAiB,GACrB,CAAC,CAAA,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,QAAQ,KAAI,wCAAU,CAAC,qBAAqB,CAAC,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,QAAQ,EAAE,KAAK,CAAC,CAAC,IAAI,SAAS,CAAC;IACnG,OAAO,iBAAiB,CAAC;AAC3B,CAAC;AAPD,oDAOC"}
1
+ {"version":3,"file":"use-viewed-lane-from-url.js","sourceRoot":"","sources":["../use-viewed-lane-from-url.ts"],"names":[],"mappings":";;AAKA,oDAOC;AAZD,oFAAkE;AAClE,8GAA4E;AAE5E,sFAAkE;AAElE,SAAgB,oBAAoB;IAClC,MAAM,QAAQ,GAAG,IAAA,wCAAW,GAAE,CAAC;IAC/B,MAAM,KAAK,GAAG,IAAA,kDAAQ,GAAE,CAAC;IAEzB,MAAM,iBAAiB,GACrB,CAAC,CAAA,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,QAAQ,KAAI,wCAAU,CAAC,qBAAqB,CAAC,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,QAAQ,EAAE,KAAK,CAAC,CAAC,IAAI,SAAS,CAAC;IACnG,OAAO,iBAAiB,CAAC;AAC3B,CAAC"}
package/package.json CHANGED
@@ -1,23 +1,22 @@
1
1
  {
2
2
  "name": "@teambit/lanes.hooks.use-viewed-lane-from-url",
3
- "version": "0.0.229",
3
+ "version": "0.0.231",
4
4
  "homepage": "https://bit.cloud/teambit/lanes/hooks/use-viewed-lane-from-url",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.lanes",
8
8
  "name": "hooks/use-viewed-lane-from-url",
9
- "version": "0.0.229"
9
+ "version": "0.0.231"
10
10
  },
11
11
  "dependencies": {
12
- "@teambit/lane-id": "0.0.311",
12
+ "@teambit/lane-id": "0.0.312",
13
13
  "@teambit/lanes.ui.models.lanes-model": "0.0.221",
14
14
  "@teambit/ui-foundation.ui.react-router.use-query": "0.0.501"
15
15
  },
16
16
  "devDependencies": {
17
17
  "@types/mocha": "9.1.0",
18
18
  "@types/jest": "26.0.20",
19
- "@types/node": "12.20.4",
20
- "@babel/runtime": "7.20.0"
19
+ "@types/node": "22.10.5"
21
20
  },
22
21
  "peerDependencies": {
23
22
  "@teambit/base-react.navigation.link": "2.0.31"