load-plugin 5.0.0 → 5.1.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/package.json +8 -10
- package/readme.md +3 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "load-plugin",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.1.0",
|
|
4
4
|
"description": "Load a submodule, plugin, or file",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"keywords": [
|
|
@@ -28,28 +28,26 @@
|
|
|
28
28
|
"index.js"
|
|
29
29
|
],
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@npmcli/config": "^
|
|
31
|
+
"@npmcli/config": "^6.0.0",
|
|
32
32
|
"import-meta-resolve": "^2.0.0"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"@types/
|
|
35
|
+
"@types/node": "^18.0.0",
|
|
36
36
|
"c8": "^7.0.0",
|
|
37
37
|
"prettier": "^2.0.0",
|
|
38
|
-
"remark-cli": "^
|
|
38
|
+
"remark-cli": "^11.0.0",
|
|
39
39
|
"remark-lint": "^9.0.0",
|
|
40
40
|
"remark-preset-wooorm": "^9.0.0",
|
|
41
|
-
"rimraf": "^3.0.0",
|
|
42
|
-
"tape": "^5.0.0",
|
|
43
41
|
"type-coverage": "^2.0.0",
|
|
44
42
|
"typescript": "^4.0.0",
|
|
45
|
-
"xo": "^0.
|
|
43
|
+
"xo": "^0.53.0"
|
|
46
44
|
},
|
|
47
45
|
"scripts": {
|
|
48
46
|
"prepack": "npm run build && npm run format",
|
|
49
|
-
"build": "
|
|
47
|
+
"build": "tsc --build --clean && tsc --build && type-coverage",
|
|
50
48
|
"format": "remark . -qfo && prettier . -w --loglevel warn && xo --fix",
|
|
51
|
-
"test-api": "node test/index.js",
|
|
52
|
-
"test-coverage": "c8 --check-coverage --
|
|
49
|
+
"test-api": "node --conditions development test/index.js",
|
|
50
|
+
"test-coverage": "c8 --check-coverage --100 --reporter lcov npm run test-api",
|
|
53
51
|
"test": "npm run build && npm run format && npm run test-coverage"
|
|
54
52
|
},
|
|
55
53
|
"prettier": {
|
package/readme.md
CHANGED
|
@@ -37,7 +37,7 @@ files.
|
|
|
37
37
|
## Install
|
|
38
38
|
|
|
39
39
|
This package is [ESM only][esm].
|
|
40
|
-
In Node.js (version 14.14+, 16.0
|
|
40
|
+
In Node.js (version 14.14+, 16.0+), install with [npm][]:
|
|
41
41
|
|
|
42
42
|
```sh
|
|
43
43
|
npm install load-plugin
|
|
@@ -135,7 +135,8 @@ It exports the additional types `ResolveOptions` and `LoadOptions`.
|
|
|
135
135
|
## Compatibility
|
|
136
136
|
|
|
137
137
|
This package is at least compatible with all maintained versions of Node.js.
|
|
138
|
-
As of now, that is Node.js 14.14
|
|
138
|
+
As of now, that is Node.js 14.14+ and 16.0+.
|
|
139
|
+
It also works in Deno and modern browsers.
|
|
139
140
|
|
|
140
141
|
## Contribute
|
|
141
142
|
|