Skip to content

Commit 78926f9

Browse files
author
d.o.kuznetsov
committed
update all deps
1 parent bff728d commit 78926f9

File tree

4 files changed

+777
-832
lines changed

4 files changed

+777
-832
lines changed

.github/workflows/release.yml

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Publish Package to npmjs
2+
on:
3+
release:
4+
types: [created]
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v3
10+
# Setup .npmrc file to publish to npm
11+
- uses: actions/setup-node@v3
12+
with:
13+
node-version: '18.x'
14+
registry-url: 'https://registry.npmjs.org'
15+
- run: npx tsc
16+
- run: npm publish
17+
env:
18+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

package.json

+18-18
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "teremock",
3-
"version": "2.0.0",
3+
"version": "2.0.2",
44
"description": "File-based real mocks request mocker for playwright",
55
"main": "dist",
66
"repository": {
@@ -24,35 +24,35 @@
2424
"homepage": "https://github.com/Diokuz/teremock#readme",
2525
"dependencies": {
2626
"ci-info": "^3.7.0",
27-
"debug": "^4.2.0",
27+
"debug": "^4.3.4",
2828
"lodash.ismatch": "^4.4.0",
2929
"make-dir": "^3.1.0",
30-
"query-string": "^6.13.6",
30+
"query-string": "^7.1.1",
3131
"signale": "^1.4.0",
3232
"sprout-data": "^1.3.0",
3333
"tslib": "^2.4.1"
3434
},
3535
"devDependencies": {
3636
"@playwright/test": "^1.28.1",
37-
"@types/debug": "^4.1.5",
38-
"@types/express": "^4.17.8",
37+
"@types/debug": "^4.1.7",
38+
"@types/express": "^4.17.14",
3939
"@types/jest": "^29.2.3",
40-
"@types/lodash.ismatch": "^4.4.6",
41-
"@types/node": "^14.14.3",
42-
"@types/rimraf": "^3.0.0",
43-
"@types/signale": "^1.4.1",
44-
"@types/sinon": "^9.0.11",
45-
"body-parser": "^1.19.0",
46-
"express": "^4.17.1",
47-
"got": "^11.8.0",
40+
"@types/lodash.ismatch": "^4.4.7",
41+
"@types/node": "^18.11.9",
42+
"@types/rimraf": "^3.0.2",
43+
"@types/signale": "^1.4.4",
44+
"@types/sinon": "^10.0.13",
45+
"body-parser": "^1.20.1",
46+
"express": "^4.18.2",
47+
"got": "^12.5.3",
4848
"jest": "^29.3.1",
49-
"prettier": "2.1.2",
49+
"prettier": "2.8.0",
5050
"rimraf": "^3.0.2",
51-
"sinon": "^9.2.0",
51+
"sinon": "^14.0.2",
5252
"ts-jest": "^29.0.3",
5353
"typescript": "^4.9.3",
54-
"wait-port": "^0.2.9",
55-
"webpack": "^5.2.0",
56-
"webpack-cli": "^4.1.0"
54+
"wait-port": "^1.0.4",
55+
"webpack": "^5.75.0",
56+
"webpack-cli": "^5.0.0"
5757
}
5858
}

src/pw-driver/response.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export async function extractPlaywrightResponse(
6565

6666
logger(`got the response, sending it to teremock core`)
6767

68-
const { __meta } = (playwrightRequest as unknown) as { __meta?: Meta }
68+
const { __meta } = playwrightRequest as unknown as { __meta?: Meta }
6969

7070
if (!__meta) {
7171
signale.warn(`__meta was not found in playwrightRequest. Probably it was made before teremock.start()`)

0 commit comments

Comments
 (0)