Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
argon-clientlibs
Advanced tools
Readme
Converts a regular JS or CSS package to an AEM client library
npm install --save-dev argon-clientlibs
This package works with Argon Framework. It works independently if you look a little further.
The package requires argon.config.js
file. The configuration looks something like this:
const clientlibDist = `apps/settings/wcm/designs`;
const projectName = `argonui`;
module.exports = {
jcrRoot: 'dist/jcr_root', // This path will have preference over "target" if it exists
target: 'dist', // Target root folder
clientlibs: {
vendor: {
categories: ['argonui.vendor'],
basePath: `${clientlibDist}/${projectName}/clientlibs/vendor.publish`,
paths: [
`${clientlibDist}/${projectName}/clientlibs/vendor.publish`
]
},
global: {
categories: ['argonui.global'], // Clientlib categories
// Processor configuration for clientlib minification
jsProcessor: [
'min:gcc',
'obfuscate=true',
'languageIn=ECMASCRIPT5',
'languageOut=ECMASCRIPT5'
],
basePath: `${clientlibDist}/${projectName}/clientlibs/global.publish`, // where .content.xml will be placed
paths: [
// Scan these folders for js and css files
`${clientlibDist}/${projectName}/clientlibs/global.publish`,
`${clientlibDist}/${projectName}/clientlibs/common.publish`,
]
}
}
};
To convert a regular JS path to a client library run following command
npx create-clientlib
OR
npx create-clientlib --config=someOtherConfig.js
FAQs
Argon UI clientlib is a helper package for Argon UI that converts regular JS or CSS package to a clientlib
The npm package argon-clientlibs receives a total of 42 weekly downloads. As such, argon-clientlibs popularity was classified as not popular.
We found that argon-clientlibs 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.