
Security News
Next.js Patches Critical Middleware Vulnerability (CVE-2025-29927)
Next.js has patched a critical vulnerability (CVE-2025-29927) that allowed attackers to bypass middleware-based authorization checks in self-hosted apps.
atlassian-soy-cli
Advanced tools
DEPRECATED, DO NOT USE - Node wrapper for the Atlassian Soy CLI
As at 19.03.2021, this package is deprecated and no longer maintained. We recommend https://www.npmjs.com/package/@atlassian/soy-loader.
atlassian-soy-cli
is a Node wrapper for Atlassian Soy Templates CLI.
Compile Soy to Javascript as part of your frontend build using frontend tools, not Maven and Java. Easily integrate with Gulp, Karma, and others.
npm install --save-dev atlassian-soy-cli
atlassian-soy-cli
exposes a factory function that takes an options object.
var soyCli = require('atlassian-soy-cli');
var cli = soyCli({
version: '4.1.2', // optional
basedir: 'src/main/resources',
outdir: 'target/classes',
type: 'js' // optional
});
From then on, call compile(glob)
to compile Soy files that match the glob. All methods support both callback and
promise style.
// compile all soy templates in basedir (using callback style)
cli.compile('**/*.soy', callback)
// compile a single soy template (using promise style)
cli.compile('myTemplate.soy').then(...)
The basedir
and outdir
options are mandatory. Arguments passed in the extraArgs
option are passed through to the Soy CLI.
{
version: "4.1.2", // optional
basedir: "/path/to/soy/templates",
outdir: "/path/to/compiled/js",
type: 'js', // optional
extraArgs: {
'use-ajs-context': true,
'rootnamespace': 'mynamespace',
'i18n': [
'/path/to/file1',
'/path/to/file2'
]
}
}
The above extraArgs
will append the following arguments to the Soy CLI invocation.
--use-ajs-context --rootnamespace "mynamespace" --i18n "/path/to/file1" --i18n "/path/to/file2"
FAQs
DEPRECATED, DO NOT USE - Node wrapper for the Atlassian Soy CLI
The npm package atlassian-soy-cli receives a total of 1 weekly downloads. As such, atlassian-soy-cli popularity was classified as not popular.
We found that atlassian-soy-cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 10 open source maintainers 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
Next.js has patched a critical vulnerability (CVE-2025-29927) that allowed attackers to bypass middleware-based authorization checks in self-hosted apps.
Security News
A survey of 500 cybersecurity pros reveals high pay isn't enough—lack of growth and flexibility is driving attrition and risking organizational security.
Product
Socket, the leader in open source security, is now available on Google Cloud Marketplace for simplified procurement and enhanced protection against supply chain attacks.