{"_id":"@sveltejs/acorn-typescript","_rev":"4177137","name":"@sveltejs/acorn-typescript","description":"Acorn plugin that parses TypeScript","dist-tags":{"latest":"1.0.9"},"maintainers":[{"name":"conduitry","email":"npm@fur.army"},{"name":"rich_harris","email":""},{"name":"svelte-admin","email":""}],"time":{"modified":"2026-03-01T21:37:14.000Z","created":"2025-02-26T14:32:02.545Z","1.0.9":"2026-02-11T21:34:38.765Z","1.0.8":"2025-11-29T20:16:59.062Z","1.0.7":"2025-11-16T10:01:31.662Z","1.0.6":"2025-09-26T13:24:16.842Z","1.0.5":"2025-03-04T10:28:07.828Z","1.0.4":"2025-02-27T22:00:27.746Z","1.0.3":"2025-02-27T21:17:46.333Z","1.0.2":"2025-02-26T21:41:54.930Z","1.0.1":"2025-02-26T14:32:02.545Z"},"users":{},"author":{"name":"tyrealhu and the Svelte team"},"repository":{"type":"git","url":"git+https://github.com/sveltejs/acorn-typescript.git"},"versions":{"1.0.9":{"name":"@sveltejs/acorn-typescript","version":"1.0.9","description":"Acorn plugin that parses TypeScript","type":"module","types":"index.d.ts","exports":{".":{"types":"./index.d.ts","default":"./index.js"}},"repository":{"type":"git","url":"git+https://github.com/sveltejs/acorn-typescript.git"},"author":{"name":"tyrealhu and the Svelte team"},"license":"MIT","bugs":{"url":"https://github.com/sveltejs/acorn-typescript/issues"},"homepage":"https://github.com/sveltejs/acorn-typescript#readme","devDependencies":{"@changesets/cli":"^2.27.11","@svitejs/changesets-changelog-github-compact":"^1.1.0","acorn":"^8.14.0","acorn-jsx":"~5.3.2","cross-env":"^7.0.3","esbuild":"^0.25.0","prettier":"~3.5.2","test262":"git+https://github.com/tc39/test262.git#88ebb1e3755198cd08757bca1698effbbf360345","test262-parser-runner":"^0.5.0","typescript":"^5.7.3","vitest":"^3.0.7"},"peerDependencies":{"acorn":"^8.9.0"},"scripts":{"build":"esbuild src/index.ts --bundle --format=esm --outfile=index.js --platform=node --external:acorn","format":"prettier --write .","check":"tsc --noEmit","lint":"prettier --check .","test":"vitest run","test:update":"cross-env UPDATE_SNAPSHOT=true vitest run && pnpm run format","test:test262":"pnpm run build && node ./test/run_test262.js","changeset:version":"changeset version && git add --all","changeset:release":"changeset publish","playground":"pnpm build && node ./playground/index.js"},"_id":"@sveltejs/acorn-typescript@1.0.9","_integrity":"sha512-lVJX6qEgs/4DOcRTpo56tmKzVPtoWAaVbL4hfO7t7NVwl9AAXzQR6cihesW1BmNMPl+bK6dreu2sOKBP2Q9CIA==","_resolved":"/tmp/aaaf81081dc60500b549b7edca0f320a/sveltejs-acorn-typescript-1.0.9.tgz","_from":"file:sveltejs-acorn-typescript-1.0.9.tgz","_nodeVersion":"24.13.0","_npmVersion":"11.6.2","dist":{"shasum":"ac0bde368d6623727b0e0bc568cf6b4e5d5c4baa","size":40573,"noattachment":false,"key":"/@sveltejs/acorn-typescript/-/@sveltejs/acorn-typescript-1.0.9.tgz","tarball":"http://registry.cnpm.dingdandao.com/@sveltejs/acorn-typescript/download/@sveltejs/acorn-typescript-1.0.9.tgz"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:d9b53ede-03fe-4170-b6a2-21fa72c0a253"}},"directories":{},"maintainers":[{"name":"conduitry","email":"npm@fur.army"},{"name":"rich_harris","email":""},{"name":"svelte-admin","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/acorn-typescript_1.0.9_1770845678614_0.6245839368854249"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-02-11T21:34:38.765Z","publish_time":1770845678765,"_source_registry_name":"default","_cnpm_publish_time":1770845678765},"1.0.8":{"name":"@sveltejs/acorn-typescript","version":"1.0.8","description":"Acorn plugin that parses TypeScript","type":"module","types":"index.d.ts","exports":{".":{"types":"./index.d.ts","default":"./index.js"}},"repository":{"type":"git","url":"git+https://github.com/sveltejs/acorn-typescript.git"},"author":{"name":"tyrealhu and the Svelte team"},"license":"MIT","bugs":{"url":"https://github.com/sveltejs/acorn-typescript/issues"},"homepage":"https://github.com/sveltejs/acorn-typescript#readme","devDependencies":{"@changesets/cli":"^2.27.11","@svitejs/changesets-changelog-github-compact":"^1.1.0","acorn":"^8.14.0","acorn-jsx":"~5.3.2","cross-env":"^7.0.3","esbuild":"^0.25.0","prettier":"~3.5.2","test262":"git+https://github.com/tc39/test262.git#88ebb1e3755198cd08757bca1698effbbf360345","test262-parser-runner":"^0.5.0","typescript":"^5.7.3","vitest":"^3.0.7"},"peerDependencies":{"acorn":"^8.9.0"},"scripts":{"build":"esbuild src/index.ts --bundle --format=esm --outfile=index.js --platform=node --external:acorn","format":"prettier --write .","check":"tsc --noEmit","lint":"prettier --check .","test":"vitest run","test:update":"cross-env UPDATE_SNAPSHOT=true vitest run && pnpm run format","test:test262":"pnpm run build && node ./test/run_test262.js","changeset:version":"changeset version && git add --all","changeset:release":"changeset publish","playground":"pnpm build && node ./playground/index.js"},"_id":"@sveltejs/acorn-typescript@1.0.8","_integrity":"sha512-esgN+54+q0NjB0Y/4BomT9samII7jGwNy/2a3wNZbT2A2RpmXsXwUt24LvLhx6jUq2gVk4cWEvcRO6MFQbOfNA==","_resolved":"/tmp/5ae59b8b155eab20f0a67df52c5d5131/sveltejs-acorn-typescript-1.0.8.tgz","_from":"file:sveltejs-acorn-typescript-1.0.8.tgz","_nodeVersion":"24.11.1","_npmVersion":"11.6.2","dist":{"shasum":"69c746a7c232094c117c50dedbd1279fc64887b7","size":40406,"noattachment":false,"key":"/@sveltejs/acorn-typescript/-/@sveltejs/acorn-typescript-1.0.8.tgz","tarball":"http://registry.cnpm.dingdandao.com/@sveltejs/acorn-typescript/download/@sveltejs/acorn-typescript-1.0.8.tgz"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:d9b53ede-03fe-4170-b6a2-21fa72c0a253"}},"directories":{},"maintainers":[{"name":"conduitry","email":"npm@fur.army"},{"name":"rich_harris","email":""},{"name":"svelte-admin","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/acorn-typescript_1.0.8_1764447418867_0.40665042277378105"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-11-29T20:16:59.062Z","publish_time":1764447419062,"_source_registry_name":"default","_cnpm_publish_time":1764447419062},"1.0.7":{"name":"@sveltejs/acorn-typescript","version":"1.0.7","description":"Acorn plugin that parses TypeScript","type":"module","types":"index.d.ts","exports":{".":{"types":"./index.d.ts","default":"./index.js"}},"repository":{"type":"git","url":"git+https://github.com/sveltejs/acorn-typescript.git"},"author":{"name":"tyrealhu and the Svelte team"},"license":"MIT","bugs":{"url":"https://github.com/sveltejs/acorn-typescript/issues"},"homepage":"https://github.com/sveltejs/acorn-typescript#readme","devDependencies":{"@changesets/cli":"^2.27.11","@svitejs/changesets-changelog-github-compact":"^1.1.0","acorn":"^8.14.0","acorn-jsx":"~5.3.2","cross-env":"^7.0.3","esbuild":"^0.25.0","prettier":"~3.5.2","test262":"git+https://github.com/tc39/test262.git#88ebb1e3755198cd08757bca1698effbbf360345","test262-parser-runner":"^0.5.0","typescript":"^5.7.3","vitest":"^3.0.7"},"peerDependencies":{"acorn":"^8.9.0"},"scripts":{"build":"esbuild src/index.ts --bundle --format=esm --outfile=index.js --platform=node --external:acorn","format":"prettier --write .","check":"tsc --noEmit","lint":"prettier --check .","test":"vitest run","test:update":"cross-env UPDATE_SNAPSHOT=true vitest run && pnpm run format","test:test262":"pnpm run build && node ./test/run_test262.js","changeset:version":"changeset version && git add --all","changeset:release":"changeset publish","playground":"pnpm build && node ./playground/index.js"},"_id":"@sveltejs/acorn-typescript@1.0.7","_integrity":"sha512-znp1A/Y1Jj4l/Zy7PX5DZKBE0ZNY+5QBngiE21NJkfSTyzzC5iKNWOtwFXKtIrn7MXEFBck4jD95iBNkGjK92Q==","_resolved":"/tmp/4d200c674782f3a0c369e902875874d5/sveltejs-acorn-typescript-1.0.7.tgz","_from":"file:sveltejs-acorn-typescript-1.0.7.tgz","_nodeVersion":"24.11.1","_npmVersion":"11.6.2","dist":{"shasum":"ee92cb27a5084761a76b7cf65cf997cda156f507","size":40304,"noattachment":false,"key":"/@sveltejs/acorn-typescript/-/@sveltejs/acorn-typescript-1.0.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/@sveltejs/acorn-typescript/download/@sveltejs/acorn-typescript-1.0.7.tgz"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:d9b53ede-03fe-4170-b6a2-21fa72c0a253"}},"directories":{},"maintainers":[{"name":"conduitry","email":"npm@fur.army"},{"name":"rich_harris","email":""},{"name":"svelte-admin","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/acorn-typescript_1.0.7_1763287291458_0.7057018715316494"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-11-16T10:01:31.662Z","publish_time":1763287291662,"_source_registry_name":"default","_cnpm_publish_time":1763287291662},"1.0.6":{"name":"@sveltejs/acorn-typescript","version":"1.0.6","description":"Acorn plugin that parses TypeScript","type":"module","types":"index.d.ts","exports":{".":{"types":"./index.d.ts","default":"./index.js"}},"repository":{"type":"git","url":"git+https://github.com/sveltejs/acorn-typescript.git"},"author":{"name":"tyrealhu and the Svelte team"},"license":"MIT","bugs":{"url":"https://github.com/sveltejs/acorn-typescript/issues"},"homepage":"https://github.com/sveltejs/acorn-typescript#readme","devDependencies":{"@changesets/cli":"^2.27.11","@svitejs/changesets-changelog-github-compact":"^1.1.0","acorn":"^8.14.0","acorn-jsx":"~5.3.2","cross-env":"^7.0.3","esbuild":"^0.25.0","prettier":"~3.5.2","test262":"git+https://github.com/tc39/test262.git#88ebb1e3755198cd08757bca1698effbbf360345","test262-parser-runner":"^0.5.0","typescript":"^5.7.3","vitest":"^3.0.7"},"peerDependencies":{"acorn":"^8.9.0"},"scripts":{"build":"esbuild src/index.ts --bundle --format=esm --outfile=index.js --platform=node --external:acorn","format":"prettier --write .","check":"tsc --noEmit","lint":"prettier --check .","test":"vitest run","test:update":"cross-env UPDATE_SNAPSHOT=true vitest run && pnpm run format","test:test262":"pnpm run build && node ./test/run_test262.js","changeset:version":"changeset version && git add --all","changeset:release":"changeset publish","playground":"pnpm build && node ./playground/index.js"},"_id":"@sveltejs/acorn-typescript@1.0.6","_integrity":"sha512-4awhxtMh4cx9blePWl10HRHj8Iivtqj+2QdDCSMDzxG+XKa9+VCNupQuCuvzEhYPzZSrX+0gC+0lHA/0fFKKQQ==","_resolved":"/tmp/e6d3635a54fa2210b62e30bb190c0565/sveltejs-acorn-typescript-1.0.6.tgz","_from":"file:sveltejs-acorn-typescript-1.0.6.tgz","_nodeVersion":"24.9.0","_npmVersion":"11.6.0","dist":{"shasum":"ca236a97d895869138091c6fba100114951daa97","size":40420,"noattachment":false,"key":"/@sveltejs/acorn-typescript/-/@sveltejs/acorn-typescript-1.0.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/@sveltejs/acorn-typescript/download/@sveltejs/acorn-typescript-1.0.6.tgz"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:d9b53ede-03fe-4170-b6a2-21fa72c0a253"}},"directories":{},"maintainers":[{"name":"conduitry","email":"npm@fur.army"},{"name":"rich_harris","email":""},{"name":"svelte-admin","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/acorn-typescript_1.0.6_1758893056651_0.42813979391980506"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-09-26T13:24:16.842Z","publish_time":1758893056842,"_source_registry_name":"default","_cnpm_publish_time":1758893056842},"1.0.5":{"name":"@sveltejs/acorn-typescript","version":"1.0.5","description":"Acorn plugin that parses TypeScript","type":"module","types":"index.d.ts","exports":{".":{"types":"./index.d.ts","default":"./index.js"}},"repository":{"type":"git","url":"git+https://github.com/sveltejs/acorn-typescript.git"},"author":{"name":"tyrealhu and the Svelte team"},"license":"MIT","bugs":{"url":"https://github.com/sveltejs/acorn-typescript/issues"},"homepage":"https://github.com/sveltejs/acorn-typescript#readme","devDependencies":{"@changesets/cli":"^2.27.11","@svitejs/changesets-changelog-github-compact":"^1.1.0","acorn":"^8.14.0","acorn-jsx":"~5.3.2","cross-env":"^7.0.3","esbuild":"^0.25.0","prettier":"~3.5.2","test262":"git+https://github.com/tc39/test262.git#88ebb1e3755198cd08757bca1698effbbf360345","test262-parser-runner":"^0.5.0","typescript":"^5.7.3","vitest":"^3.0.7"},"peerDependencies":{"acorn":"^8.9.0"},"scripts":{"build":"esbuild src/index.ts --bundle --format=esm --outfile=index.js --platform=node --external:acorn","format":"prettier --write .","check":"tsc --noEmit","lint":"prettier --check .","test":"vitest run","test:update":"cross-env UPDATE_SNAPSHOT=true vitest run && pnpm run format","test:test262":"pnpm run build && node ./test/run_test262.js","changeset:version":"changeset version && git add --all","changeset:release":"changeset publish","playground":"pnpm build && node ./playground/index.js"},"_id":"@sveltejs/acorn-typescript@1.0.5","_integrity":"sha512-IwQk4yfwLdibDlrXVE04jTZYlLnwsTT2PIOQQGNLWfjavGifnk1JD1LcZjZaBTRcxZu2FfPfNLOE04DSu9lqtQ==","_resolved":"/tmp/4a4ddfd59fb1c27a4f00313fe1405ec4/sveltejs-acorn-typescript-1.0.5.tgz","_from":"file:sveltejs-acorn-typescript-1.0.5.tgz","_nodeVersion":"22.14.0","_npmVersion":"10.9.2","dist":{"shasum":"f518101d1b2e12ce80854f1cd850d3b9fb91d710","size":40387,"noattachment":false,"key":"/@sveltejs/acorn-typescript/-/@sveltejs/acorn-typescript-1.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/@sveltejs/acorn-typescript/download/@sveltejs/acorn-typescript-1.0.5.tgz"},"_npmUser":{"name":"svelte-admin","email":"richard.a.harris+svelte@gmail.com"},"directories":{},"maintainers":[{"name":"conduitry","email":"npm@fur.army"},{"name":"rich_harris","email":""},{"name":"svelte-admin","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/acorn-typescript_1.0.5_1741084087667_0.7640971023169596"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-03-04T10:28:07.828Z","publish_time":1741084087828,"_source_registry_name":"default","_cnpm_publish_time":1741084087828},"1.0.4":{"name":"@sveltejs/acorn-typescript","version":"1.0.4","description":"Acorn plugin that parses TypeScript","type":"module","types":"index.d.ts","exports":{".":{"types":"./index.d.ts","default":"./index.js"}},"repository":{"type":"git","url":"git+https://github.com/sveltejs/acorn-typescript.git"},"author":{"name":"tyrealhu and the Svelte team"},"license":"MIT","bugs":{"url":"https://github.com/sveltejs/acorn-typescript/issues"},"homepage":"https://github.com/sveltejs/acorn-typescript#readme","devDependencies":{"@changesets/cli":"^2.27.11","@svitejs/changesets-changelog-github-compact":"^1.1.0","acorn":"^8.14.0","acorn-jsx":"~5.3.2","cross-env":"^7.0.3","esbuild":"^0.25.0","prettier":"~3.5.2","test262":"git+https://github.com/tc39/test262.git#88ebb1e3755198cd08757bca1698effbbf360345","test262-parser-runner":"^0.5.0","typescript":"^5.7.3","vitest":"^3.0.7"},"peerDependencies":{"acorn":"^8.9.0"},"scripts":{"build":"esbuild src/index.ts --bundle --format=esm --outfile=index.js --platform=node --external:acorn","format":"prettier --write .","check":"tsc --noEmit","lint":"prettier --check .","test":"vitest run","test:update":"cross-env UPDATE_SNAPSHOT=true vitest run && pnpm run format","test:test262":"pnpm run build && node ./test/run_test262.js","changeset:version":"changeset version && git add --all","changeset:release":"changeset publish"},"_id":"@sveltejs/acorn-typescript@1.0.4","_integrity":"sha512-nPVrutUss4Xt1EOeO19nDICo9rN6NqqCyNyg+SoUQPbHsc5N0avH0f+RWqOjUrI8vWsaIGBC84T0nHkN9pE1gw==","_resolved":"/tmp/fc03af303a032bfb3a2fce6dd4e5125d/sveltejs-acorn-typescript-1.0.4.tgz","_from":"file:sveltejs-acorn-typescript-1.0.4.tgz","_nodeVersion":"22.14.0","_npmVersion":"10.9.2","dist":{"shasum":"7fca046a10ad4fed88d9e728a8043d0a0a180a2b","size":40366,"noattachment":false,"key":"/@sveltejs/acorn-typescript/-/@sveltejs/acorn-typescript-1.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/@sveltejs/acorn-typescript/download/@sveltejs/acorn-typescript-1.0.4.tgz"},"_npmUser":{"name":"svelte-admin","email":"richard.a.harris+svelte@gmail.com"},"directories":{},"maintainers":[{"name":"conduitry","email":"npm@fur.army"},{"name":"rich_harris","email":""},{"name":"svelte-admin","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/acorn-typescript_1.0.4_1740693627485_0.5063416233661489"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-02-27T22:00:27.746Z","publish_time":1740693627746,"_source_registry_name":"default","_cnpm_publish_time":1740693627746},"1.0.3":{"name":"@sveltejs/acorn-typescript","version":"1.0.3","description":"Acorn plugin that parses TypeScript","type":"module","types":"index.d.ts","exports":{".":{"types":"./index.d.ts","default":"./index.js"}},"repository":{"type":"git","url":"git+https://github.com/sveltejs/acorn-typescript.git"},"author":{"name":"tyrealhu and the Svelte team"},"license":"MIT","bugs":{"url":"https://github.com/sveltejs/acorn-typescript/issues"},"homepage":"https://github.com/sveltejs/acorn-typescript#readme","devDependencies":{"@changesets/cli":"^2.27.11","@svitejs/changesets-changelog-github-compact":"^1.1.0","acorn":"^8.14.0","acorn-jsx":"~5.3.2","cross-env":"^7.0.3","esbuild":"^0.25.0","prettier":"~3.5.2","test262":"git+https://github.com/tc39/test262.git#88ebb1e3755198cd08757bca1698effbbf360345","test262-parser-runner":"^0.5.0","typescript":"^5.7.3","vitest":"^3.0.7"},"peerDependencies":{"acorn":"^8.9.0"},"scripts":{"build":"esbuild src/index.ts --bundle --format=esm --outfile=index.js --platform=node --external:acorn","format":"prettier --write .","check":"tsc --noEmit","lint":"prettier --check .","test":"vitest run","test:update":"cross-env UPDATE_SNAPSHOT=true vitest run && pnpm run format","test:test262":"pnpm run build && node ./test/run_test262.js","changeset:version":"changeset version && git add --all","changeset:release":"changeset publish"},"_id":"@sveltejs/acorn-typescript@1.0.3","_integrity":"sha512-vHZ4ogoVUXHiPrZfHxcukqVhrENf76jlejs6XYmAUzOJCH5DlPDF1yvh+L4ZVXTAWLZAFxucr3fcbrNPcQDzvQ==","_resolved":"/tmp/0d13123279f0d011a66654ad018afd8e/sveltejs-acorn-typescript-1.0.3.tgz","_from":"file:sveltejs-acorn-typescript-1.0.3.tgz","_nodeVersion":"22.14.0","_npmVersion":"10.9.2","dist":{"shasum":"4d698f9bdb845edbbd4750986ddbbd505330c28d","size":40370,"noattachment":false,"key":"/@sveltejs/acorn-typescript/-/@sveltejs/acorn-typescript-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/@sveltejs/acorn-typescript/download/@sveltejs/acorn-typescript-1.0.3.tgz"},"_npmUser":{"name":"svelte-admin","email":"richard.a.harris+svelte@gmail.com"},"directories":{},"maintainers":[{"name":"conduitry","email":"npm@fur.army"},{"name":"rich_harris","email":""},{"name":"svelte-admin","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/acorn-typescript_1.0.3_1740691066148_0.8702875802971874"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-02-27T21:17:46.333Z","publish_time":1740691066333,"_source_registry_name":"default","_cnpm_publish_time":1740691066333},"1.0.2":{"name":"@sveltejs/acorn-typescript","version":"1.0.2","description":"Acorn plugin that parses TypeScript","type":"module","types":"index.d.ts","exports":{".":{"types":"./index.d.ts","import":"./index.js"}},"repository":{"type":"git","url":"git+https://github.com/sveltejs/acorn-typescript.git"},"author":{"name":"tyrealhu and the Svelte team"},"license":"MIT","bugs":{"url":"https://github.com/sveltejs/acorn-typescript/issues"},"homepage":"https://github.com/sveltejs/acorn-typescript#readme","devDependencies":{"@changesets/cli":"^2.27.11","@svitejs/changesets-changelog-github-compact":"^1.1.0","acorn":"^8.14.0","acorn-jsx":"~5.3.2","esbuild":"^0.25.0","prettier":"~3.5.2","test262":"git+https://github.com/tc39/test262.git#88ebb1e3755198cd08757bca1698effbbf360345","test262-parser-runner":"^0.5.0","typescript":"^5.7.3","vitest":"^3.0.7"},"peerDependencies":{"acorn":"^8.9.0"},"scripts":{"build":"esbuild src/index.ts --bundle --format=esm --outfile=index.js --platform=node --external:acorn","format":"prettier --write .","check":"tsc --noEmit","lint":"prettier --check .","test":"vitest run","test:test262":"npm run build && node ./__test__/run_test262.js","changeset:version":"changeset version && git add --all","changeset:release":"changeset publish"},"_id":"@sveltejs/acorn-typescript@1.0.2","_integrity":"sha512-38Pff7qkxTQnWDHSaesgXGllvZoX5sc5A7sITVnCn56OZhDmMwD8kOr1fXTNAPjulB4mFNQMhUktkfsLHxWH2Q==","_resolved":"/tmp/e91517e57b902041a652923e78f485f2/sveltejs-acorn-typescript-1.0.2.tgz","_from":"file:sveltejs-acorn-typescript-1.0.2.tgz","_nodeVersion":"22.14.0","_npmVersion":"10.9.2","dist":{"shasum":"60d4d78b84a3b5303e453691b8a093a23e6db57b","size":2464,"noattachment":false,"key":"/@sveltejs/acorn-typescript/-/@sveltejs/acorn-typescript-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@sveltejs/acorn-typescript/download/@sveltejs/acorn-typescript-1.0.2.tgz"},"_npmUser":{"name":"svelte-admin","email":"richard.a.harris+svelte@gmail.com"},"directories":{},"maintainers":[{"name":"conduitry","email":"npm@fur.army"},{"name":"rich_harris","email":""},{"name":"svelte-admin","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/acorn-typescript_1.0.2_1740606114753_0.25405777777381644"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-02-26T21:41:54.930Z","publish_time":1740606114930,"_source_registry_name":"default","_cnpm_publish_time":1740606114930},"1.0.1":{"name":"@sveltejs/acorn-typescript","version":"1.0.1","description":"Acorn plugin that parses TypeScript","type":"module","types":"index.d.ts","exports":{".":{"types":"./index.d.ts","import":"./index.js"}},"repository":{"type":"git","url":"git+https://github.com/sveltejs/acorn-typescript.git"},"author":{"name":"tyrealhu and the Svelte team"},"license":"MIT","bugs":{"url":"https://github.com/sveltejs/acorn-typescript/issues"},"homepage":"https://github.com/sveltejs/acorn-typescript#readme","devDependencies":{"@changesets/cli":"^2.27.11","@svitejs/changesets-changelog-github-compact":"^1.1.0","acorn":"~8.9.0","acorn-jsx":"~5.3.2","esbuild":"^0.25.0","prettier":"~3.5.2","test262":"git+https://github.com/tc39/test262.git#dac69563480b9f22709fd49d61a32b3a0513b6b1","test262-parser-runner":"^0.5.0","typescript":"^5.7.3","vitest":"^3.0.7"},"peerDependencies":{"acorn":">=8.9.0"},"scripts":{"build":"esbuild src/index.ts --bundle --format=esm --outfile=index.js --platform=node --external:acorn","format":"prettier --write .","test":"vitest run","test:test262":"npm run build && node ./__test__/run_test262.js","changeset:version":"changeset version && git add --all","changeset:release":"changeset publish"},"_id":"@sveltejs/acorn-typescript@1.0.1","_integrity":"sha512-MPvOVpdeRE5pA7hNPmPJwbVxoMC7dQWsIsn0PBJsfXlWyJJtwas4qSMNyArbLkpiNsMzlkyNU1k5Asckp57Srg==","_resolved":"/tmp/3b7a32e307ce95efd6de8fbd53945060/sveltejs-acorn-typescript-1.0.1.tgz","_from":"file:sveltejs-acorn-typescript-1.0.1.tgz","_nodeVersion":"22.14.0","_npmVersion":"10.9.2","dist":{"shasum":"27cc370d060f53fe1a3f769996012e9c03870ed5","size":40482,"noattachment":false,"key":"/@sveltejs/acorn-typescript/-/@sveltejs/acorn-typescript-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@sveltejs/acorn-typescript/download/@sveltejs/acorn-typescript-1.0.1.tgz"},"_npmUser":{"name":"svelte-admin","email":"richard.a.harris+svelte@gmail.com"},"directories":{},"maintainers":[{"name":"conduitry","email":"npm@fur.army"},{"name":"rich_harris","email":""},{"name":"svelte-admin","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/acorn-typescript_1.0.1_1740580322314_0.9788007232543041"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-02-26T14:32:02.545Z","publish_time":1740580322545,"_source_registry_name":"default","_cnpm_publish_time":1740580322545}},"readme":"# @sveltejs/acorn-typescript\n\n[![License](https://img.shields.io/npm/l/svelte.svg)](LICENSE.md) [![Chat](https://img.shields.io/discord/457912077277855764?label=chat&logo=discord)](https://svelte.dev/chat)\n\nThis is a plugin for [Acorn](http://marijnhaverbeke.nl/acorn/) - a tiny, fast JavaScript parser, written completely in JavaScript.\n\nIt was created as an experimental alternative, faster [TypeScript](https://www.typescriptlang.org/) parser. It will help you to parse\nTypeScript using Acorn.\n\n## Usage\n\nTo get started, import the plugin and use Acorn's extension mechanism to register it. You have to enable `options.locations` while using `@sveltejs/acorn-typescript`.\n\n```typescript\nimport { Parser } from 'acorn';\nimport { tsPlugin } from '@sveltejs/acorn-typescript';\n\nconst node = Parser.extend(tsPlugin()).parse(\n\t`\nconst a = 1\ntype A = number\nexport {\n  a,\n  type A as B\n}\n`,\n\t{\n\t\tsourceType: 'module',\n\t\tecmaVersion: 'latest',\n\t\tlocations: true\n\t}\n);\n```\n\nIf you want to enable parsing within a TypeScript ambient context, where certain syntax have different rules (like `.d.ts` files and inside [declare module blocks](https://www.typescriptlang.org/docs/handbook/declaration-files/introduction.html)):\n\n```typescript\nimport { Parser } from 'acorn';\nimport { tsPlugin } from '@sveltejs/acorn-typescript';\n\nconst node = Parser.extend(tsPlugin({ dts: true })).parse(\n\t`\nconst a = 1\ntype A = number\nexport {\n  a,\n  type A as B\n}\n`,\n\t{\n\t\tsourceType: 'module',\n\t\tecmaVersion: 'latest',\n\t\tlocations: true\n\t}\n);\n```\n\n## SUPPORTED\n\n- Typescript normal syntax\n- Support to parse TypeScript [Decorators](https://www.typescriptlang.org/docs/handbook/decorators.html)\n- Support to parse JSX & TSX\n\n## CHANGELOG\n\n[click](./CHANGELOG.md)\n\n## Acknowledgments\n\nWe want to thank [TyrealHu](https://github.com/TyrealHu) for his original work on this project. He maintained [`acorn-typescript`](https://github.com/TyrealHu/acorn-typescript) until early 2024.\n","_attachments":{},"homepage":"https://github.com/sveltejs/acorn-typescript#readme","bugs":{"url":"https://github.com/sveltejs/acorn-typescript/issues"},"license":"MIT"}