sip-lab 1.12.16 → 1.12.20

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
@@ -37,6 +37,11 @@ However since it takes several minutes to build this module, you can install it
37
37
  npm install -g sip-lab
38
38
  ```
39
39
 
40
+ But if you do so, you will need to set NODE_PATH for node to find it by doing:
41
+ ```
42
+ export NODE_PATH=$(npm root --quiet -g)
43
+ ```
44
+
40
45
  To test from within this repo just build and install by doing:
41
46
  ```
42
47
  npm install -g node-gyp
package/install.sh CHANGED
@@ -8,7 +8,7 @@ set -o pipefail
8
8
  START_DIR=`pwd`
9
9
 
10
10
 
11
- mkdir -p 3rdParty
11
+ mkdir -p $START_DIR/3rdParty
12
12
 
13
13
 
14
14
  cd $START_DIR/3rdParty
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sip-lab",
3
- "version": "1.12.16",
3
+ "version": "1.12.20",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "engines": {
@@ -19,13 +19,10 @@
19
19
  "gypfile": true,
20
20
  "homepage": "https://github.com/MayamaTakeshi/sip-lab",
21
21
  "dependencies": {
22
- "node-addon-api": "^1.7.2",
23
- "node-gyp": "^8.4.1"
24
- },
25
- "devDependencies": {
26
22
  "@mayama/zeq": "^4.1.14",
27
- "data-matching": "^1.23.8",
28
- "sip-matching": "^1.3.31",
29
- "string-matching": "^1.11.9"
23
+ "data-matching": "^1.24.0",
24
+ "node-addon-api": "^1.7.2",
25
+ "node-gyp": "^8.4.1",
26
+ "sip-matching": "^1.3.31"
30
27
  }
31
28
  }
package/runtests ADDED
@@ -0,0 +1,15 @@
1
+ #!/bin/bash
2
+
3
+ for i in $(ls samples/*.js)
4
+ do
5
+ node $i
6
+ if [[ $? -ne 0 ]]
7
+ then
8
+ echo "$i failed"
9
+ exit 1
10
+ fi
11
+ done
12
+
13
+ echo
14
+ echo "Success. All tests passed"
15
+