
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.
@servicensw/base
Advanced tools
Base CSS for all of Service NSW.
Service NSW package documentation and examples
(Login credentials required)
npm install @servicensw/base --save-dev
CSS
Importantly, the dist CSS from this package includes all of the CSS variables for all other components.
@import '@servicensw/base';@import 'servicensw-base';@import url('dist/base.css');<link href="dist/base.css" rel="stylesheet" type="text/css">Vanilla JS
The recommended usage is of ES modules, to take advantage of code-splitting.
import Base from "@servicensw/base"
new Base({
idAttributeSelectors:
":not(.notice) > h2:not(.accordion__title), h3:not(.accordion__title)",
responsiveTableSelectors:
".table--responsive:not(.is-excluded), .page-section table:not(.is-excluded):not(.table--responsive)",
videoTranscriptSelectors: ".transcript:not(.is-excluded)",
makeGlobal: true,
})
The utilities can also be used independently;
import { Keyboard } from "@servicensw/base"
Legacy usage;
<script src="dist/base.js" type="text/javascript"></script>const Base = require("@servicensw/base") (initialize yourself)This package includes a variety of JS functionality. This functionality can be access by including dist/base.js
via a script tag, or it can be imported using ES module syntax. See src/base.js for examples.
FAQs
Base styles and variables
We found that @servicensw/base demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 11 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.