Skip to content

Security 1311 #195

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

Open
wants to merge 17 commits into
base: main
Choose a base branch
from
Open
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
41 changes: 1 addition & 40 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,43 +1,5 @@
{
"env": {
"modern": {
"presets": [
[
"@babel/env",
{
"targets": {
"node": "8"
},
"useBuiltIns": "usage",
"corejs": 3,
"loose": true
}
]
],
"plugins": ["@babel/syntax-object-rest-spread", "add-module-exports"],
"ignore": ["**/__tests__", "**/__fixtures__", "node_modules"]
},
"legacy": {
"presets": [
[
"@babel/env",
{
"targets": {
"node": "4"
},
"useBuiltIns": "usage",
"corejs": 3,
"loose": true
}
]
],
"plugins": [
"@babel/syntax-object-rest-spread",
"@babel/transform-runtime",
"add-module-exports"
],
"ignore": ["**/__tests__", "**/__fixtures__", "node_modules"]
},
"test": {
"presets": [
[
Expand All @@ -48,8 +10,7 @@
}
}
]
],
"plugins": ["@babel/syntax-object-rest-spread"]
]
}
}
}
5 changes: 0 additions & 5 deletions .changeset/README.md

This file was deleted.

75 changes: 0 additions & 75 deletions .changeset/config.js

This file was deleted.

41 changes: 41 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
version: 2.1

commands:
install_and_test:
description: >-
Install everything required to run the test suite, then run it.
steps:
- run: yarn --frozen-lockfile
- run: yarn test-ci

jobs:
# https://nodejs.org/en/about/releases/
test_node:
docker:
- image: cimg/node:lts
steps:
- checkout
- install_and_test

release:
docker:
- image: cimg/node:lts
steps:
- checkout
- run: yarn
- run: npx semantic-release

workflows:
version: 2
test_and_release:
jobs:
- test_node
- release:
filters:
branches:
only:
- master
- beta
- alpha
requires:
- test_node
54 changes: 0 additions & 54 deletions .github/workflows/main.yml

This file was deleted.

37 changes: 0 additions & 37 deletions .github/workflows/release.yml

This file was deleted.

2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@
.vscode
.env
package-lock.json
/.idea/
/dist/
4 changes: 3 additions & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{
"singleQuote": true,
"trailingComma": "es5"
"trailingComma": "all",
"proseWrap": "always",
"arrowParens": "avoid"
}
14 changes: 1 addition & 13 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,13 +1 @@
# better-ajv-errors

## 0.6.6

### Patch Changes

- 84517c3: Fix a bug where enum error shows duplicate allowed values

## 0.6.5

### Patch Changes

- f2e0424: Fix a bug where nested errors were ignored when top level had enum errors
# @stoplight/better-ajv-errors
Loading