diff --git a/package-lock.json b/package-lock.json index 4ba975b..025e9b6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,10 +9,10 @@ "version": "0.8.3", "license": "MIT", "dependencies": { - "@monokle/parser": "0.2.0", - "@monokle/synchronizer": "^0.12.4", + "@monokle/parser": "^0.3.1", + "@monokle/synchronizer": "^0.12.5", "@monokle/types": "^0.3.2", - "@monokle/validation": "^0.31.7", + "@monokle/validation": "^0.32.0", "abortcontroller-polyfill": "1.7.5", "boxen": "7.0.0", "chalk": "5.0.1", @@ -191,9 +191,9 @@ "integrity": "sha512-GaHYm+c0O9MjZRu0ongGBRbinu8gVAMd2UZjji6jVmqKtZluZnptXGWhz1E8j8D2HJ3f/yMxKAUC0b+57wncIw==" }, "node_modules/@monokle/parser": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/@monokle/parser/-/parser-0.2.0.tgz", - "integrity": "sha512-gcCWcfOUqTubwi9mJlrOb4X5NW5B6N4/lCR7oIh5pDL75rQUfuHbSbx+BkymZnrGgNNwGX9LMGukdW8A9Y5TMQ==", + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/@monokle/parser/-/parser-0.3.1.tgz", + "integrity": "sha512-h/EOW7hx7KzCJC+Cat/YkyafsrbwbvmV4hBqR/gbAi1lm4VK963mji4wxxxZx40x5mG/QpwRIFhZKbyDttVuoA==", "dependencies": { "lodash": "4.17.21", "path-browserify": "^1.0.1", @@ -209,9 +209,9 @@ } }, "node_modules/@monokle/synchronizer": { - "version": "0.12.4", - "resolved": "https://registry.npmjs.org/@monokle/synchronizer/-/synchronizer-0.12.4.tgz", - "integrity": "sha512-mDagxoXXnSjvzSsUXD954fgHbrWS19XsZBiWCOvCDsrNzOjF9Bi0ItnBson1uW0CzLHV8/Et7GfAhy6BP1eEjQ==", + "version": "0.12.5", + "resolved": "https://registry.npmjs.org/@monokle/synchronizer/-/synchronizer-0.12.5.tgz", + "integrity": "sha512-NBD9VLrIiuihevElowmG9tikIHQZV6HuAMXgC6TmINWyTV08ZjnnsZLDC+4VHsKNnE3KvIuJ37IPAVgAKaAqjQ==", "dependencies": { "@monokle/types": "*", "env-paths": "^2.2.1", @@ -239,9 +239,9 @@ "integrity": "sha512-z8ib9//zYCwQ0berVAxSOVClJxMIa5vveGyKMpqcEFJ5E9IDGVlYevV8PRExkq8vZ7FXBWCe8CeVwxxnYL+bXQ==" }, "node_modules/@monokle/validation": { - "version": "0.31.7", - "resolved": "https://registry.npmjs.org/@monokle/validation/-/validation-0.31.7.tgz", - "integrity": "sha512-dQVv7G6B80UMkAQc2d8+NTYq6FsfsJnM9rBI0VxJnpF01jLf+uAYHLjT0CrgJVp/Q7Q5hdUeoDPM9amtS6B7GQ==", + "version": "0.32.0", + "resolved": "https://registry.npmjs.org/@monokle/validation/-/validation-0.32.0.tgz", + "integrity": "sha512-E22CJl64n7isG0aEoGGmoWEndKWgVWpoCMrmU6TsYccvF0W0E98LgiHxTu8iff6KzdBaWx+BDd2dQD6O0rMJYg==", "dependencies": { "@monokle/types": "*", "@open-policy-agent/opa-wasm": "1.8.0", diff --git a/package.json b/package.json index 0efca6a..f825130 100644 --- a/package.json +++ b/package.json @@ -65,10 +65,10 @@ "vitest": "^0.34.3" }, "dependencies": { - "@monokle/parser": "0.2.0", - "@monokle/synchronizer": "^0.12.4", + "@monokle/parser": "^0.3.1", + "@monokle/synchronizer": "^0.12.5", "@monokle/types": "^0.3.2", - "@monokle/validation": "^0.31.7", + "@monokle/validation": "^0.32.0", "abortcontroller-polyfill": "1.7.5", "boxen": "7.0.0", "chalk": "5.0.1", diff --git a/src/commands/validate.ts b/src/commands/validate.ts index 5c48da4..764d7db 100644 --- a/src/commands/validate.ts +++ b/src/commands/validate.ts @@ -120,7 +120,7 @@ export const validate = command({ } const files = await readFiles(input); - const resources = extractK8sResources(files); + const resources = extractK8sResources(files, false, true); if (resources.length === 0) { throw new NotFound("YAML objects", undefined, "warning");