Skip to content

Commit 98ac3d5

Browse files
authoredMay 15, 2024··
Fix share link (#246)
* fix: share link data is resolved to be imported correctly, closes #242 * chore: update deps
1 parent 05c906c commit 98ac3d5

File tree

5 files changed

+5582
-4488
lines changed

5 files changed

+5582
-4488
lines changed
 

‎.moon/toolchain.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ node:
1818

1919
# The version of the package manager (above) to use.
2020
pnpm:
21-
version: '8.15.4'
21+
version: '9.1.1'
2222

2323
# Add `node.version` as a constraint in the root `package.json` `engines`.
2424
addEnginesConstraint: true

‎docs/ui/package.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -94,11 +94,10 @@
9494
],
9595
"license": "Apache-2.0",
9696
"devDependencies": {
97-
"@parcel/transformer-webmanifest": "^2.9.3",
9897
"buffer": "^5.5.0||^6.0.0",
9998
"gh-pages": "^3.2.3",
10099
"highlight.js": "^11.2.0",
101-
"parcel": "^2.11.0",
100+
"parcel": "^2.12.0",
102101
"path-browserify": "^1.0.0",
103102
"posthtml": "^0.16.5",
104103
"posthtml-doctype": "^1.1.1",

‎docs/ui/src/js/utils.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -780,14 +780,13 @@ function colorPickerInput(e) {
780780

781781
function sanitizeQueryString(string) {
782782
const map = {
783-
'&': '&',
784783
'<': '&lt;',
785784
'>': '&gt;',
786785
'"': '&quot;',
787786
"'": '&#x27;',
788787
'/': '&#x2F;'
789788
};
790-
const reg = /[&<>"'/]/gi;
789+
const reg = /[<>"'/]/gi;
791790
return string.replace(reg, (match) => map[match]);
792791
}
793792

‎package.json

+11-15
Original file line numberDiff line numberDiff line change
@@ -12,30 +12,26 @@
1212
"type": "git",
1313
"url": "git+https://github.com/adobe/leonardo.git"
1414
},
15-
"contributors": [
16-
"Larry Davis <lazdnet@gmail.com>",
17-
"Frank Karstens <karstens@adobe.com>",
18-
"Garth Braithwaite <garthdb@gmail.com> (http://garthdb.com/)"
19-
],
15+
"contributors": ["Larry Davis <lazdnet@gmail.com>", "Frank Karstens <karstens@adobe.com>", "Garth Braithwaite <garthdb@gmail.com> (http://garthdb.com/)"],
2016
"license": "Apache-2.0",
2117
"devDependencies": {
2218
"@changesets/cli": "^2.27.1",
23-
"@commitlint/cli": "^19.1.0",
24-
"@commitlint/config-conventional": "^19.1.0",
25-
"@moonrepo/cli": "^1.22.7",
26-
"@parcel/packager-raw-url": "2.11.0",
27-
"@parcel/transformer-sass": "2.11.0",
28-
"@parcel/transformer-webmanifest": "2.11.0",
29-
"ava": "^6.1.2",
30-
"buffer": "^5.5.0||^6.0.0",
19+
"@commitlint/cli": "^19.3.0",
20+
"@commitlint/config-conventional": "^19.2.2",
21+
"@moonrepo/cli": "^1.24.5",
22+
"@parcel/packager-raw-url": "2.12.0",
23+
"@parcel/transformer-sass": "2.12.0",
24+
"@parcel/transformer-webmanifest": "2.12.0",
25+
"ava": "^6.1.3",
26+
"buffer": "^6.0.3",
3127
"husky": "^9.0.11",
3228
"lint-staged": "^15.2.2",
33-
"path-browserify": "^1.0.0",
29+
"path-browserify": "^1.0.1",
3430
"prettier": "^3.2.5",
3531
"process": "^0.11.10",
3632
"vm-browserify": "^1.1.2"
3733
},
38-
"packageManager": "pnpm@8.15.4",
34+
"packageManager": "pnpm@9.1.1",
3935
"engines": {
4036
"node": "~20.11"
4137
}
There was a problem loading the remainder of the diff.

0 commit comments

Comments
 (0)
Please sign in to comment.