@zowe/db2-for-zowe-cli 4.0.7 → 4.1.4

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 (34) hide show
  1. package/README.md +7 -1
  2. package/lib/api/CallSP.d.ts +3 -1
  3. package/lib/api/CallSP.js +10 -6
  4. package/lib/api/CallSP.js.map +1 -1
  5. package/lib/api/ExecuteSQL.d.ts +2 -1
  6. package/lib/api/ExecuteSQL.js +8 -5
  7. package/lib/api/ExecuteSQL.js.map +1 -1
  8. package/lib/api/ExportTable.d.ts +2 -1
  9. package/lib/api/ExportTable.js +8 -5
  10. package/lib/api/ExportTable.js.map +1 -1
  11. package/lib/api/ExportTableSQL.d.ts +2 -1
  12. package/lib/api/ExportTableSQL.js +2 -2
  13. package/lib/api/ExportTableSQL.js.map +1 -1
  14. package/lib/cli/DB2BaseHandler.js +2 -2
  15. package/lib/cli/DB2BaseHandler.js.map +1 -1
  16. package/lib/cli/DB2Session.d.ts +1 -2
  17. package/lib/cli/DB2Session.js +1 -2
  18. package/lib/cli/DB2Session.js.map +1 -1
  19. package/lib/cli/call/procedure/Procedure.definition.js +5 -0
  20. package/lib/cli/call/procedure/Procedure.definition.js.map +1 -1
  21. package/lib/cli/call/procedure/Procedure.handler.js.map +1 -1
  22. package/lib/cli/execute/sql/SQL.definition.js +1 -1
  23. package/lib/cli/execute/sql/SQL.definition.js.map +1 -1
  24. package/lib/cli/execute/sql/SQL.handler.js.map +1 -1
  25. package/lib/cli/export/table/Table.definition.js +7 -0
  26. package/lib/cli/export/table/Table.definition.js.map +1 -1
  27. package/lib/cli/export/table/Table.handler.js +3 -2
  28. package/lib/cli/export/table/Table.handler.js.map +1 -1
  29. package/lib/rest/session/Session.d.ts +1 -0
  30. package/lib/rest/session/Session.js +1 -0
  31. package/lib/rest/session/Session.js.map +1 -1
  32. package/npm-shrinkwrap.json +4253 -0
  33. package/package.json +124 -118
  34. package/CHANGELOG.md +0 -45
