zenn-embed-elements 0.1.138-alpha.1 → 0.1.138

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.
@@ -29,13 +29,13 @@ class EmbedKatex extends HTMLElement {
29
29
  render() {
30
30
  return __awaiter(this, void 0, void 0, function* () {
31
31
  if (typeof katex === 'undefined') {
32
- yield load_script_1.loadScript({
32
+ yield (0, load_script_1.loadScript)({
33
33
  src: `https://cdn.jsdelivr.net/npm/katex@${katexVersion}/dist/katex.min.js`,
34
34
  id: 'katex-js',
35
35
  });
36
36
  }
37
37
  // CSSを読み込む(まだ読み込まれていない場合のみ)
38
- load_stylesheet_1.loadStylesheet({
38
+ (0, load_stylesheet_1.loadStylesheet)({
39
39
  href: `https://cdn.jsdelivr.net/npm/katex@${katexVersion}/dist/katex.min.css`,
40
40
  id: `katex-css`,
41
41
  });
@@ -1,4 +1,4 @@
1
- declare type LoadScriptProps = {
1
+ type LoadScriptProps = {
2
2
  src: string;
3
3
  id: string;
4
4
  };
@@ -1,4 +1,4 @@
1
- declare type LoadStylesheetProps = {
1
+ type LoadStylesheetProps = {
2
2
  href: string;
3
3
  id: string;
4
4
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zenn-embed-elements",
3
- "version": "0.1.138-alpha.1",
3
+ "version": "0.1.138",
4
4
  "license": "MIT",
5
5
  "description": "Web components for embedded contents.",
6
6
  "repository": {
@@ -22,15 +22,15 @@
22
22
  "test": "echo 'no test yet'"
23
23
  },
24
24
  "devDependencies": {
25
- "@types/node": "^14.0.5",
26
- "@typescript-eslint/eslint-plugin": "^4.23.0",
27
- "@typescript-eslint/parser": "^4.23.0",
28
- "eslint": "^7.26.0",
29
- "eslint-config-prettier": "^8.3.0",
30
- "rimraf": "^3.0.2",
31
- "typescript": "^3.9.3"
25
+ "@types/node": "^18.13.0",
26
+ "@typescript-eslint/eslint-plugin": "^5.52.0",
27
+ "@typescript-eslint/parser": "^5.52.0",
28
+ "eslint": "^8.34.0",
29
+ "eslint-config-prettier": "^8.6.0",
30
+ "rimraf": "^4.1.2",
31
+ "typescript": "^4.9.5"
32
32
  },
33
- "gitHead": "e55d7a8280b813c1fa73a05510620a32589927ea",
33
+ "gitHead": "ec42d57d840442784f342c0859f723dd9bdae4a6",
34
34
  "publishConfig": {
35
35
  "access": "public"
36
36
  }