Skip to content

Commit

Permalink
fix: Migrate from master to main. (#312)
Browse files Browse the repository at this point in the history
  • Loading branch information
goloroden committed Mar 25, 2021
1 parent 1822c40 commit 471f1b9
Show file tree
Hide file tree
Showing 7 changed files with 107 additions and 78 deletions.
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
@@ -1 +1 @@
* @goloroden @yeldiRium
* @dotKuro @goloroden @strangedev @yeldiRium
2 changes: 1 addition & 1 deletion .github/workflows/qa.yml
Expand Up @@ -9,7 +9,7 @@ jobs:

strategy:
matrix:
node-version: [ '12.x' ]
node-version: [ '14.x' ]
os: [ ubuntu-latest, macos-latest ]

steps:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Expand Up @@ -3,7 +3,7 @@ name: Release
on:
push:
branches:
- 'master'
- 'main'

jobs:
release:
Expand All @@ -15,7 +15,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: 12.x
node-version: 14.x
- name: Install dependencies
run: |
npm install
Expand Down
2 changes: 1 addition & 1 deletion LICENSE.txt
@@ -1,5 +1,5 @@
The MIT License (MIT)
Copyright (c) 2018-2020 the native web.
Copyright (c) 2018-2021 the native web.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

Expand Down
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -9,7 +9,7 @@ validate-value validates values against JSON schemas.
| Version | [![npm](https://img.shields.io/npm/v/validate-value)](https://www.npmjs.com/package/validate-value) |
| Dependencies | ![David](https://img.shields.io/david/thenativeweb/validate-value) |
| Dev dependencies | ![David](https://img.shields.io/david/dev/thenativeweb/validate-value) |
| Build | ![GitHub Actions](https://github.com/thenativeweb/validate-value/workflows/Release/badge.svg?branch=master) |
| Build | ![GitHub Actions](https://github.com/thenativeweb/validate-value/workflows/Release/badge.svg?branch=main) |
| License | ![GitHub](https://img.shields.io/github/license/thenativeweb/validate-value) |

## Installation
Expand Down Expand Up @@ -93,7 +93,7 @@ console.log(value.isValid(user));
To verify that a variable is of a specific type, use the `isOfType` function. Hand over a value you would like to verify, and a JSON schema describing that type. The function returns `true` if the given variable matches the schema, and `false` if it doesn't:

```javascript
const { isTypeOf } = require('validate-value');
const { isTypeOf } = require('validate-value');

const user = {
username: 'Jane Doe',
Expand Down
169 changes: 99 additions & 70 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 471f1b9

Please sign in to comment.