Gathering detailed insights and metrics for @activepieces/import-fresh-webpack
Gathering detailed insights and metrics for @activepieces/import-fresh-webpack
Gathering detailed insights and metrics for @activepieces/import-fresh-webpack
Gathering detailed insights and metrics for @activepieces/import-fresh-webpack
npm install @activepieces/import-fresh-webpack
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
283 Stars
32 Commits
24 Forks
8 Watching
2 Branches
7 Contributors
Updated on 24 Nov 2024
Minified
Minified + Gzipped
JavaScript (87.68%)
TypeScript (12.32%)
Cumulative downloads
Total Downloads
Last day
38%
225
Compared to previous day
Last week
1.1%
1,145
Compared to previous week
Last month
11.8%
4,603
Compared to previous month
Last year
0%
19,536
Compared to previous year
2
Import a module while bypassing the cache
Useful for testing purposes when you need to freshly import a module.
For ESM, you can use this snippet:
1const importFresh = moduleName => import(`${moduleName}?${Date.now()}`); 2 3const {default: foo} = await importFresh('foo');
This snippet causes a memory leak, so only use it for short-lived tests.
$ npm install import-fresh
1// foo.js 2let i = 0; 3module.exports = () => ++i;
1const importFresh = require('import-fresh'); 2 3require('./foo')(); 4//=> 1 5 6require('./foo')(); 7//=> 2 8 9importFresh('./foo')(); 10//=> 1 11 12importFresh('./foo')(); 13//=> 1
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
security policy file detected
Details
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
Found 7/30 approved changesets -- score normalized to 2
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2024-11-18
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