@tsslint/core 1.0.13 → 1.0.14

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 (2) hide show
  1. package/index.js +3 -4
  2. package/package.json +4 -4
package/index.js CHANGED
@@ -1,6 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.applyTextChanges = exports.combineCodeFixes = exports.createLinter = void 0;
3
+ exports.createLinter = createLinter;
4
+ exports.combineCodeFixes = combineCodeFixes;
5
+ exports.applyTextChanges = applyTextChanges;
4
6
  const ErrorStackParser = require("error-stack-parser");
5
7
  const path = require("path");
6
8
  const minimatch = require("minimatch");
@@ -289,7 +291,6 @@ function createLinter(ctx, config, withStack) {
289
291
  return fileRefactors.get(fileName);
290
292
  }
291
293
  }
292
- exports.createLinter = createLinter;
293
294
  function combineCodeFixes(fileName, fixes) {
294
295
  const changes = fixes
295
296
  .map(fix => fix.changes)
@@ -309,7 +310,6 @@ function combineCodeFixes(fileName, fixes) {
309
310
  }
310
311
  return finalTextChanges;
311
312
  }
312
- exports.combineCodeFixes = combineCodeFixes;
313
313
  function applyTextChanges(baseSnapshot, textChanges) {
314
314
  textChanges = [...textChanges].sort((a, b) => b.span.start - a.span.start);
315
315
  let text = baseSnapshot.getText(0, baseSnapshot.getLength());
@@ -331,5 +331,4 @@ function applyTextChanges(baseSnapshot, textChanges) {
331
331
  },
332
332
  };
333
333
  }
334
- exports.applyTextChanges = applyTextChanges;
335
334
  //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tsslint/core",
3
- "version": "1.0.13",
3
+ "version": "1.0.14",
4
4
  "license": "MIT",
5
5
  "files": [
6
6
  "**/*.js",
@@ -13,11 +13,11 @@
13
13
  },
14
14
  "dependencies": {
15
15
  "error-stack-parser": "^2.1.4",
16
- "minimatch": "^9.0.4",
16
+ "minimatch": "^10.0.1",
17
17
  "source-map-support": "^0.5.21"
18
18
  },
19
19
  "devDependencies": {
20
- "@tsslint/config": "1.0.13"
20
+ "@tsslint/config": "1.0.14"
21
21
  },
22
- "gitHead": "47f0f4bdbb68d8343c2967d46bd4b7bf9fb00e7e"
22
+ "gitHead": "84ea99432b44827a79ac034896202652bf21c912"
23
23
  }