Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
@biswap/charting-library
Advanced tools
This folder contains [UDF](https://github.com/tradingview/charting_library/wiki/UDF) datafeed adapter. It implements [JS API](https://github.com/tradingview/charting_library/wiki/JS%20API) and makes HTTP requests using [UDF](https://github.com/tradingview
This folder contains UDF datafeed adapter. It implements JS API and makes HTTP requests using UDF protocol.
You can use this datafeed adapter to plug your data if you implement UDF on your server. You can also scrutinize how it works before writing your own adapter.
This datafeed is implemented in TypeScript.
./src
folder contains the source code in TypeScript.
./lib
folder contains transpiled in es5 code. So, if you do not know how to use TypeScript - you can modify these files to change the result bundle later.
./dist
folder contains bundled JavaScript files which can be inlined into a page and used in the Widget Constructor.
Before building or bundling your code you need to run npm install
to install dependencies.
package.json
contains some handy scripts to build or generate the bundle:
npm run compile
to compile TypeScript source code into JavaScript files (output will be in ./lib
folder)npm run bundle-js
to bundle multiple JavaScript files into one bundle (it also bundle polyfills)npm run build
to compile and bundle (it is a combination of all above commands)NOTE: if you want to minify the bundle code, you need to set ENV
environment variable to a value different from development
.
For example:
export ENV=prod
npm run bundle-js # or npm run build
or
ENV=prod npm run bundle-js
or
ENV=prod npm run build
FAQs
This folder contains [UDF](https://github.com/tradingview/charting_library/wiki/UDF) datafeed adapter. It implements [JS API](https://github.com/tradingview/charting_library/wiki/JS%20API) and makes HTTP requests using [UDF](https://github.com/tradingview
We found that @biswap/charting-library 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.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.