@soleil-se/app-util 5.2.0 → 5.2.2

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
@@ -5,6 +5,19 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [5.2.2] - 2023-01-31
9
+
10
+ ### Changed
11
+
12
+ - Fix `parseParams` export.
13
+
14
+ ## [5.2.1] - 2023-01-31
15
+
16
+ ### Changed
17
+
18
+ - Fix homepage url.
19
+ - More lenient with peerDependency `@sitevision/api`.
20
+
8
21
  ## [5.2.0] - 2023-01-31
9
22
 
10
23
  ### Changed
package/common/index.js CHANGED
@@ -84,7 +84,7 @@ export function stringifyParams(params = {}, { addQueryPrefix = false } = {}) {
84
84
  * @param {String} url URL or URI to be parsed, must start with or contain "?".
85
85
  * @returns Object with parsed parameters.
86
86
  */
87
- export default function parseParams(url = '') {
87
+ export function parseParams(url = '') {
88
88
  const hasQuestion = url.indexOf('?') > -1;
89
89
  if (!hasQuestion) return {};
90
90
 
package/package.json CHANGED
@@ -1,19 +1,19 @@
1
1
  {
2
2
  "name": "@soleil-se/app-util",
3
- "version": "5.2.0",
3
+ "version": "5.2.2",
4
4
  "description": "Utility and rendering functions for WebApps.",
5
5
  "main": "./common/index.js",
6
6
  "author": "Soleil AB",
7
7
  "license": "UNLICENSED",
8
8
  "private": false,
9
- "homepage": "https://docs.soleilit.se/03.packages/@soleil-api&app-util",
9
+ "homepage": "https://docs.soleil.se/03.packages/01.@soleil-api&app-util/",
10
10
  "devDependencies": {
11
11
  "@sitevision/api": "^1.0.10",
12
12
  "svelte": "^3.44.1"
13
13
  },
14
14
  "peerDependencies": {
15
- "@sitevision/api": "^1.0.10"
15
+ "@sitevision/api": "*"
16
16
  },
17
- "gitHead": "903884ec52e502707ab62483d5f01b739a8f33c9",
17
+ "gitHead": "53b207511538040495c560637273434daff093fa",
18
18
  "dependencies": {}
19
19
  }