file-path-helper 1.4.4 → 2.0.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.
package/.eslintrc.json CHANGED
@@ -1,18 +1,19 @@
1
- {
2
- "env": {
3
- "commonjs": true,
4
- "es6": true,
5
- "node": true,
6
- "jest": true
7
- },
8
- "extends": "eslint:recommended",
9
- "globals": {
10
- "Atomics": "readonly",
11
- "SharedArrayBuffer": "readonly"
12
- },
13
- "parserOptions": {
14
- "ecmaVersion": 2018
15
- },
16
- "rules": {
17
- }
18
- }
1
+ {
2
+ "env": {
3
+ "commonjs": false,
4
+ "es6": true,
5
+ "node": true,
6
+ "jest": true
7
+ },
8
+ "extends": "eslint:recommended",
9
+ "globals": {
10
+ "Atomics": "readonly",
11
+ "SharedArrayBuffer": "readonly"
12
+ },
13
+ "parserOptions": {
14
+ "ecmaVersion": 2018,
15
+ "sourceType": "module"
16
+ },
17
+ "rules": {
18
+ }
19
+ }
@@ -1,26 +1,34 @@
1
- name: Node CI
2
-
3
- on: [push]
4
-
5
- jobs:
6
- build:
7
-
8
- runs-on: ubuntu-latest
9
-
10
- strategy:
11
- matrix:
12
- node-version: [10.x, 12.x]
13
-
14
- steps:
15
- - uses: actions/checkout@v1
16
- - name: Use Node.js ${{ matrix.node-version }}
17
- uses: actions/setup-node@v1
18
- with:
19
- node-version: ${{ matrix.node-version }}
20
- - name: npm install, build, and test
21
- run: |
22
- npm ci
23
- npm run build --if-present
24
- npm test
25
- env:
26
- CI: true
1
+ name: Node.js CI
2
+
3
+ on:
4
+ push:
5
+ branches: [ main, master ]
6
+ pull_request:
7
+ branches: [ main, master ]
8
+
9
+ jobs:
10
+ build:
11
+
12
+ runs-on: ubuntu-latest
13
+
14
+ strategy:
15
+ matrix:
16
+ node-version: [18.x, 20.x]
17
+
18
+ steps:
19
+ - name: Checkout code
20
+ uses: actions/checkout@v4
21
+
22
+ - name: Setup Node.js ${{ matrix.node-version }}
23
+ uses: actions/setup-node@v4
24
+ with:
25
+ node-version: ${{ matrix.node-version }}
26
+ cache: 'npm'
27
+
28
+ - name: Install dependencies
29
+ run: npm ci
30
+
31
+ - name: Run tests
32
+ run: npm test
33
+ env:
34
+ CI: true
@@ -0,0 +1,6 @@
1
+ {
2
+ "default": true,
3
+ "MD051": false,
4
+ "MD013": false,
5
+ "MD033": false
6
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "markdownlint.config": {
3
+ "default": true,
4
+ "MD051": false
5
+ },
6
+ "json.schemaDownload.enable": false
7
+ }
package/CHANGELOG.md CHANGED
@@ -7,6 +7,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## 2.0.0 - 2026-03-17
11
+
12
+ - Convert to ESM module system.
13
+ - Deprecated `globPromise` method. use `glob` instead.
14
+ - Update dependencies.
15
+
16
+ ## 1.4.5 - 2022-04-04
17
+
18
+ - Update dependencies.
19
+
10
20
  ## 1.4.4 - 2022-02-01
11
21
 
12
22
  - Handling [Control Codes](https://en.wikipedia.org/wiki/C0_and_C1_control_codes) in `sanitize` method.