Comparing version 2.0.0 to 2.0.1
# Changelog | ||
### 2.0.1 (2022-08-24) | ||
- Fixes | ||
- TypeScript only. Export types from the index again. Brings back to parity. | ||
### 2.0.0 (2022-08-22) | ||
@@ -4,0 +9,0 @@ |
import { LaLogOptions, LevelType, LogData, LogFunction, LogPresets, ParseReqIn, ParseReqOut, ResponseWrapper, TimeLogFunction } from './local-types'; | ||
export * from './local-types'; | ||
export default class Logger { | ||
@@ -3,0 +4,0 @@ isTransient: boolean; |
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); | ||
}; | ||
var __rest = (this && this.__rest) || function (s, e) { | ||
@@ -18,2 +32,3 @@ var t = {}; | ||
const local_types_1 = require("./local-types"); | ||
__exportStar(require("./local-types"), exports); | ||
const errorLevel = local_types_1.levels.indexOf('error'); | ||
@@ -20,0 +35,0 @@ const getInitialLogLevel = () => { |
@@ -13,2 +13,4 @@ import { v4 } from 'uuid'; | ||
export * from './local-types'; | ||
const errorLevel = levels.indexOf('error'); | ||
@@ -15,0 +17,0 @@ |
@@ -7,3 +7,3 @@ { | ||
"dependencies": { | ||
"node-fetch": "2.6.1", | ||
"node-fetch": "2.6.7", | ||
"uuid": "8.3.2" | ||
@@ -14,5 +14,5 @@ }, | ||
"@types/express": "4.17.13", | ||
"@types/jest": "27.5.0", | ||
"@types/node": "18.7.9", | ||
"@types/node-fetch": "2.6.1", | ||
"@types/jest": "28.1.7", | ||
"@types/node": "18.7.11", | ||
"@types/node-fetch": "2.6.2", | ||
"@types/uuid": "8.3.4", | ||
@@ -27,5 +27,5 @@ "@typescript-eslint/eslint-plugin": "5.34.0", | ||
"eslint-plugin-sort-keys-fix": "1.1.2", | ||
"jest": "27.5.1", | ||
"jest": "28.1.3", | ||
"pre-commit": "1.2.2", | ||
"ts-jest": "27.1.4", | ||
"ts-jest": "28.0.8", | ||
"typescript": "4.7.4" | ||
@@ -60,3 +60,3 @@ }, | ||
"types": "dist/index.d.ts", | ||
"version": "2.0.0" | ||
"version": "2.0.1" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
76509
991
+ Addednode-fetch@2.6.7(transitive)
+ Addedtr46@0.0.3(transitive)
+ Addedwebidl-conversions@3.0.1(transitive)
+ Addedwhatwg-url@5.0.0(transitive)
- Removednode-fetch@2.6.1(transitive)
Updatednode-fetch@2.6.7