zig-pug 0.3.6 → 0.3.8

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/binding.gyp CHANGED
@@ -14,19 +14,28 @@
14
14
  "<(module_root_dir)/prebuilts/win32-<(target_arch)/zig-pug.lib"
15
15
  ]
16
16
  }],
17
+ ["OS=='mac'", {
18
+ "libraries": [
19
+ "-lm",
20
+ "../prebuilts/darwin-<(target_arch)/libzig-pug.a"
21
+ ],
22
+ "cflags": [
23
+ "-std=c99"
24
+ ]
25
+ }],
17
26
  ["OS=='android'", {
18
27
  "libraries": [
19
28
  "-lm",
20
- "<(module_root_dir)/prebuilts/linux-<(target_arch)/libzig-pug.a"
29
+ "../prebuilts/linux-<(target_arch)/libzig-pug.a"
21
30
  ],
22
31
  "cflags": [
23
32
  "-std=c99"
24
33
  ]
25
34
  }],
26
- ["OS!='win' and OS!='android'", {
35
+ ["OS=='linux'", {
27
36
  "libraries": [
28
37
  "-lm",
29
- "<(module_root_dir)/prebuilts/<(OS)-<(target_arch)/libzig-pug.a"
38
+ "../prebuilts/linux-<(target_arch)/libzig-pug.a"
30
39
  ],
31
40
  "cflags": [
32
41
  "-std=c99"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zig-pug",
3
- "version": "0.3.6",
3
+ "version": "0.3.8",
4
4
  "description": "High-performance Pug template engine powered by Zig and mujs. Native N-API addon with ES5.1 JavaScript support, full UTF-8 (emoji, accents), documentation comments (//!), and fast compilation. Compatible with Node.js and Bun.",
5
5
  "type": "commonjs",
6
6
  "main": "index.js",
Binary file
Binary file
Binary file
Binary file
Binary file