@sap/xsodata 7.4.5 → 8.0.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sap/xsodata",
3
- "version": "7.4.5",
3
+ "version": "8.0.0",
4
4
  "description": "Expose data from a HANA database as OData V2 service with help of .xsodata files.",
5
5
  "main": "index.js",
6
6
  "license": "SEE LICENSE IN developer-license-3.1.txt",
@@ -8,21 +8,18 @@
8
8
  "serve": "node test_apps/server",
9
9
  "serve-debug": "node --inspect-brk test_apps/server",
10
10
  "pretest": "npm -g ls --depth=0 && npm ls --depth=0",
11
- "test": "npm run unit-tests",
12
11
  "lint": "jshint .",
13
- "all-tests": "node ./node_modules/mocha/bin/_mocha --timeout 20000 test/**/test*.js test_apps/test_**/**/test*.js",
14
- "all-tests-jenkins": "node ./node_modules/mocha/bin/_mocha --timeout 20000 'test/**/test*.js' 'test_apps/test_**/**/test*.js'",
15
- "scenario-tests": "node ./node_modules/mocha/bin/_mocha --timeout 20000 test_apps/test_**/**/test*.js",
12
+ "all-tests-jenkins": "node ./node_modules/mocha/bin/_mocha --no-color --timeout 20000 'test/**/test*.js' 'test_apps/test_**/**/test*.js'",
13
+ "all-tests-cv": "node ./node_modules/mocha/bin/_mocha --no-color --timeout 20000 'test_apps/test_cv/**/test*.js'",
14
+ "scenario-tests": "node ./node_modules/mocha/bin/_mocha --no-color --timeout 20000 test_apps/test_**/**/test*.js",
15
+ "all-tests-synonym": "node ./node_modules/mocha/bin/_mocha --no-color --timeout 20000 test_apps/test_synonyms/test_*.js",
16
16
  "unit-tests": "node ./node_modules/mocha/bin/_mocha test/**/test*.js",
17
- "cover": "istanbul cover -x test/**/* -x test_apps/**/* --report lcov --dir ./_coverage ./node_modules/mocha/bin/_mocha -- -R spec test/**/test*.js test_apps/**/test*.js",
18
- "cover-unit-tests": "istanbul cover -x test/**/* --report lcov --dir ./_coverage ./node_modules/mocha/bin/_mocha -- -R spec test/**/test*.js",
19
- "cover-scenario-tests": "istanbul cover -x test_apps/**/* --report lcov --dir ./_coverage ./node_modules/mocha/bin/_mocha -- -R spec test_apps/**/test*.js",
20
- "cover-jenkins-istanbul": "istanbul cover ./node_modules/mocha/bin/_mocha 'test/**/test*.js' 'test_apps/**/test*.js' -- --timeout 20000 && istanbul check-coverage ./_coverage/coverage.json",
21
- "cover-jenkins": "nyc --reporter=text --reporter=html --all --include lib/ --check-coverage true --lines 80 --branches 69 --functions 87 --statements 80 npm run all-tests-jenkins",
22
- "report": "node ./node_modules/mocha/bin/_mocha test/**/test*.js test_apps/test_**/**/test*.js --reporter mocha-simple-html-reporter --reporter-options output=_gen/report/report_all.html",
23
- "report-unit-tests": "node ./node_modules/mocha/bin/_mocha test/**/test*.js --reporter mocha-simple-html-reporter --reporter-options output=_gen/report/report_unit.html",
24
- "report-scenario-tests": "node ./node_modules/mocha/bin/_mocha test_apps/test_**/**/test*.js --reporter mocha-simple-html-reporter --reporter-options output=_gen/report/report_scenario.html",
25
- "env": "env",
17
+ "cover-unit-tests": "nyc --reporter=text --reporter=html --all --include lib/ npm run unit-tests",
18
+ "cover-scenario-tests": "nyc --reporter=text --reporter=html --all --include lib/ --check-coverage true --lines 80 --branches 68 --functions 86 --statements 80 npm run scenario-tests",
19
+ "cover-jenkins": "nyc --reporter=text --reporter=html --all --include lib/ --check-coverage true --lines 80 --branches 68 --functions 86 --statements 80 npm run all-tests-jenkins",
20
+ "report": "node ./node_modules/mocha/bin/_mocha test/**/test*.js test_apps/test_**/**/test*.js --reporter mocha-simple-html-reporter --reporter-options output=report_all.html",
21
+ "report-unit-tests": "node ./node_modules/mocha/bin/_mocha test/**/test*.js --reporter mocha-simple-html-reporter --reporter-options output=report_unit.html",
22
+ "report-scenario-tests": "node ./node_modules/mocha/bin/_mocha test_apps/test_**/**/test*.js --reporter mocha-simple-html-reporter --reporter-options output=report_scenario.html",
26
23
  "gen": "npm run genfilter && npm run genorderby && npm run gensegment && npm run genxso && npm run genxml && npm run genDateTimeParser",
27
24
  "genfilter": "jison lib/grammars/filter.jison -o lib/parsers/jison_filter_parser.js",
28
25
  "genorderby": "jison lib/grammars/orderby.jison -o lib/parsers/jison_orderby_parser.js",
@@ -49,34 +46,33 @@
49
46
  ".npmignore"
50
47
  ],
51
48
  "dependencies": {
52
- "@sap/xsenv": "3.1.0",
53
- "@sap/xssec": "3.1.2",
54
- "async": "3.2.0",
55
- "big.js": "6.0.3",
56
- "body-parser": "1.19.0",
57
- "hdb": "0.18.3",
49
+ "@sap/xsenv": "3.3.2",
50
+ "@sap/xssec": "3.2.13",
51
+ "async": "3.2.4",
52
+ "big.js": "6.2.1",
53
+ "body-parser": "1.20.0",
54
+ "hdb": "0.19.4",
58
55
  "lodash": "4.17.21",
59
- "negotiator": "0.6.2",
56
+ "negotiator": "0.6.3",
60
57
  "rwlock": "5.0.0",
61
58
  "xml-writer": "1.7.0"
62
59
  },
63
60
  "engines": {
64
- "node": "^12 || ^14"
61
+ "node": "^12 || ^14 || ^16"
65
62
  },
66
63
  "devDependencies": {
67
64
  "@sap/hana-client": "2.10.20",
68
65
  "chai": "4.2.0",
69
66
  "expect": "1.20.2",
70
- "filter-node-package": "=2.2.0",
71
- "istanbul": "0.4.5",
67
+ "filter-node-package": "3.0.0",
72
68
  "jison": "0.4.18",
73
- "jshint": "2.10.2",
74
- "mocha": "8.3.2",
69
+ "jshint": "2.13.4",
70
+ "mocha": "9.2.2",
75
71
  "mocha-simple-html-reporter": "1.1.0",
76
72
  "node-mocks-http": "=1.7.6",
77
73
  "nyc": "^15.1.0",
78
74
  "pegjs": "0.10.0",
79
75
  "sinon": "6.1.4",
80
- "xml2js": "0.4.19"
76
+ "xml2js": "0.4.23"
81
77
  }
82
78
  }