postquant 0.1.0 → 0.1.1

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
@@ -6,7 +6,7 @@ const program = new Command();
6
6
  program
7
7
  .name('postquant')
8
8
  .description('Scan TLS endpoints for quantum-vulnerable cryptography')
9
- .version('0.1.0');
9
+ .version('0.1.1');
10
10
  program
11
11
  .command('scan')
12
12
  .description('Scan one or more TLS endpoints for quantum readiness')
@@ -8,7 +8,7 @@ function getVersion() {
8
8
  return pkg.version;
9
9
  }
10
10
  catch {
11
- return '0.1.0';
11
+ return '0.1.1';
12
12
  }
13
13
  }
14
14
  export function formatJson(results) {
@@ -1,5 +1,5 @@
1
1
  import chalk from 'chalk';
2
- const VERSION = '0.1.0';
2
+ const VERSION = '0.1.1';
3
3
  function riskIcon(risk) {
4
4
  switch (risk) {
5
5
  case 'critical':
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "postquant",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Scan your code and infrastructure for quantum-vulnerable cryptography.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -8,7 +8,8 @@
8
8
  "postquant": "dist/index.js"
9
9
  },
10
10
  "scripts": {
11
- "build": "tsc",
11
+ "build": "tsc && chmod +x dist/index.js",
12
+ "prepublishOnly": "npm run build",
12
13
  "dev": "tsx src/index.ts",
13
14
  "test": "vitest run",
14
15
  "test:watch": "vitest",