Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
org.apache.sling:org.apache.sling.testing.sling-mock-oak
Advanced tools
Implements a resource resolver type for Jackrabbit Oak that can be used in unit tests based on Sling Mocks.
This module is part of the Apache Sling project.
Implements a resource resolver type for Jackrabbit Oak that can be used in unit tests based on Sling Mocks.
This is a separate Maven artifact because it introduces a lot of further dependencies. In order to prevent dependency version overrides of Oak bundles via dependency management all necessary bundles are embedded into this JAR. Partially the classes are also relocated to reduce potential conflicts with other artifacts on the class path.
Make sure to depend on this artifact prior to artifact org.apache.sling.testing.sling-mock.*
in order to give the Oak classes in this JAR precedence in the Maven test class path and use the shaded Oak version from this artifact.
In order to execute tests with a version newer than the Oak version shaded in this bundle, place all necessary bundles in the Maven test class path as dependencies prior to the dependency on this artifact.
Downgrading to an older Oak version is not supported and will lead to an exception (if some earlier artifacts in the class path provide an old Oak implementation).
Documentation: https://sling.apache.org/documentation/development/sling-mock.html
FAQs
Implements a resource resolver type for Jackrabbit Oak that can be used in unit tests based on Sling Mocks.
We found that org.apache.sling:org.apache.sling.testing.sling-mock-oak demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.