@timberio/tools
Advanced tools
Comparing version 0.15.0 to 0.16.0
@@ -8,2 +8,3 @@ "use strict"; | ||
const throttle_1 = __importDefault(require("./throttle")); | ||
const types_1 = require("@timberio/types"); | ||
const fetch_mock_1 = __importDefault(require("fetch-mock")); | ||
@@ -15,4 +16,5 @@ /** | ||
return { | ||
message: String(Math.random()), | ||
date: new Date() | ||
dt: new Date(), | ||
level: types_1.LogLevel.Info, | ||
message: String(Math.random()) | ||
}; | ||
@@ -19,0 +21,0 @@ } |
import makeBatch from "./batch"; | ||
import makeThrottle from "./throttle"; | ||
import { LogLevel } from "@timberio/types"; | ||
import fetchMock from "fetch-mock"; | ||
@@ -9,4 +10,5 @@ /** | ||
return { | ||
message: String(Math.random()), | ||
date: new Date() | ||
dt: new Date(), | ||
level: LogLevel.Info, | ||
message: String(Math.random()) | ||
}; | ||
@@ -13,0 +15,0 @@ } |
{ | ||
"name": "@timberio/tools", | ||
"version": "0.15.0", | ||
"version": "0.16.0", | ||
"description": "Javascript logging tools", | ||
@@ -34,6 +34,6 @@ "main": "dist/cjs/index.js", | ||
}, | ||
"gitHead": "b7cd2447a5d4829e632b656d156a1e98716dd5a0", | ||
"gitHead": "13fe691283afc3d96d5bc1ff7b13173f55389621", | ||
"dependencies": { | ||
"@timberio/types": "^0.15.0" | ||
"@timberio/types": "^0.16.0" | ||
} | ||
} |
import makeBatch from "./batch"; | ||
import makeThrottle from "./throttle"; | ||
import { ITimberLog } from "@timberio/types"; | ||
import { ITimberLog, LogLevel } from "@timberio/types"; | ||
import fetchMock from "fetch-mock"; | ||
@@ -11,4 +11,5 @@ | ||
return { | ||
message: String(Math.random()), | ||
date: new Date() | ||
dt: new Date(), | ||
level: LogLevel.Info, | ||
message: String(Math.random()) | ||
}; | ||
@@ -15,0 +16,0 @@ } |
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
99949
1894
+ Added@timberio/types@0.16.0(transitive)
- Removed@timberio/types@0.15.0(transitive)
Updated@timberio/types@^0.16.0