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

@hhorg/icon

Package Overview
Dependencies
Maintainers
0
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hhorg/icon - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

8

es/icon/index.js

@@ -1,4 +0,4 @@

const HhIcon = {
import HhIcon from "./components/Icon.js";
const installHhIcon = {
install(app, options) {
console.log("\u{1F680} ~ install ~ options:", options);
const { url = "", css = "", js = "" } = options;

@@ -21,3 +21,2 @@ let linkUrl = "";

}
console.log("\u{1F680} ~ install ~ linkUrl:", linkUrl);
if (linkUrl) {

@@ -30,3 +29,2 @@ const link = document.createElement("link");

}
console.log("\u{1F680} ~ install ~ scriptUrl:", scriptUrl);
if (scriptUrl) {

@@ -41,5 +39,5 @@ const script = document.createElement("script");

};
var stdin_default = HhIcon;
var stdin_default = installHhIcon;
export {
stdin_default as default
};
import Icon from "./icon";
const version = "0.0.2";
const version = "0.0.3";
function install(app) {

@@ -4,0 +4,0 @@ const components = [

@@ -0,4 +1,6 @@

var __create = Object.create;
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __getProtoOf = Object.getPrototypeOf;
var __hasOwnProp = Object.prototype.hasOwnProperty;

@@ -17,2 +19,10 @@ var __export = (target, all) => {

};
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
// If the importer is in node compatibility mode or this is not an ESM
// file that has been converted to a CommonJS file using a Babel-
// compatible transform (i.e. "__esModule" has not been set), then set
// "default" to the CommonJS "module.exports" for node compatibility.
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
mod
));
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);

@@ -24,5 +34,5 @@ var stdin_exports = {};

module.exports = __toCommonJS(stdin_exports);
const HhIcon = {
var import_Icon = __toESM(require("./components/Icon.js"));
const installHhIcon = {
install(app, options) {
console.log("\u{1F680} ~ install ~ options:", options);
const { url = "", css = "", js = "" } = options;

@@ -45,3 +55,2 @@ let linkUrl = "";

}
console.log("\u{1F680} ~ install ~ linkUrl:", linkUrl);
if (linkUrl) {

@@ -54,3 +63,2 @@ const link = document.createElement("link");

}
console.log("\u{1F680} ~ install ~ scriptUrl:", scriptUrl);
if (scriptUrl) {

@@ -62,5 +70,5 @@ const script = document.createElement("script");

}
app.component("HhIcon", HhIcon);
app.component("HhIcon", import_Icon.default);
}
};
var stdin_default = HhIcon;
var stdin_default = installHhIcon;

@@ -37,3 +37,3 @@ var __create = Object.create;

var import_icon = __toESM(require("./icon"));
const version = "0.0.2";
const version = "0.0.3";
function install(app) {

@@ -40,0 +40,0 @@ const components = [

{
"name": "@hhorg/icon",
"version": "0.0.2",
"version": "0.0.3",
"description": "图标库",

@@ -5,0 +5,0 @@ "main": "lib/hh-icon.js",

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