nestjs-papr
Advanced tools
Comparing version 0.0.2-a to 0.0.3-a
@@ -42,3 +42,3 @@ # Contributor Covenant Code of Conduct | ||
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at opensource@plex.tv. All complaints will be reviewed and investigated promptly and fairly. | ||
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at vit.grusha@gmail.com. All complaints will be reviewed and investigated promptly and fairly. | ||
@@ -45,0 +45,0 @@ All community leaders are obligated to respect the privacy and security of the reporter of any incident. |
@@ -25,3 +25,3 @@ "use strict"; | ||
const papr_constants_1 = require("./papr.constants"); | ||
let PaprCoreModule = PaprCoreModule_1 = class PaprCoreModule { | ||
let PaprCoreModule = exports.PaprCoreModule = PaprCoreModule_1 = class PaprCoreModule { | ||
constructor(connectionName, moduleRef) { | ||
@@ -169,3 +169,3 @@ this.connectionName = connectionName; | ||
}; | ||
PaprCoreModule = PaprCoreModule_1 = __decorate([ | ||
exports.PaprCoreModule = PaprCoreModule = PaprCoreModule_1 = __decorate([ | ||
(0, common_1.Global)(), | ||
@@ -176,3 +176,2 @@ (0, common_1.Module)({}), | ||
], PaprCoreModule); | ||
exports.PaprCoreModule = PaprCoreModule; | ||
//# sourceMappingURL=papr-core.module.js.map |
@@ -14,3 +14,3 @@ "use strict"; | ||
const papr_core_module_1 = require("./papr-core.module"); | ||
let PaprModule = PaprModule_1 = class PaprModule { | ||
let PaprModule = exports.PaprModule = PaprModule_1 = class PaprModule { | ||
static forRoot(uri, options = {}) { | ||
@@ -48,6 +48,5 @@ return { | ||
}; | ||
PaprModule = PaprModule_1 = __decorate([ | ||
exports.PaprModule = PaprModule = PaprModule_1 = __decorate([ | ||
(0, common_1.Module)({}) | ||
], PaprModule); | ||
exports.PaprModule = PaprModule; | ||
//# sourceMappingURL=papr.module.js.map |
@@ -9,5 +9,5 @@ "use strict"; | ||
if (connectionName === undefined) { | ||
return `${model}Model`; | ||
return `${model}PaprModel`; | ||
} | ||
return `${getConnectionToken(connectionName)}/${model}Model`; | ||
return `${getConnectionToken(connectionName)}/${model}PaprModel`; | ||
} | ||
@@ -17,3 +17,3 @@ exports.getModelToken = getModelToken; | ||
return name && name !== papr_constants_1.DEFAULT_DB_CONNECTION | ||
? `${name}Connection` | ||
? `${name}PaprConnection` | ||
: papr_constants_1.DEFAULT_DB_CONNECTION; | ||
@@ -30,3 +30,3 @@ } | ||
return name && name !== papr_constants_1.DEFAULT_MODULE_OPTIONS | ||
? `${name}ModuleOptions` | ||
? `${name}PaprModuleOptions` | ||
: papr_constants_1.DEFAULT_MODULE_OPTIONS; | ||
@@ -33,0 +33,0 @@ } |
{ | ||
"name": "nestjs-papr", | ||
"version": "0.0.2a", | ||
"version": "0.0.3a", | ||
"description": "Papr integration for NestJS", | ||
@@ -22,3 +22,3 @@ "author": "Vitaliy Grusha", | ||
"engines": { | ||
"node": "^14.0.0 || >=15.0.0" | ||
"node": ">=16.0.0" | ||
}, | ||
@@ -33,19 +33,7 @@ "repository": { | ||
}, | ||
"scripts": { | ||
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"", | ||
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix", | ||
"build": "tsc -p tsconfig.build.json", | ||
"test": "jest", | ||
"test:ci": "jest", | ||
"test:cov": "jest --coverage", | ||
"test:e2e": "jest --config ./test/jest-e2e.json", | ||
"test:watch": "jest --watch", | ||
"coverage": "yarn run test:cov && cat ./coverage/lcov.info | coveralls", | ||
"prepublish": "npm run build" | ||
}, | ||
"dependencies": { | ||
"@nestjs/common": "^9.0.0", | ||
"@nestjs/core": "^9.0.0", | ||
"@nestjs/common": "^10.0.2", | ||
"@nestjs/core": "^10.0.2", | ||
"papr": "^13.1.0", | ||
"rxjs": "^7.2.0" | ||
"rxjs": "^7.8.1" | ||
}, | ||
@@ -55,17 +43,17 @@ "devDependencies": { | ||
"@types/node": "18.16.12", | ||
"@types/supertest": "^2.0.11", | ||
"@typescript-eslint/eslint-plugin": "^5.0.0", | ||
"@typescript-eslint/parser": "^5.0.0", | ||
"eslint": "^8.0.1", | ||
"eslint-config-prettier": "^8.3.0", | ||
"eslint-plugin-prettier": "^4.0.0", | ||
"@types/supertest": "^2.0.12", | ||
"@typescript-eslint/eslint-plugin": "^5.59.11", | ||
"@typescript-eslint/parser": "^5.59.11", | ||
"eslint": "^8.43.0", | ||
"eslint-config-prettier": "^8.8.0", | ||
"eslint-plugin-prettier": "^4.2.1", | ||
"jest": "29.5.0", | ||
"prettier": "^2.3.2", | ||
"source-map-support": "^0.5.20", | ||
"supertest": "^6.1.3", | ||
"prettier": "^2.8.8", | ||
"source-map-support": "^0.5.21", | ||
"supertest": "^6.3.3", | ||
"ts-jest": "29.1.0", | ||
"ts-loader": "^9.2.3", | ||
"ts-node": "^10.0.0", | ||
"ts-loader": "^9.4.3", | ||
"ts-node": "^10.9.1", | ||
"tsconfig-paths": "4.2.0", | ||
"typescript": "^5.0.0" | ||
"typescript": "^5.1.3" | ||
}, | ||
@@ -90,7 +78,20 @@ "jest": { | ||
"peerDependencies": { | ||
"@nestjs/common": "^9.0.0", | ||
"@nestjs/core": "^9.0.0", | ||
"papr": "^13.1.0", | ||
"mongodb": "^5.0.0" | ||
"@nestjs/common": "^10.0.2", | ||
"@nestjs/core": "^10.0.2", | ||
"mongodb": "^5.0.0", | ||
"papr": "^13.1.0" | ||
}, | ||
"packageManager": "pnpm@8.6.0", | ||
"scripts": { | ||
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"", | ||
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix", | ||
"build": "tsc -p tsconfig.build.json", | ||
"test": "jest", | ||
"test:ci": "jest", | ||
"test:cov": "jest --coverage", | ||
"test:e2e": "jest --config ./test/jest-e2e.json", | ||
"test:watch": "jest --watch", | ||
"coverage": "yarn run test:cov && cat ./coverage/lcov.info | coveralls", | ||
"prepublish": "pnpm run build" | ||
} | ||
} | ||
} |
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
44667
504
+ Added@nestjs/common@10.4.15(transitive)
+ Added@nestjs/core@10.4.15(transitive)
+ Addedpath-to-regexp@3.3.0(transitive)
+ Addedreflect-metadata@0.2.2(transitive)
+ Addedtslib@2.8.1(transitive)
- Removed@nestjs/common@9.4.3(transitive)
- Removed@nestjs/core@9.4.3(transitive)
- Removedpath-to-regexp@3.2.0(transitive)
- Removedreflect-metadata@0.1.14(transitive)
- Removedtslib@2.5.3(transitive)
Updated@nestjs/common@^10.0.2
Updated@nestjs/core@^10.0.2
Updatedrxjs@^7.8.1