@cspell/eslint-plugin 6.13.3 → 6.14.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/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @cspell/eslint-plugin v6.13.3
2
+ * @cspell/eslint-plugin v6.14.0
3
3
  * Copyright 2022 Jason Dent <jason@streetsidesoftware.nl>
4
4
  * Released under the MIT License
5
5
  * https://github.com/streetsidesoftware/cspell/tree/main/packages/cspell-eslint-plugin#readme
@@ -7,18 +7,13 @@
7
7
 
8
8
  'use strict';
9
9
 
10
- Object.defineProperty(exports, '__esModule', { value: true });
11
-
12
10
  var assert = require('assert');
13
11
  var cspellLib = require('cspell-lib');
14
12
  var path = require('path');
15
13
  var util = require('util');
16
14
  var fs = require('fs');
17
15
 
18
- function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
19
-
20
- function _interopNamespace(e) {
21
- if (e && e.__esModule) return e;
16
+ function _interopNamespaceDefault(e) {
22
17
  var n = Object.create(null);
23
18
  if (e) {
24
19
  Object.keys(e).forEach(function (k) {
@@ -31,13 +26,12 @@ function _interopNamespace(e) {
31
26
  }
32
27
  });
33
28
  }
34
- n["default"] = e;
29
+ n.default = e;
35
30
  return Object.freeze(n);
36
31
  }
37
32
 
38
- var assert__default = /*#__PURE__*/_interopDefaultLegacy(assert);
39
- var path__namespace = /*#__PURE__*/_interopNamespace(path);
40
- var fs__namespace = /*#__PURE__*/_interopNamespace(fs);
33
+ var path__namespace = /*#__PURE__*/_interopNamespaceDefault(path);
34
+ var fs__namespace = /*#__PURE__*/_interopNamespaceDefault(fs);
41
35
 
42
36
  const sortFn = new Intl.Collator().compare;
43
37
  function addWordToCustomWordList(customWordListPath, word) {
@@ -508,7 +502,7 @@ function create(context) {
508
502
  }
509
503
  function tagLiteral(node) {
510
504
  var _a;
511
- assert__default["default"](node.type === 'Literal');
505
+ assert(node.type === 'Literal');
512
506
  const kind = typeof node.value;
513
507
  const extra = kind === 'string'
514
508
  ? ((_a = node.raw) === null || _a === void 0 ? void 0 : _a[0]) === '"'
package/dist/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @cspell/eslint-plugin v6.13.3
2
+ * @cspell/eslint-plugin v6.14.0
3
3
  * Copyright 2022 Jason Dent <jason@streetsidesoftware.nl>
4
4
  * Released under the MIT License
5
5
  * https://github.com/streetsidesoftware/cspell/tree/main/packages/cspell-eslint-plugin#readme
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "6.13.3",
6
+ "version": "6.14.0",
7
7
  "description": "CSpell ESLint plugin",
8
8
  "keywords": [
9
9
  "cspell",
@@ -60,20 +60,20 @@
60
60
  "@rollup/plugin-typescript": "^9.0.2",
61
61
  "@types/eslint": "^8.4.9",
62
62
  "@types/estree": "^1.0.0",
63
- "@types/node": "^18.11.8",
64
- "@typescript-eslint/parser": "^5.41.0",
65
- "@typescript-eslint/types": "^5.41.0",
66
- "@typescript-eslint/typescript-estree": "^5.41.0",
63
+ "@types/node": "^18.11.9",
64
+ "@typescript-eslint/parser": "^5.42.0",
65
+ "@typescript-eslint/types": "^5.42.0",
66
+ "@typescript-eslint/typescript-estree": "^5.42.0",
67
67
  "eslint": "^8.26.0",
68
68
  "eslint-plugin-react": "^7.31.10",
69
69
  "mocha": "^10.1.0",
70
70
  "rimraf": "^3.0.2",
71
- "rollup": "^2.79.1",
71
+ "rollup": "^3.2.5",
72
72
  "rollup-plugin-dts": "^5.0.0",
73
73
  "ts-json-schema-generator": "^1.1.2"
74
74
  },
75
75
  "dependencies": {
76
- "cspell-lib": "6.13.3"
76
+ "cspell-lib": "6.14.0"
77
77
  },
78
- "gitHead": "a690c0bf064f8e5724bb159e337aa9162a33307f"
78
+ "gitHead": "9f5274766ae9e1e4796a7c10b78db4d98f04ea42"
79
79
  }