@rollup-extras/plugin-html 1.2.1 → 1.2.4

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/index.cjs CHANGED
@@ -134,8 +134,7 @@ function index (options$1 = {}) {
134
134
  }
135
135
  }
136
136
  function handleTemplateReadError(e) {
137
- var _a;
138
- if (((_a = e) === null || _a === void 0 ? void 0 : _a.code) === 'ENOENT') {
137
+ if ((e === null || e === void 0 ? void 0 : e.code) === 'ENOENT') {
139
138
  logger('template nor a file or string', 2 /* warn */, e);
140
139
  }
141
140
  else {
package/dist/index.mjs CHANGED
@@ -125,8 +125,7 @@ function index (options = {}) {
125
125
  }
126
126
  }
127
127
  function handleTemplateReadError(e) {
128
- var _a;
129
- if (((_a = e) === null || _a === void 0 ? void 0 : _a.code) === 'ENOENT') {
128
+ if ((e === null || e === void 0 ? void 0 : e.code) === 'ENOENT') {
130
129
  logger('template nor a file or string', 2 /* warn */, e);
131
130
  }
132
131
  else {
package/package.json CHANGED
@@ -1,17 +1,17 @@
1
1
  {
2
- "version": "1.2.1",
2
+ "version": "1.2.4",
3
3
  "license": "MIT",
4
4
  "name": "@rollup-extras/plugin-html",
5
5
  "author": {
6
6
  "name": "Konstantin Shutkin"
7
7
  },
8
- "funding": "https://www.donationalerts.com/r/excitingcode",
9
8
  "type": "module",
10
9
  "exports": {
11
10
  ".": {
12
11
  "require": "./dist/index.cjs",
13
12
  "default": "./dist/index.mjs"
14
- }
13
+ },
14
+ "./package.json": "./package.json"
15
15
  },
16
16
  "main": "./dist/index.cjs",
17
17
  "module": "./dist/index.mjs",
@@ -29,7 +29,7 @@
29
29
  "bugs": {
30
30
  "url": "https://github.com/kshutkin/rollup-extras/issues"
31
31
  },
32
- "homepage": "https://github.com/kshutkin/rollup-extras/plugin-html/README.md",
32
+ "homepage": "https://github.com/kshutkin/rollup-extras/blob/main/plugin-html/README.md",
33
33
  "readme": "README.md",
34
34
  "description": "Rollup plugin to inject assets names into html template.",
35
35
  "keywords": [
@@ -47,26 +47,26 @@
47
47
  "@semantic-release/changelog": "6.0.1",
48
48
  "@semantic-release/commit-analyzer": "9.0.2",
49
49
  "@semantic-release/git": "10.0.1",
50
- "@semantic-release/npm": "8.0.3",
50
+ "@semantic-release/npm": "9.0.1",
51
51
  "@semantic-release/release-notes-generator": "10.0.3",
52
- "@types/jest": "27.0.3",
53
- "@typescript-eslint/eslint-plugin": "5.8.1",
54
- "@typescript-eslint/parser": "5.8.1",
52
+ "@types/jest": "27.5.1",
53
+ "@typescript-eslint/eslint-plugin": "5.24.0",
54
+ "@typescript-eslint/parser": "5.24.0",
55
55
  "conventional-changelog-angular": "5.0.13",
56
- "eslint": "8.5.0",
57
- "jest": "27.4.5",
58
- "semantic-release": "18.0.1",
56
+ "eslint": "8.15.0",
57
+ "jest": "28.1.0",
58
+ "semantic-release": "19.0.3",
59
59
  "semantic-release-monorepo": "7.0.5",
60
- "ts-jest": "27.1.2",
61
- "typescript": "4.5.x",
60
+ "ts-jest": "28.0.2",
61
+ "typescript": "4.6.x",
62
62
  "update-monorepo-package-json": "0.2.0",
63
- "pkgbld": "1.1.3"
63
+ "pkgbld": "1.2.12"
64
64
  },
65
65
  "peerDependencies": {
66
66
  "rollup": "^2.60.1"
67
67
  },
68
68
  "dependencies": {
69
69
  "@niceties/logger": "^1.1.3",
70
- "@rollup-extras/utils": "^1.2.1"
70
+ "@rollup-extras/utils": "^1.2.4"
71
71
  }
72
72
  }