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.
@mauromadeit/vue-commons
Advanced tools
Reusable components, store, etc.
yarn add https://github.com/maurop123/vue-commons.git
Then import
import { components } from '@mauromadeit/vue-commons'
Based on https://vuetifyjs.com/en/components/data-tables#example-crud
table-editor(
v-bind="{ headers, items }"
@save="save" @delete="delete"
)
methods: {
save(item) { ... },
delete(item) { ... },
}
For model of headers and items... https://vuetifyjs.com/en/components/data-tables
masonry(:items="pages")
v-card(slot-scope="page" class="mb-3")
v-card-title(v-if="page.title") {{page.title}}
import { bus } from '@mauromadeit/vue-commons'
// src/database.js
import { Database } from '@mauromadeit/vue-commons'
export default new Database({ ref: 'money-reports' })
// import and use anywhere
import db from '@/database'
db.get('items').subscribe(data => ...) // [{ id: 1, name: Al}, { id: 2, name: Bo }]
db.push('items', payload).subscribe()
text-state-model(
:stateProp="`enrollment.owners.${i}.city`"
label="City"
:rules="[required()]"
)
// which is equivalent to...
state-model(stateProp="enrollment.companyName")
v-text-field(
slot-scope="{ value, input }"
:value="value" @input="input"
label="Company Legal Name"
:rules="[required()]"
)
sudo ls /etc/letsencrypt/live/journal.mauromadeit.com/
# copy files below to site above
sudo cat /etc/letsencrypt/live/journal.mauromadeit.com/cert.pem
sudo cat /etc/letsencrypt/live/journal.mauromadeit.com/privkey.pem
sudo cat /etc/letsencrypt/live/journal.mauromadeit.com/chain.pem
May not work in runtime only builds
Initial setup
yarn install
Make changes and build. Don't forget to build!
yarn build
Test changes locally
rm -rf ../path/node_modules/mauromadeit-vue-commons/*
cp -r ./* ../path/node_modules/mauromadeit-vue-commons/
Bump version and push
npm version patch
git push
FAQs
> Reusable components, store, etc.
We found that @mauromadeit/vue-commons 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.