@salesforce/plugin-trust 3.1.2 → 3.2.1-qa.0

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.
@@ -5,7 +5,7 @@
5
5
  "args": {},
6
6
  "description": "Verifies the digital signature on an npm package matches the signature and key stored at the expected URLs.",
7
7
  "examples": [
8
- "<%= config.bin %> <%= command.id %> --npm @scope/npmName --registry http://my.repo.org:4874",
8
+ "<%= config.bin %> <%= command.id %> --npm @scope/npmName --registry https://npm.pkg.github.com",
9
9
  "<%= config.bin %> <%= command.id %> --npm @scope/npmName"
10
10
  ],
11
11
  "flags": {
@@ -73,5 +73,5 @@
73
73
  ]
74
74
  }
75
75
  },
76
- "version": "3.1.2"
76
+ "version": "3.2.1-qa.0"
77
77
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@salesforce/plugin-trust",
3
3
  "description": "validate a digital signature for a npm package",
4
- "version": "3.1.2",
4
+ "version": "3.2.1-qa.0",
5
5
  "author": "Salesforce",
6
6
  "bin": {
7
7
  "sf-trust": "bin/dev"
@@ -9,19 +9,18 @@
9
9
  "bugs": "https://github.com/forcedotcom/cli/issues",
10
10
  "dependencies": {
11
11
  "@oclif/core": "^3.13.1",
12
- "@salesforce/core": "^6.1.3",
13
- "@salesforce/sf-plugins-core": "^5.0.4",
12
+ "@salesforce/core": "^6.4.0",
13
+ "@salesforce/sf-plugins-core": "^5.0.8",
14
14
  "got": "^13.0.0",
15
- "npm": "10.2.3",
16
15
  "npm-run-path": "^4.0.1",
17
16
  "proxy-agent": "^6.3.1",
18
17
  "shelljs": "^0.8.4"
19
18
  },
20
19
  "devDependencies": {
21
- "@oclif/plugin-command-snapshot": "^5.0.3",
22
- "@salesforce/cli-plugins-testkit": "^5.0.6",
23
- "@salesforce/dev-scripts": "^8.0.0",
24
- "@salesforce/plugin-command-reference": "^3.0.47",
20
+ "@oclif/plugin-command-snapshot": "^5.0.4",
21
+ "@salesforce/cli-plugins-testkit": "^5.1.1",
22
+ "@salesforce/dev-scripts": "^8.1.2",
23
+ "@salesforce/plugin-command-reference": "^3.0.54",
25
24
  "@salesforce/plugin-telemetry": "^2.3.8",
26
25
  "@salesforce/ts-sinon": "^1.4.18",
27
26
  "@types/shelljs": "^0.8.15",
@@ -30,8 +29,12 @@
30
29
  "oclif": "^4.0.4",
31
30
  "shx": "0.3.4",
32
31
  "sinon-chai": "^3.7.0",
33
- "ts-node": "^10.9.1",
34
- "typescript": "^5.2.2"
32
+ "ts-node": "^10.9.2",
33
+ "typescript": "^5.2.2",
34
+ "npm": "^10.2.3"
35
+ },
36
+ "peerDependencies": {
37
+ "npm": "^10.2.3"
35
38
  },
36
39
  "config": {},
37
40
  "engines": {
@@ -90,6 +93,7 @@
90
93
  "compile": "wireit",
91
94
  "docs": "sf-docs",
92
95
  "format": "wireit",
96
+ "link-check": "wireit",
93
97
  "lint": "wireit",
94
98
  "postpack": "shx rm -f oclif.manifest.json oclif.lock",
95
99
  "prepack": "sf-prepack",
@@ -159,7 +163,8 @@
159
163
  "test:command-reference",
160
164
  "test:deprecation-policy",
161
165
  "lint",
162
- "test:json-schema"
166
+ "test:json-schema",
167
+ "link-check"
163
168
  ]
164
169
  },
165
170
  "test:only": {
@@ -178,7 +183,7 @@
178
183
  "output": []
179
184
  },
180
185
  "test:command-reference": {
181
- "command": "ts-node \"./bin/dev.js\" commandreference:generate --erroronwarnings",
186
+ "command": "node --loader ts-node/esm --no-warnings=ExperimentalWarning \"./bin/dev.js\" commandreference:generate --erroronwarnings",
182
187
  "files": [
183
188
  "src/**/*.ts",
184
189
  "messages/**",
@@ -189,7 +194,7 @@
189
194
  ]
190
195
  },
191
196
  "test:deprecation-policy": {
192
- "command": "ts-node \"./bin/dev.js\" snapshot:compare",
197
+ "command": "node --loader ts-node/esm --no-warnings=ExperimentalWarning \"./bin/dev.js\" snapshot:compare",
193
198
  "files": [
194
199
  "src/**/*.ts"
195
200
  ],
@@ -199,18 +204,27 @@
199
204
  ]
200
205
  },
201
206
  "test:json-schema": {
202
- "command": "ts-node \"./bin/dev.js\" schema:compare",
207
+ "command": "node --loader ts-node/esm --no-warnings=ExperimentalWarning \"./bin/dev.js\" schema:compare",
203
208
  "files": [
204
209
  "src/**/*.ts",
205
210
  "schemas"
206
211
  ],
207
212
  "output": []
213
+ },
214
+ "link-check": {
215
+ "command": "node -e \"process.exit(process.env.CI ? 0 : 1)\" || linkinator \"**/*.md\" --skip \"CHANGELOG.md|node_modules|test/|confluence.internal.salesforce.com|%s\" --markdown --retry --directory-listing --verbosity error",
216
+ "files": [
217
+ "./*.md",
218
+ "./!(CHANGELOG).md",
219
+ "messages/**/*.md"
220
+ ],
221
+ "output": []
208
222
  }
209
223
  },
210
224
  "exports": "./lib/index.js",
211
225
  "type": "module",
212
226
  "sfdx": {
213
- "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-trust/3.1.2.crt",
214
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-trust/3.1.2.sig"
227
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-trust/3.2.1-qa.0.crt",
228
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-trust/3.2.1-qa.0.sig"
215
229
  }
216
230
  }