cisv 0.4.5 → 0.4.7

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/README.md CHANGED
@@ -11,7 +11,7 @@ npm install cisv
11
11
  From source in this repository:
12
12
 
13
13
  ```bash
14
- cd bindings/nodejs
14
+ cd cisv
15
15
  npm ci
16
16
  npm run build
17
17
  npm test
package/binding.gyp CHANGED
@@ -4,13 +4,13 @@
4
4
  "target_name": "cisv",
5
5
  "sources": [
6
6
  "cisv/cisv_addon.cc",
7
- "../../core/src/parser.c",
8
- "../../core/src/writer.c",
9
- "../../core/src/transformer.c"
7
+ "../core/core/src/parser.c",
8
+ "../core/core/src/writer.c",
9
+ "../core/core/src/transformer.c"
10
10
  ],
11
11
  "include_dirs": [
12
12
  "<!@(node -p \"require('node-addon-api').include\")",
13
- "../../core/include/",
13
+ "../core/core/include/",
14
14
  "cisv/"
15
15
  ],
16
16
  "dependencies": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cisv",
3
- "version": "0.4.5",
3
+ "version": "0.4.7",
4
4
  "description": "The csv parser on steroids.",
5
5
  "author": "sanix<s4nixd@gmail.com>",
6
6
  "main": "./build/Release/cisv.node",
@@ -22,10 +22,10 @@
22
22
  "scripts": {
23
23
  "install": "node-gyp rebuild",
24
24
  "build": "node-gyp rebuild",
25
- "test": "mocha ./tests/*.test.js && bash ../../scripts/test_transform.sh",
25
+ "test": "mocha ./tests/*.test.js && node ./test_transform_leak_test.js",
26
26
  "test:build": "npm run build && npm run test",
27
- "benchmark-js": "node ./benchmark.js",
28
- "benchmark-core": "bash ../../scripts/benchmark_cli_reader.sh",
27
+ "benchmark-js": "node ./benchmarks/benchmark.js",
28
+ "benchmark-core": "node ./benchmarks/benchmark.js",
29
29
  "lint": "clang-format -i cisv/*.{cc,h}",
30
30
  "pretest:typescript": "tsc --project tsconfig.json --noEmit",
31
31
  "build:types": "tsc --project tsconfig.json --declaration --emitDeclarationOnly",