mikel 0.2.0 → 0.2.1

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 +3 -12
package/index.js CHANGED
@@ -54,5 +54,5 @@ const compile = (tokens, output, ctx, index, section) => {
54
54
 
55
55
  export default (str, ctx = {}, output = []) => {
56
56
  compile(str.split(/\{\{|\}\}/), output, ctx, 0, "");
57
- return output.join("").replace(/\n/g, "\\n");
57
+ return output.join("");
58
58
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mikel",
3
3
  "description": "Micro mustache implementation with zero dependencies",
4
- "version": "0.2.0",
4
+ "version": "0.2.1",
5
5
  "type": "module",
6
6
  "author": {
7
7
  "name": "Josemi Juanes",
@@ -17,7 +17,7 @@
17
17
  "./package.json": "./package.json"
18
18
  },
19
19
  "scripts": {
20
- "test": "jest test.js"
20
+ "test": "node test.js"
21
21
  },
22
22
  "keywords": [
23
23
  "mustache",
@@ -27,14 +27,5 @@
27
27
  "README.md",
28
28
  "LICENSE",
29
29
  "index.js"
30
- ],
31
- "babel": {
32
- "presets": [
33
- "@babel/preset-env"
34
- ]
35
- },
36
- "devDependencies": {
37
- "@babel/preset-env": "^7.24.3",
38
- "jest": "^29.7.0"
39
- }
30
+ ]
40
31
  }