
Security News
Node.js Drops Bug Bounty Rewards After Funding Dries Up
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.
@teip/create-flow-types
Advanced tools
Generate flow types using a schema and a query.
The generator exports a function that turns a GraphQLSchema and a parsed GraphQL AST into a Babel AST that represents the type structure.
function documentToModule(parent: GraphQLSchema, node: DocumentNode): BabelAST
To achieve this the program is composed recursively into functions that solve a subtask of the overall task. This works because the Flow type system and the GraphQL type system are similar enough that sub-solutions can form the overall solution.
Apollo Codegen targets multiple platforms such as Typescript, Scala and Swift. By focusing on flow types this project tries to iterate faster and make customisation in different dimensions easier.
Also teip requires your GraphQL documents to be written inside of pure .graphql files. This allows teip to create .graphql.flow files next to these files that contain the definitions for the queries inside.
FAQs
Generate flow types using a schema and a query.
We found that @teip/create-flow-types demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.