zenn-embed-elements 0.2.6-alpha.3 → 0.2.6-alpha.5

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.
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.loadScript = void 0;
3
+ exports.loadScript = loadScript;
4
4
  const scriptLoadedStatusList = {};
5
5
  function loadScript({ src, id }) {
6
6
  return new Promise((resolve, reject) => {
@@ -28,4 +28,3 @@ function loadScript({ src, id }) {
28
28
  }
29
29
  });
30
30
  }
31
- exports.loadScript = loadScript;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.loadStylesheet = void 0;
3
+ exports.loadStylesheet = loadStylesheet;
4
4
  function loadStylesheet({ href, id }) {
5
5
  return new Promise((resolve, reject) => {
6
6
  if (document.getElementById(id))
@@ -16,4 +16,3 @@ function loadStylesheet({ href, id }) {
16
16
  linkElem.onerror = (e) => reject(e);
17
17
  });
18
18
  }
19
- exports.loadStylesheet = loadStylesheet;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zenn-embed-elements",
3
- "version": "0.2.6-alpha.3",
3
+ "version": "0.2.6-alpha.5",
4
4
  "license": "MIT",
5
5
  "description": "Web components for embedded contents.",
6
6
  "repository": {
@@ -17,26 +17,26 @@
17
17
  "build": "pnpm clean && run-p build:*",
18
18
  "build:tsc": "tsc -p .",
19
19
  "lint": "run-s lint:*",
20
- "lint:eslint": "eslint . --ext .ts,.tsx",
20
+ "lint:eslint": "eslint .",
21
21
  "lint:prettier": "prettier .",
22
22
  "lint-strict": "run-s lint-strict:*",
23
- "lint-strict:eslint": "eslint . --ext .ts,.tsx --max-warnings 0",
23
+ "lint-strict:eslint": "eslint . --max-warnings 0",
24
24
  "lint-strict:prettier": "prettier --check .",
25
25
  "fix": "run-s fix:*",
26
- "fix:eslint": "eslint . --ext .ts,.tsx --fix",
26
+ "fix:eslint": "eslint . --fix",
27
27
  "fix:prettier": "prettier -w .",
28
28
  "test": "echo 'no test yet'"
29
29
  },
30
30
  "devDependencies": {
31
- "@types/node": "^18.13.0",
32
- "@typescript-eslint/eslint-plugin": "^5.52.0",
33
- "@typescript-eslint/parser": "^5.52.0",
34
- "eslint": "^8.34.0",
35
- "eslint-config-prettier": "^8.6.0",
36
- "rimraf": "^4.1.2",
37
- "typescript": "^4.9.5"
31
+ "@eslint/js": "^9.38.0",
32
+ "@types/node": "^24.9.1",
33
+ "eslint": "^9.38.0",
34
+ "eslint-config-prettier": "^10.1.8",
35
+ "rimraf": "^6.0.1",
36
+ "typescript": "^5.9.3",
37
+ "typescript-eslint": "^8.46.2"
38
38
  },
39
- "gitHead": "9cca382bdb5638330513bdabac3e015022dbf73b",
39
+ "gitHead": "372fbecbc50fb46f2bff220923b458d9997ea79e",
40
40
  "publishConfig": {
41
41
  "access": "public"
42
42
  }