passbolt-browser-extension 5.17.0 → 5.18.1
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.
- package/.pre-commit-config.yaml +6 -2
- package/CHANGELOG.md +106 -1
- package/README.md +2 -2
- package/RELEASE_NOTES.md +3 -94
- package/build-safari-extension/Passbolt-Safari-Extension/Passbolt - password manager/ViewController.swift +5 -5
- package/build-safari-extension/Passbolt-Safari-Extension/Passbolt - password manager.xcodeproj/project.pbxproj +10 -10
- package/eslint.config.mjs +3 -35
- package/jest.config.json +1 -2
- package/package.json +45 -54
- package/src/all/_locales/locales.test.js +2 -0
- package/src/all/background_page/controller/InformMenuController/InformMenuController.test.js +45 -1
- package/src/all/background_page/controller/accountRecovery/accountRecoverySaveUserSettingController.js +1 -2
- package/src/all/background_page/controller/accountRecovery/accountRecoverySaveUserSettingController.test.js +10 -8
- package/src/all/background_page/controller/accountRecovery/accountRecoveryValidatePublicKeyController.test.js +1 -1
- package/src/all/background_page/controller/auth/authLocalLogoutController.js +3 -14
- package/src/all/background_page/controller/auth/authLocalLogoutController.test.js +3 -3
- package/src/all/background_page/controller/auth/authLoginController.js +2 -2
- package/src/all/background_page/controller/auth/authOfflineLogoutController.js +4 -12
- package/src/all/background_page/controller/auth/authOfflineLogoutController.test.js +3 -3
- package/src/all/background_page/controller/auth/{findAndUpdateActiveSessionLocalStorageController.js → findAndUpdateActiveSessionSessionStorageController.js} +6 -6
- package/src/all/background_page/controller/auth/{findAndUpdateActiveSessionLocalStorageController.test.js → findAndUpdateActiveSessionSessionStorageController.test.js} +30 -30
- package/src/all/background_page/controller/auth/getOrFindActiveSessionController.test.js +22 -20
- package/src/all/background_page/controller/auth/isMfaRequiredController.js +5 -4
- package/src/all/background_page/controller/auth/isMfaRequiredController.test.js +3 -3
- package/src/all/background_page/controller/crypto/getUserKeyInfoController.test.js +1 -1
- package/src/all/background_page/controller/crypto/getUserPrivateKeyController.test.js +1 -1
- package/src/all/background_page/controller/extension/onExtensionInstalledController.js +61 -30
- package/src/all/background_page/controller/extension/onExtensionInstalledController.test.js +131 -19
- package/src/all/background_page/controller/informCallToActionController/informCallToActionController.test.js +46 -0
- package/src/all/background_page/controller/resource/setResourcesExpiryDateController.test.js +1 -1
- package/src/all/background_page/controller/sessionTimestamps/getSessionTimestampsController.js +54 -0
- package/src/all/background_page/controller/sessionTimestamps/getSessionTimestampsController.test.js +91 -0
- package/src/all/background_page/controller/share/shareResourcesController.test.js +2 -2
- package/src/all/background_page/controller/sso/getQualifiedSsoLoginErrorController.test.js +1 -1
- package/src/all/background_page/controller/sso/hasSsoLoginErrorController.test.js +1 -1
- package/src/all/background_page/controller/subscription/createSubscriptionKeyController.js +3 -3
- package/src/all/background_page/controller/subscription/createSubscriptionKeyController.test.js +4 -4
- package/src/all/background_page/controller/subscription/deleteSubscriptionKeyController.js +3 -3
- package/src/all/background_page/controller/subscription/deleteSubscriptionKeyController.test.js +4 -4
- package/src/all/background_page/controller/theme/findThemesController.js +52 -0
- package/src/all/background_page/controller/theme/findThemesController.test.js +68 -0
- package/src/all/background_page/controller/theme/updateThemeController.js +55 -0
- package/src/all/background_page/controller/theme/updateThemeController.test.js +76 -0
- package/src/all/background_page/controller/user/getOrFindLoggedInUserController.test.js +2 -2
- package/src/all/background_page/event/appEvents.js +1 -26
- package/src/all/background_page/event/authEvents.js +2 -2
- package/src/all/background_page/event/configEvents.js +0 -12
- package/src/all/background_page/event/informMenuEvents.js +2 -2
- package/src/all/background_page/event/quickAccessEvents.js +12 -0
- package/src/all/background_page/event/themeEvents.js +9 -21
- package/src/all/background_page/model/auth/authModel.js +3 -3
- package/src/all/background_page/model/auth/authModel.test.js +2 -2
- package/src/all/background_page/model/entity/export/exportResourcesFileEntity.js +2 -0
- package/src/all/background_page/model/entity/export/exportResourcesFileEntity.test.js +1 -0
- package/src/all/background_page/model/entity/import/importResourcesFileEntity.test.data.js +5 -0
- package/src/all/background_page/model/entity/sso/ssoLoginUrlEntity.js +1 -1
- package/src/all/background_page/model/entity/theme/themeEntity.test.data.js +12 -0
- package/src/all/background_page/model/entity/theme/themesCollection.test.data.js +10 -1
- package/src/all/background_page/model/export/resources/csvRowComposer/abstractRowComposer.js +8 -0
- package/src/all/background_page/model/export/resources/csvRowComposer/csvNetwrixRowComposer.js +67 -0
- package/src/all/background_page/model/export/resources/csvRowComposer/csvNetwrixRowComposer.test.js +37 -0
- package/src/all/background_page/model/export/resources/resourcesCsvExporter.js +5 -2
- package/src/all/background_page/model/export/resources/resourcesCsvExporter.test.js +3 -1
- package/src/all/background_page/model/import/resources/csvRowParser/csvNetwrixRowParser.js +98 -0
- package/src/all/background_page/model/import/resources/csvRowParser/csvNetwrixRowParser.test.js +145 -0
- package/src/all/background_page/model/import/resources/resourcesCsvImportParser.js +2 -0
- package/src/all/background_page/model/import/resources/resourcesCsvImportParser.test.js +19 -1
- package/src/all/background_page/model/keyring.test.js +1 -1
- package/src/all/background_page/model/multiFactorAuthentication/multiFactorAuthenticationModel.test.js +1 -1
- package/src/all/background_page/model/user/userModel.test.js +1 -1
- package/src/all/background_page/model/user.js +2 -2
- package/src/all/background_page/model/userSettings/userSettings.js +1 -1
- package/src/all/background_page/pagemod/appBootstrapPagemod.js +6 -5
- package/src/all/background_page/pagemod/appBootstrapPagemod.test.js +7 -12
- package/src/all/background_page/pagemod/authBootstrapPagemod.js +2 -2
- package/src/all/background_page/pagemod/authBootstrapPagemod.test.js +6 -7
- package/src/all/background_page/pagemod/pagemodManager.test.js +14 -20
- package/src/all/background_page/pagemod/webIntegrationPagemod.js +2 -2
- package/src/all/background_page/pagemod/webIntegrationPagemod.test.js +9 -9
- package/src/all/background_page/service/accountRecovery/decryptPrivateKeyPasswordDataService.js +1 -1
- package/src/all/background_page/service/accountRecovery/decryptResponseDataService.js +1 -1
- package/src/all/background_page/service/accountRecovery/parseAccountRecoveryUrlService.js +1 -1
- package/src/all/background_page/service/accountRecovery/validateOrganizationPublicKeyService.test.js +1 -1
- package/src/all/background_page/service/activeSession/{findAndUpdateActiveSessionLocalStorageService.js → findAndUpdateActiveSessionSessionStorageService.js} +27 -60
- package/src/all/background_page/service/activeSession/findAndUpdateActiveSessionSessionStorageService.test.js +720 -0
- package/src/all/background_page/service/activeSession/getOrFindActiveSessionService.js +8 -8
- package/src/all/background_page/service/activeSession/getOrFindActiveSessionService.test.js +16 -16
- package/src/all/background_page/service/api/accountSettings/accountSettingsService.js +0 -29
- package/src/all/background_page/service/api/accountSettings/accountSettingsService.test.data.js +0 -6
- package/src/all/background_page/service/api/accountSettings/accountSettingsService.test.js +1 -32
- package/src/all/background_page/service/api/actionLog/actionLogApiService.test.js +1 -1
- package/src/all/background_page/service/api/comment/commentApiService.test.js +1 -1
- package/src/all/background_page/service/api/metadata/metadataKeysApiService.test.js +1 -1
- package/src/all/background_page/service/api/sessionKey/sessionKeysBundlesApiService.test.js +1 -1
- package/src/all/background_page/service/api/theme/themesApiService.js +57 -0
- package/src/all/background_page/service/api/theme/themesApiService.test.js +83 -0
- package/src/all/background_page/service/app/parseAppUrlService.js +18 -10
- package/src/all/background_page/service/app/parseAppUrlService.test.js +21 -21
- package/src/all/background_page/service/auth/localLogoutService.js +42 -0
- package/src/all/background_page/service/auth/localLogoutService.test.js +43 -0
- package/src/all/background_page/service/auth/offlineLogoutService.js +47 -0
- package/src/all/background_page/service/auth/offlineLogoutService.test.js +46 -0
- package/src/all/background_page/service/auth/offlineSessionExpiryAlarmService.js +2 -2
- package/src/all/background_page/service/auth/offlineSessionExpiryAlarmService.test.js +3 -3
- package/src/all/background_page/service/auth/parseAuthUrlService.js +11 -6
- package/src/all/background_page/service/auth/parseAuthUrlService.test.js +11 -13
- package/src/all/background_page/service/auth/postLoginOfflineService.js +3 -3
- package/src/all/background_page/service/auth/postLoginOfflineService.test.js +3 -3
- package/src/all/background_page/service/auth/postLoginService.js +3 -3
- package/src/all/background_page/service/auth/postLoginService.test.js +3 -3
- package/src/all/background_page/service/auth/startLoopAuthSessionCheckService.js +8 -4
- package/src/all/background_page/service/auth/startLoopAuthSessionCheckService.test.js +36 -13
- package/src/all/background_page/service/authenticationStatusService.test.js +1 -1
- package/src/all/background_page/service/clipboard/clipboardProviderService.js +0 -7
- package/src/all/background_page/service/clipboard/clipboardProviderService.test.js +0 -10
- package/src/all/background_page/service/clipboard/copyToClipboardService.js +1 -5
- package/src/all/background_page/service/crypto/decryptSsoPassphraseService.js +1 -1
- package/src/all/background_page/service/extension/onStartUpService.js +2 -2
- package/src/all/background_page/service/extension/onStartUpService.test.js +3 -3
- package/src/all/background_page/service/localStorage/localStorageService.js +4 -2
- package/src/all/background_page/service/localStorage/localStorageService.test.js +28 -12
- package/src/all/background_page/service/local_storage/sessionTimestampsLocalStorage.js +40 -0
- package/src/all/background_page/service/local_storage/sessionTimestampsLocalStorage.test.js +63 -0
- package/src/all/background_page/service/metadata/rotateMetadata/rotateMetadataKeyService.test.js +2 -2
- package/src/all/background_page/service/metadata/rotateMetadata/rotateResourcesMetadataKeyService.test.js +2 -2
- package/src/all/background_page/service/migrateMetadata/migrateMetadataResourcesService.test.js +2 -2
- package/src/all/background_page/service/offline/canUseOfflineStorageService.js +16 -1
- package/src/all/background_page/service/offline/canUseOfflineStorageService.test.js +14 -6
- package/src/all/background_page/service/offline/getOrFindOfflineSettingsService.js +4 -1
- package/src/all/background_page/service/offline/getOrFindOfflineSettingsService.test.js +10 -1
- package/src/all/background_page/service/offline/offlineRetentionDataFlushService.js +12 -9
- package/src/all/background_page/service/offline/offlineRetentionDataFlushService.test.js +35 -24
- package/src/all/background_page/service/rbac/getOrFindRbacService.js +4 -1
- package/src/all/background_page/service/recover/parseRecoverUrlService.js +1 -1
- package/src/all/background_page/service/resource/export/exportResourcesService.test.js +3 -0
- package/src/all/background_page/service/resource/getOrFindOfflineResourcesService.js +30 -10
- package/src/all/background_page/service/resource/getOrFindOfflineResourcesService.test.js +108 -9
- package/src/all/background_page/service/resource/getOrFindResourcesService.js +30 -10
- package/src/all/background_page/service/resource/getOrFindResourcesService.test.js +99 -9
- package/src/all/background_page/service/resourceType/getOrFindResourceTypesService.js +4 -1
- package/src/all/background_page/service/resourceType/getOrFindResourceTypesService.test.js +10 -2
- package/src/all/background_page/service/secret/decryptAndParseResourceSecretService.js +1 -1
- package/src/all/background_page/service/sessionTimestamps/getSessionTimestampsService.js +48 -0
- package/src/all/background_page/service/sessionTimestamps/getSessionTimestampsService.test.js +66 -0
- package/src/all/background_page/service/sessionTimestamps/updateSessionTimestampsService.js +102 -0
- package/src/all/background_page/service/sessionTimestamps/updateSessionTimestampsService.test.js +221 -0
- package/src/all/background_page/service/{local_storage/activeSessionLocalStorage.js → session_storage/activeSessionSessionStorage.js} +17 -17
- package/src/all/background_page/service/{local_storage/activeSessionLocalStorage.test.js → session_storage/activeSessionSessionStorage.test.js} +31 -34
- package/src/all/background_page/service/setup/parseSetupUrlService.js +3 -2
- package/src/all/background_page/service/setup/parseSetupUrlService.test.js +195 -24
- package/src/all/background_page/service/share/shareFoldersService.test.js +4 -4
- package/src/all/background_page/service/share/shareResourceService.test.js +4 -4
- package/src/all/background_page/service/theme/findThemesService.js +38 -0
- package/src/all/background_page/service/theme/findThemesService.test.js +63 -0
- package/src/all/background_page/service/theme/updateThemeService.js +39 -0
- package/src/all/background_page/service/theme/updateThemeService.test.js +65 -0
- package/src/all/background_page/service/toolbar/toolbarService.js +20 -10
- package/src/all/background_page/service/toolbar/toolbarService.test.js +82 -6
- package/src/all/background_page/service/user/getOrFindMeService.js +4 -1
- package/src/all/background_page/service/user/getOrFindMeService.test.js +10 -2
- package/src/all/background_page/service/webIntegration/parseWebIntegrationUrlService.js +11 -6
- package/src/all/background_page/service/webIntegration/parseWebIntegrationUrlService.test.js +7 -9
- package/src/all/background_page/utils/format/formDataUtils.test.js +1 -1
- package/src/all/background_page/utils/openpgp/openpgpAssertions.js +1 -1
- package/src/all/webAccessibleResources/js/themes/stylesheet.js +1 -1
- package/src/chrome-mv3/manifest.json +1 -1
- package/src/chrome-mv3/serviceWorker/service/network/requestFetchOffscreenService.js +1 -1
- package/src/chrome-mv3/serviceWorker/service/network/responseFetchOffscreenService.js +7 -4
- package/src/firefox/manifest.json +1 -1
- package/src/safari/manifest.json +1 -1
- package/test/matchers/toBeOpenpgpKeySignedBy.js +13 -14
- package/test/mocks/mockJsDomPolyfill.js +0 -2
- package/webpack/common-blocks.js +13 -13
- package/webpack/expectedBuildArtifacts.js +1 -1
- package/webpack/passboltEnvPlugin.js +1 -1
- package/webpack.common.config.js +2 -0
- package/webpack.config.js +4 -5
- package/webpack.safari-background-page.config.js +38 -31
- package/src/all/background_page/model/theme/themeModel.js +0 -66
- package/src/all/background_page/model/theme/themeModel.test.js +0 -73
- package/src/all/background_page/service/activeSession/findAndUpdateActiveSessionLocalStorageService.test.js +0 -776
- package/src/chrome/manifest.json +0 -51
- package/src/chrome/polyfill/clipboard/edgeBackgroundPageClipboardService.js +0 -31
- package/src/chrome/polyfill/clipboard/edgeBackgroundPageClipboardService.test.js +0 -53
- package/webpack.chromium-mv2.config.js +0 -40
package/.pre-commit-config.yaml
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
|
+
---
|
|
2
|
+
# Managed by Pulumi (gitlab-permissions-as-code). Do not edit by hand.
|
|
3
|
+
# Hooks are declared in IaC; hand edits are reverted on the next apply.
|
|
4
|
+
default_install_hook_types: [pre-commit]
|
|
1
5
|
repos:
|
|
2
6
|
- repo: https://github.com/gitleaks/gitleaks
|
|
3
|
-
rev: v8.30.
|
|
7
|
+
rev: v8.30.1
|
|
4
8
|
hooks:
|
|
5
|
-
- id: gitleaks
|
|
9
|
+
- id: gitleaks
|
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,108 @@ All notable changes to this project will be documented in this file.
|
|
|
3
3
|
This project adheres to [Semantic Versioning](http://semver.org/).
|
|
4
4
|
|
|
5
5
|
## [Unreleased]
|
|
6
|
+
|
|
7
|
+
## [v5.18.1] - 2026-11-18
|
|
8
|
+
### Fixed
|
|
9
|
+
- PB-56388 - Fix folder and subfolder alignment in the resource workspace
|
|
10
|
+
|
|
11
|
+
## [v5.18.0] - 2026-11-12
|
|
12
|
+
### Added
|
|
13
|
+
- PB-54816 - OFM - CE admins need to be informed why their offline-settings forms are disabled
|
|
14
|
+
- PB-54834 - OFM - Quickaccess - Notes and custom fields are searchable
|
|
15
|
+
- PB-54835 - Quickaccess - Notes and custom fields are viewable quick access resource view page
|
|
16
|
+
- PB-54836 - OFM - Notes and custom fields are now available offline
|
|
17
|
+
- PB-54910 - GenHC - WP 5.2 - Implement healthcheckCheckEntity and healthcheckChecksCollection, including the grouping by domain_key
|
|
18
|
+
- PB-54911 - GenHC - WP 5.3 - Move AdministrationHealthcheckContext onto the checks collection
|
|
19
|
+
- PB-54912 - GenHC - WP 5.4 - Delete the legacy healthcheck entity tree, its fixtures and the unused HealthcheckModel
|
|
20
|
+
- PB-54916 - GenHC - WP 6.2 - Implements code review
|
|
21
|
+
- PB-54917 - GenHC - WP 6.3 - Rebuild the Storybook stories on captured v5 payloads
|
|
22
|
+
- PB-54947 - GenHC - WP 7.1 - Restate the sidebar legend to match the status badge markup
|
|
23
|
+
- PB-54948 - GenHC - WP 7.2 - Collapsible domains and collapsible help, with aria-expanded controls and state reset on reload
|
|
24
|
+
- PB-54949 - GenHC - WP 7.3 - Rework healthcheck.less: generic section class, badge tints, disclosure rules, help-list and long-string wrapping
|
|
25
|
+
- PB-55174 - Styleguide: Note row on the v5-default, v5-default-with-totp and PIN code page
|
|
26
|
+
- PB-55444 - Styleguide: Custom fields on the v5-default and v5-default-with-totp pages
|
|
27
|
+
- PB-55521 - Create ThemesApiService
|
|
28
|
+
- PB-55522 - Create FindThemesService
|
|
29
|
+
- PB-55523 - Create UpdateThemeService
|
|
30
|
+
- PB-55524 - Create FindThemesController
|
|
31
|
+
- PB-55525 - Create UpdateThemeController
|
|
32
|
+
- PB-55527 - Update allowed-theme list in config and other files
|
|
33
|
+
- PB-55528 - Styleguide: Add the two new palettes and less files
|
|
34
|
+
- PB-55529 - Styleguide: Update DisplayUserTheme
|
|
35
|
+
- PB-55583 - DVS - WP1.1 - Add the duoVerifySubscriber property to MfaModel
|
|
36
|
+
- PB-55584 - DVS - WP1.2 - Add the verifySubscriber property to the Duo DTO
|
|
37
|
+
- PB-55585 - DVS - WP1.3 - Add setDuoToggle and hasDuoVerifySubscriberLockoutRisk to AdministrationMfaContext
|
|
38
|
+
- PB-55586 - DVS - WP1.4 - Add the Verify the Duo subscriber toggle and the lockout warning banner to DisplayMfaAdministration
|
|
39
|
+
- PB-55587 - Add Duo setup constants in MFAContext
|
|
40
|
+
- PB-55591 - Add DuoSetupError page
|
|
41
|
+
- PB-55593 - Fix MFA provider config visible when not enabled + handle DUO errors
|
|
42
|
+
- PB-55594 - DVS - WP3.1 - Add the flash error message style
|
|
43
|
+
- PB-55651 - GenHC - WP 7.4 - Per-theme status badge glyph colours
|
|
44
|
+
- PB-55736 - Add Netwrix CSV import format
|
|
45
|
+
- PB-55870 - Create sessionTimestampsEntity
|
|
46
|
+
- PB-55871 - Create sessionTimestampsLocalStorage
|
|
47
|
+
- PB-55872 - Create getSessionTimestampsService
|
|
48
|
+
- PB-55873 - Create updateSessionTimestampsService
|
|
49
|
+
- PB-55874 - Create getSessionTimestampsController and event
|
|
50
|
+
- PB-55875 - Create sessionTimestampsServiceWorkerService
|
|
51
|
+
|
|
52
|
+
### Fixed
|
|
53
|
+
- PB-52360 - Downgrading from PRO to CE do not remove SSO login
|
|
54
|
+
- PB-54070 - User with can update right can't delete a resource when right clicking it
|
|
55
|
+
- PB-53271 - refresh user account recovery status for all recovery policy change
|
|
56
|
+
- PB-55472 - Offline mode is lost at every sign-out for users with non-standard email addresses allowed by PASSBOLT_EMAIL_VALIDATE_REGEX
|
|
57
|
+
- PB-55733 - Autofill - account name should not be consider as username
|
|
58
|
+
- PB-55777 - Fix Groups and Tag Rows padding
|
|
59
|
+
- PB-55893 - Fix lower tier fields selected before higher one if they come earlier in DOM tree
|
|
60
|
+
- PB-55894 - Fix ambiguous labels classification
|
|
61
|
+
|
|
62
|
+
### Security
|
|
63
|
+
- PB-52330 - parseSetupUrl regular expression is reinforced
|
|
64
|
+
- PB-52331 - Ensures custom fields cannot be previewed on the right sidebar if the user does not have the permission to
|
|
65
|
+
- PB-54930 - enable strict integrity validation in package.json
|
|
66
|
+
- PB-54931 - enable package name validation in package-lock.json
|
|
67
|
+
- PB-55900 - Fix i18next-http-backend multiple CVEs - CVSS3.1 LOW
|
|
68
|
+
- PB-55968 - Align package.json order on the bext
|
|
69
|
+
|
|
70
|
+
### Maintenance
|
|
71
|
+
- PB-50131 - Rename "Account Recovery" Column in Users Table for clarity
|
|
72
|
+
- PB-52539 - The left sidebar has been adjusted
|
|
73
|
+
- PB-54921 - removed unused filter method
|
|
74
|
+
- PB-55095 - Index permissions and changes by recipient
|
|
75
|
+
- PB-55131 - Speed up opening the move dialog
|
|
76
|
+
- PB-55132 - Cache group members in the share dialog
|
|
77
|
+
- PB-55133 - Cache the "resource without owner" check
|
|
78
|
+
- PB-55134 - Aggregate the permission rows from the indexes
|
|
79
|
+
- PB-55135 - Remove the fake change for new recipients
|
|
80
|
+
- PB-55202 - Remove chromium-mv2 (Edge) related build scripts
|
|
81
|
+
- PB-55204 - Remove files that were used for Edge MV2 extension
|
|
82
|
+
- PB-55259 - Optimize toDto conversion in ShareDialog.buildResourceDto
|
|
83
|
+
- PB-55514 - Improve autofill performances and skip disabled inputs
|
|
84
|
+
- PB-55543 - Clarify WebAuthn error on the MFA organisation settings page
|
|
85
|
+
- PB-55590 - Forward error code from main page URL to iframe URL
|
|
86
|
+
- PB-55672 - WinApp passkeys setup should not be visible
|
|
87
|
+
- PB-55682 - Fix random points positioning
|
|
88
|
+
- PB-55795 - Polish preview and copy button
|
|
89
|
+
- PB-55876 - Move the timestamp writes and reads in services to the new timestamp services
|
|
90
|
+
- PB-55877 - Remove timestamps from activeSession entity and move activeSession to session storage
|
|
91
|
+
- PB-55878 - Handle extension update for active session in session storage
|
|
92
|
+
- PB-55965 - OFM - WP0.1 App events should use api client option from parameter
|
|
93
|
+
- PB-55966 - OFM - WP0.2 AccountRecoverySaveUserSettingsController should use the user id from account
|
|
94
|
+
- PB-56068 - OFM - WP0.3 Use account domain in ParseAuthUrlService
|
|
95
|
+
- PB-56070 - OFM - WP0.4 Use account domain in ParseAppUrlService
|
|
96
|
+
- PB-56071 - OFM - WP0.5 Use account domain in ParseWebIntegrationUrlService
|
|
97
|
+
- PB-56086 - OFM - WP0.6 Use account in toolbar service instead of user get instance
|
|
98
|
+
- PB-56147 - OFM - WP0.7 Use account in config events instead of user get instance
|
|
99
|
+
|
|
100
|
+
## [5.17.1] - 2026-10-26
|
|
101
|
+
### Fixed
|
|
102
|
+
PB-55748 Upgrade passbolt-styleguide to v5.17.2
|
|
103
|
+
|
|
104
|
+
### Maintenance
|
|
105
|
+
PB-55514 Improve autofill performances and skip disabled inputs
|
|
106
|
+
PB-55543 Clarify WebAuthn error on the MFA organisation settings page
|
|
107
|
+
|
|
6
108
|
## [5.17.0] - 2026-10-15
|
|
7
109
|
### Added
|
|
8
110
|
PB-53327 Include group membership changes in the permission drift calculation before saving
|
|
@@ -3235,7 +3337,10 @@ self registration settings option in the left-side bar
|
|
|
3235
3337
|
- AP: User with plugin installed
|
|
3236
3338
|
- LU: Logged in user
|
|
3237
3339
|
|
|
3238
|
-
[Unreleased]: https://github.com/passbolt/passbolt_browser_extension/compare/v5.
|
|
3340
|
+
[Unreleased]: https://github.com/passbolt/passbolt_browser_extension/compare/v5.18.1...HEAD
|
|
3341
|
+
[5.18.1]: https://github.com/passbolt/passbolt_browser_extension/compare/v5.18.0...v5.18.1
|
|
3342
|
+
[5.18.0]: https://github.com/passbolt/passbolt_browser_extension/compare/v5.17.1...v5.18.0
|
|
3343
|
+
[5.17.1]: https://github.com/passbolt/passbolt_browser_extension/compare/v5.17.0...v5.17.1
|
|
3239
3344
|
[5.17.0]: https://github.com/passbolt/passbolt_browser_extension/compare/v5.16.2...v5.17.0
|
|
3240
3345
|
[5.16.2]: https://github.com/passbolt/passbolt_browser_extension/compare/v5.16.1...v5.16.2
|
|
3241
3346
|
[5.16.1]: https://github.com/passbolt/passbolt_browser_extension/compare/v5.16.0...v5.16.1
|
package/README.md
CHANGED
|
@@ -119,7 +119,7 @@ You can build the crx or xpi (zip) packages using the following command.
|
|
|
119
119
|
```
|
|
120
120
|
grunt build
|
|
121
121
|
```
|
|
122
|
-
The build can be found under ```dist/chromium-mv3``` or ```dist/
|
|
122
|
+
The build can be found under ```dist/chromium-mv3``` or ```dist/firefox```.
|
|
123
123
|
|
|
124
124
|
## Updating the vendors or the styleguide
|
|
125
125
|
|
|
@@ -131,7 +131,7 @@ npm update
|
|
|
131
131
|
grunt copy:vendors
|
|
132
132
|
grunt copy:styleguide
|
|
133
133
|
```
|
|
134
|
-
The build can be found under ```dist/chromium-mv3``` or ```dist/
|
|
134
|
+
The build can be found under ```dist/chromium-mv3``` or ```dist/firefox```.
|
|
135
135
|
|
|
136
136
|
## Unit testing
|
|
137
137
|
|
package/RELEASE_NOTES.md
CHANGED
|
@@ -1,98 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
# Passbolt 5.18.1 Stumblin' In
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
Passbolt 5.17.0 provides authentication via passkeys as MFA, permission confirmation dialog on the move operations, autofill improvments and pin code resource type in quickaccess
|
|
3
|
+
Passbolt 5.18.1 fixes a visual regression on the folder tree in the resource workspace.
|
|
5
4
|
|
|
6
5
|
## Changelogs
|
|
7
|
-
### Added
|
|
8
|
-
PB-53327 Include group membership changes in the permission drift calculation before saving
|
|
9
|
-
PB-53450 AUTOFILL - WP 2.0 - Create the orphanDictionary for the DOM extraction
|
|
10
|
-
PB-53451 Add OrphanFieldPredicates class to check wether an element is a button
|
|
11
|
-
PB-53452 AUTOFILL - WP 2.2 - Create the FieldVisibilityService to avoid detection of hidden inputs
|
|
12
|
-
PB-53460 Add FormExtractionService to gather forms with viewable text fields
|
|
13
|
-
PB-53461 AUTOFILL - WP 2.4 - Create the OrphanFieldsExtractionService to extract build the orphan forms
|
|
14
|
-
PB-53462 Create NestedFormExtractionService
|
|
15
|
-
PB-53464 Rework InFormCredentialsFormField
|
|
16
|
-
PB-53465 AUTOFILL - WP 2.8 - Update the InFormManager to use the new extraction logic
|
|
17
|
-
PB-53466 AUTOFILL - WP 3.0 - Create the TextNormalizer as an helper to infer on extracted text
|
|
18
|
-
PB-53480 AUTOFILL - WP 3.1 - Create the ScrapingDictionary to handle scraping constants
|
|
19
|
-
PB-53482 AUTOFILL - WP 3.2 - Create the ScrapingIdentity to support identifier after scraping
|
|
20
|
-
PB-53483 AUTOFILL - WP 3.3 - Create the ScrapingCache object
|
|
21
|
-
PB-53484 AUTOFILL - WP 3.4 - Create the PageScraperHelpers to group helpers used for scraping
|
|
22
|
-
PB-53485 AUTOFILL - WP 3.5 - Create the LabelScraper to handle the label logic extraction
|
|
23
|
-
PB-53486 AUTOFILL - WP 3.6 - Create the FieldScraper to handle the field extraction
|
|
24
|
-
PB-53487 AUTOFILL - WP 3.7 - Create the FormScraper to extract information from form
|
|
25
|
-
PB-53488 AUTOFILL - WP 3.8 - Create the FieldQualifier to detect the type of field scraped
|
|
26
|
-
PB-53489 AUTOFILL - WP 3.9 - Create the PageScraper
|
|
27
|
-
PB-53980 PCD - improve PCD on move operations
|
|
28
|
-
PB-54162 AUTOFILL - WP 4.0 Create keywordsDictionary for classification
|
|
29
|
-
PB-54163 AUTOFILL - WP 4.1 Create taximony for classification
|
|
30
|
-
PB-54165 AUTOFILL - WP 4.2 Create KeywordMatchingService
|
|
31
|
-
PB-54167 AUTOFILL - WP 4.3 Create FieldFeatureService
|
|
32
|
-
PB-54168 AUTOFILL - WP 4.4 Create FormClassificationService
|
|
33
|
-
PB-54171 AUTOFILL - WP 4.5 Create SawfClassificationService
|
|
34
|
-
PB-54172 AUTOFILL - WP 4.6 Create PasswordRoleResolutionService
|
|
35
|
-
PB-54173 AUTOFILL - WP 4.7 Create FieldsRationalizationService
|
|
36
|
-
PB-54184 AUTOFILL - WP 4.8 Create SegmentedOtpResolutionService
|
|
37
|
-
PB-54185 AUTOFILL - WP 4.9 Create ClassificationService
|
|
38
|
-
PB-54336 AUTOFILL - WP 4.10 Create PageClassificationService
|
|
39
|
-
PB-54337 AUTOFILL - WP 4.11 Connect the new service to the fill plan
|
|
40
|
-
PB-54346 AUTOFILL - Fill not working on modal when z index is high
|
|
41
|
-
PB-54374 AUTOFILL - Call-to-action missing on first focus for shadow-DOM fields
|
|
42
|
-
PB-54344 AUTOFILL - Autocomplete should not block when it not valid
|
|
43
|
-
PB-54500 Quick access: list PIN code resources
|
|
44
|
-
PB-54502 Quick access: display PIN code in the resource view page
|
|
45
|
-
PB-54530 AUTOFILL is not working for input length attribute
|
|
46
|
-
PB-54571 Add the Passkeys provider toggle to the MFA administration page
|
|
47
|
-
PB-54596 Implement the restartable WebAuthn setup ceremony
|
|
48
|
-
PB-54608 OFM - PIN Code as offline available resource
|
|
49
|
-
PB-54706 Show the Passkeys card in the user MFA provider overview
|
|
50
|
-
PB-54707 Add the passkey authenticator icon set and AAGUID mapping to the styleguide
|
|
51
|
-
PB-54709 Add the passkey registration flow to the Passkeys settings page
|
|
52
|
-
PB-54710 Implement the WebAuthn MFA verification page as a styleguide React application
|
|
53
|
-
PB-54759 BEST - WP 1.1 - Implement ScimEntity for Healthcheck
|
|
54
|
-
PB-54760 BEST - WP 1.2 - Update HealthcheckEntity to handle the new ScimEntity
|
|
55
|
-
PB-54761 BEST - WP 1.3 - Update DisplayScimSettingsAdministration to handle the new expiry behaviour
|
|
56
|
-
PB-55047 Prune fields nested in forms deeper than the one evaluated
|
|
57
|
-
PB-55050 False positive on first name and inform menu blinking
|
|
58
|
-
PB-55099 Fix add user to group progress dialog for offscreen
|
|
59
|
-
PB-55115 Implement the delegated WebAuthn MFA verification page for the mobile applications
|
|
60
|
-
|
|
61
6
|
### Fixed
|
|
62
|
-
PB-
|
|
63
|
-
PB-54103 Fix null reference on storage change event
|
|
64
|
-
PB-54531 Editing resources in a group-view doesn't update the grid
|
|
65
|
-
PB-54764 OFM button not presented to eligible authenticated user with mfa required and API unavailable
|
|
66
|
-
PB-54790 Prevent potential issue with TOTP autofill
|
|
67
|
-
PB-54818 Offline mode plane icon stroke width should be 1.5px instead of 2px
|
|
68
|
-
PB-54841 Fix quickaccess tab not opening when an account is not configured
|
|
69
|
-
PB-54976 AUTOFILL - Plex CTA is blinking
|
|
70
|
-
PB-55046 AUTOFILL - agoda email is not fillable
|
|
71
|
-
PB-55048 AUTOFILL - Focus on a input should keep the CTA
|
|
72
|
-
PB-55136 AUTOFILL - confirm password should be filled on a form
|
|
73
|
-
PB-55155 AUTOFILL - Fix ant design search input is not working
|
|
74
|
-
|
|
75
|
-
### Security
|
|
76
|
-
PB-52830 restrict retrieved cookie on Safari to what a browser would normally get back
|
|
77
|
-
PB-52831 Ensures Safari does not accept unexepected redirection to avoid cookie leakage
|
|
78
|
-
PB-52832 Fix parameter name in sanitizeUrl function
|
|
79
|
-
PB-53545 Major upgrade for yargs (Low)
|
|
80
|
-
PB-53942 Fix image-size GHSA-5p2g-fcmc-qvqq - HIGH CVSS4.0
|
|
81
|
-
PB-54648 Fix adm-zip GHSA-vwc7-r8mq-g2x9 - CVSS4.0 MEDIUM
|
|
82
|
-
PB-54751 Major upgrade for @noble/hashes (Low) - passbolt-styleguide
|
|
83
|
-
PB-55262 Fix undici multiple CVEs - CVSS3.1 HIGH
|
|
84
|
-
PB-55264 Fix axios multiple CVEs - CVSS3.1 HGH
|
|
85
|
-
PB-55267 Fix braces-expansion multiple CVEs - CVSS3.1 HIGH
|
|
86
|
-
PB-55268 Fix braces GHSA-vfj7-8cjw-p6xm - CVSS3.1 HIGH
|
|
87
|
-
PB-55274 Fix shell-quote GHSA-pqg4-j6r4-53mv - CVSS4.0 CRITICAL
|
|
88
|
-
PB-55276 Fix fast-uri multiple CVEs - CVSS3.1 HIGH
|
|
89
|
-
PB-55277 Fix source-map-js GHSA-68fv-2mgg-jv7q - CVSS4.0 HIGH
|
|
90
|
-
PB-55279 Fix i18next-http-backend GHSA-xvq9-wjp8-hwqf - CVSS3.1 LOW
|
|
91
|
-
PB-55293 Fix joi multiple CVEs - CVSS4.0 HIGH
|
|
92
|
-
PB-55295 Fix probe-image-size GHSA-gjj5-9665-rwrc - CVSS3.1 HIGH
|
|
93
|
-
PB-54842 clipboard auto-clear bypass via untrusted copy/cut DOM event
|
|
94
|
-
|
|
95
|
-
### Maintenance
|
|
96
|
-
PB-49117 optimise tab retrieval by id
|
|
97
|
-
PB-52127 SAF - Reactivate avatar handling from client
|
|
98
|
-
PB-54525 Product naming convention for Group Manager instead of Group Admin
|
|
7
|
+
- PB-56388 - Fix folder and subfolder alignment in the resource workspace
|
|
@@ -25,7 +25,11 @@ import Cocoa
|
|
|
25
25
|
import SafariServices
|
|
26
26
|
import WebKit
|
|
27
27
|
|
|
28
|
+
#if !DEBUG
|
|
28
29
|
let extensionBundleIdentifier = "com.passbolt.safari.Extension"
|
|
30
|
+
#else
|
|
31
|
+
let extensionBundleIdentifier = "com.passbolt.safari-debug.Extension"
|
|
32
|
+
#endif
|
|
29
33
|
|
|
30
34
|
class ViewController: NSViewController, WKNavigationDelegate, WKScriptMessageHandler {
|
|
31
35
|
|
|
@@ -49,11 +53,7 @@ class ViewController: NSViewController, WKNavigationDelegate, WKScriptMessageHan
|
|
|
49
53
|
}
|
|
50
54
|
|
|
51
55
|
DispatchQueue.main.async {
|
|
52
|
-
|
|
53
|
-
webView.evaluateJavaScript("show(\(state.isEnabled), true)")
|
|
54
|
-
} else {
|
|
55
|
-
webView.evaluateJavaScript("show(\(state.isEnabled), false)")
|
|
56
|
-
}
|
|
56
|
+
webView.evaluateJavaScript("show(\(state.isEnabled), true)")
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
59
|
}
|
|
@@ -593,7 +593,7 @@
|
|
|
593
593
|
buildSettings = {
|
|
594
594
|
CODE_SIGN_ENTITLEMENTS = "Passbolt - password manager Extension/Passbolt - password manager Extension.entitlements";
|
|
595
595
|
CODE_SIGN_STYLE = Automatic;
|
|
596
|
-
CURRENT_PROJECT_VERSION =
|
|
596
|
+
CURRENT_PROJECT_VERSION = 15;
|
|
597
597
|
DEAD_CODE_STRIPPING = YES;
|
|
598
598
|
DEVELOPMENT_TEAM = UHX38H22ZT;
|
|
599
599
|
ENABLE_APP_SANDBOX = YES;
|
|
@@ -620,12 +620,12 @@
|
|
|
620
620
|
"@executable_path/../../../../Frameworks",
|
|
621
621
|
);
|
|
622
622
|
MACOSX_DEPLOYMENT_TARGET = 15.6;
|
|
623
|
-
MARKETING_VERSION = 5.
|
|
623
|
+
MARKETING_VERSION = 5.18.1;
|
|
624
624
|
OTHER_LDFLAGS = (
|
|
625
625
|
"-framework",
|
|
626
626
|
SafariServices,
|
|
627
627
|
);
|
|
628
|
-
PRODUCT_BUNDLE_IDENTIFIER = com.passbolt.safari.Extension;
|
|
628
|
+
PRODUCT_BUNDLE_IDENTIFIER = "com.passbolt.safari-debug.Extension";
|
|
629
629
|
PRODUCT_NAME = "$(TARGET_NAME)";
|
|
630
630
|
REGISTER_APP_GROUPS = YES;
|
|
631
631
|
SKIP_INSTALL = YES;
|
|
@@ -639,7 +639,7 @@
|
|
|
639
639
|
buildSettings = {
|
|
640
640
|
CODE_SIGN_ENTITLEMENTS = "Passbolt - password manager Extension/Passbolt - password manager Extension.entitlements";
|
|
641
641
|
CODE_SIGN_STYLE = Automatic;
|
|
642
|
-
CURRENT_PROJECT_VERSION =
|
|
642
|
+
CURRENT_PROJECT_VERSION = 15;
|
|
643
643
|
DEAD_CODE_STRIPPING = YES;
|
|
644
644
|
DEVELOPMENT_TEAM = UHX38H22ZT;
|
|
645
645
|
ENABLE_APP_SANDBOX = YES;
|
|
@@ -666,7 +666,7 @@
|
|
|
666
666
|
"@executable_path/../../../../Frameworks",
|
|
667
667
|
);
|
|
668
668
|
MACOSX_DEPLOYMENT_TARGET = 15.6;
|
|
669
|
-
MARKETING_VERSION = 5.
|
|
669
|
+
MARKETING_VERSION = 5.18.1;
|
|
670
670
|
OTHER_LDFLAGS = (
|
|
671
671
|
"-framework",
|
|
672
672
|
SafariServices,
|
|
@@ -688,7 +688,7 @@
|
|
|
688
688
|
CODE_SIGN_ENTITLEMENTS = "Passbolt - password manager/Passbolt - password manager.entitlements";
|
|
689
689
|
CODE_SIGN_STYLE = Automatic;
|
|
690
690
|
COMBINE_HIDPI_IMAGES = YES;
|
|
691
|
-
CURRENT_PROJECT_VERSION =
|
|
691
|
+
CURRENT_PROJECT_VERSION = 15;
|
|
692
692
|
DEAD_CODE_STRIPPING = YES;
|
|
693
693
|
DEVELOPMENT_TEAM = UHX38H22ZT;
|
|
694
694
|
ENABLE_APP_SANDBOX = YES;
|
|
@@ -716,14 +716,14 @@
|
|
|
716
716
|
"@executable_path/../Frameworks",
|
|
717
717
|
);
|
|
718
718
|
MACOSX_DEPLOYMENT_TARGET = 15.6;
|
|
719
|
-
MARKETING_VERSION = 5.
|
|
719
|
+
MARKETING_VERSION = 5.18.1;
|
|
720
720
|
OTHER_LDFLAGS = (
|
|
721
721
|
"-framework",
|
|
722
722
|
SafariServices,
|
|
723
723
|
"-framework",
|
|
724
724
|
WebKit,
|
|
725
725
|
);
|
|
726
|
-
PRODUCT_BUNDLE_IDENTIFIER = com.passbolt.safari;
|
|
726
|
+
PRODUCT_BUNDLE_IDENTIFIER = "com.passbolt.safari-debug";
|
|
727
727
|
PRODUCT_NAME = "[DEBUG] $(TARGET_NAME)";
|
|
728
728
|
REGISTER_APP_GROUPS = YES;
|
|
729
729
|
SWIFT_EMIT_LOC_STRINGS = YES;
|
|
@@ -739,7 +739,7 @@
|
|
|
739
739
|
CODE_SIGN_ENTITLEMENTS = "Passbolt - password manager/Passbolt - password manager.entitlements";
|
|
740
740
|
CODE_SIGN_STYLE = Automatic;
|
|
741
741
|
COMBINE_HIDPI_IMAGES = YES;
|
|
742
|
-
CURRENT_PROJECT_VERSION =
|
|
742
|
+
CURRENT_PROJECT_VERSION = 15;
|
|
743
743
|
DEAD_CODE_STRIPPING = YES;
|
|
744
744
|
DEVELOPMENT_TEAM = UHX38H22ZT;
|
|
745
745
|
ENABLE_APP_SANDBOX = YES;
|
|
@@ -767,7 +767,7 @@
|
|
|
767
767
|
"@executable_path/../Frameworks",
|
|
768
768
|
);
|
|
769
769
|
MACOSX_DEPLOYMENT_TARGET = 15.6;
|
|
770
|
-
MARKETING_VERSION = 5.
|
|
770
|
+
MARKETING_VERSION = 5.18.1;
|
|
771
771
|
OTHER_LDFLAGS = (
|
|
772
772
|
"-framework",
|
|
773
773
|
SafariServices,
|
package/eslint.config.mjs
CHANGED
|
@@ -7,7 +7,6 @@ import js from "@eslint/js";
|
|
|
7
7
|
import noUnsanitizedPlugin from "eslint-plugin-no-unsanitized";
|
|
8
8
|
import jestPlugin from "eslint-plugin-jest";
|
|
9
9
|
import reactPlugin from "eslint-plugin-react";
|
|
10
|
-
import importPlugin from "eslint-plugin-import";
|
|
11
10
|
import pluginSecurity from "eslint-plugin-security";
|
|
12
11
|
import nodePlugin from "eslint-plugin-n";
|
|
13
12
|
import * as regexpPlugin from "eslint-plugin-regexp";
|
|
@@ -21,7 +20,6 @@ export default [
|
|
|
21
20
|
js.configs.recommended, // core JavaScript rules
|
|
22
21
|
reactPlugin.configs.flat.recommended, // React best practices
|
|
23
22
|
reactPlugin.configs.flat["jsx-runtime"], // JSX transform rules
|
|
24
|
-
importPlugin.flatConfigs.recommended, // import/export validations
|
|
25
23
|
pluginSecurity.configs.recommended,
|
|
26
24
|
nodePlugin.configs["flat/recommended-script"],
|
|
27
25
|
regexpPlugin.configs["flat/recommended"],
|
|
@@ -58,23 +56,13 @@ export default [
|
|
|
58
56
|
|
|
59
57
|
settings: {
|
|
60
58
|
react: {
|
|
61
|
-
version: "
|
|
59
|
+
version: "18.3",
|
|
62
60
|
},
|
|
63
61
|
regexp: {
|
|
64
62
|
// Allow PGP armor header character ranges (RFC 4880)
|
|
65
63
|
// !-9 and ;-~ match all printable ASCII except colon
|
|
66
64
|
allowedCharacterRanges: ["alphanumeric", "!-9", ";-~"],
|
|
67
65
|
},
|
|
68
|
-
"import/resolver": {
|
|
69
|
-
node: {
|
|
70
|
-
paths: [__dirname], // Add project root to resolution paths
|
|
71
|
-
extensions: [".js", ".jsx", ".mjs", ".cjs"],
|
|
72
|
-
},
|
|
73
|
-
alias: {
|
|
74
|
-
map: [["passbolt-styleguide", path.resolve(__dirname)]],
|
|
75
|
-
extensions: [".js", ".jsx", ".ts", ".tsx"],
|
|
76
|
-
},
|
|
77
|
-
},
|
|
78
66
|
},
|
|
79
67
|
|
|
80
68
|
rules: {
|
|
@@ -98,32 +86,13 @@ export default [
|
|
|
98
86
|
"react/prop-types": "off", // Skip PropTypes (future TypeScript)
|
|
99
87
|
"react/jsx-uses-react": "error", // Marks React as used when JSX is present
|
|
100
88
|
"no-useless-escape": "off", // Too many false positives
|
|
89
|
+
"no-useless-assignment": "off", // Keep defensive variable initialisation
|
|
101
90
|
"func-names": ["error", "never"],
|
|
102
|
-
"import/no-named-as-default": "off",
|
|
103
91
|
"security/detect-object-injection": "off",
|
|
104
92
|
"security/detect-non-literal-regexp": "off",
|
|
105
93
|
"security/detect-unsafe-regex": "off",
|
|
106
94
|
"prefer-regex-literals": "off",
|
|
107
95
|
|
|
108
|
-
// Phantom dependency detection (CRITICAL)
|
|
109
|
-
"import/no-extraneous-dependencies": [
|
|
110
|
-
"error",
|
|
111
|
-
{
|
|
112
|
-
devDependencies: [
|
|
113
|
-
"**/*.test.{js,jsx}",
|
|
114
|
-
"**/*.spec.{js,jsx}",
|
|
115
|
-
"**/__tests__/**",
|
|
116
|
-
"**/test/**",
|
|
117
|
-
"**/tests/**",
|
|
118
|
-
"**/scripts/**",
|
|
119
|
-
"*.config.{js,mjs,cjs}",
|
|
120
|
-
"webpack.config.js",
|
|
121
|
-
],
|
|
122
|
-
optionalDependencies: false,
|
|
123
|
-
peerDependencies: true,
|
|
124
|
-
},
|
|
125
|
-
],
|
|
126
|
-
|
|
127
96
|
// Browser extension specific
|
|
128
97
|
"n/no-unsupported-features/node-builtins": "off", // We use browser APIs
|
|
129
98
|
"n/no-missing-import": "off", // Handled by import plugin
|
|
@@ -162,7 +131,6 @@ export default [
|
|
|
162
131
|
|
|
163
132
|
// Test-specific overrides
|
|
164
133
|
"no-console": "off", // Allow console in tests
|
|
165
|
-
"import/no-extraneous-dependencies": "off", // Dev deps OK in tests
|
|
166
134
|
"n/no-unpublished-import": "off", // Dev deps OK in tests
|
|
167
135
|
"n/no-unpublished-require": "off",
|
|
168
136
|
"n/no-extraneous-import": "off",
|
|
@@ -216,6 +184,7 @@ export default [
|
|
|
216
184
|
files: ["*.config.{js,mjs,cjs}", "scripts/**/*.js", "webpack.config.js"],
|
|
217
185
|
|
|
218
186
|
languageOptions: {
|
|
187
|
+
ecmaVersion: "latest", // Plugins imported by configs may use newer syntax (e.g. import attributes)
|
|
219
188
|
globals: {
|
|
220
189
|
...globals.node,
|
|
221
190
|
},
|
|
@@ -223,7 +192,6 @@ export default [
|
|
|
223
192
|
|
|
224
193
|
rules: {
|
|
225
194
|
"no-console": "off", // Allow console in scripts
|
|
226
|
-
"import/no-extraneous-dependencies": "off", // Dev deps OK in configs
|
|
227
195
|
"n/no-unpublished-import": "off",
|
|
228
196
|
},
|
|
229
197
|
},
|
package/jest.config.json
CHANGED
|
@@ -8,8 +8,7 @@
|
|
|
8
8
|
"setupFilesAfterEnv": ["<rootDir>/test/jest.setup.js"],
|
|
9
9
|
"transform": {
|
|
10
10
|
"^.+\\.js$": ["babel-jest", {
|
|
11
|
-
"presets": ["@babel/env", "@babel/react"]
|
|
12
|
-
"plugins": ["@babel/plugin-transform-runtime"]
|
|
11
|
+
"presets": [["@babel/env", {"targets": {"node": "current"}}], ["@babel/react", {"runtime": "classic"}]]
|
|
13
12
|
}]
|
|
14
13
|
},
|
|
15
14
|
"transformIgnorePatterns": ["/node_modules/(.!passbolt-styleguide)"],
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "passbolt-browser-extension",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.18.1",
|
|
4
4
|
"license": "AGPL-3.0",
|
|
5
5
|
"copyright": "Copyright 2025 Passbolt SA",
|
|
6
6
|
"description": "Passbolt web extension for the open source password manager for teams",
|
|
7
7
|
"homepage": "https://www.passbolt.com",
|
|
8
8
|
"repository": "https://github.com/passbolt/passbolt_browser_extension",
|
|
9
9
|
"engines": {
|
|
10
|
-
"node": "
|
|
10
|
+
"node": "^22.18.0 || >=24.11.0",
|
|
11
11
|
"npm": ">=10.9.2"
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
@@ -15,97 +15,88 @@
|
|
|
15
15
|
"downloadjs": "^1.4.7",
|
|
16
16
|
"eckey-utils": "^0.7.14",
|
|
17
17
|
"i18next": "^26.3.4",
|
|
18
|
-
"i18next-http-backend": "^4.0.
|
|
18
|
+
"i18next-http-backend": "^4.0.6",
|
|
19
19
|
"ip-regex": "^5.0.0",
|
|
20
20
|
"jssha": "~3.3.1",
|
|
21
21
|
"kdbxweb": "2.1.1",
|
|
22
22
|
"openpgp": "^6.1.1",
|
|
23
23
|
"papaparse": "^5.5.2",
|
|
24
|
-
"passbolt-styleguide": "^5.
|
|
24
|
+
"passbolt-styleguide": "^5.18.2",
|
|
25
25
|
"react": "^18.3.1",
|
|
26
26
|
"react-dom": "^18.3.1",
|
|
27
27
|
"uuid": "^14.0.0",
|
|
28
28
|
"validator": "^13.15.26",
|
|
29
|
-
"webextension-polyfill": "^0.
|
|
29
|
+
"webextension-polyfill": "^0.12.0",
|
|
30
30
|
"xregexp": "~5.1.2"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@babel/core": "^
|
|
34
|
-
"@babel/
|
|
35
|
-
"@babel/
|
|
36
|
-
"@
|
|
37
|
-
"@babel/preset-react": "^7.28.5",
|
|
38
|
-
"@babel/runtime": "^7.27.0",
|
|
39
|
-
"@babel/runtime-corejs3": "^7.26.10",
|
|
40
|
-
"@eslint/js": "^9.39.4",
|
|
33
|
+
"@babel/core": "^8.0.10",
|
|
34
|
+
"@babel/preset-env": "^8.0.7",
|
|
35
|
+
"@babel/preset-react": "^8.0.1",
|
|
36
|
+
"@eslint/js": "^10.0.1",
|
|
41
37
|
"@svgr/webpack": "^8.1.0",
|
|
42
|
-
"babel-jest": "^30.
|
|
43
|
-
"babel-loader": "^
|
|
38
|
+
"babel-jest": "^30.5.2",
|
|
39
|
+
"babel-loader": "^10.1.1",
|
|
44
40
|
"buffer": "^6.0.3",
|
|
45
41
|
"copy-webpack-plugin": "^14.0.0",
|
|
46
|
-
"dotenv": "^
|
|
47
|
-
"eslint": "^
|
|
42
|
+
"dotenv": "^18.0.9",
|
|
43
|
+
"eslint": "^10.14.0",
|
|
48
44
|
"eslint-config-prettier": "^10.1.8",
|
|
49
|
-
"eslint-
|
|
50
|
-
"eslint-plugin-
|
|
51
|
-
"eslint-plugin-jest": "^29.15.1",
|
|
52
|
-
"eslint-plugin-n": "^17.24.0",
|
|
45
|
+
"eslint-plugin-jest": "^29.17.0",
|
|
46
|
+
"eslint-plugin-n": "^18.5.0",
|
|
53
47
|
"eslint-plugin-no-unsanitized": "^4.1.5",
|
|
54
|
-
"eslint-plugin-prettier": "^5.5.
|
|
55
|
-
"eslint-plugin-promise": "^7.
|
|
48
|
+
"eslint-plugin-prettier": "^5.5.7",
|
|
49
|
+
"eslint-plugin-promise": "^7.3.0",
|
|
56
50
|
"eslint-plugin-react": "^7.37.5",
|
|
57
|
-
"eslint-plugin-regexp": "^3.
|
|
58
|
-
"eslint-plugin-security": "^4.
|
|
51
|
+
"eslint-plugin-regexp": "^3.3.2",
|
|
52
|
+
"eslint-plugin-security": "^4.2.1",
|
|
59
53
|
"filereader": "^0.10.3",
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
"jest": "^30.
|
|
64
|
-
"jest-environment-
|
|
65
|
-
"jest-
|
|
66
|
-
"jest-
|
|
67
|
-
"jest-
|
|
68
|
-
"
|
|
69
|
-
"
|
|
70
|
-
"
|
|
71
|
-
"terser-webpack-plugin": "^5.4.0",
|
|
54
|
+
"globals": "^17.13.0",
|
|
55
|
+
"i18next-cli": "^1.80.7",
|
|
56
|
+
"jest": "^30.5.2",
|
|
57
|
+
"jest-environment-jsdom": "^30.5.2",
|
|
58
|
+
"jest-environment-node": "^30.5.2",
|
|
59
|
+
"jest-fetch-mock": "^4.2.0",
|
|
60
|
+
"jest-junit": "^17.0.0",
|
|
61
|
+
"jest-webextension-mock": "^4.2.0",
|
|
62
|
+
"lockfile-lint": "^5.1.0",
|
|
63
|
+
"prettier": "3.9.10",
|
|
64
|
+
"terser-webpack-plugin": "^5.6.1",
|
|
72
65
|
"text-encoding-utf-8": "^1.0.2",
|
|
73
|
-
"web-ext": "^10.
|
|
74
|
-
"webpack": "^5.
|
|
75
|
-
"webpack-cli": "^7.
|
|
76
|
-
},
|
|
77
|
-
"overrides": {
|
|
78
|
-
"@xmldom/xmldom": "0.8.15",
|
|
79
|
-
"uuid": "^14.0.0",
|
|
80
|
-
"shell-quote": "1.12.0",
|
|
81
|
-
"js-yaml": "^4.3.2",
|
|
82
|
-
"adm-zip": "0.6.1",
|
|
83
|
-
"qrcode": {
|
|
84
|
-
"yargs": "^18.1.0"
|
|
85
|
-
}
|
|
66
|
+
"web-ext": "^10.8.0",
|
|
67
|
+
"webpack": "^5.112.2",
|
|
68
|
+
"webpack-cli": "^7.3.1"
|
|
86
69
|
},
|
|
87
70
|
"scripts": {
|
|
88
71
|
"build": "webpack",
|
|
89
72
|
"build:firefox": "webpack --config webpack.firefox.config.js",
|
|
90
|
-
"build:chromium-mv2": "webpack --config webpack.chromium-mv2.config.js",
|
|
91
73
|
"build:chromium-mv3": "webpack --config webpack.chromium-mv3.config.js",
|
|
92
74
|
"build:safari": "webpack --config webpack.safari.config.js",
|
|
93
75
|
"dev:build:firefox": "NODE_ENV=development webpack --config webpack.firefox.config.js",
|
|
94
|
-
"dev:build:chromium-mv2": "NODE_ENV=development webpack --config webpack.chromium-mv2.config.js",
|
|
95
76
|
"dev:build:chromium-mv3": "NODE_ENV=development webpack --config webpack.chromium-mv3.config.js",
|
|
96
77
|
"dev:build:safari": "NODE_ENV=development webpack --config webpack.safari.config.js",
|
|
97
78
|
"dev:safari:convert": "xcrun safari-web-extension-converter --app-name Passbolt-Safari-Extension --swift --macos-only --project-location ./build-safari-extension --bundle-identifier com.passbolt.safari-extension --force --no-open build/all/",
|
|
98
79
|
"dev:watch:build:firefox": "npm run dev:build:firefox -- -w",
|
|
99
|
-
"dev:watch:build:chromium-mv2": "npm run dev:build:chromium-mv2 -- -w",
|
|
100
80
|
"dev:watch:build:chromium-mv3": "npm run dev:build:chromium-mv3 -- -w",
|
|
101
81
|
"dev:watch:build:safari": "npm run dev:build:safari -- -w",
|
|
102
82
|
"lint": "npm run lint:lockfile && npm run lint:eslint",
|
|
103
|
-
"lint:lockfile": "lockfile-lint --path package-lock.json --allowed-hosts npm --allowed-schemes \"https:\" --empty-hostname false",
|
|
83
|
+
"lint:lockfile": "lockfile-lint --path package-lock.json --allowed-hosts npm --allowed-schemes \"https:\" --empty-hostname false --validate-integrity-strict --validate-package-names -l @jest/react-is-18:react-is -l @jest/react-is-19:react-is",
|
|
104
84
|
"lint:eslint": "eslint src --max-warnings 0",
|
|
105
85
|
"lint:eslint-fix": "eslint --fix src",
|
|
106
86
|
"test": "npm run test:unit",
|
|
107
87
|
"test:unit": "jest --no-cache ./src/all/ ./src/chrome-mv3/ ./src/chrome/ ./src/safari/",
|
|
108
88
|
"test:coverage": "jest --no-cache ./src/all/ ./src/chrome-mv3/ ./src/safari/ --coverage",
|
|
109
89
|
"test:ci:coverage": "npm run test:coverage -- --runInBand"
|
|
90
|
+
},
|
|
91
|
+
"overrides": {
|
|
92
|
+
"glob": "14.0.3",
|
|
93
|
+
"@xmldom/xmldom": "0.8.15",
|
|
94
|
+
"eslint-plugin-react": {
|
|
95
|
+
"eslint": "$eslint"
|
|
96
|
+
},
|
|
97
|
+
"minimatch": "11.0.1",
|
|
98
|
+
"multimatch@6.0.0": {
|
|
99
|
+
"minimatch": "3.1.5"
|
|
100
|
+
}
|
|
110
101
|
}
|
|
111
102
|
}
|
|
@@ -32,6 +32,7 @@ describe("Locales", () => {
|
|
|
32
32
|
console.error(error);
|
|
33
33
|
throw new Error(
|
|
34
34
|
`Extension name for locale "${locale}" should not be greater than ${extensionNameLength} characters`,
|
|
35
|
+
{ cause: error },
|
|
35
36
|
);
|
|
36
37
|
}
|
|
37
38
|
|
|
@@ -41,6 +42,7 @@ describe("Locales", () => {
|
|
|
41
42
|
console.error(error);
|
|
42
43
|
throw new Error(
|
|
43
44
|
`Extension description for locale "${locale}" should not be greater than ${extensionDescriptionLength} characters`,
|
|
45
|
+
{ cause: error },
|
|
44
46
|
);
|
|
45
47
|
}
|
|
46
48
|
}
|