Socket
Socket
Sign inDemoInstall

unplugin-icons

Package Overview
Dependencies
Maintainers
1
Versions
88
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

unplugin-icons - npm Package Compare versions

Comparing version 0.8.0 to 0.8.1

6

dist/resolver.d.ts

@@ -28,8 +28,8 @@ interface ComponentResolverOption {

/**
* Resolver for vite-plugin-components
* Resolver for unplugin-vue-components and unplugin-auto-import
*
* @param options
*/
declare function ViteComponentsResolver(options: ComponentResolverOption): (name: string) => string | undefined;
declare function ComponentsResolver(options?: ComponentResolverOption): (name: string) => string | undefined;
export { ComponentResolverOption, ViteComponentsResolver as default };
export { ComponentResolverOption, ComponentsResolver as default };

@@ -12,3 +12,3 @@ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

}
function ViteComponentsResolver(options) {
function ComponentsResolver(options = {}) {
var _a;

@@ -43,3 +43,3 @@ const {

module.exports = ViteComponentsResolver;
module.exports = ComponentsResolver;
exports.default = module.exports;
{
"name": "unplugin-icons",
"version": "0.8.0",
"version": "0.8.1",
"description": "Access thousands of icons as components on-demand universally",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/antfu/unplugin-icons",

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