@jsenv/core 38.1.0 → 38.1.1

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.
package/README.md CHANGED
@@ -1,32 +1,19 @@
1
1
  # @jsenv/core [![npm package](https://img.shields.io/npm/v/@jsenv/core.svg?logo=npm&label=package)](https://www.npmjs.com/package/@jsenv/core)
2
2
 
3
- Jsenv was created to provide a tool that can be used both for the web and Node.js.
4
- It has naturally evolved to cover the core needs of a JavaScript project: developement, testing and building for production.
3
+ Jsenv is a tool to develop test and build projects using JavaScript. This tool makes a special effort to let you free to code as you want. Jsenv is simple, easy to understand and well documented.
5
4
 
6
- - :ok_hand: Seamless integration with standard HTML, CSS and JS.
7
- - :sparkles: Same developer experience on source files and test files.
8
- - :exploding_head: Can execute tests on Chrome, Firefox, Safari and Node.js.
5
+ [Documentation for users](<https://github.com/jsenv/core/wiki/A)-Introduction>) · [Changelog](./CHANGELOG.md)
9
6
 
10
- [Documentation](<https://github.com/jsenv/core/wiki/A)-Getting-started>) · [Changelog](./CHANGELOG.md)
7
+ See also
11
8
 
12
- # Installation
9
+ - [Documentation for contributors](./docs/contributors/README.md)
10
+ - [Documentation for maintainers](./docs/maintainers/README.md)
11
+
12
+ <!-- # Installation
13
13
 
14
14
  ```console
15
15
  npm install --save-dev @jsenv/core
16
16
  ```
17
17
 
18
18
  _@jsenv/core_ is tested on Mac, Windows, Linux with Node.js 18.
19
- Other operating systems and Node.js versions are not tested.
20
-
21
- # Name
22
-
23
- The name "jsenv" stands for JavaScript environments.<br />
24
- "jsenv" without capital letter because "JSEnv" would be too painful to type.
25
-
26
- # Logo
27
-
28
- The logo is composed by the name at the center and two circles orbiting around it.
29
- One of the circle is web browsers, the other is Node.js.
30
- It represents the two JavaScript runtimes supported by jsenv.
31
-
32
- ![jsenv logo with legend](./docs/jsenv_logo_legend.png)
19
+ Other operating systems and Node.js versions are not tested. -->
@@ -20926,7 +20926,7 @@ const createBuildSpecifierManager = ({
20926
20926
  const urlInfo = finalKitchen.graph.getUrlInfo(finalUrl);
20927
20927
  if (!urlInfo) {
20928
20928
  logger.warn(
20929
- `remove resource hint because cannot find "${href}" in the graph`,
20929
+ `${UNICODE.WARNING} remove resource hint because cannot find "${href}" in the graph`,
20930
20930
  );
20931
20931
  mutations.push(() => {
20932
20932
  removeHtmlNode(node);
@@ -20937,7 +20937,7 @@ const createBuildSpecifierManager = ({
20937
20937
  const rawUrlInfo = rawKitchen.graph.getUrlInfo(rawUrl);
20938
20938
  if (rawUrlInfo && rawUrlInfo.data.bundled) {
20939
20939
  logger.warn(
20940
- `remove resource hint on "${href}" because it was bundled`,
20940
+ `${UNICODE.WARNING} remove resource hint on "${href}" because it was bundled`,
20941
20941
  );
20942
20942
  mutations.push(() => {
20943
20943
  removeHtmlNode(node);
@@ -20945,7 +20945,7 @@ const createBuildSpecifierManager = ({
20945
20945
  return;
20946
20946
  }
20947
20947
  logger.warn(
20948
- `remove resource hint on "${href}" because it is not used anymore`,
20948
+ `${UNICODE.WARNING} remove resource hint on "${href}" because it is not used anymore`,
20949
20949
  );
20950
20950
  mutations.push(() => {
20951
20951
  removeHtmlNode(node);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jsenv/core",
3
- "version": "38.1.0",
3
+ "version": "38.1.1",
4
4
  "description": "Tool to develop, test and build js projects",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -1,5 +1,5 @@
1
1
  import { createHash } from "node:crypto";
2
- import { createDetailedMessage } from "@jsenv/log";
2
+ import { createDetailedMessage, UNICODE } from "@jsenv/log";
3
3
  import { comparePathnames } from "@jsenv/filesystem";
4
4
  import { createMagicSource, generateSourcemapFileUrl } from "@jsenv/sourcemap";
5
5
  import {
@@ -790,7 +790,7 @@ export const createBuildSpecifierManager = ({
790
790
  const urlInfo = finalKitchen.graph.getUrlInfo(finalUrl);
791
791
  if (!urlInfo) {
792
792
  logger.warn(
793
- `remove resource hint because cannot find "${href}" in the graph`,
793
+ `${UNICODE.WARNING} remove resource hint because cannot find "${href}" in the graph`,
794
794
  );
795
795
  mutations.push(() => {
796
796
  removeHtmlNode(node);
@@ -801,7 +801,7 @@ export const createBuildSpecifierManager = ({
801
801
  const rawUrlInfo = rawKitchen.graph.getUrlInfo(rawUrl);
802
802
  if (rawUrlInfo && rawUrlInfo.data.bundled) {
803
803
  logger.warn(
804
- `remove resource hint on "${href}" because it was bundled`,
804
+ `${UNICODE.WARNING} remove resource hint on "${href}" because it was bundled`,
805
805
  );
806
806
  mutations.push(() => {
807
807
  removeHtmlNode(node);
@@ -809,7 +809,7 @@ export const createBuildSpecifierManager = ({
809
809
  return;
810
810
  }
811
811
  logger.warn(
812
- `remove resource hint on "${href}" because it is not used anymore`,
812
+ `${UNICODE.WARNING} remove resource hint on "${href}" because it is not used anymore`,
813
813
  );
814
814
  mutations.push(() => {
815
815
  removeHtmlNode(node);