@atlaspack/validator-typescript 2.12.1-dev.3443 → 2.12.1-dev.3478

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaspack/validator-typescript",
3
- "version": "2.12.1-dev.3443+d1170cfc7",
3
+ "version": "2.12.1-dev.3478+5fd2da535",
4
4
  "license": "(MIT OR Apache-2.0)",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -13,14 +13,14 @@
13
13
  "source": "src/TypeScriptValidator.js",
14
14
  "engines": {
15
15
  "node": ">= 16.0.0",
16
- "parcel": "^2.12.1-dev.3443+d1170cfc7"
16
+ "parcel": "^2.12.1-dev.3478+5fd2da535"
17
17
  },
18
18
  "dependencies": {
19
- "@atlaspack/diagnostic": "2.12.1-dev.3443+d1170cfc7",
20
- "@atlaspack/plugin": "2.12.1-dev.3443+d1170cfc7",
21
- "@atlaspack/ts-utils": "2.12.1-dev.3443+d1170cfc7",
22
- "@atlaspack/types": "2.12.1-dev.3443+d1170cfc7",
23
- "@atlaspack/utils": "2.12.1-dev.3443+d1170cfc7"
19
+ "@atlaspack/diagnostic": "2.12.1-dev.3478+5fd2da535",
20
+ "@atlaspack/plugin": "2.12.1-dev.3478+5fd2da535",
21
+ "@atlaspack/ts-utils": "2.12.1-dev.3478+5fd2da535",
22
+ "@atlaspack/types": "2.12.1-dev.3478+5fd2da535",
23
+ "@atlaspack/utils": "2.12.1-dev.3478+5fd2da535"
24
24
  },
25
25
  "devDependencies": {
26
26
  "typescript": ">=3.0.0"
@@ -28,5 +28,5 @@
28
28
  "peerDependencies": {
29
29
  "typescript": ">=3.0.0"
30
30
  },
31
- "gitHead": "d1170cfc79beb290b2a066f472f68f71f7d7cb23"
31
+ "gitHead": "5fd2da535ecbe096d57e03aec15e80bb1d7601f7"
32
32
  }
@@ -39,7 +39,7 @@ export default (new Validator({
39
39
  // Build a collection that of all the LanguageServices related to files that just changed.
40
40
  let servicesToValidate: Set<string> = new Set();
41
41
  await Promise.all(
42
- assets.map(async asset => {
42
+ assets.map(async (asset) => {
43
43
  let config = await getConfig(asset, options, resolveConfigWithPath);
44
44
  let {configHash} = config;
45
45
 
@@ -56,7 +56,7 @@ export default (new Validator({
56
56
 
57
57
  // Ask typescript to analyze all changed programs and translate the results into ValidatorResult objects.
58
58
  let validatorResults: Array<?ValidateResult> = [];
59
- servicesToValidate.forEach(configHash => {
59
+ servicesToValidate.forEach((configHash) => {
60
60
  // Make sure that the filesystem being used by the LanguageServiceHost and ParseConfigHost is up-to-date.
61
61
  // (This could change in the context of re-running tests, and probably also for other reasons).
62
62
  langServiceCache[configHash].host.fs = options.inputFS;
@@ -66,7 +66,7 @@ export default (new Validator({
66
66
  if (!program) return;
67
67
 
68
68
  let filesToCheck = program.getSourceFiles();
69
- filesToCheck.forEach(sourceFile => {
69
+ filesToCheck.forEach((sourceFile) => {
70
70
  let diagnostics = program.getSemanticDiagnostics(sourceFile);
71
71
  validatorResults.push(
72
72
  getValidateResultFromDiagnostics(sourceFile.fileName, diagnostics),