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.
@debtcollective/dc-header-component
Advanced tools
This is a Web component built using Stencil to define the header for all debtcollective web apps.
Stencil is a compiler for building fast web apps using Web Components.
Stencil combines the best concepts of the most popular frontend frameworks into a compile-time rather than run-time tool. Stencil takes TypeScript, JSX, a tiny virtual DOM layer, efficient one-way data binding, an asynchronous rendering pipeline (similar to React Fiber), and lazy-loading out of the box, and generates 100% standards-based Web Components that run in any browser supporting the Custom Elements v1 spec.
Stencil components are just Web Components, so they work in any major framework or with no framework at all.
yarn install
yarn start
In order to have a sense over the community session, you need to have the application running and make sure
community
prop variable match the application, likehttp://lvh.me:3000
. Ultimately, you will need to allow CORS on the community app in that sense: Admin > Settings > CORS > addhttp://lvh.me:3333
which suppose to be yourhost
prop
To build the component for production, run:
yarn build
To run the unit tests for the components, run:
yarn test
Need help? Check out our docs here.
development
development
Unlike Chrome, Firefox doesn't provide out of the box support to use lvh.me
to map localhost. Therefore, you need to make sure to fix your browser in order for this to work properly: check this and add lvh.me
as supported network.dns.localDomains
In order to being able to navigate using tabs throughtout the links there is also a known issue check out this
When creating new component tags, we recommend not using stencil
in the component name (ex: <stencil-datepicker>
). This is because the generated component has little to nothing to do with Stencil; it's just a web component!
Instead, use a prefix that fits your company or any name for a group of related components. For example, all of the Ionic generated web components use the prefix ion
.
Check the index.html
file to see the up-to-date way to work with the component
<script type="module" src="https://unpkg.com/@debtcollective/dc-header-component@latest/dist/header/header.esm.js"></script>
in the head of your index.htmlnpm install @debtcollective/dc-header-component --save
<script src='node_modules/dc-header-component/dist/header/header.esm.js'></script>
in the head of your index.htmlnpm install @debtcollective/dc-header-component --save
import dc-header-component;
FAQs
Stencil header component for debtcollective web apps
The npm package @debtcollective/dc-header-component receives a total of 221 weekly downloads. As such, @debtcollective/dc-header-component popularity was classified as not popular.
We found that @debtcollective/dc-header-component demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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
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.