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

@giscus/vue

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@giscus/vue - npm Package Compare versions

Comparing version 2.0.3 to 2.0.4

4

dist/giscus.es.js

@@ -274,3 +274,3 @@ var __defProp = Object.defineProperty;

}
a$1.finalized = true, a$1.elementProperties = /* @__PURE__ */ new Map(), a$1.elementStyles = [], a$1.shadowRootOptions = { mode: "open" }, h$3 == null || h$3({ ReactiveElement: a$1 }), ((s$2 = globalThis.reactiveElementVersions) !== null && s$2 !== void 0 ? s$2 : globalThis.reactiveElementVersions = []).push("1.3.1");
a$1.finalized = true, a$1.elementProperties = /* @__PURE__ */ new Map(), a$1.elementStyles = [], a$1.shadowRootOptions = { mode: "open" }, h$3 == null || h$3({ ReactiveElement: a$1 }), ((s$2 = globalThis.reactiveElementVersions) !== null && s$2 !== void 0 ? s$2 : globalThis.reactiveElementVersions = []).push("1.3.2");
/**

@@ -537,3 +537,3 @@ * @license

const z = window.litHtmlPolyfillSupport;
z == null || z(E, N), ((t$1 = globalThis.litHtmlVersions) !== null && t$1 !== void 0 ? t$1 : globalThis.litHtmlVersions = []).push("2.2.2");
z == null || z(E, N), ((t$1 = globalThis.litHtmlVersions) !== null && t$1 !== void 0 ? t$1 : globalThis.litHtmlVersions = []).push("2.2.3");
/**

@@ -540,0 +540,0 @@ * @license

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

"use strict";var n=require("vue");const i=n.defineComponent({props:{id:null,repo:null,repoId:null,category:null,categoryId:null,mapping:null,term:null,theme:null,reactionsEnabled:null,emitMetadata:null,inputPosition:null,lang:null,loading:null},setup(e){return n.onMounted(()=>Promise.resolve().then(function(){return require("./giscus.es.js")})),(a,l)=>{const t=n.resolveComponent("giscus-widget");return n.openBlock(),n.createBlock(t,{id:e.id,repo:e.repo,repoid:e.repoId,category:e.category,categoryid:e.categoryId,mapping:e.mapping,term:e.term,reactionsenabled:e.reactionsEnabled,emitmetadata:e.emitMetadata,inputposition:e.inputPosition,theme:e.theme,lang:e.lang,loading:e.loading},null,8,["id","repo","repoid","category","categoryid","mapping","term","reactionsenabled","emitmetadata","inputposition","theme","lang","loading"])}}});module.exports=i;
"use strict";var t=require("vue");const a=["id","repo","repoid","category","categoryid","mapping","term","reactionsenabled","emitmetadata","inputposition","theme","lang","loading"],i=t.defineComponent({props:{id:null,repo:null,repoId:null,category:null,categoryId:null,mapping:null,term:null,theme:null,reactionsEnabled:null,emitMetadata:null,inputPosition:null,lang:null,loading:null},setup(e){const n=t.ref(!1);return t.onMounted(()=>{n.value=!0,Promise.resolve().then(function(){return require("./giscus.es.js")})}),(l,o)=>n.value?(t.openBlock(),t.createElementBlock("giscus-widget",{key:0,id:e.id,repo:e.repo,repoid:e.repoId,category:e.category,categoryid:e.categoryId,mapping:e.mapping,term:e.term,reactionsenabled:e.reactionsEnabled,emitmetadata:e.emitMetadata,inputposition:e.inputPosition,theme:e.theme,lang:e.lang,loading:e.loading},null,8,a)):t.createCommentVNode("",!0)}});module.exports=i;

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

import { defineComponent, onMounted, resolveComponent, openBlock, createBlock } from "vue";
import { defineComponent, ref, onMounted, openBlock, createElementBlock, createCommentVNode } from "vue";
const _hoisted_1 = ["id", "repo", "repoid", "category", "categoryid", "mapping", "term", "reactionsenabled", "emitmetadata", "inputposition", "theme", "lang", "loading"];
const _sfc_main = /* @__PURE__ */ defineComponent({

@@ -19,6 +20,10 @@ props: {

setup(__props) {
onMounted(() => import("./giscus.es.js"));
const mounted = ref(false);
onMounted(() => {
mounted.value = true;
import("./giscus.es.js");
});
return (_ctx, _cache) => {
const _component_giscus_widget = resolveComponent("giscus-widget");
return openBlock(), createBlock(_component_giscus_widget, {
return mounted.value ? (openBlock(), createElementBlock("giscus-widget", {
key: 0,
id: __props.id,

@@ -37,3 +42,3 @@ repo: __props.repo,

loading: __props.loading
}, null, 8, ["id", "repo", "repoid", "category", "categoryid", "mapping", "term", "reactionsenabled", "emitmetadata", "inputposition", "theme", "lang", "loading"]);
}, null, 8, _hoisted_1)) : createCommentVNode("", true);
};

@@ -40,0 +45,0 @@ }

{
"name": "@giscus/vue",
"version": "2.0.3",
"version": "2.0.4",
"main": "dist/giscus.cjs.js",

@@ -9,2 +9,3 @@ "module": "dist/index.es.js",

".": {
"types": "./dist/index.d.ts",
"require": "./dist/index.cjs.js",

@@ -39,14 +40,14 @@ "import": "./dist/index.es.js"

"devDependencies": {
"@types/node": "^16.11.27",
"@typescript-eslint/eslint-plugin": "^5.19.0",
"@typescript-eslint/parser": "^5.19.0",
"@vitejs/plugin-vue": "^2.2.0",
"eslint": "^8.13.0",
"@types/node": "^16.11.35",
"@typescript-eslint/eslint-plugin": "^5.23.0",
"@typescript-eslint/parser": "^5.23.0",
"@vitejs/plugin-vue": "^2.3.3",
"eslint": "^8.15.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-vue": "^8.6.0",
"eslint-plugin-vue": "^8.7.1",
"prettier": "^2.6.1",
"typescript": "^4.6.3",
"vite": "^2.9.5",
"vue-tsc": "^0.34.7"
"typescript": "^4.6.4",
"vite": "^2.9.9",
"vue-tsc": "^0.34.13"
}
}
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