Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@six-socks-studio/sane-shopify-types
Advanced tools
Common typescript typings for @sane-shopify projects
@sane-shopify/types
This package is a Typescript typeRoot of typings of both common types throughout the @sane-shopify repo and external packages that otherwise have no types of their own.
Common types are exported in types/index.ts
, and external packages are typed in external/package-name/index.d.ts
.
This also includes all types from @good-idea/unwind-edges.
Some of the types are not in the main DefintelyTyped repository, while others are written by us. We're using this package to increase velocity of updating types. Getting stuff into the main repo takes a week, which is too slow for us at the current stage.
All of the types here are designed to not add any functionality except the one existing in the packages themselves
Install this package.
yarn add --dev @sane-shopify/types
import { ShopifyClient } from '@six-socks-studio/sane-shopify-types'
To use the external typings, update your tsconfig.json
to include additional type root.
{
{
"compilerOptions": {
"typeRoots": ["node_modules/@sane-shopify/types/external", "node_modules/@types"]
}
}
Then, in your project:
import { SanityClient } from '@sanity/base'
(Setup adapted from @joincivil/Civil/typescript-typings)
FAQs
Common typescript typings for @sane-shopify projects
We found that @six-socks-studio/sane-shopify-types 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.