
Security News
Another Round of TEA Protocol Spam Floods npm, But It’s Not a Worm
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.
@scullyio/scully-plugin-base-href-rewrite
Advanced tools
npm install -D @scullyio/scully-plugin-base-href-rewrite
This is the Scully base-Href rewriting render plugin. You can add this to the postRenderer, or to the defaultPostRenderer to change the base HREF to what you need.
You can set the the base-HREF using the setPluginUption('baseHref', {href:'newHref/'})
If you want to rewrite the base-href for all pages you can use the setPluginConfig option and add the plugin to the defaultPostRenderers array like this:
import { baseHrefRewrite } from '@scullyio/scully-plugin-base-href-rewrite';
const defaultPostRenderers = ['seoHrefOptimise', baseHrefRewrite];
setPluginConfig(baseHrefRewrite, { href: 'xxx' });
export const config: ScullyConfig = {
/** ... config here */
defaultPostRenderers,
routes: {
/** all your routes are here **/
},
};
If you want to change a single route, you can put it in your scully config like this:
import { baseHrefRewrite } from '@scullyio/scully-plugin-base-href-rewrite';
export const config: ScullyConfig = {
/** ... config here */
routes: {
'/basehref/rewritten': {
type: 'default',
postRenderers: [baseHrefRewrite],
baseHref: '/basehref/rewritten/',
},
},
};
FAQs
## Getting Started
The npm package @scullyio/scully-plugin-base-href-rewrite receives a total of 115 weekly downloads. As such, @scullyio/scully-plugin-base-href-rewrite popularity was classified as not popular.
We found that @scullyio/scully-plugin-base-href-rewrite demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.

Security News
PyPI adds Trusted Publishing support for GitLab Self-Managed as adoption reaches 25% of uploads

Research
/Security News
A malicious Chrome extension posing as an Ethereum wallet steals seed phrases by encoding them into Sui transactions, enabling full wallet takeover.