globalpayments-api 2.0.1 → 3.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.
Files changed (2) hide show
  1. package/CHANGELOG.md +7 -1
  2. package/package.json +14 -11
package/CHANGELOG.md CHANGED
@@ -1,6 +1,12 @@
1
1
  # Changelog
2
2
 
3
- ## Latest
3
+ ## Latest (10/03/23)
4
+
5
+ #### Typescript upgrade to v5
6
+
7
+ - Upgrade Typescript to v5 to use latest functionalities
8
+
9
+ ## v2.0.0 (09/21/23)
4
10
 
5
11
  #### Configuration via Service Containers
6
12
 
package/package.json CHANGED
@@ -1,9 +1,12 @@
1
1
  {
2
2
  "name": "globalpayments-api",
3
- "version": "2.0.1",
3
+ "version" : "3.0.0",
4
4
  "description": "Global Payments SDK for NodeJS for Heartland and Global Payments eCommerce gateways",
5
5
  "author": "Heartland Payment Systems",
6
6
  "license": "GPL-2.0",
7
+ "engines": {
8
+ "node": ">=16.20.2"
9
+ },
7
10
  "repository": {
8
11
  "type": "git",
9
12
  "url": "https://github.com/globalpayments/node-sdk.git"
@@ -16,10 +19,10 @@
16
19
  "build:clean": "rimraf lib",
17
20
  "docs": "typedoc --mode file --name \"GlobalPayments.Api\" --project tsconfig.json --out docs src",
18
21
  "format": "prettier --write --config .prettierrc 'src/**/*.ts' 'test/**/*.ts' '*.md'",
22
+ "prebuild": "npm-run-all",
19
23
  "prepublish": "npm-run-all build",
20
24
  "pretest": "npm-run-all build:clean build",
21
- "test": "ava",
22
- "test:lint": "tslint --project tsconfig.json src"
25
+ "test": "ava --tap | npx tap-xunit"
23
26
  },
24
27
  "dependencies": {
25
28
  "@azz/elementtree": "^0.1.6",
@@ -30,21 +33,21 @@
30
33
  },
31
34
  "devDependencies": {
32
35
  "@hitc/netsuite-types": "^2017.2.32",
33
- "@types/node": "^12.20.7",
34
- "ava": "^0.17.0",
35
- "awesome-typescript-loader": "^3.5.0",
36
+ "@types/node": "20.6.0",
37
+ "ava": "^5.3.1",
36
38
  "npm-run-all": "^4.1.5",
37
39
  "prettier": "^1.18.2",
38
40
  "rimraf": "^2.6.3",
39
- "tslint": "^4.5.1",
40
- "typedoc": "^0.22.13",
41
- "typescript": "4.2.3",
42
- "webpack": "^3.12.0"
41
+ "tslint": "^6.1.3",
42
+ "typedoc": "0.25.1",
43
+ "typescript": "5.2.2",
44
+ "webpack": "^5.88.2"
43
45
  },
44
46
  "ava": {
45
47
  "concurrency": 1,
46
48
  "timeout": "5m",
47
- "failFast": true,
49
+ "failFast": false,
50
+ "failWithoutAssertions": false,
48
51
  "files": [
49
52
  "lib/test/**/*Test.js"
50
53
  ],