@homeofthings/nestjs-utils
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -5,2 +5,3 @@ # CHANGELOG for @homeofthings/nestjs-utils | ||
|---------|--------------------------------------------------------------------------------------------------------------| | ||
| 2.0.1 | maintenance release | | ||
| 2.0.0 | nestjs 10x | | ||
@@ -7,0 +8,0 @@ | 1.0.4-6 | maintenance release | |
{ | ||
"name": "@homeofthings/nestjs-utils", | ||
"description": "HomeOfThings - NestJs Utils: various utilities and common types", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"keywords": [ | ||
@@ -24,7 +24,6 @@ "nestjs", | ||
"dependencies": { | ||
"@nestjs/common": "*", | ||
"rxjs": "*", | ||
"mkdirp": "*", | ||
"type-fest": "*", | ||
"tslib": "*" | ||
"@nestjs/common": "^10.3.0", | ||
"rxjs": "^7.4.0", | ||
"tslib": "^2.6.2", | ||
"@homeofthings/node-utils": "~1.0.0" | ||
}, | ||
@@ -31,0 +30,0 @@ "main": "./src/index.js", |
@@ -5,2 +5,3 @@ [![npm version](https://badge.fury.io/js/%40homeofthings%2Fnestjs-utils.svg)](https://badge.fury.io/js/%40homeofthings%2Fnestjs-utils) | ||
[![DeepScan grade](https://deepscan.io/api/teams/439/projects/987/branches/1954/badge/grade.svg)](https://deepscan.io/dashboard#view=project&tid=439&pid=987&bid=1954) | ||
[![Known Vulnerabilities](https://snyk.io/test/github/gms1/HomeOfThings/badge.svg)](https://snyk.io/test/github/gms1/HomeOfThings) | ||
@@ -100,3 +101,2 @@ [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com) | ||
- `class LruCache<T>` - LRU cache | ||
- `class AsyncContext<T>` - wrapper for `AsyncLocalStorage` | ||
- `function writeFileIfChanged(outputPath: string, content: string): Promise<boolean>` - write a file if provided content is different to exiting content | ||
- `class AsyncContext<T>` - asynchronouse contest based on `AsyncLocalStorage` |
export * from './lib/model'; | ||
export * from './lib/dynamic-root/dynamic-root.module'; | ||
export * from './lib/async-context/async-context'; | ||
export * from './lib/file/write-file-if-changed'; | ||
export * from './lib/lru-cache/lru-cache'; | ||
export { Logger, setLogger } from '@homeofthings/node-utils'; | ||
export { AsyncContext, LruCache, writeFileIfChanged } from '@homeofthings/node-utils'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.writeFileIfChanged = exports.LruCache = exports.AsyncContext = exports.setLogger = void 0; | ||
const tslib_1 = require("tslib"); | ||
tslib_1.__exportStar(require("./lib/model"), exports); | ||
tslib_1.__exportStar(require("./lib/dynamic-root/dynamic-root.module"), exports); | ||
tslib_1.__exportStar(require("./lib/async-context/async-context"), exports); | ||
tslib_1.__exportStar(require("./lib/file/write-file-if-changed"), exports); | ||
tslib_1.__exportStar(require("./lib/lru-cache/lru-cache"), exports); | ||
var node_utils_1 = require("@homeofthings/node-utils"); | ||
Object.defineProperty(exports, "setLogger", { enumerable: true, get: function () { return node_utils_1.setLogger; } }); | ||
// TODO: those exports should be deprecated in favour of importing them directly from '@homeofthings/node-utils' | ||
var node_utils_2 = require("@homeofthings/node-utils"); | ||
Object.defineProperty(exports, "AsyncContext", { enumerable: true, get: function () { return node_utils_2.AsyncContext; } }); | ||
Object.defineProperty(exports, "LruCache", { enumerable: true, get: function () { return node_utils_2.LruCache; } }); | ||
Object.defineProperty(exports, "writeFileIfChanged", { enumerable: true, get: function () { return node_utils_2.writeFileIfChanged; } }); | ||
//# sourceMappingURL=index.js.map |
export { Type } from '@nestjs/common'; | ||
export type { Constructor, JsonValue, Primitive } from 'type-fest'; | ||
export type GenericDictionary<T> = Record<string, T>; | ||
export type Dictionary = GenericDictionary<string>; | ||
export type AnyObject = GenericDictionary<unknown>; | ||
export { Constructor, AnyObject, GenericDictionary, Dictionary, JsonValue, Primitive } from '@homeofthings/node-utils'; |
export * from './common-types'; | ||
export * from './mixin-target'; | ||
export * from './module.options'; |
@@ -5,4 +5,3 @@ "use strict"; | ||
tslib_1.__exportStar(require("./common-types"), exports); | ||
tslib_1.__exportStar(require("./mixin-target"), exports); | ||
tslib_1.__exportStar(require("./module.options"), exports); | ||
//# sourceMappingURL=index.js.map |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Wildcard dependency
QualityPackage has a dependency with a floating version range. This can cause issues if the dependency publishes a new major version.
Found 5 instances in 1 package
Debug access
Supply chain riskUses debug, reflection and dynamic code execution features.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
4
1
0
17805
19
157
+ Added@homeofthings/node-utils@1.0.2(transitive)
+ Addedansi-styles@4.3.0(transitive)
+ Addedchalk@4.1.2(transitive)
+ Addedcolor-convert@2.0.1(transitive)
+ Addedcolor-name@1.1.4(transitive)
+ Addedconfig@3.3.12(transitive)
+ Addeddebug@4.3.7(transitive)
+ Addedhas-flag@4.0.0(transitive)
+ Addedjson5@2.2.3(transitive)
+ Addedms@2.1.3(transitive)
+ Addedsupports-color@7.2.0(transitive)
- Removedmkdirp@*
- Removedtype-fest@*
- Removedmkdirp@3.0.1(transitive)
Updated@nestjs/common@^10.3.0
Updatedrxjs@^7.4.0
Updatedtslib@^2.6.2