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

@browserspy/common

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@browserspy/common - npm Package Compare versions

Comparing version 0.1.1 to 0.2.0

dist/lib/logger.d.ts

4

dist/index.d.ts

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

4

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

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