
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.
prisma-nestjs-graphql-resource-generator
Advanced tools
Generates crud resources (resolver,service,module,test-files) for a prisma, nestjs, graphql setup
Generates crud resources (resolver,service,module,test-files) for a prisma, nestjs, graphql setup
npm i -D prisma-nestjs-graphql-resource-generator...
generator jsonSchema {
provider = "prisma-json-schema-generator"
output = "./generated/"
}
...
npx prisma generate you should decide on a folder you want to place the resource-files in, i will call mine modelsmodels.module.ts file has to be created including somewhat like:import { Module } from '@nestjs/common';
@Module({
imports: [],
exports: [],
})
export class ModelsModule {}
npx gm models/person to generate only one resource, here the person resourcenpx gmall to generate all prisma models that haven't been generated yet. Here the folder must be named models and the folder must be a direct subfolder of src.src
|
|-models <== creation of this one is in your responsibility
|
|- models.module.ts <== creation of this one is in your responsibility, it's name must be "models.module.ts"
|
|- person <== first generated crud resource folder
|
|- person.module.ts
|- person.resolver.spec.ts
|- person.resolver.ts
|- person.service.spec.ts
|- person.service.ts
|
|- address <== second generated crud resource folder
|
|- address.module.ts
|- address.resolver.spec.ts
|- address.resolver.ts
|- address.service.spec.ts
|- address.service.ts
|
...
FAQs
Generates crud resources (resolver,service,module,test-files) for a prisma, nestjs, graphql setup
We found that prisma-nestjs-graphql-resource-generator 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.