Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bun-plugin-dts

Package Overview
Dependencies
Maintainers
0
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bun-plugin-dts - npm Package Compare versions

Comparing version 0.2.3 to 0.2.4

2

dist/index.d.ts

@@ -1,2 +0,2 @@

// Generated by dts-bundle-generator v9.3.1
// Generated by dts-bundle-generator v9.5.1

@@ -3,0 +3,0 @@ import { CompilationOptions, EntryPointConfig } from 'dts-bundle-generator';

@@ -1,1 +0,1 @@

import w from"node:fs";import K from"node:path";import{generateDtsBundle as L} from"dts-bundle-generator";import{getTsconfig as M} from"get-tsconfig";var N=(z)=>{return{name:"bun-plugin-dts",async setup(m){const{compilationOptions:q,...A}=z||{},v=[...m.config.entrypoints].sort(),C=v.map((k)=>{return{filePath:k,...A}}),E=q?.preferredConfigPath??M()?.path,G=L(C,{...q,preferredConfigPath:E}),j=m.config.outdir||"./dist";if(!w.existsSync(j))w.mkdirSync(j);await Promise.all(v.map((k,H)=>{const I=k.replace(/^.*\//,"").replace(/\.[jtm]s$/,".d.ts"),J=K.join(j,I);return Bun.write(J,G[H])}))}}},V=N;export{V as default};
import r from"node:fs";import g from"node:path";import{generateDtsBundle as d}from"dts-bundle-generator";import{getTsconfig as y}from"get-tsconfig";var P=(s)=>{return{name:"bun-plugin-dts",async setup(o){const{compilationOptions:i,...p}=s||{},e=[...o.config.entrypoints].sort(),a=e.map((n)=>{return{filePath:n,...p}}),c=i?.preferredConfigPath??y()?.path,m=d(a,{...i,preferredConfigPath:c}),t=o.config.outdir||"./dist";if(!r.existsSync(t))r.mkdirSync(t);await Promise.all(e.map((n,f)=>{const l=n.replace(/^.*\//,"").replace(/\.[jtm]s$/,".d.ts"),u=g.join(t,l);return Bun.write(u,m[f])}))}}},w=P;export{w as default};
{
"name": "bun-plugin-dts",
"version": "0.2.3",
"version": "0.2.4",
"main": "dist/index.js",

@@ -30,11 +30,11 @@ "type": "module",

"dependencies": {
"dts-bundle-generator": "^9.4.0",
"get-tsconfig": "^4.7.3"
"dts-bundle-generator": "^9.5.1",
"get-tsconfig": "^4.8.1"
},
"devDependencies": {
"@biomejs/biome": "1.2.2",
"bumpp": "^9.4.0",
"@types/bun": "^1.0.12",
"bumpp": "^9.6.1",
"@types/bun": "^1.1.10",
"typescript": "^5.4.5"
}
}
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