Socket
Socket
Sign inDemoInstall

@arktype/attest

Package Overview
Dependencies
Maintainers
0
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@arktype/attest - npm Package Compare versions

Comparing version 0.18.0 to 0.18.1

8

out/cli/trace.js

@@ -7,4 +7,8 @@ import { ensureDir } from "@ark/fs";

export const trace = async (args) => {
const packageDir = args[0] ?? process.cwd();
const packageDir = resolve(args[0] ?? process.cwd());
const config = getConfig();
if (!config.tsconfig) {
console.error(`attest trace must be run from a directory with a tsconfig.json file`);
process.exit(1);
}
const traceDir = resolve(config.cacheDir, "trace");

@@ -19,3 +23,3 @@ ensureDir(traceDir);

// the types.json file can be used to associate IDs from the trace file with type aliases
execSync(`${baseDiagnosticTscCmd} --generateTrace ${traceDir}`, {
execSync(`${baseDiagnosticTscCmd} --project ${config.tsconfig} --generateTrace ${traceDir}`, {
cwd: packageDir,

@@ -22,0 +26,0 @@ stdio: "inherit"

@@ -19,3 +19,3 @@ import { fileName, shell, writeJson } from "@ark/fs";

if (config.tsVersions.length === 1 &&
config.tsVersions[0].alias === "typescript")
config.tsVersions[0].alias === "default")
writeAssertionData(config.defaultAssertionCachePath);

@@ -22,0 +22,0 @@ else {

{
"name": "@arktype/attest",
"version": "0.18.0",
"version": "0.18.1",
"author": {

@@ -38,5 +38,5 @@ "name": "David Blass",

"@prettier/sync": "0.5.2",
"@ark/fs": "0.9.0",
"@ark/util": "0.9.0",
"arktype": "2.0.0-rc.7"
"@ark/util": "0.10.0",
"@ark/fs": "0.10.0",
"arktype": "2.0.0-rc.8"
},

@@ -43,0 +43,0 @@ "devDependencies": {

@@ -69,3 +69,3 @@ # Attest

Bun support is currently pending a [bug in the way their source maps translate to stack traces](https://github.com/oven-sh/bun/issues/7120). If this is a problem for you, please 👍 that issue so they prioritize it!
Bun support is currently pending [them supporting @prettier/sync for type formatting](https://github.com/oven-sh/bun/issues/10768). If this is a problem for you, please 👍 that issue so they prioritize it!

@@ -72,0 +72,0 @@ ## Assertions

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc