Skip to content

Commit

Permalink
Fix share link (#246)
Browse files Browse the repository at this point in the history
* fix: share link data is resolved to be imported correctly, closes #242

* chore: update deps
  • Loading branch information
GarthDB committed May 15, 2024
1 parent 05c906c commit 98ac3d5
Show file tree
Hide file tree
Showing 5 changed files with 5,582 additions and 4,488 deletions.
2 changes: 1 addition & 1 deletion .moon/toolchain.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ node:

# The version of the package manager (above) to use.
pnpm:
version: '8.15.4'
version: '9.1.1'

# Add `node.version` as a constraint in the root `package.json` `engines`.
addEnginesConstraint: true
Expand Down
3 changes: 1 addition & 2 deletions docs/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,10 @@
],
"license": "Apache-2.0",
"devDependencies": {
"@parcel/transformer-webmanifest": "^2.9.3",
"buffer": "^5.5.0||^6.0.0",
"gh-pages": "^3.2.3",
"highlight.js": "^11.2.0",
"parcel": "^2.11.0",
"parcel": "^2.12.0",
"path-browserify": "^1.0.0",
"posthtml": "^0.16.5",
"posthtml-doctype": "^1.1.1",
Expand Down
3 changes: 1 addition & 2 deletions docs/ui/src/js/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -780,14 +780,13 @@ function colorPickerInput(e) {

function sanitizeQueryString(string) {
const map = {
'&': '&',
'<': '&lt;',
'>': '&gt;',
'"': '&quot;',
"'": '&#x27;',
'/': '&#x2F;'
};
const reg = /[&<>"'/]/gi;
const reg = /[<>"'/]/gi;
return string.replace(reg, (match) => map[match]);
}

Expand Down
26 changes: 11 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,30 +12,26 @@
"type": "git",
"url": "git+https://github.com/adobe/leonardo.git"
},
"contributors": [
"Larry Davis <lazdnet@gmail.com>",
"Frank Karstens <karstens@adobe.com>",
"Garth Braithwaite <garthdb@gmail.com> (http://garthdb.com/)"
],
"contributors": ["Larry Davis <lazdnet@gmail.com>", "Frank Karstens <karstens@adobe.com>", "Garth Braithwaite <garthdb@gmail.com> (http://garthdb.com/)"],
"license": "Apache-2.0",
"devDependencies": {
"@changesets/cli": "^2.27.1",
"@commitlint/cli": "^19.1.0",
"@commitlint/config-conventional": "^19.1.0",
"@moonrepo/cli": "^1.22.7",
"@parcel/packager-raw-url": "2.11.0",
"@parcel/transformer-sass": "2.11.0",
"@parcel/transformer-webmanifest": "2.11.0",
"ava": "^6.1.2",
"buffer": "^5.5.0||^6.0.0",
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2",
"@moonrepo/cli": "^1.24.5",
"@parcel/packager-raw-url": "2.12.0",
"@parcel/transformer-sass": "2.12.0",
"@parcel/transformer-webmanifest": "2.12.0",
"ava": "^6.1.3",
"buffer": "^6.0.3",
"husky": "^9.0.11",
"lint-staged": "^15.2.2",
"path-browserify": "^1.0.0",
"path-browserify": "^1.0.1",
"prettier": "^3.2.5",
"process": "^0.11.10",
"vm-browserify": "^1.1.2"
},
"packageManager": "pnpm@8.15.4",
"packageManager": "pnpm@9.1.1",
"engines": {
"node": "~20.11"
}
Expand Down

0 comments on commit 98ac3d5

Please sign in to comment.