Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
@ladjs/time-require
Advanced tools
Displays the execution time for Node.js modules loading; inspired by @sindresorhus 'time-grunt'
time-require
@ Displays the execution time for Node.js modules loading by hooking and tracing all
require()
calls. This module was inspired by @sindresorhus's time-grunt.
Default usage (non-verbose) showing required modules in loaded order, above 1% treshold
Verbose (all) & sorted usage showing all required modules in sorted order
Install with npm
npm install --save time-require
require()
call in your main module.require("time-require");
--require
preload supported by Liftoff driven CLI modules like gulp.js or Grunt-Nextgulp --require time-require --sorted
gulp
CLI wrapper that automatically preload time-require
.npm install -g gulpt
gulpt build --sorted
Modules loading that take less than 1%
of the total time are hidden to reduce clutter.
To show all the modules use the --verbose
(or --V
) flag on the running CLI.
To sort the modules according to the loading time (longest on top) use the --sorted
(or --s
) flag on the running CLI.
Detailed API documentation can be found in 'doc' folder.
Detailed development documentation can be found in 'doc' folder.
gulpt
usage, remove BitBucket hosting/refsnotifyError
for stream error notification, add seqTask
for sequential task control, fix project.js
config replacing lib/
with src/
run-sequence
for task order control, add gulp-notify
for notification support.travis.yml
file for travis-ci.org build supporttime-require
module to npmFAQs
Displays the execution time for Node.js modules loading; inspired by @sindresorhus 'time-grunt'
We found that @ladjs/time-require 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
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.