New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@invisible/logger

Package Overview
Dependencies
Maintainers
10
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@invisible/logger - npm Package Compare versions

Comparing version 3.0.2 to 3.0.3

test/mocha.opts

4

CHANGELOG.md

@@ -1,5 +0,1 @@

*v3.0.2*
> Chore: updated dependencies and switched to pnpm
> Fix: silent on tests
*v3.0.0*

@@ -6,0 +2,0 @@ > Refact: Removed winston in favor of direct rollbar usage (better stack trace)

@@ -17,6 +17,5 @@ "use strict";

level: LOGGER_LEVEL,
transports,
silent: isTest && !enabledInTest,
transports: isTest && !enabledInTest ? undefined : transports,
});
exports.default = logger;
//# sourceMappingURL=index.js.map

@@ -15,6 +15,5 @@ import winston, { createLogger } from 'winston'

level: LOGGER_LEVEL,
transports,
silent: isTest && !enabledInTest,
transports: isTest && !enabledInTest ? undefined : transports,
})
export default logger as winston.Logger
{
"name": "@invisible/logger",
"version": "3.0.2",
"version": "3.0.3",
"description": "Invisible Logging Wrapper",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"scripts": {
"build": "rm -rf dist && tsc",

@@ -14,7 +14,8 @@ "check-types": "tsc --noEmit --noErrorTruncation",

"prepublish": "yarn lint && yarn build",
"test": "LOGGER_ENABLED_IN_TEST=true NODE_ENV=test mocha --config test/mocharc.json $(find test -name '*.spec.ts')",
"test": "LOGGER_ENABLED_IN_TEST=true NODE_ENV=test mocha $(find test -name '*.spec.ts')",
"posttest": "assert-version-bump && assert-changelog-update --quiet"
},
"engines": {
"node": "12.x"
"node": "14.x",
"yarn": "1.x"
},

@@ -45,10 +46,10 @@ "repository": {

"devDependencies": {
"@invisible/changelog-update": "^1.2.2",
"@invisible/publish": "^2.0.4",
"@invisible/changelog-update": "^1.1.0",
"@invisible/publish": "^2.0.0",
"@types/mocha": "^8.0.3",
"@types/node": "^14.11.8",
"@typescript-eslint/eslint-plugin": "^4.4.0",
"@typescript-eslint/parser": "^4.4.0",
"decache": "^4.6.0",
"eslint": "^7.11.0",
"@types/node": "^14.11.2",
"@typescript-eslint/eslint-plugin": "^4.3.0",
"@typescript-eslint/parser": "^4.3.0",
"decache": "^4.4.0",
"eslint": "^7.10.0",
"eslint-config-prettier": "^6.12.0",

@@ -58,3 +59,3 @@ "eslint-plugin-no-only-tests": "^2.4.0",

"eslint-plugin-simple-import-sort": "^5.0.3",
"mocha": "^8.1.3",
"mocha": "^5.0.0",
"prettier": "^2.1.2",

@@ -61,0 +62,0 @@ "ts-node": "^9.0.0",

@@ -5,3 +5,8 @@ import Rollbar from 'rollbar'

const { ROLLBAR_LEVEL = 'warning', ROLLBAR_ACCESS_TOKEN, NODE_ENV } = process.env
const {
ROLLBAR_LEVEL = 'warning',
ROLLBAR_SERVER_ROOT = '/app/build/',
ROLLBAR_ACCESS_TOKEN,
NODE_ENV,
} = process.env

@@ -16,2 +21,7 @@ const rollbarConfig: Rollbar.Configuration = {

verbose: true,
payload: {
server: {
root: ROLLBAR_SERVER_ROOT,
},
},
}

@@ -18,0 +28,0 @@ const rollbar = new Rollbar(rollbarConfig)

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