@burstware/burst-log
Advanced tools
Comparing version 1.1.0 to 2.0.0
{ | ||
"name": "@burstware/burst-log", | ||
"version": "1.1.0", | ||
"version": "2.0.0", | ||
"description": "Burst logging tool", | ||
"main": "index.js", | ||
"main": "./dist/index.js", | ||
"module": "./dist/index.mjs", | ||
"types": "./dist/index.d.ts", | ||
"exports": { | ||
".": { | ||
"import": "./dist/index.mjs", | ||
"require": "./dist/index.js" | ||
} | ||
}, | ||
"files": [ | ||
"dist" | ||
], | ||
"scripts": { | ||
"test": "nyc --reporter=text mocha test/**/*.spec.js --exit --reporter spec", | ||
"build": "tsup src/index.ts --format cjs,esm --dts", | ||
"test": "npm run test:cjs && npm run test:esm", | ||
"test:cjs": "node test-cjs/test.js", | ||
"test:esm": "node test-esm/test.mjs", | ||
"lint": "eslint --ignore-path .gitignore .", | ||
"lint:fix": "eslint --fix --ignore-path .gitignore ." | ||
"lint:fix": "eslint --fix --ignore-path .gitignore .", | ||
"prepublishOnly": "npm run build" | ||
}, | ||
@@ -25,2 +40,9 @@ "repository": { | ||
"devDependencies": { | ||
"@types/chai": "^4.3.20", | ||
"@types/chai-as-promised": "^7.1.8", | ||
"@types/mocha": "^10.0.10", | ||
"@types/node": "^20.17.13", | ||
"@types/winston": "^2.4.4", | ||
"@typescript-eslint/eslint-plugin": "^6.21.0", | ||
"@typescript-eslint/parser": "^6.21.0", | ||
"chai": "^4.2.0", | ||
@@ -34,5 +56,7 @@ "chai-as-promised": "^7.1.1", | ||
"eslint-plugin-standard": "^4.0.0", | ||
"mocha": "^6.2.0", | ||
"nyc": "^14.1.1" | ||
"mocha": "^10.2.0", | ||
"nyc": "^14.1.1", | ||
"tsup": "^8.3.5", | ||
"typescript": "^5.7.3" | ||
} | ||
} |
@@ -5,3 +5,3 @@ # Burst Log [![Build Status](https://travis-ci.com/JBaczuk/burst-log.svg?token=29qnEeDFvpCBmjssZsMZ&branch=master)](https://travis-ci.com/JBaczuk/burst-log) [![Coverage](https://img.shields.io/badge/coverage-0%25-red)](https://www.npmjs.org/@burstware/burst-log) | ||
[![NPM](https://img.shields.io/badge/npm-1.1.0-blue)](https://www.npmjs.org/@burstware/burst-log) | ||
[![NPM](https://img.shields.io/badge/npm-2.0.0-blue)](https://www.npmjs.org/@burstware/burst-log) | ||
@@ -38,2 +38,3 @@ Burst logging tool | ||
## Changelog | ||
`v2.0.0` Updated to support ESM. CJS is still supported via .default | ||
`v1.1.0` Now the log level is defined by the environment variable `LOG_LEVEL` and is set to `info` by default |
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
134996
21
516
39
19
10
1