@vituum/vite-plugin-pug 1.0.0 → 1.1.0

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.
Files changed (2) hide show
  1. package/index.js +1 -1
  2. package/package.json +10 -11
package/index.js CHANGED
@@ -116,7 +116,7 @@ const plugin = (options = {}) => {
116
116
  },
117
117
  transformIndexHtml: {
118
118
  order: 'pre',
119
- async transform (content, { path, filename, server }) {
119
+ async handler (content, { path, filename, server }) {
120
120
  return pluginTransform(content, { path, filename, server }, { name, options, resolvedConfig, renderTemplate })
121
121
  }
122
122
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vituum/vite-plugin-pug",
3
- "version": "1.0.0",
3
+ "version": "1.1.0",
4
4
  "type": "module",
5
5
  "main": "index.js",
6
6
  "types": "types/index.d.ts",
@@ -9,17 +9,17 @@
9
9
  "eslint": "eslint '**/*.js' --fix"
10
10
  },
11
11
  "dependencies": {
12
- "pug": "^3.0.2",
13
- "lodash": "^4.17.21",
14
- "fast-glob": "^3.2.12",
15
- "vituum": "^1.0.0"
12
+ "pug": "^3.0",
13
+ "lodash": "^4.17",
14
+ "fast-glob": "^3.3",
15
+ "vituum": "^1.1"
16
16
  },
17
17
  "devDependencies": {
18
- "@types/node": "^20.3.2",
19
- "eslint": "^8.43.0",
18
+ "@types/node": "^20.9.1",
19
+ "eslint": "^8.53.0",
20
20
  "eslint-config-standard": "^17.1.0",
21
- "typescript": "^5.1.3",
22
- "vite": "^4.3.9"
21
+ "typescript": "^5.2.2",
22
+ "vite": "^5.0.0"
23
23
  },
24
24
  "files": [
25
25
  "index.js",
@@ -30,8 +30,7 @@
30
30
  "./types": "./types/*"
31
31
  },
32
32
  "engines": {
33
- "node": ">=16.0.0",
34
- "npm": ">=9.0.0"
33
+ "node": "^18.0.0 || >=20.0.0"
35
34
  },
36
35
  "repository": {
37
36
  "type": "git",