Skip to content

Commit 7ce749a

Browse files
committed
chore: bump packumeta
1 parent 101a3f5 commit 7ce749a

3 files changed

Lines changed: 12 additions & 7 deletions

File tree

build/main.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24178,8 +24178,13 @@ function getTrustStatus(meta) {
2417824178
if (!isObject(meta)) {
2417924179
return status;
2418024180
}
24181-
if (hasOwn(meta, "_npmUser") && isObject(meta._npmUser) && hasOwn(meta._npmUser, "trustedPublisher") && meta._npmUser.trustedPublisher) {
24182-
status.trustedPublisher = true;
24181+
if (hasOwn(meta, "_npmUser") && isObject(meta._npmUser)) {
24182+
if (hasOwn(meta._npmUser, "trustedPublisher") && meta._npmUser.trustedPublisher) {
24183+
status.trustedPublisher = true;
24184+
}
24185+
if (hasOwn(meta._npmUser, "approver") && meta._npmUser.approver) {
24186+
status.stagedPublish = true;
24187+
}
2418324188
}
2418424189
if (hasOwn(meta, "dist") && isObject(meta.dist) && hasOwn(meta.dist, "attestations") && isObject(meta.dist.attestations) && hasOwn(meta.dist.attestations, "provenance") && meta.dist.attestations.provenance) {
2418524190
status.provenance = true;

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"eslint": "^10.4.0",
4747
"lockparse": "^0.5.2",
4848
"module-replacements": "^2.11.0",
49-
"packumeta": "^0.3.0",
49+
"packumeta": "^0.4.1",
5050
"pkg-types": "^2.3.1",
5151
"prettier": "^3.8.3",
5252
"typescript": "^6.0.3",

0 commit comments

Comments
 (0)