
Research
Node.js Fixes AsyncLocalStorage Crash Bug That Could Take Down Production Servers
Node.js patched a crash bug where AsyncLocalStorage could cause stack overflows to bypass error handlers and terminate production servers.
@tradeshift/elements.basic-table
Advanced tools
Part of the reusable Tradeshift UI Components as Web Components. Demo
table { width:100%; }| Property | Attribute | Type | Default | Description |
|---|---|---|---|---|
| dir | dir | String | ltr | Direction of the component 'rtl' or 'ltr' |
| cols | cols | Array | [] | List of columns configs, including: - property: Property key of the column in data object, - value: value of the title of column', - visibility?: Which screen sizes this column should be visible -> 'always-visible'(default) or 'desktop-only' or 'mobile-only', - size?: 'small' or 'medium' or 'large', - display?: 'left' or 'right' or 'center', - renderer?: you can pass a renderer function to customize the content of the cells in this column, args: (cellValue, rowObject) |
| selectedIds | selectedIds | Array | [] | List of selected rows ids (caveat: the row should include id property) |
| data | data | Array | [] | List of rows data objects |
| Name | Description | Payload |
|---|---|---|
| row-click | Emitted on table row click | { row } |
$ npm i @tradeshift/elements.basic-table --save
import '@tradeshift/elements.basic-table';
or
<script src="node_modules/@tradeshift/elements.basic-table/lib/basic-table.umd.js"></script>
Use it like demo
Our components rely on having the Open Sans available, You can see the font-weight and font-style you need to load here, or you can just load it from our package (for now)
<link rel="stylesheet" href="node_modules/@tradeshift/elements/src/fonts.css" />
For supporting IE11 you need to add couple of things
<!-- Place this in the <head>, before the Web Component polyfills are loaded -->
<script>
if (!window.Promise) {
window.ShadyCSS = { nativeCss: true };
}
</script>
$ npm i @open-wc/polyfills-loader
import loadPolyfills from '@open-wc/polyfills-loader';
loadPolyfills().then(() => import('./my-app.js'));
$ npm i @webcomponents/webcomponentsjs --save
<script src="/node_modules/@webcomponents/webcomponentsjs/custom-elements-es5-adapter.js"></script>
@webcomponents/webcomponentsjs<script src="/node_modules/@webcomponents/webcomponentsjs/webcomponents-loader.js" defer></script>
Thanks for your interest and help!
You can find some links to useful materials about what we are using and some tutorials and articles that can help you get started.
You can see a list of limitations that we should watch out for, here
You can read the full license agreement in the LICENSE.md.
FAQs
Unknown package
The npm package @tradeshift/elements.basic-table receives a total of 2 weekly downloads. As such, @tradeshift/elements.basic-table popularity was classified as not popular.
We found that @tradeshift/elements.basic-table demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 8 open source maintainers 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
Node.js patched a crash bug where AsyncLocalStorage could cause stack overflows to bypass error handlers and terminate production servers.

Research
/Security News
A malicious Chrome extension steals newly created MEXC API keys, exfiltrates them to Telegram, and enables full account takeover with trading and withdrawal rights.

Security News
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.