Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vite-plugin-purge-icons

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vite-plugin-purge-icons - npm Package Compare versions

Comparing version 0.9.2 to 0.10.0

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

# [0.10.0](https://github.com/antfu/purge-icons/compare/v0.9.2...v0.10.0) (2023-11-18)
### Features
* support vite 5 ([#45](https://github.com/antfu/purge-icons/issues/45)) ([23ebe40](https://github.com/antfu/purge-icons/commit/23ebe40b3809760ef1fa9503e6e12e9458fdc503))
## [0.9.2](https://github.com/antfu/purge-icons/compare/v0.9.1...v0.9.2) (2022-12-12)

@@ -8,0 +19,0 @@

2

dist/index.d.ts

@@ -6,2 +6,2 @@ import { Plugin } from 'vite';

export default createPlugin;
export { createPlugin as default };

@@ -1,5 +0,22 @@

"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }// src/index.ts
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }var __defProp = Object.defineProperty;
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __propIsEnum = Object.prototype.propertyIsEnumerable;
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
var __spreadValues = (a, b) => {
for (var prop in b || (b = {}))
if (__hasOwnProp.call(b, prop))
__defNormalProp(a, prop, b[prop]);
if (__getOwnPropSymbols)
for (var prop of __getOwnPropSymbols(b)) {
if (__propIsEnum.call(b, prop))
__defNormalProp(a, prop, b[prop]);
}
return a;
};
// src/index.ts
var _rolluppluginpurgeicons = require('rollup-plugin-purge-icons'); var _rolluppluginpurgeicons2 = _interopRequireDefault(_rolluppluginpurgeicons);
function createPlugin(options = {}) {
const parsedOptions = {
const parsedOptions = __spreadValues({
content: [

@@ -12,9 +29,7 @@ "**/*.html",

],
iconifyImportName: "@iconify/iconify",
...options
};
return {
enforce: "pre",
..._rolluppluginpurgeicons2.default.call(void 0, parsedOptions)
};
iconifyImportName: "@iconify/iconify"
}, options);
return __spreadValues({
enforce: "pre"
}, _rolluppluginpurgeicons2.default.call(void 0, parsedOptions));
}

@@ -21,0 +36,0 @@

{
"name": "vite-plugin-purge-icons",
"version": "0.9.2",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"exports": {
"import": "./dist/index.mjs",
"require": "./dist/index.js"
},
"version": "0.10.0",
"license": "MIT",
"author": "antfu <anthonyfu117@hotmail.com>",
"repository": {

@@ -17,2 +9,14 @@ "type": "git",

},
"author": "antfu <anthonyfu117@hotmail.com>",
"files": [
"dist",
"generated.d.ts"
],
"exports": {
"import": "./dist/index.mjs",
"require": "./dist/index.js"
},
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"homepage": "https://github.com/antfu/purge-icons",

@@ -26,21 +30,17 @@ "bugs": "https://github.com/antfu/purge-icons/issues",

},
"files": [
"dist",
"generated.d.ts"
],
"peerDependencies": {
"vite": ">=2"
},
"dependencies": {
"@purge-icons/core": "^0.9.1",
"@purge-icons/generated": "^0.9.0",
"rollup-plugin-purge-icons": "^0.9.1"
"@purge-icons/core": "^0.10.0",
"@purge-icons/generated": "^0.10.0",
"rollup-plugin-purge-icons": "^0.10.0"
},
"peerDependencies": {
"vite": "^2.0.0 || ^3.0.0 || ^4.0.0"
},
"devDependencies": {
"esno": "^0.4.4",
"tsup": "^4.5.1",
"typescript": "^4.5.5",
"vite": "^2.0.4"
"esno": "^0.4.6",
"tsup": "^4.14.0",
"typescript": "^4.9.5",
"vite": "^5"
},
"gitHead": "d75ef59c74e45eaa241f49d148d8ced10745dbc8"
"gitHead": "1269bddf1cba967fcac5dc301d5c921fa3d8598f"
}

Sorry, the diff of this file is not supported yet

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