@k03mad/request 5.6.0 → 5.6.2
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/.github/dependabot.yml
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
version: 2
|
|
2
2
|
updates:
|
|
3
|
-
- package-ecosystem:
|
|
4
|
-
directory:
|
|
3
|
+
- package-ecosystem: npm
|
|
4
|
+
directory: /
|
|
5
5
|
schedule:
|
|
6
|
-
interval:
|
|
7
|
-
- package-ecosystem:
|
|
8
|
-
directory:
|
|
6
|
+
interval: monthly
|
|
7
|
+
- package-ecosystem: github-actions
|
|
8
|
+
directory: /
|
|
9
9
|
schedule:
|
|
10
|
-
interval:
|
|
10
|
+
interval: monthly
|
|
@@ -7,26 +7,14 @@ on:
|
|
|
7
7
|
pull_request:
|
|
8
8
|
branches:
|
|
9
9
|
- master
|
|
10
|
-
schedule:
|
|
11
|
-
- cron: '00 15 * * 6'
|
|
12
10
|
|
|
13
11
|
jobs:
|
|
14
12
|
lint:
|
|
15
|
-
|
|
16
|
-
permissions:
|
|
17
|
-
contents: read
|
|
18
|
-
runs-on: ubuntu-latest
|
|
13
|
+
runs-on: ubuntu-22.04
|
|
19
14
|
steps:
|
|
20
|
-
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
- name: Install NodeJS
|
|
24
|
-
uses: actions/setup-node@v4
|
|
15
|
+
- uses: actions/checkout@v4
|
|
16
|
+
- uses: actions/setup-node@v4
|
|
25
17
|
with:
|
|
26
18
|
node-version-file: '.nvmrc'
|
|
27
|
-
|
|
28
|
-
-
|
|
29
|
-
run: npm run setup
|
|
30
|
-
|
|
31
|
-
- name: Run lint
|
|
32
|
-
run: npm run lint
|
|
19
|
+
- run: npm run setup
|
|
20
|
+
- run: npm run lint
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
name: Publish
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches:
|
|
6
|
+
- master
|
|
7
|
+
|
|
8
|
+
jobs:
|
|
9
|
+
publish:
|
|
10
|
+
environment: npm
|
|
11
|
+
runs-on: ubuntu-22.04
|
|
12
|
+
steps:
|
|
13
|
+
- uses: actions/checkout@v4
|
|
14
|
+
- uses: actions/setup-node@v4
|
|
15
|
+
with:
|
|
16
|
+
node-version-file: '.nvmrc'
|
|
17
|
+
registry-url: 'https://registry.npmjs.org'
|
|
18
|
+
- run: npm run setup
|
|
19
|
+
- run: npm publish
|
|
20
|
+
env:
|
|
21
|
+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
package/.husky/pre-commit
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@k03mad/request",
|
|
3
|
-
"version": "5.6.
|
|
3
|
+
"version": "5.6.2",
|
|
4
4
|
"description": "Request library",
|
|
5
5
|
"maintainers": [
|
|
6
6
|
"Kirill Molchanov <k03.mad@gmail.com"
|
|
@@ -18,15 +18,15 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"chalk": "5.3.0",
|
|
20
20
|
"debug": "4.3.4",
|
|
21
|
-
"got": "14.
|
|
21
|
+
"got": "14.2.0",
|
|
22
22
|
"p-queue": "8.0.1",
|
|
23
23
|
"pretty-bytes": "6.1.1",
|
|
24
24
|
"strip-ansi": "7.1.0"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@k03mad/eslint-config": "
|
|
28
|
-
"eslint": "8.
|
|
29
|
-
"husky": "
|
|
27
|
+
"@k03mad/eslint-config": "20.3.0",
|
|
28
|
+
"eslint": "8.57.0",
|
|
29
|
+
"husky": "9.0.11"
|
|
30
30
|
},
|
|
31
31
|
"scripts": {
|
|
32
32
|
"lint": "npm run lint:eslint",
|
|
@@ -34,7 +34,8 @@
|
|
|
34
34
|
"clean": "npm run clean:modules && npm run clean:eslint:cache",
|
|
35
35
|
"clean:modules": "rm -rf ./node_modules || true",
|
|
36
36
|
"clean:eslint:cache": "rm -rf .eslintcache || true",
|
|
37
|
-
"setup": "npm run clean && npm
|
|
38
|
-
"
|
|
37
|
+
"setup": "npm run clean && npm run setup:pnpm",
|
|
38
|
+
"setup:pnpm": "npm i pnpm -g && pnpm i",
|
|
39
|
+
"prepare": "husky || true"
|
|
39
40
|
}
|
|
40
41
|
}
|