@jsenv/core 25.0.0 → 25.0.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jsenv/core",
3
- "version": "25.0.0",
3
+ "version": "25.0.1",
4
4
  "description": "Tool to develop, test and build js projects",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -8,10 +8,11 @@
8
8
  "url": "https://github.com/jsenv/jsenv-core"
9
9
  },
10
10
  "engines": {
11
- "node": ">=14.9.0"
11
+ "node": ">=16.13.0"
12
12
  },
13
13
  "publishConfig": {
14
- "access": "public"
14
+ "access": "public",
15
+ "registry": "https://registry.npmjs.org"
15
16
  },
16
17
  "type": "module",
17
18
  "exports": {
@@ -137,4 +138,4 @@
137
138
  "redux": "4.1.2",
138
139
  "rollup-plugin-import-assert": "1.1.1"
139
140
  }
140
- }
141
+ }
package/readme.md CHANGED
@@ -1,8 +1,8 @@
1
1
  # jsenv [![npm package](https://img.shields.io/npm/v/@jsenv/core.svg?logo=npm&label=package)](https://www.npmjs.com/package/@jsenv/core) [![github main worflow](https://github.com/jsenv/jsenv-core/workflows/main/badge.svg)](https://github.com/jsenv/jsenv-core/actions?workflow=main) [![codecov coverage](https://codecov.io/gh/jsenv/jsenv-core/branch/master/graph/badge.svg)](https://codecov.io/gh/jsenv/jsenv-core)
2
2
 
3
- _@jsenv/core_ is a quick start pack to launch a js project.
3
+ _@jsenv/core_ is a quick start pack to launch a js project. It provides what you need from the beginning: a dev server, a build tool and a test "framework", all in one.
4
4
 
5
- You don't have to pick a JavaScript framework: jsenv integrates naturally with standard HTML, CSS and JS. It provides what you need from the beginning: a dev server, a build tool and a test "framework", all in one.
5
+ Jsenv integrates naturally with **standard** HTML, CSS and JS: you don't have to pick a JavaScript framework.
6
6
 
7
7
  # Test runner overview
8
8
 
@@ -253,7 +253,7 @@ Jsenv was first created to write tests that could be executed in different runti
253
253
  - A test runner to execute test files
254
254
  - A build tool to optimize files for production
255
255
 
256
- Jsenv relies on standard web features. Each standard listed below is potentially supported natively by the browser. When browser supports all of them, jsenv will use source files without modification. Otherwise, the files are compiled to be executable in the browser.
256
+ Jsenv relies on **standard web features**. Each standard listed below is potentially supported natively by the browser. When browser supports all of them, jsenv will use source files without modification. Otherwise, the files are compiled to be executable in the browser.
257
257
 
258
258
  - `<script type="module">`
259
259
  - `<script type="importmap">`
@@ -65,8 +65,8 @@ const createAvailableNameGenerator = () => {
65
65
  const getAvailableNameForPattern = (name, pattern) => {
66
66
  let names = cache[pattern]
67
67
  if (!names) {
68
- cache[pattern] = []
69
68
  names = []
69
+ cache[pattern] = names
70
70
  }
71
71
 
72
72
  let nameCandidate = name