New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@nestjsx/crud

Package Overview
Dependencies
Maintainers
1
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nestjsx/crud - npm Package Compare versions

Comparing version 1.1.2 to 1.1.3

4

package.json
{
"name": "@nestjsx/crud",
"version": "1.1.2",
"version": "1.1.3",
"description": "NestJs CRUD for RESTful APIs",

@@ -9,3 +9,3 @@ "main": "index.js",

"type": "git",
"url": "https://github.com/zMotivat0r/nest-crud.git"
"url": "https://github.com/nestjsx/crud.git"
},

@@ -12,0 +12,0 @@ "bugs": {

@@ -49,3 +49,2 @@ <p align="center">

- [Tests](#tests)
- [Warning](#warning)
- [License](#license)

@@ -58,3 +57,4 @@

```bash
npm i @nestjsx/crud @nestjs/typeorm typeorm class-validator class-transformer --save
npm i @nestjsx/crud --save
npm i @nestjs/typeorm typeorm class-validator class-transformer --save
```

@@ -126,3 +126,3 @@

## API Endpoints Examples
## API Endpoints

@@ -164,3 +164,3 @@ ### Get Many Entities

{
"bulk": [{ "name": "Batman" }, { "name": "Batgirl" }, { "name": "Joker" }]
"bulk": [{ "name": "Batman" }, { "name": "Batgirl" }]
}

@@ -199,3 +199,3 @@ ```

- [**`sort`**](#sort) (alias: `sort[]`) - sort GET result by some `field` in `ASC | DESC` order
- [**`join`**](join) (alias: `join[]`) - receive joined relational entities in GET result (with all or selected fields)
- [**`join`**](#join) (alias: `join[]`) - receive joined relational entities in GET result (with all or selected fields)
- [**`limit`**](#limit) (alias `per_page`) - receive `N` amount of entities

@@ -701,3 +701,8 @@ - [**`offset`**](#offset) (alias `skip`) - offset `N` amount of entities

...
import { Crud, CrudController, Override, RestfulParamsDto } from '@nestjsx/crud';
import {
Crud,
CrudController,
Override,
RestfulParamsDto
} from '@nestjsx/crud';

@@ -829,4 +834,4 @@ @Crud(Hero)

const feature = this.reflector.get<string>(FEAUTURE_NAME_METADATA, controller);
const action = this.reflector.get<string>(ACTION_NAME_METADATA, handler);
const feature = this.reflector.get(FEAUTURE_NAME_METADATA, controller);
const action = this.reflector.get(ACTION_NAME_METADATA, handler);

@@ -855,3 +860,4 @@ console.log(`${feature}-${action}`); // e.g. 'Heroes-Read-All'

```shell
git clone https://github.com/nestjsx/crud.git && cd crud/integration/typeorm
git clone https://github.com/nestjsx/crud.git
cd crud/integration/typeorm
```

@@ -858,0 +864,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc