@suffolklitlab/alkiln 4.1.1 → 4.2.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.
@@ -78,12 +78,12 @@ jobs:
78
78
  with:
79
79
  name: report
80
80
  path: ./**/*_report_*
81
- - name: log artifact
81
+ - name: upload debug_log artifact
82
82
  uses: actions/upload-artifact@v2
83
83
  if: ${{ always() }}
84
84
  with:
85
- name: log file
86
- path: ./log.txt
85
+ name: debug_log file
86
+ path: ./debug_log.txt
87
87
  - name: Cleanup
88
88
  if: ${{ always() }}
89
89
  run: npm run takedown
package/CHANGELOG.md CHANGED
@@ -39,6 +39,13 @@ Format:
39
39
  -
40
40
  -->
41
41
  <!-- ## [Unreleased] -->
42
+
43
+ ## [4.2.0] - 2022-04-05
44
+ ### Changed
45
+ - Pin versions of dependencies in action.yml and package.json
46
+ - Change log.txt file to debug_log.txt and upload as github artifact.
47
+ - Update cheerio version to remove vulnerabilities.
48
+
42
49
  ## [4.1.1] - 2022-04-01
43
50
  ### Added
44
51
  - Step to set vars to secret variables. That is, using environment variables while hiding the names of those variables in the report, errors, and console logs.
package/action.yml CHANGED
@@ -76,7 +76,7 @@ runs:
76
76
  },
77
77
  "dependencies": {
78
78
  "colors": "1.4.0",
79
- "@cucumber/cucumber": "^7.3.2",
79
+ "@cucumber/cucumber": "7.3.2",
80
80
  "@suffolklitlab/alkiln": "$ALKILN_VERSION"
81
81
  }
82
82
  }
package/lib/scope.js CHANGED
@@ -60,7 +60,7 @@ module.exports = {
60
60
  let scenario = await scope.makeSureReportPartsExist( scope );
61
61
  scenario.lines.push({ type, value });
62
62
 
63
- fs.appendFileSync('log.txt', `Report:\ntype: ${ type }, value: ${ value }`);
63
+ fs.appendFileSync('debug_log.txt', `Report:\ntype: ${ type }, value: ${ value }`);
64
64
  return scenario;
65
65
 
66
66
  }, // Ends scope.addToReport()
package/lib/steps.js CHANGED
@@ -68,7 +68,7 @@ BeforeAll(async () => {
68
68
  scope.timeout = 30 * 1000;
69
69
  scope.showif_timeout = 600;
70
70
  scope.report = new Map();
71
- fs.writeFileSync('log.txt', "");
71
+ fs.writeFileSync('debug_log.txt', "");
72
72
  });
73
73
 
74
74
  Before(async (scenario) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@suffolklitlab/alkiln",
3
- "version": "4.1.1",
3
+ "version": "4.2.0",
4
4
  "description": "Integrated automated end-to-end testing with docassemble, puppeteer, and cucumber.",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {
@@ -34,16 +34,16 @@
34
34
  },
35
35
  "homepage": "https://suffolklitlab.org/docassemble-AssemblyLine-documentation/docs/automated_integrated_testing/",
36
36
  "dependencies": {
37
- "@cucumber/cucumber": "^7.3.2",
38
- "axios": "^0.24.0",
39
- "chai": "^4.2.0",
40
- "cheerio": "^1.0.0-rc.5",
41
- "dotenv": "^8.2.0",
42
- "mocha": "^9.2.0",
43
- "puppeteer": "^13.1.3",
44
- "qs": "^6.10.2",
45
- "sanitize-filename": "^1.6.3",
46
- "uuid": "^8.3.2"
37
+ "@cucumber/cucumber": "7.3.2",
38
+ "axios": "0.24.0",
39
+ "chai": "4.2.0",
40
+ "cheerio": "1.0.0-rc.10",
41
+ "dotenv": "8.2.0",
42
+ "mocha": "9.2.0",
43
+ "puppeteer": "13.1.3",
44
+ "qs": "6.10.2",
45
+ "sanitize-filename": "1.6.3",
46
+ "uuid": "8.3.2"
47
47
  },
48
48
  "bin": {
49
49
  "alkiln-setup": "./lib/docassemble/setup.js",