Gathering detailed insights and metrics for @chialab/swc-types
Gathering detailed insights and metrics for @chialab/swc-types
npm install @chialab/swc-types
Typescript
Module System
Min. Node Version
Node Version
NPM Version
@chialab/wds-plugin-rna@0.16.1
Published on 08 Jun 2022
@chialab/wds-plugin-legacy@0.16.1
Published on 08 Jun 2022
@chialab/esbuild-plugin-require-resolve@0.16.1
Published on 08 Jun 2022
@chialab/wds-plugin-node-resolve@0.16.1
Published on 08 Jun 2022
@chialab/rna-bundler@0.16.0
Published on 08 Jun 2022
@chialab/rna-logger@0.16.0
Published on 08 Jun 2022
JavaScript (98.68%)
HTML (0.83%)
Handlebars (0.26%)
TypeScript (0.19%)
CSS (0.02%)
SCSS (0.02%)
Total Downloads
4,448
Last Day
1
Last Week
23
Last Month
43
Last Year
460
175 Stars
1,379 Commits
21 Forks
2 Watching
5 Branches
9 Contributors
Minified
Minified + Gzipped
Latest Version
0.12.2
Package Id
@chialab/swc-types@0.12.2
Size
4.31 kB
NPM Version
lerna/4.0.0/node@v16.5.0+x64 (darwin)
Node Version
16.5.0
Publised On
01 Oct 2021
Cumulative downloads
Total Downloads
Last day
0%
1
Compared to previous day
Last week
53.3%
23
Compared to previous week
Last month
72%
43
Compared to previous month
Last year
-57.6%
460
Compared to previous year
1
2
SWC Types • A babel/types-like set of helpers for swc.
⚠️ The development of this plugin has been suspended for maintenance reasons after an initial trial period. Developments will follow when the swc project will be more stable.
1$ npm i @chialab/swc-types -D 2$ yarn add @chialab/swc-types -D
1import { t, Visitor } from '@chialab/swc-types'; 2 3export class ConsoleVisitor extends Visitor { 4 visitCallExpression(e: CallExpression): Expression { 5 if (!t.isMemberExpression(e.callee)) { 6 return e; 7 } 8 9 if (t.isIdentifier(e.callee.object) && e.callee.object.value === 'console') { 10 if (t.isIdentifier(e.callee.property)) { 11 return t.unaryExpression('void', t.numericLiteral(0)); 12 } 13 } 14 15 return e; 16 } 17}
SWC Types is released under the MIT license.
No vulnerabilities found.
Reason
18 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
Reason
no binaries found in the repo
Reason
SAST tool detected but not run on all commits
Details
Reason
4 existing vulnerabilities detected
Details
Reason
Found 1/11 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
security policy file not detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
project is not fuzzed
Details
Score
Last Scanned on 2025-01-06
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More