Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

nest-jsonapi

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nest-jsonapi - npm Package Compare versions

Comparing version 0.5.1 to 0.6.0

9

CHANGELOG.md

@@ -0,1 +1,10 @@

### [0.6.0](https://github.com/tzellman/nest-jsonapi/compare/v0.5.1...v0.6.0) (2022-01-06)
#### Changes
- Updated nest monorepo devDependency to 8.2+
- Updated several dependencies to latest versions
- Fixed package.json dependency issues (missing/mis-configured)
- Set `noImplicitAny` and `strictNullChecks` to true in tsconfig.json + related changes
### [0.5.1](https://github.com/tzellman/nest-jsonapi/compare/v0.5.0...v0.5.1) (2021-11-01)

@@ -2,0 +11,0 @@

2

lib/src/index.d.ts

@@ -13,3 +13,3 @@ export * from './constants';

export * from './service';
export * from './utils';
export { buildLinks } from './utils';
//# sourceMappingURL=index.d.ts.map

@@ -13,2 +13,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.buildLinks = void 0;
__exportStar(require("./constants"), exports);

@@ -26,3 +27,4 @@ __exportStar(require("./exception-filter"), exports);

__exportStar(require("./service"), exports);
__exportStar(require("./utils"), exports);
var utils_1 = require("./utils");
Object.defineProperty(exports, "buildLinks", { enumerable: true, get: function () { return utils_1.buildLinks; } });
//# sourceMappingURL=index.js.map

@@ -5,3 +5,3 @@ import { CallHandler, ExecutionContext, NestInterceptor } from '@nestjs/common';

import { Observable } from 'rxjs';
export declare const isJsonapiContentType: (contentType?: string) => boolean;
export declare const isJsonapiContentType: (contentType?: string | undefined) => boolean;
export declare class JsonapiInterceptor implements NestInterceptor {

@@ -8,0 +8,0 @@ private readonly jsonapiService;

@@ -48,5 +48,5 @@ "use strict";

resourceName: payloadOptions.resource,
options: { meta: {} }
options: { meta: {} },
source: data
};
params.source = data;
if (Array.isArray(data)) {

@@ -53,0 +53,0 @@ params.options.meta = { count: data.length };

@@ -9,3 +9,3 @@ import { CustomDecorator } from '@nestjs/common';

}
export declare const JsonapiPayload: (options?: JsonapiPayloadOptions) => CustomDecorator;
export declare const JsonapiPayload: (options?: JsonapiPayloadOptions | undefined) => CustomDecorator;
//# sourceMappingURL=payload-decorator.d.ts.map

@@ -14,3 +14,2 @@ "use strict";

};
var _a;
Object.defineProperty(exports, "__esModule", { value: true });

@@ -21,3 +20,2 @@ exports.JsonapiPipe = void 0;

const core_1 = require("@nestjs/core");
const express_1 = require("express");
const constants_1 = require("./constants");

@@ -56,5 +54,5 @@ const utils_1 = require("./utils");

__param(1, (0, common_1.Inject)(core_1.REQUEST)),
__metadata("design:paramtypes", [service_1.JsonapiService, typeof (_a = typeof express_1.Request !== "undefined" && express_1.Request) === "function" ? _a : Object])
__metadata("design:paramtypes", [service_1.JsonapiService, Object])
], JsonapiPipe);
exports.JsonapiPipe = JsonapiPipe;
//# sourceMappingURL=pipe.js.map
{
"name": "nest-jsonapi",
"version": "0.5.1",
"version": "0.6.0",
"description": "a NestJS module that provides JSONAPI integration",

@@ -37,31 +37,32 @@ "keywords": ["nestjs", "nest", "jsonapi", "json-api"],

},
"dependencies": {
"dot-object": "2.1.4",
"transformalizer": "1.1.3"
},
"peerDependencies": {
"@nestjs/common": "^8.1.2",
"@nestjs/core": "^8.1.2",
"class-transformer": "^0.4.0",
"@nestjs/common": "^8.2.3",
"@nestjs/core": "^8.2.3",
"class-transformer": "^0.5.1",
"lodash": "^4.17.21",
"reflect-metadata": "^0.1.13",
"rxjs": "^7.4.0"
"rxjs": "^7.4.0",
"transformalizer": "^1.1.3"
},
"devDependencies": {
"@commitlint/cli": "13.2.1",
"@commitlint/config-conventional": "13.2.0",
"@nestjs/common": "8.1.2",
"@nestjs/core": "8.1.2",
"@nestjs/platform-express": "8.1.2",
"@nestjs/testing": "8.1.2",
"@commitlint/cli": "16.0.1",
"@commitlint/config-conventional": "16.0.0",
"@nestjs/common": "8.2.4",
"@nestjs/core": "8.2.4",
"@nestjs/platform-express": "8.2.4",
"@nestjs/testing": "8.2.4",
"@types/dot-object": "2.1.2",
"@types/express": "4.17.13",
"@types/faker": "5.5.9",
"@types/jest": "27.0.2",
"@types/node": "14.17.32",
"@types/validator": "13.6.5",
"@typescript-eslint/eslint-plugin": "5.2.0",
"@typescript-eslint/eslint-plugin-tslint": "5.2.0",
"@typescript-eslint/parser": "5.2.0",
"class-transformer": "0.4.0",
"conventional-changelog-cli": "2.1.1",
"eslint": "7.32.0",
"@types/jest": "27.4.0",
"@types/lodash": "4.14.178",
"@types/node": "14.17.34",
"@types/validator": "13.7.1",
"@typescript-eslint/eslint-plugin": "5.9.0",
"@typescript-eslint/eslint-plugin-tslint": "5.9.0",
"@typescript-eslint/parser": "5.9.0",
"class-transformer": "0.5.1",
"conventional-changelog-cli": "2.2.2",
"dot-object": "2.1.4",
"eslint": "8.6.0",
"eslint-config-prettier": "8.3.0",

@@ -72,17 +73,19 @@ "eslint-plugin-prefer-arrow": "1.2.3",

"husky": "4.3.8",
"jest": "27.3.1",
"jest": "27.4.7",
"jest-junit": "13.0.0",
"lodash": "4.17.21",
"npm-run-all": "4.1.5",
"prettier": "2.4.1",
"pretty-quick": "3.1.1",
"prettier": "2.5.1",
"pretty-quick": "3.1.3",
"reflect-metadata": "0.1.13",
"rimraf": "3.0.2",
"rxjs": "7.4.0",
"ts-jest": "27.0.7",
"rxjs": "7.5.1",
"transformalizer": "1.1.3",
"ts-jest": "27.1.2",
"ts-node": "10.4.0",
"tsc-watch": "4.5.0",
"tsconfig-paths": "3.11.0",
"tsc-watch": "4.6.0",
"tsconfig-paths": "3.12.0",
"tslint": "6.1.3",
"typedoc": "0.22.7",
"typescript": "4.4.4"
"typedoc": "0.22.10",
"typescript": "4.5.4"
},

@@ -89,0 +92,0 @@ "husky": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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