Security News
New Python Packaging Proposal Aims to Solve Phantom Dependency Problem with SBOMs
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
effortlessness, clientside, requirejs, package, modules
Packager = require('cetera').Packager
packager = new Packager
app = express()
script_tags = packager.mount
#
# config.app as express app instance
#
# - uses app.get() to define routes
#
app: app
#
# config.name as name of package
#
# - results in script routes as /packagename/**/*.js for the browser to access
#
name: 'packagename'
#
# config.src as source directory for the js scripts
#
src: __dirname + '/lib/client'
#
# scripts as array of scripts to serve,
# path relative to 'src' as specified above
#
scripts: [
'main.js'
'submodule1/main.js'
'submodule2/et.js'
'submodule2/cetera.js'
]
#
# When NODE_ENV is set to production all scripts are concatinated and minified,
# and published with a version number and cache controls in the headed
#
#
cache_seconds: 31536000 # how long should proxies and clients cache the script file
# defaults to one day
#
version: 'n.n.n' # changing the version will cause a refresh on the proxies
# and clients no matter how long the cache_seconds
# defaults to 0.0.0
#
app.get '/index', (req, res) ->
res.render 'index',
title: 'www.newswords.org'
script_tags: script_tags
<html>
<head>
<%= script_tags %>
</head>
...
FAQs
effortlessness, requirejs, packager, modules
The npm package cetera receives a total of 20 weekly downloads. As such, cetera popularity was classified as not popular.
We found that cetera 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
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
Security News
Socket CEO Feross Aboukhadijeh discusses open source security challenges, including zero-day attacks and supply chain risks, on the Cyber Security Council podcast.
Security News
Research
Socket researchers uncover how threat actors weaponize Out-of-Band Application Security Testing (OAST) techniques across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.