
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
Tacoscript transformation core.
Originally forked from babel-core. Significant differences include removal
of hardcoded ids, allows custom generators and parsers, uses comal-types and
comal-traverse instead of their babel counterparts, and splits up babel-core's
File (which contains the data and performs the transformation) into
Transformation (which just performs the transformation) and File (which just
contains the data).
$ npm install comal
import comal from 'comal';
const minimalBabel = new Api({
parser: require("babylon"),
parserOpts: function(opts) {
return {
highlightCode: opts.highlightCode,
sourceType: opts.sourceType,
filename: opts.filename,
plugins: []
};
},
generator: { generate: require("babel-generator").default },
generatorOpts: function(opts) {
return {
filename: opts.filename
}
}
});
// not implemented yet
const tacoscriptCompiler = new Api({
parser: require("horchata"),
generator: require("alpastor")
});
const code = `a = () ->`;
const result = tacoscriptCompiler.transform(code, { /* options */ });
result.code; // Generated JavaScript code
result.map; // Sourcemap
result.ast; // AST
import {render} from 'tacoscript-cst-utils';
render(result.ast, 'tacoscriptSourceElements'); // whitespace-preserved tacoscript
render(result.ast, 'sourceElements'); // whitespace-preserved javascript
import generateTacoscript from 'tacotruck';
generateTacoscript(result.ast); // Generated tacoscript code
For now, see cleanMeta() in options/loader and transformation/index
FAQs
TacoScript transformation core
The npm package comal receives a total of 1 weekly downloads. As such, comal popularity was classified as not popular.
We found that comal 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.