
Security News
PodRocket Podcast: Inside the Recent npm Supply Chain Attacks
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
octopus-start-modules-tasks
Advanced tools
npm install --save-dev octopus-start-modules-tasks
const {modules, iter} = require('octopus-start-modules-tasks'),
Start = require('start');
const start = new Start();
//will list and print all tasks
module.exports.listAll = () => Start(modules.load(), iter.forEach()(() => {}));
Wraps octopus-modules
(../modules#modules) as a Start
task.
Removes modules from list returned ex. by modules.load()
that were not changed after last module.markBuilt
.
Parameters:
Removes modules from the list returned by modules.load()
, that do not have changes (when compared to refspec
- branch), and aren't dependent on any of the modules, that do have changes.
Removes dependencies in modules that are left after removeUnchanged
or removeGitUnchanged
. In some cases you might want for dependencies to stay (npm links) and in others you want them to be removed.
Marks module as built.
Parameters:
Marks module as unbuilt.
Parameters:
Start
tasks that allows to iterate over result of modules.list
.
Supports options:
Tasks returns provided input.
Start
tasks that allows to iterate over result of asynchronously modules.load
.
Supports options:
Tasks returns provided input.
Start
tasks that reads json file in cwd of provided module. Returns json object;
Start
tasks that deep overrides properties of object in input with ones defined in overrides. Calls cb
on override event with object:
Returns merged json;
Start
tasks that writes input json to cwd of provided module. Returns json object;
FAQs
start tasks for octopus-modules
We found that octopus-start-modules-tasks 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
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.