
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
A tool to convert TypeScript definition files to DWScript based Object Pascal headers
A tool to convert TypeScript definition files to DWScript based Object Pascal headers. A lot of TypeScript definitions can be found at Definitely Typed.
The Object Pascal output can be used in DWScript based compilers as can be found in Smart Mobile Studio or the DWSWebServer.
At the moment the tool is not ready for productional use. Moreover, the produced output often has to be post processed manually in order to have the proper order of classes for example (and eventually to provide some forward definitions).
npm install -g ts2pas
ts2pas inputfile.d.ts [outputfile.pas]
The following TypeScript definitions have been tested to work (in terms of a simple translation and not it terms to produce a header that works without manual post processing):
The following TypeScript definitions still fail for sure:
FAQs
A tool to convert TypeScript definition files to DWScript based Object Pascal headers
The npm package ts2pas receives a total of 10 weekly downloads. As such, ts2pas popularity was classified as not popular.
We found that ts2pas demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.