
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@sane-shopify/types
Advanced tools
@sane-shopify/typesThis 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 '@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 @sane-shopify/types demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.