@browserspy/common
Advanced tools
Comparing version 0.1.1 to 0.2.0
@@ -0,2 +1,6 @@ | ||
/// <reference types="bunyan" /> | ||
import { bunyan } from './lib/logger'; | ||
declare const _default: { | ||
bunyan: typeof bunyan; | ||
logger: (name: string, level: string | number) => bunyan; | ||
router: (parent: import("express-serve-static-core").Express, dir: string) => void; | ||
@@ -3,0 +7,0 @@ }; |
"use strict"; | ||
var __importStar = (this && this.__importStar) || function (mod) { | ||
if (mod && mod.__esModule) return mod; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; | ||
result["default"] = mod; | ||
return result; | ||
}; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
var logger_1 = __importStar(require("./lib/logger")); | ||
var router_1 = __importDefault(require("./lib/router")); | ||
module.exports = { | ||
bunyan: logger_1.bunyan, | ||
logger: logger_1.default, | ||
router: router_1.default, | ||
}; | ||
//# sourceMappingURL=index.js.map |
@@ -44,2 +44,3 @@ "use strict"; | ||
case 'delete': | ||
case 'del': | ||
method = 'delete'; | ||
@@ -46,0 +47,0 @@ url += '/:id'; |
{ | ||
"name": "@browserspy/common", | ||
"version": "0.1.1", | ||
"version": "0.2.0", | ||
"description": "", | ||
@@ -16,2 +16,3 @@ "main": "./dist/index", | ||
"devDependencies": { | ||
"@types/bunyan": "^1.8.4", | ||
"@types/express": "^4.16.0", | ||
@@ -25,2 +26,3 @@ "@types/glob": "^5.0.35", | ||
"dependencies": { | ||
"bunyan": "^1.8.12", | ||
"express": "^4.16.3", | ||
@@ -27,0 +29,0 @@ "glob": "^7.1.2" |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
16748
18
232
0
3
7
+ Addedbunyan@^1.8.12
+ Addedbunyan@1.8.15(transitive)
+ Addeddtrace-provider@0.8.8(transitive)
+ Addedglob@6.0.4(transitive)
+ Addedminimist@1.2.8(transitive)
+ Addedmkdirp@0.5.6(transitive)
+ Addedmoment@2.30.1(transitive)
+ Addedmv@2.1.1(transitive)
+ Addednan@2.22.0(transitive)
+ Addedncp@2.0.0(transitive)
+ Addedrimraf@2.4.5(transitive)
+ Addedsafe-json-stringify@1.2.0(transitive)