Skip to content

Conversation

@manuelleduc
Copy link
Contributor

@manuelleduc manuelleduc commented Nov 19, 2025

Jira URL

https://jira.xwiki.org/browse/XWIKI-23610

Changes

Description

  • Introduce a script that detects if the versions are SNAPSHOT
  • if SNAPSHOT, first patch by replacing SNAPSHOT with the current timestamp, then publish on a snapshot registry
  • if not, push the packages to https://registry.npmjs.org/

Clarifications

Screenshots & Video

N/A

Executed Tests

Expected merging strategy

  • Prefers squash: Yes
  • Backport on branches:
    • N/A

{
"name": "@xwiki/platform-api",
"version": "17.10.0",
"version": "18.0.0-SNAPSHOT",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Later, the versions will change with xwiki/xwiki-dev-tools#16

@manuelleduc
Copy link
Contributor Author

https://ci.xwiki.org/job/XWiki/job/xwiki-platform/job/feature-deploy-XWIKI-23610/ running to validate the code before merging.

@socket-security
Copy link

Warning

Review the following alerts detected in dependencies.

According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.

Action Severity Alert  (click "▶" to expand/collapse)
Warn High
Obfuscated code: npm safer-buffer is 94.0% likely obfuscated

Confidence: 0.94

Location: Package overview

From: pnpm-lock.yamlnpm/[email protected]

ℹ Read more on: This package | This alert | What is obfuscated code?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at [email protected].

Suggestion: Packages should not obfuscate their code. Consider not using packages with obfuscated code.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/[email protected]. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

View full report

@manuelleduc manuelleduc merged commit 2d4e41f into xwiki:master Dec 1, 2025
1 check passed
@manuelleduc manuelleduc deleted the XWIKI-23610 branch December 1, 2025 09:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant