New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

phosphor-icons-tailwindcss

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

phosphor-icons-tailwindcss - npm Package Compare versions

Comparing version 1.1.2 to 1.1.3

16

package.json
{
"name": "phosphor-icons-tailwindcss",
"version": "1.1.2",
"version": "1.1.3",
"description": "Tailwind plugin for Phoshor icon set in pure CSS",

@@ -48,3 +48,3 @@ "type": "module",

"peerDependencies": {
"tailwindcss": ">=3.4.14 || >=4.0.0-alpha.34"
"tailwindcss": ">=3.4.14 || >=4.0.0-alpha.36"
},

@@ -54,8 +54,15 @@ "devDependencies": {

"@changesets/cli": "^2.27.9",
"@tailwindcss/node": "4.0.0-alpha.36",
"@types/node": "^22.9.0",
"@vitest/coverage-istanbul": "2.1.5",
"@vitest/ui": "^2.1.5",
"@vnphanquang/eslint-config": "^3.0.0",
"eslint": "^9.14.0",
"postcss": "^8.4.49",
"prettier": "^3.3.3",
"publint": "^0.2.12",
"typescript": "^5.6.3"
"tailwindcss": "4.0.0-alpha.36",
"tailwindcssv3": "npm:tailwindcss@3.4.14",
"typescript": "^5.6.3",
"vitest": "^2.1.5"
},

@@ -70,2 +77,5 @@ "engines": {

"scripts": {
"lint": "eslint src/**/*",
"test": "vitest --coverage",
"ci:test": "vitest run --coverage",
"ci:version": "changeset version && pnpm install --no-frozen-lockfile",

@@ -72,0 +82,0 @@ "ci:publish": "changeset publish && pnpm install"

5

README.md

@@ -7,3 +7,3 @@ <img src="/meta/phosphor-mark-tight-yellow.png" width="128" align="right" />

[![MIT][license.badge]][license] [![npm.badge]][npm]
[![MIT][license.badge]][license] [![npm.badge]][npm] [![codecov][codecov.badge]][codecov]

@@ -192,1 +192,4 @@ ## Installation

[npm]: https://www.npmjs.com/package/phosphor-icons-tailwindcss
[codecov]: https://codecov.io/github/vnphanquang/phosphor-icons-tailwindcss
[codecov.badge]: https://codecov.io/github/vnphanquang/phosphor-icons-tailwindcss/graph/badge.svg?token=dKkYUy4evr

@@ -1,2 +0,2 @@

import { readFileSync, existsSync } from 'fs';
import fs from 'fs';

@@ -54,3 +54,3 @@ import { icons } from '@phosphor-icons/core';

if (ICON_SET.has(name) && VARIANTS.includes(weight)) {
const fileUrl = new URL(
let fileUrl = new URL(
resolve(

@@ -61,6 +61,5 @@ `@phosphor-icons/core/assets/${weight}/${name}${weight === 'regular' ? '' : `-${weight}`}.svg`,

);
const path = fileUrl.pathname;
if (existsSync(path)) {
const svgStr = readFileSync(path, { encoding: 'base64' });
if (fs.existsSync(fileUrl)) {
const svgStr = fs.readFileSync(fileUrl, { encoding: 'base64' });
url = `url(data:image/svg+xml;base64,${svgStr})`;

@@ -67,0 +66,0 @@ }

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc