Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dev: fix poly definition #491

Merged
merged 3 commits into from
Dec 9, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions action-src/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
]
},
"devDependencies": {
"@pollyjs/adapter-node-http": "^6",
"@pollyjs/core": "^6",
"@pollyjs/persister-fs": "^6",
"@pollyjs/adapter-node-http": "^6.0.3",
"@pollyjs/core": "^6.0.3",
"@pollyjs/persister-fs": "^6.0.3",
"@types/jest": "^27.0.3",
"@types/minimatch": "^3.0.5",
"env-cmd": "^10.1.0",
Expand Down
6 changes: 2 additions & 4 deletions action-src/src/test/helper.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
import * as path from 'path';
import * as fs from 'fs';
import { Polly, PollyConfig } from '@pollyjs/core';
import Adapter from '@pollyjs/adapter';
import Persister from '@pollyjs/persister';
import NodeHttpAdapter from '@pollyjs/adapter-node-http';
import FSPersister from '@pollyjs/persister-fs';

Polly.register(NodeHttpAdapter as typeof Adapter);
Polly.register(FSPersister as typeof Persister);
Polly.register(NodeHttpAdapter);
Polly.register(FSPersister);

// eslint-disable-next-line @typescript-eslint/no-var-requires
const tsconfig = require('../../tsconfig.json');
Expand Down
6 changes: 3 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -900,7 +900,7 @@
dependencies:
"@octokit/openapi-types" "^11.2.0"

"@pollyjs/adapter-node-http@^6":
"@pollyjs/adapter-node-http@^6.0.3":
version "6.0.3"
resolved "https://registry.npmjs.org/@pollyjs/adapter-node-http/-/adapter-node-http-6.0.3.tgz#8b5722c4d94c6e9980ee33172b6a7c6c04754731"
integrity sha512-gwWDzOP2HKOC8Nkk19replIH8AahWs7BbgGZqNRr8hUf6wBGsJDVG3ZSOeaK2GsG2Su4aD5hUA5U6kxjjEZ1YA==
Expand All @@ -917,7 +917,7 @@
dependencies:
"@pollyjs/utils" "^6.0.1"

"@pollyjs/core@^6":
"@pollyjs/core@^6.0.3":
version "6.0.3"
resolved "https://registry.npmjs.org/@pollyjs/core/-/core-6.0.3.tgz#350daca3c6be34494aac583c90a60aba245b4ccb"
integrity sha512-BjOAu7uRdCOcuknKRTRWaIhPmUQq3YfXh0ZqnxTpwK9pxpZ29QW4nwSjF1R73SE8aJjLKgK6ssthUtMl3CIkWA==
Expand Down Expand Up @@ -946,7 +946,7 @@
morgan "^1.10.0"
nocache "^3.0.1"

"@pollyjs/persister-fs@^6":
"@pollyjs/persister-fs@^6.0.3":
version "6.0.3"
resolved "https://registry.npmjs.org/@pollyjs/persister-fs/-/persister-fs-6.0.3.tgz#d7ce614e2e092094b5674bd1b35a750d9bb62460"
integrity sha512-+Q1byvViqPrxXUy9Kz5MbWvkG8T3h4n1FPxzoKtwX4W2urxs8Dp1CP3ILIA6XMhid2f4TD57XUx9wJYDHcu6ww==
Expand Down