@dxos/debug
Advanced tools
Comparing version 1.0.0-beta.78 to 2.10.2
{ | ||
"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(); | ||
} |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
Copyleft License
License(Experimental) Copyleft license information was found.
Found 1 instance in 1 package
No contributors or author data
MaintenancePackage does not specify a list of contributors or an author in package.json.
Found 1 instance in 1 package
Non-permissive License
License(Experimental) A license not known to be considered permissive was found.
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
Copyleft License
License(Experimental) Copyleft license information was found.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
Non-permissive License
License(Experimental) A license not known to be considered permissive was found.
Found 1 instance in 1 package
109758
2
63
2
775
1
0
2
2
+ Added@types/node@^14.0.9
+ Added@types/node@14.18.63(transitive)