Comparing version 3.0.2 to 4.0.0
@@ -0,1 +1,6 @@ | ||
# v4.0.0 (Feb 24, 2021) | ||
* BREAKING CHANGE: Changed package to a ES module. | ||
* BREAKING CHANGE: Require Node.js 12 or newer. | ||
# 3.0.2 (Jan 5, 2021) | ||
@@ -2,0 +7,0 @@ |
@@ -1,6 +0,4 @@ | ||
'use strict'; | ||
console.log('\n\n$ node demo.js') | ||
const snooplogg = require('../dist/index').default; | ||
import snooplogg from '../src/index.js'; | ||
@@ -7,0 +5,0 @@ snooplogg.stdio |
{ | ||
"name": "snooplogg", | ||
"version": "3.0.2", | ||
"version": "4.0.0", | ||
"description": "Your mind on your logs and your logs on your mind", | ||
"main": "./dist/index.js", | ||
"type": "module", | ||
"exports": "./src/index.js", | ||
"author": "Chris Barber <chris@cb1inc.com> (https://github.com/cb1kenobi)", | ||
@@ -20,44 +21,22 @@ "license": "MIT", | ||
"scripts": { | ||
"build": "gulp build", | ||
"coverage": "gulp coverage", | ||
"docs": "gulp docs", | ||
"prepare": "gulp build", | ||
"test": "gulp test" | ||
"coverage": "c8 npm run test", | ||
"lint": "eslint src test", | ||
"prepack": "npm run lint", | ||
"test": "npm run lint && mocha test/**/test-*.js --reporter spec" | ||
}, | ||
"dependencies": { | ||
"bryt": "^1.0.2", | ||
"bryt-lite": "^1.0.1", | ||
"chalk": "^4.1.0", | ||
"nanobuffer": "^1.1.7", | ||
"source-map-support": "^0.5.19", | ||
"supports-color": "^8.1.0" | ||
"nanobuffer": "^2.0.0", | ||
"supports-color": "^8.1.1" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "^7.12.10", | ||
"@babel/plugin-transform-modules-commonjs": "^7.12.1", | ||
"@babel/register": "^7.12.10", | ||
"ansi-colors": "^4.1.1", | ||
"babel-eslint": "^10.1.0", | ||
"babel-loader": "^8.2.2", | ||
"babel-plugin-istanbul": "^6.0.0", | ||
"chai": "^4.2.0", | ||
"coveralls": "^3.1.0", | ||
"esdoc": "^1.1.0", | ||
"esdoc-ecmascript-proposal-plugin": "^1.0.0", | ||
"esdoc-standard-plugin": "^1.0.0", | ||
"eslint": "^7.17.0", | ||
"c8": "^7.6.0", | ||
"chai": "^4.3.0", | ||
"eslint": "^7.20.0", | ||
"eslint-plugin-chai-expect": "^2.2.0", | ||
"eslint-plugin-mocha": "^8.0.0", | ||
"eslint-plugin-promise": "^4.2.1", | ||
"eslint-plugin-promise": "^4.3.1", | ||
"eslint-plugin-security": "^1.4.0", | ||
"fancy-log": "^1.3.3", | ||
"fs-extra": "^9.0.1", | ||
"gulp": "^4.0.2", | ||
"gulp-babel": "^8.0.0", | ||
"gulp-debug": "^4.0.0", | ||
"gulp-eslint": "^6.0.0", | ||
"gulp-load-plugins": "^2.0.6", | ||
"gulp-plumber": "^1.2.1", | ||
"gulp-sourcemaps": "^3.0.0", | ||
"mocha": "^8.2.1", | ||
"nyc": "^15.1.0" | ||
"mocha": "^8.3.0" | ||
}, | ||
@@ -68,4 +47,4 @@ "homepage": "https://github.com/cb1kenobi/snooplogg", | ||
"engines": { | ||
"node": ">=10" | ||
"node": ">=12" | ||
} | ||
} |
@@ -7,3 +7,2 @@ # SnoopLogg | ||
[![Appveyor CI Build][appveyor-image]][appveyor-url] | ||
[![Test Coverage][coveralls-image]][coveralls-url] | ||
[![Deps][david-image]][david-url] | ||
@@ -251,4 +250,2 @@ [![Dev Deps][david-dev-image]][david-dev-url] | ||
[appveyor-url]: https://ci.appveyor.com/project/cb1kenobi/snooplogg | ||
[coveralls-image]: https://img.shields.io/coveralls/cb1kenobi/snooplogg/master.svg | ||
[coveralls-url]: https://coveralls.io/r/cb1kenobi/snooplogg | ||
[david-image]: https://img.shields.io/david/cb1kenobi/snooplogg.svg | ||
@@ -255,0 +252,0 @@ [david-url]: https://david-dm.org/cb1kenobi/snooplogg |
Sorry, the diff of this file is not supported yet
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
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
4
8
Yes
115128
1010
253
1
+ Addedbryt-lite@^1.0.1
+ Addedbryt-lite@1.0.1(transitive)
+ Addednanobuffer@2.0.0(transitive)
- Removedbryt@^1.0.2
- Removedsource-map-support@^0.5.19
- Removedbase64-js@1.5.1(transitive)
- Removedbrotli@1.3.3(transitive)
- Removedbryt@1.0.2(transitive)
- Removedbuffer-from@1.1.2(transitive)
- Removednanobuffer@1.1.7(transitive)
- Removedsource-map@0.6.1(transitive)
- Removedsource-map-support@0.5.21(transitive)
Updatednanobuffer@^2.0.0
Updatedsupports-color@^8.1.1