eslint-import-resolver-node 0.3.3 → 0.3.4

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 (3) hide show
  1. package/CHANGELOG.md +12 -1
  2. package/index.js +1 -1
  3. package/package.json +3 -2
package/CHANGELOG.md CHANGED
@@ -5,9 +5,17 @@ This change log adheres to standards from [Keep a CHANGELOG](http://keepachangel
5
5
 
6
6
  ## Unreleased
7
7
 
8
+ ## v0.3.4 - 2020-06-16
9
+ ### Added
10
+ - add `.node` extension ([#1663])
11
+
12
+ ## v0.3.3 - 2020-01-10
13
+ ### Changed
14
+ - [meta] copy LICENSE file to all npm packages on prepublish ([#1595], thanks [@opichals])
15
+
8
16
  ## v0.3.2 - 2018-01-05
9
17
  ### Added
10
- - `.mjs` extension detected by default to support `experimental-modules` (#939)
18
+ - `.mjs` extension detected by default to support `experimental-modules` ([#939])
11
19
 
12
20
  ### Deps
13
21
  - update `debug`, `resolve`
@@ -42,6 +50,8 @@ This change log adheres to standards from [Keep a CHANGELOG](http://keepachangel
42
50
 
43
51
  [#438]: https://github.com/benmosher/eslint-plugin-import/pull/438
44
52
 
53
+ [#1663]: https://github.com/benmosher/eslint-plugin-import/issues/1663
54
+ [#1595]: https://github.com/benmosher/eslint-plugin-import/pull/1595
45
55
  [#939]: https://github.com/benmosher/eslint-plugin-import/issues/939
46
56
  [#531]: https://github.com/benmosher/eslint-plugin-import/issues/531
47
57
  [#437]: https://github.com/benmosher/eslint-plugin-import/issues/437
@@ -50,3 +60,4 @@ This change log adheres to standards from [Keep a CHANGELOG](http://keepachangel
50
60
  [@lukeapage]: https://github.com/lukeapage
51
61
  [@SkeLLLa]: https://github.com/SkeLLLa
52
62
  [@ljharb]: https://github.com/ljharb
63
+ [@opichals]: https://github.com/opichals
package/index.js CHANGED
@@ -28,7 +28,7 @@ function opts(file, config) {
28
28
  return Object.assign({
29
29
  // more closely matches Node (#333)
30
30
  // plus 'mjs' for native modules! (#939)
31
- extensions: ['.mjs', '.js', '.json'],
31
+ extensions: ['.mjs', '.js', '.json', '.node'],
32
32
  },
33
33
  config,
34
34
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-import-resolver-node",
3
- "version": "0.3.3",
3
+ "version": "0.3.4",
4
4
  "description": "Node default behavior import resolution plugin for eslint-plugin-import.",
5
5
  "main": "index.js",
6
6
  "files": [
@@ -8,7 +8,8 @@
8
8
  ],
9
9
  "scripts": {
10
10
  "prepublishOnly": "cp ../../{LICENSE,.npmrc} ./",
11
- "test": "nyc mocha",
11
+ "tests-only": "nyc mocha",
12
+ "test": "npm run tests-only",
12
13
  "coveralls": "nyc report --reporter lcovonly && cd ../.. && coveralls < ./resolvers/node/coverage/lcov.info"
13
14
  },
14
15
  "repository": {