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

@bitdiver/logadapter-dispatcher

Package Overview
Dependencies
Maintainers
2
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bitdiver/logadapter-dispatcher - npm Package Compare versions

Comparing version 1.0.8 to 1.0.9

34

package.json
{
"name": "@bitdiver/logadapter-dispatcher",
"version": "1.0.8",
"version": "1.0.9",
"description": "",

@@ -38,27 +38,27 @@ "main": "lib/index.js",

"devDependencies": {
"@babel/cli": "7.12.8",
"@babel/core": "7.12.3",
"@babel/node": "7.12.6",
"@babel/plugin-proposal-object-rest-spread": "7.12.1",
"@babel/plugin-transform-runtime": "7.12.1",
"@babel/cli": "7.14.8",
"@babel/core": "7.14.8",
"@babel/node": "7.14.7",
"@babel/plugin-proposal-object-rest-spread": "7.14.7",
"@babel/plugin-transform-runtime": "7.14.5",
"@babel/polyfill": "7.12.1",
"@babel/preset-env": "7.12.7",
"@babel/register": "7.12.1",
"@babel/preset-env": "7.14.8",
"@babel/register": "7.14.5",
"babel-core": "7.0.0-bridge.0",
"babel-eslint": "10.1.0",
"babel-jest": "26.6.3",
"babel-jest": "27.0.6",
"cz-conventional-changelog": "3.3.0",
"eslint": "7.14.0",
"eslint-config-prettier": "6.15.0",
"eslint": "7.31.0",
"eslint-config-prettier": "8.3.0",
"eslint-plugin-babel": "5.3.1",
"jest": "26.6.3",
"jest-cli": "26.6.3",
"jest": "27.0.6",
"jest-cli": "27.0.6",
"jest-environment-node-debug": "2.0.0",
"prettier": "2.2.1",
"regenerator-runtime": "0.13.7",
"semantic-release": "17.3.0"
"prettier": "2.3.2",
"regenerator-runtime": "0.13.9",
"semantic-release": "17.4.4"
},
"dependencies": {
"@babel/runtime": "7.12.5"
"@babel/runtime": "7.14.8"
}
}
import { LogAdapterDispatcher, getLogAdapterDispatcher } from '../src/index'
test('create a new LogAdapterDispatcher', async (done) => {
test('create a new LogAdapterDispatcher', async () => {
const logAdapter = getLogAdapterDispatcher()
expect(logAdapter).not.toBeNull()
logAdapter.reset()
done()
})

@@ -13,3 +12,3 @@

*/
test('Logadapter set loglevel', async (done) => {
test('Logadapter set loglevel', async () => {
const logger1 = new DemoAdapter({ name: 'logger1' })

@@ -34,4 +33,2 @@ const logger2 = new DemoAdapter({ name: 'logger2' })

expect(logger2.level).toEqual(1)
done()
})

@@ -42,3 +39,3 @@

*/
test('Logadapter reset', async (done) => {
test('Logadapter reset', async () => {
const logger1 = new DemoAdapter({ name: 'logger1' })

@@ -56,4 +53,2 @@ const logger2 = new DemoAdapter({ name: 'logger2' })

expect(logger2.messages).toEqual([])
done()
})

@@ -64,3 +59,3 @@

*/
test('Logadapter reset', async (done) => {
test('Logadapter reset', async () => {
const logger1 = new DemoAdapter({ name: 'logger1' })

@@ -77,4 +72,2 @@ const logger2 = new DemoAdapter({ name: 'logger2' })

expect(logger2.messages).toEqual(['a', 'b'])
done()
})

@@ -85,3 +78,3 @@

*/
test('Logadapter with error', async (done) => {
test('Logadapter with error', async () => {
const logger1 = new DemoAdapter({ name: 'logger1' })

@@ -99,4 +92,2 @@ const logger2 = new DemoAdapter({ name: 'logger2' })

expect(logger2.messages).toEqual(['a', 'b'])
done()
})

@@ -103,0 +94,0 @@

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