package/package.json CHANGED
@@ -1,123 +1,129 @@
1
1
  {
2
- "name": "@zowe/db2-for-zowe-cli",
3
- "version": "4.0.7",
4
- "description": "IBM® Db2® Plug-in for Zowe CLI",
5
- "author": "CA T&C Brightside",
6
- "license": "EPL-2.0",
7
- "main": "lib/index.js",
8
- "repository": {
9
- "type": "git",
10
- "url": "https://github.com/zowe/zowe-cli-db2-plugin.git"
11
- },
12
- "publishConfig": {
13
- "registry": "https://registry.npmjs.org/"
14
- },
15
- "files": [
16
- "lib"
2
+ "name": "@zowe/db2-for-zowe-cli",
3
+ "version": "4.1.4",
4
+ "description": "IBM® Db2® Plug-in for Zowe CLI",
5
+ "author": "CA T&C Brightside",
6
+ "license": "EPL-2.0",
7
+ "main": "lib/index.js",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "https://github.com/zowe/zowe-cli-db2-plugin.git"
11
+ },
12
+ "publishConfig": {
13
+ "registry": "https://registry.npmjs.org/"
14
+ },
15
+ "files": [
16
+ "lib"
17
+ ],
18
+ "scripts": {
19
+ "prebuild": "npm run clean && npm run lint && echo Using TypeScript && tsc --version",
20
+ "build": "node scripts/updateLicense.js && tsc --pretty && npm run checkTestsCompile && npm run circularDependencyCheck",
21
+ "checkTestsCompile": "echo \"Checking that test source compiles...\" && tsc --project __tests__/test-tsconfig.json --noEmit",
22
+ "circularDependencyCheck": "madge -c lib",
23
+ "clean": "rimraf lib",
24
+ "watch": "tsc --pretty --watch",
25
+ "prepublishOnly": "echo Look up for the output of prepublishOnly",
26
+ "lint": "eslint \"src/**/*.ts\" \"**/__tests__/**/*.ts\"",
27
+ "lint:src": "eslint \"src/**/*.ts\" --ignore-pattern \"**/__tests__/**/*.ts\"",
28
+ "lint:tests": "eslint \"**/__tests__/**/*.ts\"",
29
+ "test": "npm run test:unit && npm run test:system",
30
+ "test:system": "env-cmd __tests__/__resources__/env/system.env jest .*/__system__/.* --coverage false --runInBand",
31
+ "test:unit": "env-cmd __tests__/__resources__/env/unit.env jest --coverage --testPathIgnorePatterns \".*/__system__/.*\" ",
32
+ "installPlugin": "npm install && npm run clean && npm run build && bright plugins install .",
33
+ "typedoc": "typedoc --out ./docs/typedoc/ ./src/ --disableOutputCheck"
34
+ },
35
+ "imperative": {
36
+ "configurationModule": "lib/imperative.js"
37
+ },
38
+ "dependencies": {
39
+ "ibm_db": "2.7.4"
40
+ },
41
+ "peerDependencies": {
42
+ "@zowe/cli": "^6.0.0",
43
+ "@zowe/imperative": "^4.0.0"
44
+ },
45
+ "devDependencies": {
46
+ "@types/fs-extra": "^5.0.5",
47
+ "@types/ibm_db": "^2.0.2",
48
+ "@types/jest": "^20.0.5",
49
+ "@types/node": "^8.0.0",
50
+ "@types/xml2js": "^0.4.3",
51
+ "@types/yargs": "^8.0.2",
52
+ "@typescript-eslint/eslint-plugin": "^4.29.0",
53
+ "@typescript-eslint/parser": "^4.29.0",
54
+ "@zowe/imperative": "4.17.6",
55
+ "env-cmd": "^8.0.2",
56
+ "eslint": "^7.32.0",
57
+ "eslint-plugin-jest": "^24.4.0",
58
+ "eslint-plugin-unused-imports": "^1.1.2",
59
+ "fs-extra": "^5.0.0",
60
+ "jest": "^26.6.3",
61
+ "jest-environment-node-debug": "^2.0.0",
62
+ "jest-html-reporter": "^3.3.0",
63
+ "jest-junit": "^3.6.0",
64
+ "jest-stare": "^2.2.0",
65
+ "madge": "^5.0.1",
66
+ "rimraf": "^2.6.2",
67
+ "ts-jest": "^26.4.4",
68
+ "ts-node": "^3.2.0",
69
+ "typedoc": "^0.20.36",
70
+ "typescript": "^3.7.4",
71
+ "uuid": "^3.2.1"
72
+ },
73
+ "jest": {
74
+ "setupFilesAfterEnv": [
75
+ "./__tests__/setUpJest.js"
17
76
  ],
18
- "scripts": {
19
- "prebuild": "npm run clean && npm run lint && echo Using TypeScript && tsc --version",
20
- "build": "node scripts/updateLicense.js && tsc --pretty",
21
- "clean": "rimraf lib",
22
- "watch": "tsc --pretty --watch",
23
- "prepublishOnly": "npm run build",
24
- "lint": "npm run lint:src && npm run lint:tests",
25
- "lint:src": "tslint --format stylish -c tslint.json \"src/**/*.ts\"",
26
- "lint:tests": "tslint --format stylish -c tslint-tests.json \"__tests__/**/*.ts\"",
27
- "test": "npm run test:unit --runinband && npm run test:system",
28
- "test:system": "env-cmd __tests__/__resources__/env/system.env jest .*/__system__/.* --coverage false --runInBand",
29
- "test:unit": "env-cmd __tests__/__resources__/env/unit.env jest --coverage --testPathIgnorePatterns \".*/__system__/.*\" ",
30
- "installPlugin": "npm install && npm run clean && npm run build && bright plugins install .",
31
- "typedoc": "typedoc --out ./docs/typedoc/ ./src/ --disableOutputCheck --ignoreCompilerErrors --mode file"
32
- },
33
- "imperative": {
34
- "configurationModule": "lib/imperative.js"
35
- },
36
- "dependencies": {
37
- "ibm_db": "2.7.1"
38
- },
39
- "peerDependencies": {
40
- "@zowe/imperative": "^4.0.0",
41
- "@zowe/cli": "^6.0.0"
42
- },
43
- "devDependencies": {
44
- "@types/ibm_db": "^2.0.2",
45
- "@types/jest": "^20.0.5",
46
- "@types/node": "^8.0.0",
47
- "@types/xml2js": "^0.4.3",
48
- "@types/yargs": "^8.0.2",
49
- "@zowe/imperative": "4.8.1",
50
- "env-cmd": "^8.0.2",
51
- "fs-extra": "^5.0.0",
52
- "jest": "^24.5.0",
53
- "jest-cli": "^24.5.0",
54
- "jest-environment-node": "^24.5.0",
55
- "jest-environment-node-debug": "^2.0.0",
56
- "jest-html-reporter": "^3.3.0",
57
- "jest-junit": "^3.6.0",
58
- "jest-stare": "^2.2.0",
59
- "rimraf": "^2.6.2",
60
- "ts-jest": "^24.0.0",
61
- "ts-node": "^3.2.0",
62
- "tslint": "^5.0.0",
63
- "typedoc": "^0.9.0",
64
- "typescript": "^3.2.2",
65
- "uuid": "^3.2.1"
66
- },
67
- "jest": {
68
- "setupFilesAfterEnv": [
69
- "./__tests__/setUpJest.js"
70
- ],
71
- "modulePathIgnorePatterns": [
72
- "__tests__/__snapshots__/"
73
- ],
74
- "testResultsProcessor": "jest-stare",
75
- "transform": {
76
- ".(ts)": "<rootDir>/node_modules/ts-jest/preprocessor.js"
77
- },
78
- "testRegex": "(test|spec)\\.ts$",
79
- "moduleFileExtensions": [
80
- "ts",
81
- "js"
82
- ],
83
- "testPathIgnorePatterns": [
84
- "<rootDir>/__tests__/__results__"
85
- ],
86
- "testEnvironment": "node",
87
- "collectCoverageFrom": [
88
- "src/**/*.ts",
89
- "!**/__tests__/**",
90
- "!**/index.ts",
91
- "!**/main.ts"
92
- ],
93
- "collectCoverage": false,
94
- "coverageReporters": [
95
- "json",
96
- "lcov",
97
- "text",
98
- "cobertura"
99
- ],
100
- "coverageDirectory": "<rootDir>/__tests__/__results__/unit/coverage",
101
- "globals": {
102
- "ts-jest": {
103
- "diagnostics": false
104
- }
105
- }
106
- },
107
- "jest-stare": {
108
- "resultDir": "__tests__/__results__/jest-stare",
109
- "additionalResultsProcessors": [
110
- "jest-junit",
111
- "jest-html-reporter"
112
- ],
113
- "coverageLink": "../coverage/lcov-report/index.html"
114
- },
115
- "jest-junit": {
116
- "output": "__tests__/__results__/junit.xml"
77
+ "modulePathIgnorePatterns": [
78
+ "__tests__/__snapshots__/"
79
+ ],
80
+ "testResultsProcessor": "jest-stare",
81
+ "transform": {
82
+ ".(ts)": "ts-jest"
117
83
  },
118
- "jest-html-reporter": {
119
- "pageTitle": "Brightside DB2 Plugin Test Results",
120
- "outputPath": "__tests__/__results__/results.html",
121
- "includeFailureMsg": true
84
+ "testRegex": "(test|spec)\\.ts$",
85
+ "moduleFileExtensions": [
86
+ "ts",
87
+ "js"
88
+ ],
89
+ "testPathIgnorePatterns": [
90
+ "<rootDir>/__tests__/__results__"
91
+ ],
92
+ "testEnvironment": "node",
93
+ "collectCoverageFrom": [
94
+ "src/**/*.ts",
95
+ "!**/__tests__/**",
96
+ "!**/index.ts",
97
+ "!**/main.ts"
98
+ ],
99
+ "collectCoverage": false,
100
+ "coverageReporters": [
101
+ "json",
102
+ "lcov",
103
+ "text",
104
+ "cobertura"
105
+ ],
106
+ "coverageDirectory": "<rootDir>/__tests__/__results__/unit/coverage",
107
+ "globals": {
108
+ "ts-jest": {
109
+ "diagnostics": false
110
+ }
122
111
  }
112
+ },
113
+ "jest-stare": {
114
+ "resultDir": "__tests__/__results__/jest-stare",
115
+ "additionalResultsProcessors": [
116
+ "jest-junit",
117
+ "jest-html-reporter"
118
+ ],
119
+ "coverageLink": "../coverage/lcov-report/index.html"
120
+ },
121
+ "jest-junit": {
122
+ "output": "__tests__/__results__/junit.xml"
123
+ },
124
+ "jest-html-reporter": {
125
+ "pageTitle": "Brightside DB2 Plugin Test Results",
126
+ "outputPath": "__tests__/__results__/results.html",
127
+ "includeFailureMsg": true
128
+ }
123
129
  }
package/CHANGELOG.md DELETED
@@ -1,45 +0,0 @@
1
- # Changelog
2
-
3
- All notable changes to the IBM® Db2® Plug-in for Zowe CLI will be documented in this file.
4
-
5
- ## Recent Changes
6
-
7
- - BugFix: Added support for Node v14. [#60](https://github.com/zowe/zowe-cli-db2-plugin/pull/60)
8
-
9
- ## `4.0.6`
10
-
11
- - Decrease Imperative load time for plugin
12
-
13
- ## `4.0.5`
14
-
15
- - Tagged 4.X.X as @zowe-v1-lts
16
-
17
- ## `4.0.4`
18
-
19
- - Updated typescript dev dependency to fix building the plugin
20
-
21
- ## `4.0.3`
22
-
23
- - Updated documentation to include Xcode, fix links and branding
24
-
25
- ## `4.0.2`
26
-
27
- - Updated ibm_db dependency to add Node 12 support
28
-
29
- ## `4.0.1`
30
-
31
- - Updated documentation to include:
32
- - How the plugin works
33
- - Software requirements
34
- - How to install and uninstall the plugin
35
- - How to build from source
36
- - How to run tests
37
- - Contribution information
38
- - Where to find tutorials
39
- - Link to Imperative CLI Framework documentation
40
-
41
- ## `4.0.0`
42
-
43
- - Change name to @zowe/db2-for-zowe-cli
44
- - Bump imperative and cli peer dependency versions
45
- - Rebrand documentation