
Research
/Security News
10 npm Typosquatted Packages Deploy Multi-Stage Credential Harvester
Socket researchers found 10 typosquatted npm packages that auto-run on install, show fake CAPTCHAs, fingerprint by IP, and deploy a credential stealer.
graphql-codegen-sqlmancer
Advanced tools
GraphQL Code Generator plugin for generating TypeScript types for Sqlmancer
This is a Graphql Code Generator plugin for generating types for Sqlmancer.
npm install --save-dev @graphql-codegen/cli typescript-sqlmancer
Add a codegen.yml configuration file and point it to your type definitions:
schema: src/**/*.graphql
generates:
path/to/file.ts:
plugins:
- graphql-codegen-sqlmancer
Then run the CLI command:
npx graphql-codegen
The plugin generates both a SqlmancerClient type to be used with Sqlmancer, as well as type definitions to be used in your resolvers. This plugin uses the @graphql-codegen/typescript and @graphql-codegen/typescript-resolvers under the hood to generate the resolver types. You can skip generating these types by setting withResolvers to false.
schema: src/**/*.graphql
generates:
path/to/file.ts:
plugins:
- graphql-codegen-sqlmancer
config:
withResolvers: false
NOTE: The plugin will compile your schema, including all transformations applied by Sqlmancer directives, before passing it to the
typescriptandtypescript-resolversplugins. These other plugins should not be used in addition to the Sqlmancer plugin -- doing so may result in the generator output not reflecting the final schema.
FAQs
GraphQL Code Generator plugin for generating TypeScript types for Sqlmancer
The npm package graphql-codegen-sqlmancer receives a total of 2 weekly downloads. As such, graphql-codegen-sqlmancer popularity was classified as not popular.
We found that graphql-codegen-sqlmancer 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.

Research
/Security News
Socket researchers found 10 typosquatted npm packages that auto-run on install, show fake CAPTCHAs, fingerprint by IP, and deploy a credential stealer.

Product
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.

Security News
Open source dashboard CNAPulse tracks CVE Numbering Authorities’ publishing activity, highlighting trends and transparency across the CVE ecosystem.