memlab 1.1.40 → 1.1.41

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
@@ -50,7 +50,7 @@ async function action(page) {
50
50
  // action where we want to go back to the step before: click clear search
51
51
  async function back(page) {
52
52
  // puppeteer page API
53
- await page.click('[aria-label="Clear search"]');
53
+ await page.click('[aria-label="Close"]');
54
54
  }
55
55
 
56
56
  module.exports = {action, back, url};
@@ -161,7 +161,7 @@ const scenario = {
161
161
  action: async (page) => await page.click('button[aria-label="Hotels"]'),
162
162
 
163
163
  // action where we want to go back to the step before
164
- back: async (page) => await page.click('[aria-label="Clear search"]'),
164
+ back: async (page) => await page.click('[aria-label="Close"]'),
165
165
  }
166
166
  memlab.run({scenario});
167
167
  ```
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAWA,gBAAgB;AAChB,wBAAsB,eAAe,IAAI,OAAO,CAAC,IAAI,CAAC,CAErD;AAED,cAAc,aAAa,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "memlab",
3
- "version": "1.1.40",
3
+ "version": "1.1.41",
4
4
  "license": "MIT",
5
5
  "description": "memlab is a framework that analyzes memory and finds memory leaks in JavaScript applications.",
6
6
  "main": "dist/index.js",
@@ -36,7 +36,8 @@
36
36
  "chalk": "^4.0.0",
37
37
  "fs-extra": "^4.0.2",
38
38
  "minimist": "^1.2.0",
39
- "puppeteer": "^13.5.1",
39
+ "puppeteer": "^21.0.3",
40
+ "puppeteer-core": "^21.0.3",
40
41
  "string-width": "^4.2.0",
41
42
  "util.promisify": "^1.1.1",
42
43
  "xvfb": "^0.4.0"
@@ -47,8 +48,8 @@
47
48
  "@types/minimist": "^1.2.2",
48
49
  "@types/node": "^12.16.3",
49
50
  "@types/puppeteer": "^5.4.4",
50
- "jest": "^27.5.1",
51
- "ts-jest": "^27.1.4",
51
+ "jest": "^29.6.2",
52
+ "ts-jest": "^29.1.1",
52
53
  "typescript": "^4.6.3"
53
54
  },
54
55
  "scripts": {