Skip to content

Commit 4cc9395

Browse files
committed
feat: обновлен class-validator до ^0.14.1
1 parent 54d8f0f commit 4cc9395

File tree

4 files changed

+27
-77
lines changed

4 files changed

+27
-77
lines changed

.github/workflows/deploy.yaml

+5-31
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,10 @@
1-
name: deploy workflow
1+
name: deploy
22

33
on:
4-
workflow_dispatch:
5-
inputs:
6-
dry_run:
7-
description: Dry run
8-
required: true
9-
default: "false"
4+
- workflow_dispatch
105

116
jobs:
127
deploy:
13-
name: deploy
14-
runs-on: ubuntu-latest
15-
steps:
16-
- name: checkout
17-
uses: actions/checkout@v2
18-
with:
19-
fetch-depth: 0
20-
21-
- name: install nodejs
22-
uses: actions/setup-node@v2
23-
with:
24-
node-version: "14"
25-
26-
- name: install dependencies
27-
run: yarn install --production false --frozen-lockfile
28-
29-
- name: build
30-
run: yarn run build
31-
32-
- name: semantic release
33-
run: yarn semantic-release --dry-run ${{ github.event.inputs.dry_run }}
34-
env:
35-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
36-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
8+
uses: Byndyusoft/node-reusable-workflows/.github/workflows/deploy.yaml@master
9+
secrets:
10+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

.github/workflows/test.yaml

+2-26
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,9 @@
1-
name: test workflow
1+
name: test
22

33
on:
44
- push
55
- pull_request
66

77
jobs:
88
test:
9-
name: test
10-
11-
strategy:
12-
matrix:
13-
os: [ubuntu-latest, windows-latest, macos-latest]
14-
node-version: ["12", "14", "16"]
15-
16-
runs-on: ${{ matrix.os }}
17-
steps:
18-
- name: checkout
19-
uses: actions/checkout@v2
20-
21-
- name: install nodejs
22-
uses: actions/setup-node@v2
23-
with:
24-
node-version: ${{ matrix.node-version }}
25-
26-
- name: install dependencies
27-
run: yarn install --production false --frozen-lockfile --ignore-engines
28-
29-
- name: lint
30-
run: yarn run lint
31-
32-
- name: test
33-
run: yarn run test:cov
9+
uses: Byndyusoft/node-reusable-workflows/.github/workflows/test.yaml@master

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
"@types/lodash": "^4.14.173",
9393
"@types/node": "^16.9.6",
9494
"class-transformer": "^0.5.1",
95-
"class-validator": "^0.13.1",
95+
"class-validator": "^0.14.1",
9696
"eslint": "^7.32.0",
9797
"husky": "^7.0.2",
9898
"jest": "^27.2.1",

yarn.lock

+19-19
Original file line numberDiff line numberDiff line change
@@ -1322,10 +1322,10 @@
13221322
resolved "https://registry.yarnpkg.com/@types/stack-utils/-/stack-utils-2.0.1.tgz#20f18294f797f2209b5f65c8e3b5c8e8261d127c"
13231323
integrity sha512-Hl219/BT5fLAaz6NDkSuhzasy49dwQS/DSdu4MdggFB8zcXv7vflBI3xp7FEmkmdDkBUI2bPUNeMttp2knYdxw==
13241324

1325-
"@types/validator@^13.1.3":
1326-
version "13.6.3"
1327-
resolved "https://registry.yarnpkg.com/@types/validator/-/validator-13.6.3.tgz#31ca2e997bf13a0fffca30a25747d5b9f7dbb7de"
1328-
integrity sha512-fWG42pMJOL4jKsDDZZREnXLjc3UE0R8LOJfARWYg6U966rxDT7TYejYzLnUF5cvSObGg34nd0+H2wHHU5Omdfw==
1325+
"@types/validator@^13.11.8":
1326+
version "13.12.2"
1327+
resolved "https://registry.yarnpkg.com/@types/validator/-/validator-13.12.2.tgz#760329e756e18a4aab82fc502b51ebdfebbe49f5"
1328+
integrity sha512-6SlHBzUW8Jhf3liqrGGXyTJSIFe4nqlJ5A5KaMZ2l/vbM3Wh3KSybots/wfWVzNLK4D1NZluDlSQIbIEPx6oyA==
13291329

