@docusaurus/logger 3.0.0-alpha.0 → 3.0.0-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +2 -0
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -40,6 +40,8 @@ In addition, `warn` and `error` will color the **entire** message for better att
40
40
  The template literal tag evaluates the template and expressions embedded. `interpolate` returns a new string, while other logging functions prints it. Below is a typical usage:
41
41
 
42
42
  ```js
43
+ import logger from '@docusaurus/logger';
44
+
43
45
  logger.info`Hello name=${name}! You have number=${money} dollars. Here are the ${
44
46
  items.length > 1 ? 'items' : 'item'
45
47
  } on the shelf: ${items}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docusaurus/logger",
3
- "version": "3.0.0-alpha.0",
3
+ "version": "3.0.0-rc.0",
4
4
  "description": "An encapsulated logger for semantically formatting console messages.",
5
5
  "main": "./lib/index.js",
6
6
  "repository": {
@@ -21,13 +21,13 @@
21
21
  "license": "MIT",
22
22
  "dependencies": {
23
23
  "chalk": "^4.1.2",
24
- "tslib": "^2.5.0"
24
+ "tslib": "^2.6.0"
25
25
  },
26
26
  "engines": {
27
- "node": ">=16.14"
27
+ "node": ">=18.0"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@types/supports-color": "^8.1.1"
31
31
  },
32
- "gitHead": "7327f7ff880ed97ad7855744e59c9c55d467a950"
32
+ "gitHead": "e66dfe04d2972edce66f431908470c61340f8ffc"
33
33
  }