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

@homeofthings/nestjs-utils

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@homeofthings/nestjs-utils - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

1

CHANGELOG.md

@@ -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 |

11

package.json
{
"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

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