
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
@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.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.