Socket
Socket
Sign inDemoInstall

@dxos/debug

Package Overview
Dependencies
Maintainers
10
Versions
3056
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dxos/debug - npm Package Compare versions

Comparing version 1.0.0-beta.78 to 2.10.2

dist/src/assert.d.ts

83

package.json
{
"name": "@dxos/debug",
"version": "1.0.0-beta.78",
"description": "Debug utilities",
"keywords": [],
"license": "AGPLv3",
"author": "DxOS.org",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"build": "tsc",
"clean": "del-cli dist",
"coverage": "npm test -- --coverage",
"coveralls": "npm run coverage && cat ./coverage/lcov.info | coveralls",
"lint": "semistandard 'src/**/*.js'",
"prepublishOnly": "npm run build && npm run test",
"test": "jest --rootDir ./src --verbose --passWithNoTests"
},
"files": [
"dist",
"src"
],
"dependencies": {
"debug": "^4.1.1"
},
"devDependencies": {
"@babel/cli": "^7.0.0",
"@babel/core": "^7.0.0",
"@babel/plugin-proposal-class-properties": "^7.3.0",
"@babel/plugin-proposal-export-default-from": "^7.2.0",
"@babel/plugin-transform-runtime": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"babel-eslint": "^10.1.0",
"babel-jest": "^25.1.0",
"babel-plugin-add-module-exports": "^1.0.0",
"del-cli": "^3.0.0",
"jest": "^24.5.0",
"semistandard": "^14.2.0",
"typescript": "^4.1.3"
},
"publishConfig": {
"access": "public"
},
"semistandard": {
"parser": "babel-eslint",
"env": [
"jest",
"node",
"browser"
]
}
"name": "@dxos/debug",
"version": "2.10.2",
"description": "Debug utilities",
"bugs": {
"url": "'https://github.com/dxos/protocols/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/dxos/protocols.git"
},
"license": "AGPL-3.0",
"main": "dist/src/index.js",
"types": "dist/src/index.d.ts",
"files": [
"dist",
"src"
],
"scripts": {
"build": "toolchain build",
"lint": "toolchain lint",
"test": "toolchain test"
},
"dependencies": {
"@types/node": "^14.0.9",
"debug": "^4.1.1"
},
"devDependencies": {
"@dxos/toolchain-node-library": "2.10.1-beta",
"@types/jest": "^26.0.7"
},
"publishConfig": {
"access": "restricted"
}
}
//
// Copyright 2020 DXOS.
// Copyright 2020 DXOS.org
//

@@ -4,0 +4,0 @@

//
// Copyright 2020 DXOS.
// Copyright 2020 DXOS.org
//

@@ -4,0 +4,0 @@

//
// Copyright 2020 DXOS.
// Copyright 2020 DXOS.org
//
export * from './assert';
export * from './console';
export * from './error-handler';
export * from './error-stream';
export * from './logging';
export * from './util';
export * from './raise';
export * from './strings';
export * from './stack-trace';
export * from './throw';
export * from './timeout-warning';
//
// Copyright 2020 DXOS.
// Copyright 2020 DXOS.org
//

@@ -60,3 +60,2 @@

/**

@@ -66,9 +65,10 @@ * Expose 'debug' module's selective log namespace capabilities by delegation.

*/
/**
* Enables a debug mode by namespaces. This can include modes
* separated by a colon and wildcards.
*
* @param {String} namespaces
*/
export function enable(namespaces) {
* Enables a debug mode by namespaces. This can include modes
* separated by a colon and wildcards.
*
* @param {String} namespaces
*/
export function enable (namespaces) {
debug.enable(namespaces);

@@ -78,8 +78,8 @@ }

/**
* Disable all namespaces, return previously enabled namespaces.
*
* @return {String} namespaces
*/
export function disable() {
* Disable all namespaces, return previously enabled namespaces.
*
* @return {String} namespaces
*/
export function disable () {
return debug.disable();
}
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