🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

message-tag

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

message-tag - npm Package Compare versions

Comparing version
0.9.4
to
0.10.0
+7
-2
package.json
{
"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"
]
}
}

@@ -5,4 +5,4 @@

[![npm](https://img.shields.io/npm/v/message-tag.svg)](https://www.npmjs.com/package/message-tag)
![GitHub Actions](https://github.com/mkrause/message-tag/actions/workflows/nodejs.yml/badge.svg)
[![Types](https://img.shields.io/npm/types/message-tag)](https://img.shields.io/npm/types/message-tag)
[![GitHub Actions](https://github.com/mkrause/message-tag/actions/workflows/nodejs.yml/badge.svg)](https://github.com/mkrause/message-tag/actions)
[![Types](https://img.shields.io/npm/types/message-tag)](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.

# 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.