message-tag
Advanced tools
+7
-2
| { | ||
| "name": "message-tag", | ||
| "version": "0.9.4", | ||
| "version": "0.10.0", | ||
| "author": "mkrause", | ||
@@ -25,3 +25,2 @@ "license": "MIT", | ||
| }, | ||
| "//": "https://github.com/felixge/node-dateformat/issues/176", | ||
| "type": "module", | ||
@@ -70,3 +69,9 @@ "main": "./dist/node-cjs/message.cjs", | ||
| "dateformat": "^4.6.2" | ||
| }, | ||
| "dependenciesComments": { | ||
| "dateformat": [ | ||
| "Note: do not upgrade to `dateformat` 5.x because it doesn't properly support CommonJS environments", | ||
| "https://github.com/felixge/node-dateformat/issues/176" | ||
| ] | ||
| } | ||
| } |
+2
-2
@@ -5,4 +5,4 @@ | ||
| [](https://www.npmjs.com/package/message-tag) | ||
|  | ||
| [](https://img.shields.io/npm/types/message-tag) | ||
| [](https://github.com/mkrause/message-tag/actions) | ||
| [](https://www.typescriptlang.org) | ||
@@ -9,0 +9,0 @@ A [template literal tag](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals) to format arbitrary values in a string template. Useful for error messages, logs, etc. |
-31
| # Change Log | ||
| - v0.9 | ||
| - Upgrade message-tag to use modern Node.js 14+ features. | ||
| - Drop support for Node 12. | ||
| - Use `exports` in package.json rather than `main`. | ||
| - Upgrade all dependencies to latest versions. | ||
| - Move dist files to new `dist` directory containing ESM, CommonJS, and TypeScript build files. | ||
| - v0.8 | ||
| - Invalid `Date` instances are now formatted as `[invalid Date]`, rather than throwing a TypeError as before. | ||
| - v0.7 | ||
| - Update import for `pretty-format`. | ||
| - v0.6 | ||
| - Drop support for Node v10, and IE 11. | ||
| - v0.5 | ||
| - Drop support for Node v8, add tests for Node v14. | ||
| - v0.4 | ||
| - Remove core-js polyfills to improve file size. | ||
| - Add `tsd` to test TypeScript declaration. | ||
| - v0.3 | ||
| - Add TypeScript support. | ||
| - v0.0 | ||
| - Initial version. |
44265
-1.2%11
-8.33%