13301330
"@types/yargs-parser@*":
13311331
version "20.2.1"
@@ -2138,14 +2138,14 @@ class-utils@^0.3.5:
21382138
isobject "^3.0.0"
21392139
static-extend "^0.1.1"
21402140

2141-
class-validator@^0.13.1:
2142-
version "0.13.1"
2143-
resolved "https://registry.yarnpkg.com/class-validator/-/class-validator-0.13.1.tgz#381b2001ee6b9e05afd133671fbdf760da7dec67"
2144-
integrity sha512-zWIeYFhUitvAHBwNhDdCRK09hWx+P0HUwFE8US8/CxFpMVzkUK8RJl7yOIE+BVu2lxyPNgeOaFv78tLE47jBIg==
2141+
class-validator@^0.14.1:
2142+
version "0.14.1"
2143+
resolved "https://registry.yarnpkg.com/class-validator/-/class-validator-0.14.1.tgz#ff2411ed8134e9d76acfeb14872884448be98110"
2144+
integrity sha512-2VEG9JICxIqTpoK1eMzZqaV+u/EiwEJkMGzTrZf6sU/fwsnOITVgYJ8yojSy6CaXtO9V0Cc6ZQZ8h8m4UBuLwQ==
21452145
dependencies:
2146-
"@types/validator" "^13.1.3"
2147-
libphonenumber-js "^1.9.7"
2148-
validator "^13.5.2"
2146+
"@types/validator" "^13.11.8"
2147+
libphonenumber-js "^1.10.53"
2148+
validator "^13.9.0"
21492149

21502150
clean-regexp@^1.0.0:
21512151
version "1.0.0"
@@ -5227,10 +5227,10 @@ libnpmversion@^1.2.1:
52275227
semver "^7.3.5"
52285228
stringify-package "^1.0.1"
52295229

5230-
libphonenumber-js@^1.9.7:
5231-
version "1.9.34"
5232-
resolved "https://registry.yarnpkg.com/libphonenumber-js/-/libphonenumber-js-1.9.34.tgz#ddddc778a9b2f53c70500fcf10c9483596e3574f"
5233-
integrity sha512-gHTNU9xTtVgSp30IDX/57W4pETMXDIYXFfwEOJVXiYosiY7Hc7ogJwlBjOqlCcU04X0aA8DT57hdwUC1sJBJnA==
5230+
libphonenumber-js@^1.10.53:
5231+
version "1.11.18"
5232+
resolved "https://registry.yarnpkg.com/libphonenumber-js/-/libphonenumber-js-1.11.18.tgz#0ce5188a76487fae01afdf318255783cde36501e"
5233+
integrity sha512-okMm/MCoFrm1vByeVFLBdkFIXLSHy/AIK2AEGgY3eoicfWZeOZqv3GfhtQgICkzs/tqorAMm3a4GBg5qNCrqzg==
52345234

52355235
lines-and-columns@^1.1.6:
52365236
version "1.1.6"
@@ -8093,10 +8093,10 @@ validate-npm-package-name@^3.0.0, validate-npm-package-name@~3.0.0:
80938093
dependencies:
80948094
builtins "^1.0.3"
80958095

8096-
validator@^13.5.2:
8097-
version "13.6.0"
8098-
resolved "https://registry.yarnpkg.com/validator/-/validator-13.6.0.tgz#1e71899c14cdc7b2068463cb24c1cc16f6ec7059"
8099-
integrity sha512-gVgKbdbHgtxpRyR8K0O6oFZPhhB5tT1jeEHZR0Znr9Svg03U0+r9DXWMrnRAB+HtCStDQKlaIZm42tVsVjqtjg==
8096+
validator@^13.9.0:
8097+
version "13.12.0"
8098+
resolved "https://registry.yarnpkg.com/validator/-/validator-13.12.0.tgz#7d78e76ba85504da3fee4fd1922b385914d4b35f"
8099+
integrity sha512-c1Q0mCiPlgdTVVVIJIrBuxNicYE+t/7oKeI9MWLj3fh/uq2Pxh/3eeWbVZ4OcGW1TUf53At0njHw5SMdA3tmMg==
81008100

81018101
verror@1.10.0:
81028102
version "1.10.0"

0 commit comments

Comments
 (0)