@cas-smartdesign/qrcode 3.0.2 → 3.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/qrcode.mjs CHANGED
@@ -34,8 +34,7 @@ const s = `<style>
34
34
  return ["data", "margin"];
35
35
  }
36
36
  generate() {
37
- if (!this.data || !this.shadowRoot)
38
- return;
37
+ if (!this.data || !this.shadowRoot) return;
39
38
  const t = this.shadowRoot.getElementById("qr-code-container");
40
39
  i.toString(this.data, {
41
40
  margin: this.margin
@@ -1 +1 @@
1
- {"version":3,"file":"qrcode.mjs","sources":["../qrcode.html?raw","../qr-code.ts"],"sourcesContent":["export default \"<style>\\n\\t:host {\\n\\t\\tdisplay: flex;\\n\\t}\\n\\n\\t:host([hidden]) {\\n\\t\\tdisplay: none;\\n\\t}\\n\\n\\t#qr-code-container {\\n\\t\\twidth: 100%;\\n\\t}\\n</style>\\n<div id=\\\"qr-code-container\\\"></div>\\n\"","import { ElementBase } from \"@cas-smartdesign/element-base\";\nimport * as QrCodeGenerator from \"qrcode\";\nimport { default as htmlTemplate } from \"./qrcode.html?raw\";\n\ndeclare global {\n interface HTMLElementTagNameMap {\n [QRcode.ID]: QRcode;\n }\n}\n\nexport class QRcode extends ElementBase {\n is(): string {\n return QRcode.ID;\n }\n public static readonly ID = \"sd-qrcode\";\n\n public get data(): string {\n return this.getAttribute(\"data\");\n }\n\n public set data(data: string) {\n this.setAttribute(\"data\", data);\n }\n\n public get margin(): number {\n return this.hasAttribute(\"margin\") ? parseInt(this.getAttribute(\"margin\")) : 1;\n }\n\n public set margin(margin: number) {\n this.setAttribute(\"margin\", margin.toString());\n }\n\n static get observedAttributes(): string[] {\n return [\"data\", \"margin\"];\n }\n\n private generate() {\n if (!this.data || !this.shadowRoot) return;\n\n const qrdiv = this.shadowRoot.getElementById(\"qr-code-container\");\n\n QrCodeGenerator.toString(this.data, {\n margin: this.margin,\n }).then((svg) => (qrdiv.innerHTML = svg));\n }\n\n protected template(): HTMLTemplateElement {\n const template = document.createElement(\"template\");\n template.innerHTML = htmlTemplate;\n return template;\n }\n\n constructor() {\n super();\n }\n\n connectedCallback(): void {\n super.connectedCallback();\n\n this.generate();\n }\n\n public attributeChangedCallback(): void {\n this.generate();\n }\n}\n\nif (!customElements.get(QRcode.ID)) {\n customElements.define(QRcode.ID, QRcode);\n}\n"],"names":["htmlTemplate","_QRcode","ElementBase","data","margin","qrdiv","QrCodeGenerator","svg","template","QRcode"],"mappings":";;AAAA,MAAeA,IAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GCUFC,IAAN,MAAMA,UAAeC,EAAY;AAAA,EACpC,KAAa;AACT,WAAOD,EAAO;AAAA,EAClB;AAAA,EAGA,IAAW,OAAe;AACf,WAAA,KAAK,aAAa,MAAM;AAAA,EACnC;AAAA,EAEA,IAAW,KAAKE,GAAc;AACrB,SAAA,aAAa,QAAQA,CAAI;AAAA,EAClC;AAAA,EAEA,IAAW,SAAiB;AACjB,WAAA,KAAK,aAAa,QAAQ,IAAI,SAAS,KAAK,aAAa,QAAQ,CAAC,IAAI;AAAA,EACjF;AAAA,EAEA,IAAW,OAAOC,GAAgB;AAC9B,SAAK,aAAa,UAAUA,EAAO,SAAU,CAAA;AAAA,EACjD;AAAA,EAEA,WAAW,qBAA+B;AAC/B,WAAA,CAAC,QAAQ,QAAQ;AAAA,EAC5B;AAAA,EAEQ,WAAW;AACf,QAAI,CAAC,KAAK,QAAQ,CAAC,KAAK;AAAY;AAEpC,UAAMC,IAAQ,KAAK,WAAW,eAAe,mBAAmB;AAEhD,IAAAC,EAAA,SAAS,KAAK,MAAM;AAAA,MAChC,QAAQ,KAAK;AAAA,IAAA,CAChB,EAAE,KAAK,CAACC,MAASF,EAAM,YAAYE,CAAI;AAAA,EAC5C;AAAA,EAEU,WAAgC;AAChC,UAAAC,IAAW,SAAS,cAAc,UAAU;AAClD,WAAAA,EAAS,YAAYR,GACdQ;AAAA,EACX;AAAA,EAEA,cAAc;AACJ;EACV;AAAA,EAEA,oBAA0B;AACtB,UAAM,kBAAkB,GAExB,KAAK,SAAS;AAAA,EAClB;AAAA,EAEO,2BAAiC;AACpC,SAAK,SAAS;AAAA,EAClB;AACJ;AAnDIP,EAAuB,KAAK;AAJzB,IAAMQ,IAANR;AAyDF,eAAe,IAAIQ,EAAO,EAAE,KACd,eAAA,OAAOA,EAAO,IAAIA,CAAM;"}
1
+ {"version":3,"file":"qrcode.mjs","sources":["../qrcode.html?raw","../qr-code.ts"],"sourcesContent":["export default \"<style>\\n\\t:host {\\n\\t\\tdisplay: flex;\\n\\t}\\n\\n\\t:host([hidden]) {\\n\\t\\tdisplay: none;\\n\\t}\\n\\n\\t#qr-code-container {\\n\\t\\twidth: 100%;\\n\\t}\\n</style>\\n<div id=\\\"qr-code-container\\\"></div>\\n\"","import { ElementBase } from \"@cas-smartdesign/element-base\";\nimport * as QrCodeGenerator from \"qrcode\";\nimport { default as htmlTemplate } from \"./qrcode.html?raw\";\n\ndeclare global {\n interface HTMLElementTagNameMap {\n [QRcode.ID]: QRcode;\n }\n}\n\nexport class QRcode extends ElementBase {\n is(): string {\n return QRcode.ID;\n }\n public static readonly ID = \"sd-qrcode\";\n\n public get data(): string {\n return this.getAttribute(\"data\");\n }\n\n public set data(data: string) {\n this.setAttribute(\"data\", data);\n }\n\n public get margin(): number {\n return this.hasAttribute(\"margin\") ? parseInt(this.getAttribute(\"margin\")) : 1;\n }\n\n public set margin(margin: number) {\n this.setAttribute(\"margin\", margin.toString());\n }\n\n static get observedAttributes(): string[] {\n return [\"data\", \"margin\"];\n }\n\n private generate() {\n if (!this.data || !this.shadowRoot) return;\n\n const qrdiv = this.shadowRoot.getElementById(\"qr-code-container\");\n\n QrCodeGenerator.toString(this.data, {\n margin: this.margin,\n }).then((svg) => (qrdiv.innerHTML = svg));\n }\n\n protected template(): HTMLTemplateElement {\n const template = document.createElement(\"template\");\n template.innerHTML = htmlTemplate;\n return template;\n }\n\n constructor() {\n super();\n }\n\n connectedCallback(): void {\n super.connectedCallback();\n\n this.generate();\n }\n\n public attributeChangedCallback(): void {\n this.generate();\n }\n}\n\nif (!customElements.get(QRcode.ID)) {\n customElements.define(QRcode.ID, QRcode);\n}\n"],"names":["htmlTemplate","_QRcode","ElementBase","data","margin","qrdiv","QrCodeGenerator","svg","template","QRcode"],"mappings":";;AAAA,MAAAA,IAAe;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GCUFC,IAAN,MAAMA,UAAeC,EAAY;AAAA,EACpC,KAAa;AACT,WAAOD,EAAO;AAAA,EAClB;AAAA,EAGA,IAAW,OAAe;AACtB,WAAO,KAAK,aAAa,MAAM;AAAA,EACnC;AAAA,EAEA,IAAW,KAAKE,GAAc;AAC1B,SAAK,aAAa,QAAQA,CAAI;AAAA,EAClC;AAAA,EAEA,IAAW,SAAiB;AACxB,WAAO,KAAK,aAAa,QAAQ,IAAI,SAAS,KAAK,aAAa,QAAQ,CAAC,IAAI;AAAA,EACjF;AAAA,EAEA,IAAW,OAAOC,GAAgB;AAC9B,SAAK,aAAa,UAAUA,EAAO,SAAA,CAAU;AAAA,EACjD;AAAA,EAEA,WAAW,qBAA+B;AACtC,WAAO,CAAC,QAAQ,QAAQ;AAAA,EAC5B;AAAA,EAEQ,WAAW;AACf,QAAI,CAAC,KAAK,QAAQ,CAAC,KAAK,WAAY;AAEpC,UAAMC,IAAQ,KAAK,WAAW,eAAe,mBAAmB;AAEhE,IAAAC,EAAgB,SAAS,KAAK,MAAM;AAAA,MAChC,QAAQ,KAAK;AAAA,IAAA,CAChB,EAAE,KAAK,CAACC,MAASF,EAAM,YAAYE,CAAI;AAAA,EAC5C;AAAA,EAEU,WAAgC;AACtC,UAAMC,IAAW,SAAS,cAAc,UAAU;AAClD,WAAAA,EAAS,YAAYR,GACdQ;AAAA,EACX;AAAA,EAEA,cAAc;AACV,UAAA;AAAA,EACJ;AAAA,EAEA,oBAA0B;AACtB,UAAM,kBAAA,GAEN,KAAK,SAAA;AAAA,EACT;AAAA,EAEO,2BAAiC;AACpC,SAAK,SAAA;AAAA,EACT;AACJ;AAnDIP,EAAuB,KAAK;AAJzB,IAAMQ,IAANR;AAyDF,eAAe,IAAIQ,EAAO,EAAE,KAC7B,eAAe,OAAOA,EAAO,IAAIA,CAAM;"}
@@ -1,197 +1,202 @@
1
1
  {
2
- "@cypress/vite-dev-server@5.0.7": {
2
+ "@cypress/vite-dev-server@7.0.0": {
3
3
  "licenses": "MIT",
4
4
  "repository": "https://github.com/cypress-io/cypress",
5
5
  "licenseUrl": "https://github.com/cypress-io/cypress/tree/develop/npm/vite-dev-server#readme"
6
6
  },
7
- "@rollup/plugin-node-resolve@15.2.3": {
7
+ "@eslint/js@9.34.0": {
8
+ "licenses": "MIT",
9
+ "repository": "https://github.com/eslint/eslint",
10
+ "licenseUrl": "https://unpkg.com/@eslint/js@9.34.0/LICENSE"
11
+ },
12
+ "@rollup/plugin-node-resolve@16.0.1": {
8
13
  "licenses": "MIT",
9
14
  "repository": "https://github.com/rollup/plugins",
10
- "licenseUrl": "https://github.com/rollup/plugins/raw/HEAD/LICENSE"
15
+ "licenseUrl": "https://unpkg.com/@rollup/plugin-node-resolve@16.0.1/LICENSE"
11
16
  },
12
- "@types/node@20.10.6": {
17
+ "@types/node@24.3.0": {
13
18
  "licenses": "MIT",
14
19
  "repository": "https://github.com/DefinitelyTyped/DefinitelyTyped",
15
- "licenseUrl": "https://github.com/DefinitelyTyped/DefinitelyTyped/raw/HEAD/LICENSE"
20
+ "licenseUrl": "https://unpkg.com/@types/node@24.3.0/LICENSE"
16
21
  },
17
22
  "@types/postcss-prefix-selector@1.16.3": {
18
23
  "licenses": "MIT",
19
24
  "repository": "https://github.com/DefinitelyTyped/DefinitelyTyped",
20
- "licenseUrl": "https://github.com/DefinitelyTyped/DefinitelyTyped/raw/HEAD/LICENSE"
25
+ "licenseUrl": "https://unpkg.com/@types/postcss-prefix-selector@1.16.3/LICENSE"
21
26
  },
22
27
  "@types/qrcode@1.5.5": {
23
28
  "licenses": "MIT",
24
29
  "repository": "https://github.com/DefinitelyTyped/DefinitelyTyped",
25
- "licenseUrl": "https://github.com/DefinitelyTyped/DefinitelyTyped/raw/HEAD/LICENSE"
30
+ "licenseUrl": "https://unpkg.com/@types/qrcode@1.5.5/LICENSE"
26
31
  },
27
- "@typescript-eslint/eslint-plugin@6.17.0": {
32
+ "@typescript-eslint/eslint-plugin@8.41.0": {
28
33
  "licenses": "MIT",
29
34
  "repository": "https://github.com/typescript-eslint/typescript-eslint",
30
- "licenseUrl": "https://github.com/typescript-eslint/typescript-eslint/raw/HEAD/LICENSE"
35
+ "licenseUrl": "https://unpkg.com/@typescript-eslint/eslint-plugin@8.41.0/LICENSE"
31
36
  },
32
- "@typescript-eslint/parser@6.17.0": {
33
- "licenses": "BSD-2-Clause",
37
+ "@typescript-eslint/parser@8.41.0": {
38
+ "licenses": "MIT",
34
39
  "repository": "https://github.com/typescript-eslint/typescript-eslint",
35
- "licenseUrl": "https://github.com/typescript-eslint/typescript-eslint/raw/HEAD/LICENSE"
40
+ "licenseUrl": "https://unpkg.com/@typescript-eslint/parser@8.41.0/LICENSE"
36
41
  },
37
- "@vitest/coverage-v8@1.1.1": {
42
+ "@vitest/coverage-v8@3.2.4": {
38
43
  "licenses": "MIT",
39
44
  "repository": "https://github.com/vitest-dev/vitest",
40
- "licenseUrl": "https://github.com/vitest-dev/vitest/raw/HEAD/LICENSE"
45
+ "licenseUrl": "https://unpkg.com/@vitest/coverage-v8@3.2.4/LICENSE"
41
46
  },
42
- "@vitest/ui@1.1.1": {
47
+ "@vitest/ui@3.2.4": {
43
48
  "licenses": "MIT",
44
49
  "repository": "https://github.com/vitest-dev/vitest",
45
- "licenseUrl": "https://github.com/vitest-dev/vitest/raw/HEAD/LICENSE"
50
+ "licenseUrl": "https://unpkg.com/@vitest/ui@3.2.4/LICENSE"
46
51
  },
47
- "axe-core@4.8.3": {
52
+ "axe-core@4.10.3": {
48
53
  "licenses": "MPL-2.0",
49
54
  "repository": "https://github.com/dequelabs/axe-core",
50
- "licenseUrl": "https://github.com/dequelabs/axe-core/raw/HEAD/LICENSE"
55
+ "licenseUrl": "https://unpkg.com/axe-core@4.10.3/LICENSE"
51
56
  },
52
- "cypress-axe@1.5.0": {
57
+ "cypress-axe@1.7.0": {
53
58
  "licenses": "MIT",
54
59
  "repository": "https://github.com/component-driven/cypress-axe",
55
- "licenseUrl": "https://github.com/component-driven/cypress-axe/raw/HEAD/License.md"
56
- },
57
- "cypress-real-events@1.13.0": {
58
- "licenses": "MIT",
59
- "repository": "https://github.com/dmtrKovalenko/cypress-real-events",
60
- "licenseUrl": "https://github.com/dmtrKovalenko/cypress-real-events"
60
+ "licenseUrl": "https://unpkg.com/cypress-axe@1.7.0/License.md"
61
61
  },
62
- "cypress@13.6.2": {
62
+ "cypress@15.0.0": {
63
63
  "licenses": "MIT",
64
64
  "repository": "https://github.com/cypress-io/cypress",
65
65
  "licenseUrl": "https://cypress.io"
66
66
  },
67
- "esbuild@0.19.11": {
67
+ "esbuild@0.25.9": {
68
68
  "licenses": "MIT",
69
69
  "repository": "https://github.com/evanw/esbuild",
70
- "licenseUrl": "https://github.com/evanw/esbuild/raw/HEAD/LICENSE.md"
70
+ "licenseUrl": "https://unpkg.com/esbuild@0.25.9/LICENSE.md"
71
71
  },
72
72
  "eslint-config-google@0.14.0": {
73
73
  "licenses": "Apache-2.0",
74
74
  "repository": "https://github.com/google/eslint-config-google",
75
- "licenseUrl": "https://github.com/google/eslint-config-google/raw/HEAD/LICENSE"
75
+ "licenseUrl": "https://unpkg.com/eslint-config-google@0.14.0/LICENSE"
76
76
  },
77
- "eslint-config-prettier@9.1.0": {
77
+ "eslint-config-prettier@10.1.8": {
78
78
  "licenses": "MIT",
79
79
  "repository": "https://github.com/prettier/eslint-config-prettier",
80
- "licenseUrl": "https://github.com/prettier/eslint-config-prettier/raw/HEAD/LICENSE"
80
+ "licenseUrl": "https://unpkg.com/eslint-config-prettier@10.1.8/LICENSE"
81
81
  },
82
- "eslint@8.56.0": {
82
+ "eslint@9.34.0": {
83
83
  "licenses": "MIT",
84
84
  "repository": "https://github.com/eslint/eslint",
85
- "licenseUrl": "https://github.com/eslint/eslint/raw/HEAD/LICENSE"
85
+ "licenseUrl": "https://unpkg.com/eslint@9.34.0/LICENSE"
86
86
  },
87
- "github-markdown-css@5.5.0": {
87
+ "github-markdown-css@5.8.1": {
88
88
  "licenses": "MIT",
89
89
  "repository": "https://github.com/sindresorhus/github-markdown-css",
90
- "licenseUrl": "https://github.com/sindresorhus/github-markdown-css/raw/HEAD/license"
90
+ "licenseUrl": "https://unpkg.com/github-markdown-css@5.8.1/license"
91
91
  },
92
- "highlight.js@11.9.0": {
92
+ "highlight.js@11.11.1": {
93
93
  "licenses": "BSD-3-Clause",
94
94
  "repository": "https://github.com/highlightjs/highlight.js",
95
- "licenseUrl": "https://github.com/highlightjs/highlight.js/raw/HEAD/LICENSE"
95
+ "licenseUrl": "https://unpkg.com/highlight.js@11.11.1/LICENSE"
96
96
  },
97
- "junit-report-builder@3.1.0": {
97
+ "junit-report-builder@5.1.1": {
98
98
  "licenses": "MIT",
99
99
  "repository": "https://github.com/davidparsson/junit-report-builder",
100
- "licenseUrl": "https://github.com/davidparsson/junit-report-builder/raw/HEAD/LICENSE"
100
+ "licenseUrl": "https://unpkg.com/junit-report-builder@5.1.1/LICENSE"
101
101
  },
102
- "lint-staged@15.2.0": {
102
+ "lint-staged@16.1.5": {
103
103
  "licenses": "MIT",
104
- "repository": "https://github.com/okonet/lint-staged",
105
- "licenseUrl": "https://github.com/okonet/lint-staged/raw/HEAD/LICENSE"
104
+ "repository": "https://github.com/lint-staged/lint-staged",
105
+ "licenseUrl": "https://unpkg.com/lint-staged@16.1.5/LICENSE"
106
106
  },
107
- "marked@11.1.1": {
107
+ "marked@16.2.1": {
108
108
  "licenses": "MIT",
109
109
  "repository": "https://github.com/markedjs/marked",
110
- "licenseUrl": "https://github.com/markedjs/marked/raw/HEAD/LICENSE.md"
110
+ "licenseUrl": "https://unpkg.com/marked@16.2.1/LICENSE.md"
111
111
  },
112
- "postcss-prefix-selector@1.16.0": {
112
+ "postcss-prefix-selector@2.1.1": {
113
113
  "licenses": "MIT",
114
114
  "repository": "https://github.com/RadValentin/postcss-prefix-selector",
115
- "licenseUrl": "https://github.com/RadValentin/postcss-prefix-selector/raw/HEAD/LICENSE"
115
+ "licenseUrl": "https://unpkg.com/postcss-prefix-selector@2.1.1/LICENSE"
116
116
  },
117
- "postcss@8.4.32": {
117
+ "postcss@8.5.6": {
118
118
  "licenses": "MIT",
119
119
  "repository": "https://github.com/postcss/postcss",
120
- "licenseUrl": "https://github.com/postcss/postcss/raw/HEAD/LICENSE"
120
+ "licenseUrl": "https://unpkg.com/postcss@8.5.6/LICENSE"
121
121
  },
122
- "prettier@3.1.1": {
122
+ "prettier@3.6.2": {
123
123
  "licenses": "MIT",
124
124
  "repository": "https://github.com/prettier/prettier",
125
- "licenseUrl": "https://github.com/prettier/prettier/raw/HEAD/LICENSE"
125
+ "licenseUrl": "https://unpkg.com/prettier@3.6.2/LICENSE"
126
126
  },
127
- "qrcode@1.5.3": {
127
+ "qrcode@1.5.4": {
128
128
  "licenses": "MIT",
129
129
  "repository": "https://github.com/soldair/node-qrcode",
130
- "licenseUrl": "https://github.com/soldair/node-qrcode/raw/HEAD/license"
130
+ "licenseUrl": "https://unpkg.com/qrcode@1.5.4/license"
131
131
  },
132
132
  "resolve-pkg@2.0.0": {
133
133
  "licenses": "MIT",
134
134
  "repository": "https://github.com/sindresorhus/resolve-pkg",
135
- "licenseUrl": "https://github.com/sindresorhus/resolve-pkg/raw/HEAD/license"
135
+ "licenseUrl": "https://unpkg.com/resolve-pkg@2.0.0/license"
136
136
  },
137
- "sass@1.69.6": {
137
+ "sass@1.91.0": {
138
138
  "licenses": "MIT",
139
139
  "repository": "https://github.com/sass/dart-sass",
140
- "licenseUrl": "https://github.com/sass/dart-sass/raw/HEAD/LICENSE"
140
+ "licenseUrl": "https://unpkg.com/sass@1.91.0/LICENSE"
141
141
  },
142
- "stylelint-config-recommended-scss@14.0.0": {
142
+ "stylelint-config-recommended-scss@16.0.0": {
143
143
  "licenses": "MIT",
144
144
  "repository": "https://github.com/stylelint-scss/stylelint-config-recommended-scss",
145
- "licenseUrl": "https://github.com/stylelint-scss/stylelint-config-recommended-scss/raw/HEAD/LICENSE"
145
+ "licenseUrl": "https://unpkg.com/stylelint-config-recommended-scss@16.0.0/LICENSE"
146
146
  },
147
- "stylelint-config-standard@36.0.0": {
147
+ "stylelint-config-standard@39.0.0": {
148
148
  "licenses": "MIT",
149
149
  "repository": "https://github.com/stylelint/stylelint-config-standard",
150
- "licenseUrl": "https://github.com/stylelint/stylelint-config-standard/raw/HEAD/LICENSE"
150
+ "licenseUrl": "https://unpkg.com/stylelint-config-standard@39.0.0/LICENSE"
151
151
  },
152
- "stylelint-scss@6.0.0": {
152
+ "stylelint-scss@6.12.1": {
153
153
  "licenses": "MIT",
154
154
  "repository": "https://github.com/stylelint-scss/stylelint-scss",
155
- "licenseUrl": "https://github.com/stylelint-scss/stylelint-scss/raw/HEAD/LICENSE"
155
+ "licenseUrl": "https://unpkg.com/stylelint-scss@6.12.1/LICENSE"
156
156
  },
157
- "stylelint@16.1.0": {
157
+ "stylelint@16.23.1": {
158
158
  "licenses": "MIT",
159
159
  "repository": "https://github.com/stylelint/stylelint",
160
- "licenseUrl": "https://github.com/stylelint/stylelint/raw/HEAD/LICENSE"
160
+ "licenseUrl": "https://unpkg.com/stylelint@16.23.1/LICENSE"
161
161
  },
162
- "tsup@8.0.1": {
162
+ "tsup@8.5.0": {
163
163
  "licenses": "MIT",
164
164
  "repository": "https://github.com/egoist/tsup",
165
- "licenseUrl": "https://github.com/egoist/tsup/raw/HEAD/LICENSE"
165
+ "licenseUrl": "https://unpkg.com/tsup@8.5.0/LICENSE"
166
166
  },
167
- "turbo@1.11.2": {
168
- "licenses": "MPL-2.0",
169
- "repository": "https://github.com/vercel/turbo",
170
- "licenseUrl": "https://github.com/vercel/turbo/raw/HEAD/LICENSE"
167
+ "turbo@2.5.6": {
168
+ "licenses": "MIT",
169
+ "repository": "https://github.com/vercel/turborepo",
170
+ "licenseUrl": "https://unpkg.com/turbo@2.5.6/LICENSE"
171
+ },
172
+ "typescript-eslint@8.41.0": {
173
+ "licenses": "MIT",
174
+ "repository": "https://github.com/typescript-eslint/typescript-eslint",
175
+ "licenseUrl": "https://unpkg.com/typescript-eslint@8.41.0/LICENSE"
171
176
  },
172
- "typescript@5.3.3": {
177
+ "typescript@5.9.2": {
173
178
  "licenses": "Apache-2.0",
174
- "repository": "https://github.com/Microsoft/TypeScript",
175
- "licenseUrl": "https://github.com/Microsoft/TypeScript/raw/HEAD/LICENSE.txt"
179
+ "repository": "https://github.com/microsoft/TypeScript",
180
+ "licenseUrl": "https://unpkg.com/typescript@5.9.2/LICENSE.txt"
176
181
  },
177
- "vite-tsconfig-paths@4.2.3": {
182
+ "vite-tsconfig-paths@5.1.4": {
178
183
  "licenses": "MIT",
179
184
  "repository": "https://github.com/aleclarson/vite-tsconfig-paths",
180
- "licenseUrl": "https://github.com/aleclarson/vite-tsconfig-paths/raw/HEAD/LICENSE"
185
+ "licenseUrl": "https://unpkg.com/vite-tsconfig-paths@5.1.4/LICENSE"
181
186
  },
182
- "vite@5.0.10": {
187
+ "vite@7.1.3": {
183
188
  "licenses": "MIT",
184
189
  "repository": "https://github.com/vitejs/vite",
185
- "licenseUrl": "https://github.com/vitejs/vite/raw/HEAD/LICENSE.md"
190
+ "licenseUrl": "https://unpkg.com/vite@7.1.3/LICENSE.md"
186
191
  },
187
- "vitest@1.1.1": {
192
+ "vitest@3.2.4": {
188
193
  "licenses": "MIT",
189
194
  "repository": "https://github.com/vitest-dev/vitest",
190
- "licenseUrl": "https://github.com/vitest-dev/vitest/raw/HEAD/LICENSE.md"
195
+ "licenseUrl": "https://unpkg.com/vitest@3.2.4/LICENSE.md"
191
196
  },
192
- "yargs@17.7.2": {
197
+ "yargs@18.0.0": {
193
198
  "licenses": "MIT",
194
199
  "repository": "https://github.com/yargs/yargs",
195
- "licenseUrl": "https://github.com/yargs/yargs/raw/HEAD/LICENSE"
200
+ "licenseUrl": "https://unpkg.com/yargs@18.0.0/LICENSE"
196
201
  }
197
202
  }
package/package.json CHANGED
@@ -1,19 +1,19 @@
1
1
  {
2
2
  "name": "@cas-smartdesign/qrcode",
3
- "version": "3.0.2",
3
+ "version": "3.1.1",
4
4
  "description": "Creates a Qrcode on a canvas element",
5
5
  "main": "dist/qrcode-with-externals.js",
6
6
  "module": "dist/qrcode.mjs",
7
7
  "types": "dist/qr-code.d.ts",
8
8
  "license": "SEE LICENSE IN LICENSE",
9
9
  "dependencies": {
10
- "qrcode": "^1.5.3",
11
- "@cas-smartdesign/element-base": "^5.0.2"
10
+ "qrcode": "^1.5.4",
11
+ "@cas-smartdesign/element-base": "^5.1.1"
12
12
  },
13
13
  "devDependencies": {
14
14
  "@types/qrcode": "^1.5.5",
15
- "@cas-smartdesign/license-generator": "^1.6.3",
16
- "@cas-smartdesign/element-preview": "^0.2.2"
15
+ "@cas-smartdesign/license-generator": "^1.8.1",
16
+ "@cas-smartdesign/element-preview": "^0.3.1"
17
17
  },
18
18
  "files": [
19
19
  "dist",