@modernpoacher/nunjucks 3.1.117 → 3.2.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.
package/.husky/pre-commit CHANGED
@@ -1,4 +1,3 @@
1
1
  #!/bin/sh
2
2
 
3
3
  npm run lint
4
- git add *.js
package/package.json CHANGED
@@ -1,12 +1,13 @@
1
1
  {
2
2
  "name": "@modernpoacher/nunjucks",
3
- "version": "3.1.117",
3
+ "version": "3.2.0",
4
4
  "description": "Nunjucks for Hapi",
5
+ "type": "commonjs",
5
6
  "keywords": [
6
7
  "hapi",
7
8
  "nunjucks"
8
9
  ],
9
- "main": "./index.js",
10
+ "main": "./index.cjs",
10
11
  "author": {
11
12
  "name": "Jonathan Perry for Modern Poacher Limited",
12
13
  "email": "modernpoacher@modernpoacher.com",
@@ -18,17 +19,16 @@
18
19
  },
19
20
  "repository": {
20
21
  "type": "git",
21
- "url": "https://github.com/modernpoacher/nunjucks.git"
22
+ "url": "git+https://github.com/modernpoacher/nunjucks.git"
22
23
  },
23
24
  "scripts": {
24
- "lint": "eslint .",
25
+ "lint": "eslint . --ext .cjs,.mjs",
25
26
  "lint:fix": "npm run lint -- --fix"
26
27
  },
27
28
  "dependencies": {
28
29
  "debug": "^4.3.7"
29
30
  },
30
31
  "devDependencies": {
31
- "@babel/cli": "^7.25.9",
32
32
  "@babel/core": "^7.26.0",
33
33
  "@babel/eslint-parser": "^7.25.9",
34
34
  "@babel/preset-env": "^7.26.0",
package/.gitattributes DELETED
@@ -1,26 +0,0 @@
1
- # Default behavior
2
- * text=auto
3
-
4
- # LF line endings
5
- *.yaml text eol=lf
6
- *.yml text eol=lf
7
- *.json text eol=lf
8
- *.js text eol=lf
9
- *.mjs text eol=lf
10
- *.cjs text eol=lf
11
- *.jsx text eol=lf
12
- *.ts text eol=lf
13
- *.mts text eol=lf
14
- *.cts text eol=lf
15
- *.sh text eol=lf
16
- .depsrc text eol=lf
17
- .editorconfig text eol=lf
18
- .eslintignore text eol=lf
19
- .eslintrc text eol=lf
20
- .gitattributes text eol=lf
21
- .gitignore text eol=lf
22
- .npmignore text eol=lf
23
- .npmrc text eol=lf
24
- .nvmrc text eol=lf
25
- .babelrc text eol=lf
26
- .husky/* text eol=lf
File without changes
File without changes