Skip to content

Commit

Permalink
feat: support UserAccessPolicy metadata for v57+ (#793)
Browse files Browse the repository at this point in the history
* feat: support UserAccessPolicy metadata

* build: upgrade dependencies
  • Loading branch information
scolladon authored Feb 24, 2024
1 parent cfcc6d2 commit 4c46c9e
Show file tree
Hide file tree
Showing 6 changed files with 78 additions and 41 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"dependencies": {
"@salesforce/command": "^5.3.9",
"async": "^3.2.5",
"fast-xml-parser": "^4.3.4",
"fast-xml-parser": "^4.3.5",
"fs-extra": "^11.2.0",
"ignore": "^5.3.1",
"isomorphic-git": "^1.25.6",
Expand Down Expand Up @@ -183,13 +183,13 @@
"@types/async": "^3.2.24",
"@types/jest": "^29.5.12",
"@types/mocha": "^10.0.6",
"@types/node": "^20.11.19",
"@types/node": "^20.11.20",
"@typescript-eslint/eslint-plugin": "^7.0.2",
"@typescript-eslint/parser": "^7.0.2",
"benchmark": "^2.1.4",
"chai": "^4.3.10",
"depcheck": "^1.4.7",
"eslint": "^8.56.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-prettier": "^5.1.3",
Expand Down
7 changes: 7 additions & 0 deletions src/metadata/v57.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
[
{
"directoryName": "useraccesspolicies",
"inFolder": false,
"metaFile": false,
"suffix": "useraccesspolicy",
"xmlName": "UserAccessPolicy"
},
{
"directoryName": "webstoretemplate",
"inFolder": false,
Expand Down
7 changes: 7 additions & 0 deletions src/metadata/v58.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
[
{
"directoryName": "useraccesspolicies",
"inFolder": false,
"metaFile": false,
"suffix": "useraccesspolicy",
"xmlName": "UserAccessPolicy"
},
{
"directoryName": "webstoretemplate",
"inFolder": false,
Expand Down
7 changes: 7 additions & 0 deletions src/metadata/v59.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
[
{
"directoryName": "useraccesspolicies",
"inFolder": false,
"metaFile": false,
"suffix": "useraccesspolicy",
"xmlName": "UserAccessPolicy"
},
{
"directoryName": "webstoretemplate",
"inFolder": false,
Expand Down
7 changes: 7 additions & 0 deletions src/metadata/v60.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
[
{
"directoryName": "useraccesspolicies",
"inFolder": false,
"metaFile": false,
"suffix": "useraccesspolicy",
"xmlName": "UserAccessPolicy"
},
{
"directoryName": "webstoretemplate",
"inFolder": false,
Expand Down
85 changes: 47 additions & 38 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -806,14 +806,14 @@ __metadata:
languageName: node
linkType: hard

"@eslint/js@npm:8.56.0":
version: 8.56.0
resolution: "@eslint/js@npm:8.56.0"
checksum: 5804130574ef810207bdf321c265437814e7a26f4e6fac9b496de3206afd52f533e09ec002a3be06cd9adcc9da63e727f1883938e663c4e4751c007d5b58e539
"@eslint/js@npm:8.57.0":
version: 8.57.0
resolution: "@eslint/js@npm:8.57.0"
checksum: 315dc65b0e9893e2bff139bddace7ea601ad77ed47b4550e73da8c9c2d2766c7a575c3cddf17ef85b8fd6a36ff34f91729d0dcca56e73ca887c10df91a41b0bb
languageName: node
linkType: hard

"@humanwhocodes/config-array@npm:^0.11.13":
"@humanwhocodes/config-array@npm:^0.11.14":
version: 0.11.14
resolution: "@humanwhocodes/config-array@npm:0.11.14"
dependencies:
Expand Down Expand Up @@ -1103,13 +1103,13 @@ __metadata:
linkType: hard

"@jridgewell/gen-mapping@npm:^0.3.0, @jridgewell/gen-mapping@npm:^0.3.2":
version: 0.3.3
resolution: "@jridgewell/gen-mapping@npm:0.3.3"
version: 0.3.4
resolution: "@jridgewell/gen-mapping@npm:0.3.4"
dependencies:
"@jridgewell/set-array": ^1.0.1
"@jridgewell/sourcemap-codec": ^1.4.10
"@jridgewell/trace-mapping": ^0.3.9
checksum: 4a74944bd31f22354fc01c3da32e83c19e519e3bbadafa114f6da4522ea77dd0c2842607e923a591d60a76699d819a2fbb6f3552e277efdb9b58b081390b60ab
checksum: 944080268f57919e354c57ea0c787c0b23d6b5be77440a468f8ccad24919e3fcefbd3833ce3b9836d89761503af4cbb750483acdb7fdc15213dde1c26430251d
languageName: node
linkType: hard

Expand Down Expand Up @@ -1145,12 +1145,12 @@ __metadata:
linkType: hard

"@jridgewell/trace-mapping@npm:^0.3.12, @jridgewell/trace-mapping@npm:^0.3.17, @jridgewell/trace-mapping@npm:^0.3.18, @jridgewell/trace-mapping@npm:^0.3.9":
version: 0.3.22
resolution: "@jridgewell/trace-mapping@npm:0.3.22"
version: 0.3.23
resolution: "@jridgewell/trace-mapping@npm:0.3.23"
dependencies:
"@jridgewell/resolve-uri": ^3.1.0
"@jridgewell/sourcemap-codec": ^1.4.14
checksum: ac7dd2cfe0b479aa1b81776d40d789243131cc792dc8b6b6a028c70fcd6171958ae1a71bf67b618ffe3c0c3feead9870c095ee46a5e30319410d92976b28f498
checksum: a4ebaf196a500c9a65a667ba873f7836ba76b0581ed1c6bd33450b8093182f1c4aeb9c66a4467419cffd15694faecfa027ffbeca3aea5de3d322aa7d6bc41802
languageName: node
linkType: hard

Expand Down Expand Up @@ -2099,9 +2099,9 @@ __metadata:
linkType: hard

"@types/chai@npm:*":
version: 4.3.11
resolution: "@types/chai@npm:4.3.11"
checksum: d0c05fe5d02b2e6bbca2bd4866a2ab20a59cf729bc04af0060e7a3277eaf2fb65651b90d4c74b0ebf1d152b4b1d49fa8e44143acef276a2bbaa7785fbe5642d3
version: 4.3.12
resolution: "@types/chai@npm:4.3.12"
checksum: 64e9354181046bfc78f527bba006f2e58b49efb702a501bdd1faec51e21e4d2248e7fb49843fd3f2189e3bf3680480b94e8a1ab6d097e67183bdeacd6d024ed6
languageName: node
linkType: hard

Expand Down Expand Up @@ -2245,12 +2245,12 @@ __metadata:
languageName: node
linkType: hard

"@types/node@npm:*, @types/node@npm:^20.11.19":
version: 20.11.19
resolution: "@types/node@npm:20.11.19"
"@types/node@npm:*, @types/node@npm:^20.11.20":
version: 20.11.20
resolution: "@types/node@npm:20.11.20"
dependencies:
undici-types: ~5.26.4
checksum: 259d16643ba611ade617a8212e594a3ac014727457507389bbf7213971346ab052d870f1e6e2df0afd0876ecd7874f578bccb130be01e069263cfc7136ddc0c1
checksum: 79d339622fed1c0e64297c8b9f558815a91edb9fea3acb69c1201b919d450e12915cf98b1a96b2d2c121bf86f30b62b6de3708f8894c5319f8dfb3a991e3ccdd
languageName: node
linkType: hard

Expand Down Expand Up @@ -4456,9 +4456,9 @@ __metadata:
linkType: hard

"electron-to-chromium@npm:^1.4.668":
version: 1.4.679
resolution: "electron-to-chromium@npm:1.4.679"
checksum: 1884239565cec13308298d08a746a2721ed73f9c0128b7660ef5251404f00b0e1c0fb44afbd73be7d3e9c6bb15c24e7f6374e7148416c127140be9ec86cd9f6f
version: 1.4.681
resolution: "electron-to-chromium@npm:1.4.681"
checksum: 57697690c4dbb0290fd6b89dcd227ee6c3e8b40be0efc73cbc586b64029cf044125b5feab5e171dd45a8889013faba6bd7bb762312cc8614c9c49e1513edb52d
languageName: node
linkType: hard

Expand Down Expand Up @@ -4781,15 +4781,15 @@ __metadata:
languageName: node
linkType: hard

"eslint@npm:^8.56.0":
version: 8.56.0
resolution: "eslint@npm:8.56.0"
"eslint@npm:^8.57.0":
version: 8.57.0
resolution: "eslint@npm:8.57.0"
dependencies:
"@eslint-community/eslint-utils": ^4.2.0
"@eslint-community/regexpp": ^4.6.1
"@eslint/eslintrc": ^2.1.4
"@eslint/js": 8.56.0
"@humanwhocodes/config-array": ^0.11.13
"@eslint/js": 8.57.0
"@humanwhocodes/config-array": ^0.11.14
"@humanwhocodes/module-importer": ^1.0.1
"@nodelib/fs.walk": ^1.2.8
"@ungap/structured-clone": ^1.2.0
Expand Down Expand Up @@ -4825,7 +4825,7 @@ __metadata:
text-table: ^0.2.0
bin:
eslint: bin/eslint.js
checksum: 883436d1e809b4a25d9eb03d42f584b84c408dbac28b0019f6ea07b5177940bf3cca86208f749a6a1e0039b63e085ee47aca1236c30721e91f0deef5cc5a5136
checksum: 3a48d7ff85ab420a8447e9810d8087aea5b1df9ef68c9151732b478de698389ee656fd895635b5f2871c89ee5a2652b3f343d11e9db6f8486880374ebc74a2d9
languageName: node
linkType: hard

Expand Down Expand Up @@ -5100,14 +5100,14 @@ __metadata:
languageName: node
linkType: hard

"fast-xml-parser@npm:^4.3.4":
version: 4.3.4
resolution: "fast-xml-parser@npm:4.3.4"
"fast-xml-parser@npm:^4.3.5":
version: 4.3.5
resolution: "fast-xml-parser@npm:4.3.5"
dependencies:
strnum: ^1.0.5
bin:
fxparser: src/cli/cli.js
checksum: ab88177343f6d3d971d53462db3011003a83eb8a8db704840127ddaaf27105ea90cdf7903a0f9b2e1279ccc4adfca8dfc0277b33bae6262406f10c16bd60ccf9
checksum: 852064985ca56aa2078be02c92509a675408b57bb9862f696689301bf7df786f9ce9116b812b032c627979a4de5755f9cbfeecc4b90ed9d56be76deccd97c0c6
languageName: node
linkType: hard

Expand Down Expand Up @@ -8498,7 +8498,16 @@ __metadata:
languageName: node
linkType: hard

"npm-run-path@npm:^5.1.0, npm-run-path@npm:~5.2.0":
"npm-run-path@npm:^5.1.0":
version: 5.3.0
resolution: "npm-run-path@npm:5.3.0"
dependencies:
path-key: ^4.0.0
checksum: ae8e7a89da9594fb9c308f6555c73f618152340dcaae423e5fb3620026fefbec463618a8b761920382d666fa7a2d8d240b6fe320e8a6cdd54dc3687e2b659d25
languageName: node
linkType: hard

"npm-run-path@npm:~5.2.0":
version: 5.2.0
resolution: "npm-run-path@npm:5.2.0"
dependencies:
Expand Down Expand Up @@ -9888,18 +9897,18 @@ __metadata:
"@types/async": ^3.2.24
"@types/jest": ^29.5.12
"@types/mocha": ^10.0.6
"@types/node": ^20.11.19
"@types/node": ^20.11.20
"@typescript-eslint/eslint-plugin": ^7.0.2
"@typescript-eslint/parser": ^7.0.2
async: ^3.2.5
benchmark: ^2.1.4
chai: ^4.3.10
depcheck: ^1.4.7
eslint: ^8.56.0
eslint: ^8.57.0
eslint-config-prettier: ^9.1.0
eslint-plugin-import: ^2.29.1
eslint-plugin-prettier: ^5.1.3
fast-xml-parser: ^4.3.4
fast-xml-parser: ^4.3.5
fs-extra: ^11.2.0
husky: ^9.0.11
ignore: ^5.3.1
Expand Down Expand Up @@ -10150,12 +10159,12 @@ __metadata:
linkType: hard

"socks@npm:^2.7.1":
version: 2.8.0
resolution: "socks@npm:2.8.0"
version: 2.8.1
resolution: "socks@npm:2.8.1"
dependencies:
ip-address: ^9.0.5
smart-buffer: ^4.2.0
checksum: b245081650c5fc112f0e10d2ee3976f5665d2191b9f86b181edd3c875d53d84a94bc173752d5be2651a450e3ef799fe7ec405dba3165890c08d9ac0b4ec1a487
checksum: 29586d42e9c36c5016632b2bcb6595e3adfbcb694b3a652c51bc8741b079c5ec37bdd5675a1a89a1620078c8137208294991fabb50786f92d47759a725b2b62e
languageName: node
linkType: hard

Expand Down

0 comments on commit 4c46c9e

Please sign in to comment.