Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
@garethfuller/glue
Advanced tools
Glue is a minimal Vue component library that uses Tailwindcss classes for customisation.
Glue Vue is a minimal Vue component library that uses Tailwindcss classes for customisation.
Install the npm package:
npm install @garethfuller/glue
# or with yarn
yarn add @garethfuller/glue
Add it as a plugin in your Vue project, e.g. create a file like glue.js
in your plugins folder and add the following to it's contents:
// plugins/glue.js
import Vue from 'vue'
import Glue from '@garethfuller/glue'
Vue.use(Glue)
Import this plugin in your app's build step/file.
Tailwindcss - Glue Vue expects that your project has Tailwind installed. The components then use the Tailwind classes provided by your Tailwind configuration.
For example, using the g-btn
component:
<g-btn color="red">Hello World</g-btn>
This will use your Tailwind colour class for bg-red-500
as the background colour for the button, and variant classes for hover/active states.
There are two optional dependencies, Fontawesome and highlight.js, which are used in specific components.
The g-icon
component takes a name
prop and applies that as a class to an underlying <i :class="'icon ${name}" />
element. The purpose is such that if you have Fontawesome installed in your app you can use the component like this:
<g-icon name="fas fa-user-circle" />
Please see GIcon.vue for more information.
The g-code
component makes use of highlight.js (if installed in your app) to syntax highlight any code that is passed into the component. Please see GCode.vue for more information.
yarn install
yarn run dev
yarn run build
FAQs
Glue is a minimal Vue component library that uses Tailwindcss classes for customisation.
We found that @garethfuller/glue 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
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.