Skip to content

Commit 9945557

Browse files
authored
Merge pull request #110 from podium-lib/next
Release Version 5
2 parents 13353e3 + 53120a1 commit 9945557

14 files changed

+503
-285
lines changed

Diff for: .eslintignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
coverage
1+
coverage
2+
dist

Diff for: .eslintrc

+10-12
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,15 @@
11
{
2-
"root": true,
32
"extends": ["airbnb-base", "prettier"],
4-
"overrides": [
5-
{
6-
"files": "__tests__/**/*",
7-
"env": {
8-
"jest": true
9-
}
10-
}
11-
],
123
"plugins": ["prettier"],
4+
"parserOptions": {
5+
"ecmaVersion": 11,
6+
"sourceType": "module"
7+
},
138
"rules": {
14-
"strict": [0, "global"],
15-
"class-methods-use-this": [0]
9+
"import/prefer-default-export": "off",
10+
"import/extensions": ["error", {
11+
"js": "ignorePackages"
12+
}
13+
]
1614
}
17-
}
15+
}

Diff for: .github/workflows/test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
strategy:
99
matrix:
1010
os: [ubuntu-latest, macOS-latest, windows-latest]
11-
node-version: [12.x, 14.x, 16.x, 18.x, 20.x]
11+
node-version: [16.x, 18.x, 20.x]
1212
steps:
1313
- uses: actions/checkout@v4
1414
- name: Use Node.js ${{ matrix.node-version }}

Diff for: .gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ node_modules/**/*
1111
tmp/**/*
1212
.idea
1313
.idea/**/*
14-
coverage
14+
dist

Diff for: CHANGELOG.md

+164-3
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,203 @@
1-
# [4.2.0](https://github.com/podium-lib/schemas/compare/v4.1.34...v4.2.0) (2023-11-16)
1+
# [5.0.0-next.7](https://github.com/podium-lib/schemas/compare/v5.0.0-next.6...v5.0.0-next.7) (2023-11-20)
2+
3+
4+
### Bug Fixes
5+
6+
* **deps:** update dependency ajv to v8.11.2 ([d584bd8](https://github.com/podium-lib/schemas/commit/d584bd88de7ba25c3954bf7a608691a68bcb794e))
7+
* **deps:** update dependency ajv to v8.12.0 ([f98b5ef](https://github.com/podium-lib/schemas/commit/f98b5efca4ebaa089ac59a85bfce397c7a85468d))
28

39

410
### Features
511

612
* add asset strategy and scope fields ([c23e9b0](https://github.com/podium-lib/schemas/commit/c23e9b07a082cb7936a36e8c48b763c68735fea5))
713

8-
## [4.1.34](https://github.com/podium-lib/schemas/compare/v4.1.33...v4.1.34) (2023-01-03)
14+
# [4.2.0](https://github.com/podium-lib/schemas/compare/v4.1.34...v4.2.0) (2023-11-16)
15+
16+
### Features
17+
18+
* add asset strategy and scope fields ([c23e9b0](https://github.com/podium-lib/schemas/commit/c23e9b07a082cb7936a36e8c48b763c68735fea5))
919

20+
## [4.1.34](https://github.com/podium-lib/schemas/compare/v4.1.33...v4.1.34) (2023-01-03)
1021

1122
### Bug Fixes
1223

1324
* **deps:** update dependency ajv to v8.12.0 ([f98b5ef](https://github.com/podium-lib/schemas/commit/f98b5efca4ebaa089ac59a85bfce397c7a85468d))
1425

1526
## [4.1.33](https://github.com/podium-lib/schemas/compare/v4.1.32...v4.1.33) (2022-11-14)
1627

17-
1828
### Bug Fixes
1929

2030
* **deps:** update dependency ajv to v8.11.2 ([d584bd8](https://github.com/podium-lib/schemas/commit/d584bd88de7ba25c3954bf7a608691a68bcb794e))
2131

32+
# [5.0.0-next.6](https://github.com/podium-lib/schemas/compare/v5.0.0-next.5...v5.0.0-next.6) (2022-05-31)
33+
34+
### Features
35+
36+
* Adding support for proxy objects ([#161](https://github.com/podium-lib/schemas/issues/161)) ([6f5de4e](https://github.com/podium-lib/schemas/commit/6f5de4e430c2a2662da079b801e24882d9ba8bc1))
37+
38+
# [5.0.0-next.5](https://github.com/podium-lib/schemas/compare/v5.0.0-next.4...v5.0.0-next.5) (2022-05-02)
39+
40+
41+
### Bug Fixes
42+
43+
* **deps:** update dependency ajv to v8.10.0 ([57f4065](https://github.com/podium-lib/schemas/commit/57f406586280c8aa9ec894fa04b8c88050ff851b))
44+
* **deps:** update dependency ajv to v8.11.0 ([5f3a961](https://github.com/podium-lib/schemas/commit/5f3a9619f7f7cf3b8368ba8e53a3e1f8b82bf573))
45+
* **deps:** update dependency ajv to v8.2.0 ([766d756](https://github.com/podium-lib/schemas/commit/766d756dd77836208dd90250f8e9e7a6bb467d4d))
46+
* **deps:** update dependency ajv to v8.3.0 ([7cb68ce](https://github.com/podium-lib/schemas/commit/7cb68cef97f22156faede1ea2b6889db01524921))
47+
* **deps:** update dependency ajv to v8.4.0 ([3c45d1e](https://github.com/podium-lib/schemas/commit/3c45d1e970f02c0d8e3c31ee578c46462a499c85))
48+
* **deps:** update dependency ajv to v8.5.0 ([cc175de](https://github.com/podium-lib/schemas/commit/cc175de19678e94928e2d260e3b014afab195856))
49+
* **deps:** update dependency ajv to v8.6.0 ([438bd64](https://github.com/podium-lib/schemas/commit/438bd64e4ed46c63b73bbcf35c87a37310674fc7))
50+
* **deps:** update dependency ajv to v8.6.1 ([8d288a6](https://github.com/podium-lib/schemas/commit/8d288a6543490db8147ddb8595a43c87da00cee2))
51+
* **deps:** update dependency ajv to v8.6.2 ([4142faa](https://github.com/podium-lib/schemas/commit/4142faad8716e23a09c756030c5be81c5195015a))
52+
* **deps:** update dependency ajv to v8.6.3 ([a6c641f](https://github.com/podium-lib/schemas/commit/a6c641f6758ef2f143cc8b4debdf61cd9080c676))
53+
* **deps:** update dependency ajv to v8.7.1 ([8f16d28](https://github.com/podium-lib/schemas/commit/8f16d289bc3b08c182d6525b236f0b1e0782e6a9))
54+
* **deps:** update dependency ajv to v8.8.0 ([2df5db1](https://github.com/podium-lib/schemas/commit/2df5db12ea012bcd53c8396cd64c2c1e655cc45f))
55+
* **deps:** update dependency ajv to v8.8.1 ([aa4b973](https://github.com/podium-lib/schemas/commit/aa4b9730f9cf0eabb73d5d9cc18823daf1baa258))
56+
* **deps:** update dependency ajv to v8.8.2 ([e8afafc](https://github.com/podium-lib/schemas/commit/e8afafc02c27744bfc303c15284c4ce1daef99ed))
57+
* **deps:** update dependency ajv to v8.9.0 ([607a494](https://github.com/podium-lib/schemas/commit/607a494538567138f18c798893756ce7e7947db8))
58+
* **deps:** update dependency ajv-formats to v2.1.0 ([d863293](https://github.com/podium-lib/schemas/commit/d8632934da49b3d437fb9f8564d9d75f47b60aff))
59+
* **deps:** update dependency ajv-formats to v2.1.1 ([1131278](https://github.com/podium-lib/schemas/commit/11312786466b9d351b7923d1f565a963c51c4556))
60+
* Pure ESM. Run tests on node 18.x ([#160](https://github.com/podium-lib/schemas/issues/160)) ([9c68d23](https://github.com/podium-lib/schemas/commit/9c68d23d377a811c09fa851d765eff075b701e0e))
61+
62+
# [5.0.0-next.4](https://github.com/podium-lib/schemas/compare/v5.0.0-next.3...v5.0.0-next.4) (2021-04-25)
2263
## [4.1.32](https://github.com/podium-lib/schemas/compare/v4.1.31...v4.1.32) (2022-03-23)
2364

2465

2566
### Bug Fixes
2667

68+
* Use ESM workaround for dirname to find path to schema ([#113](https://github.com/podium-lib/schemas/issues/113)) ([ed40808](https://github.com/podium-lib/schemas/commit/ed408081e4c56e4ba794839459331d5454e0c5f3))
69+
70+
# [5.0.0-next.3](https://github.com/podium-lib/schemas/compare/v5.0.0-next.2...v5.0.0-next.3) (2021-04-25)
2771
* **deps:** update dependency ajv to v8.11.0 ([5f3a961](https://github.com/podium-lib/schemas/commit/5f3a9619f7f7cf3b8368ba8e53a3e1f8b82bf573))
2872

2973
## [4.1.31](https://github.com/podium-lib/schemas/compare/v4.1.30...v4.1.31) (2022-02-04)
3074

3175

3276
### Bug Fixes
3377

78+
* Optimize the npm package ([#112](https://github.com/podium-lib/schemas/issues/112)) ([149ce28](https://github.com/podium-lib/schemas/commit/149ce28a9cd89c625c0a8ead1127e0c07d368cbb))
79+
80+
# [5.0.0-next.2](https://github.com/podium-lib/schemas/compare/v5.0.0-next.1...v5.0.0-next.2) (2021-04-25)
3481
* **deps:** update dependency ajv to v8.10.0 ([57f4065](https://github.com/podium-lib/schemas/commit/57f406586280c8aa9ec894fa04b8c88050ff851b))
3582

3683
## [4.1.30](https://github.com/podium-lib/schemas/compare/v4.1.29...v4.1.30) (2022-01-15)
3784

3885

3986
### Bug Fixes
4087

88+
* **deps:** update dependency ajv to v6.12.4 ([9d32b74](https://github.com/podium-lib/schemas/commit/9d32b74a0cc3a35e336fe2a01b90ab6add2779b2))
89+
* **deps:** update dependency ajv to v6.12.5 ([087631b](https://github.com/podium-lib/schemas/commit/087631bfb8d759ab44164e99d0df9880ec1f2881))
90+
* **deps:** update dependency ajv to v6.12.6 ([3ae65d3](https://github.com/podium-lib/schemas/commit/3ae65d34432ca7c14c1e142c28604566521b2b5b))
91+
* **deps:** update dependency ajv to v7 ([#83](https://github.com/podium-lib/schemas/issues/83)) ([586f481](https://github.com/podium-lib/schemas/commit/586f4814fabef2ea5bfb86a288688d862c046e9e))
92+
* **deps:** update dependency ajv to v7.0.3 ([38e48cd](https://github.com/podium-lib/schemas/commit/38e48cde49c4c746f408b605afc55ef76b8bdadb))
93+
* **deps:** update dependency ajv to v7.0.4 ([6f8b024](https://github.com/podium-lib/schemas/commit/6f8b0245ad98f221332bb4a2db660c677d2130ab))
94+
* **deps:** update dependency ajv to v7.1.0 ([a53d312](https://github.com/podium-lib/schemas/commit/a53d312464f6e378c71ef7a4b3da33b40ee9bf67))
95+
* **deps:** update dependency ajv to v7.1.1 ([38be8ca](https://github.com/podium-lib/schemas/commit/38be8cad63716f2a78538aea9935c39511a4d2ee))
96+
* **deps:** update dependency ajv to v7.2.0 ([1565373](https://github.com/podium-lib/schemas/commit/1565373eee48eacb24c44c813bd2703ab30d33e2))
97+
* **deps:** update dependency ajv to v7.2.1 ([8ec39f8](https://github.com/podium-lib/schemas/commit/8ec39f8a7b015680107d6bf4f64c641b35ef4321))
98+
* **deps:** update dependency ajv to v7.2.3 ([3c1196a](https://github.com/podium-lib/schemas/commit/3c1196afddf67100d6bf64c9a70ca199093086a3))
99+
* **deps:** update dependency ajv to v7.2.4 ([cdcc6cc](https://github.com/podium-lib/schemas/commit/cdcc6cc52bfee91cabe47e8c3b3ab66c14e7e952))
100+
* **deps:** update dependency ajv to v8.0.2 ([92fd51f](https://github.com/podium-lib/schemas/commit/92fd51f92d9a2d077ddfadec8f99e08f49291223))
101+
* **deps:** update dependency ajv to v8.0.3 ([451974a](https://github.com/podium-lib/schemas/commit/451974ab7d88cb488f5683d636bbb22637013e6f))
102+
* **deps:** update dependency ajv to v8.0.4 ([1b26d73](https://github.com/podium-lib/schemas/commit/1b26d739e43a7162ef5f22875758c75ffa936de0))
103+
* **deps:** update dependency ajv to v8.0.5 ([f4375d0](https://github.com/podium-lib/schemas/commit/f4375d070bc8875afc238cc0916b322ed923c698))
104+
* **deps:** update dependency ajv to v8.1.0 ([#107](https://github.com/podium-lib/schemas/issues/107)) ([1d76bb6](https://github.com/podium-lib/schemas/commit/1d76bb617e90a31adbd36b16829c97be1c797bb0))
105+
* **deps:** update dependency ajv-formats to v1.6.0 ([69bb585](https://github.com/podium-lib/schemas/commit/69bb5850ff7c1f9166b2bfed2a3c16ca15d0f473))
106+
* **deps:** update dependency ajv-formats to v2.0.2 ([5c4cbfb](https://github.com/podium-lib/schemas/commit/5c4cbfb6e0f372b518dc08773949a5bc8bf9837b))
107+
* Updated ajv dependencies ([#102](https://github.com/podium-lib/schemas/issues/102)) ([a3dae05](https://github.com/podium-lib/schemas/commit/a3dae054df783746274a468b66a39e31d1358056))
108+
109+
110+
### Features
111+
112+
* Add css and js html attributes to schema ([#88](https://github.com/podium-lib/schemas/issues/88)) ([1db6f63](https://github.com/podium-lib/schemas/commit/1db6f632d63337e25f68f7c0ff80cd15a61a33a3))
113+
* Convert to ESM ([#64](https://github.com/podium-lib/schemas/issues/64)) ([197fe2b](https://github.com/podium-lib/schemas/commit/197fe2bf269b625748fb1797eb455a0db46fa0e1)), closes [#83](https://github.com/podium-lib/schemas/issues/83) [#81](https://github.com/podium-lib/schemas/issues/81) [#83](https://github.com/podium-lib/schemas/issues/83) [#88](https://github.com/podium-lib/schemas/issues/88) [#88](https://github.com/podium-lib/schemas/issues/88) [#96](https://github.com/podium-lib/schemas/issues/96) [#102](https://github.com/podium-lib/schemas/issues/102) [#102](https://github.com/podium-lib/schemas/issues/102) [#106](https://github.com/podium-lib/schemas/issues/106)
114+
115+
116+
### BREAKING CHANGES
117+
118+
* Convert from CommonJS module to ESM
119+
120+
* dev dependency tap updated to version 14.10.8
121+
122+
* fix(deps): update dependency ajv to v6.12.4
123+
124+
* chore(release): 4.0.3 [skip ci]
125+
126+
## [4.0.3](https://github.com/podium-lib/schemas/compare/v4.0.2...v4.0.3) (2020-08-15)
127+
128+
### Bug Fixes
129+
130+
* **deps:** update dependency ajv to v6.12.4 ([9d32b74](https://github.com/podium-lib/schemas/commit/9d32b74a0cc3a35e336fe2a01b90ab6add2779b2))
131+
132+
* dev dependency @semantic-release/npm updated to version 7.0.6
133+
134+
* fix(deps): update dependency ajv to v6.12.5
135+
136+
* chore(release): 4.0.4 [skip ci]
137+
138+
## [4.0.4](https://github.com/podium-lib/schemas/compare/v4.0.3...v4.0.4) (2020-09-13)
139+
140+
### Bug Fixes
141+
142+
* **deps:** update dependency ajv to v6.12.5 ([087631b](https://github.com/podium-lib/schemas/commit/087631bfb8d759ab44164e99d0df9880ec1f2881))
143+
144+
* dev dependency @semantic-release/github updated to version 7.1.1
145+
146+
* dev dependency semantic-release updated to version 17.1.2
147+
148+
* dev dependency eslint updated to version 7.10.0
149+
150+
* fix(deps): update dependency ajv to v6.12.6
151+
152+
* chore(release): 4.0.5 [skip ci]
153+
154+
## [4.0.5](https://github.com/podium-lib/schemas/compare/v4.0.4...v4.0.5) (2020-10-10)
155+
156+
### Bug Fixes
157+
158+
* **deps:** update dependency ajv to v6.12.6 ([3ae65d3](https://github.com/podium-lib/schemas/commit/3ae65d34432ca7c14c1e142c28604566521b2b5b))
159+
160+
* dev dependency eslint updated to version 7.11.0
161+
162+
* dev dependency eslint updated to version 7.12.0
163+
164+
* dev dependency eslint updated to version 7.12.1
165+
166+
* dev dependency eslint updated to version 7.13.0
167+
168+
* dev dependency @semantic-release/github updated to version 7.1.2
169+
170+
* dev dependency semantic-release updated to version 17.2.3
171+
172+
* dev dependency @semantic-release/github updated to version 7.2.0
173+
174+
* dev dependency eslint updated to version 7.15.0
175+
176+
* dev dependency eslint-plugin-prettier updated to version 3.3.0
177+
178+
* dev dependency @semantic-release/npm updated to version 7.0.9
179+
180+
* Dev dependency tap updated to version 14.11.0
181+
182+
* Dev dependency eslint updated to version 7.17.0
183+
184+
# [5.0.0-next.1](https://github.com/podium-lib/schemas/compare/v4.0.3-next.1...v5.0.0-next.1) (2020-07-11)
185+
186+
187+
### chore
188+
189+
* Remove .assets.js and .assets.css ([#62](https://github.com/podium-lib/schemas/issues/62)) ([6468f69](https://github.com/podium-lib/schemas/commit/6468f69b7d51cffef06d9d5c2d7d05b67b1af575))
190+
191+
192+
### BREAKING CHANGES
193+
194+
* .assets.js and .assets.css is now replaced by .js and .css
195+
196+
Resolves: https://github.com/podium-lib/issues/issues/26
197+
198+
Co-authored-by: Trygve Lie <[email protected]>
199+
200+
## [4.0.3-next.1](https://github.com/podium-lib/schemas/compare/v4.0.2...v4.0.3-next.1) (2020-07-11)
41201
* **deps:** update dependency ajv to v8.9.0 ([607a494](https://github.com/podium-lib/schemas/commit/607a494538567138f18c798893756ce7e7947db8))
42202

43203
## [4.1.29](https://github.com/podium-lib/schemas/compare/v4.1.28...v4.1.29) (2021-11-21)
@@ -283,6 +443,7 @@
283443

284444
### Bug Fixes
285445

446+
* Initial setup of next branch ([5314940](https://github.com/podium-lib/schemas/commit/53149406b1287c6a7d85dd9cbc7f623eeaaac307))
286447
* **deps:** update dependency ajv to v6.12.4 ([9d32b74](https://github.com/podium-lib/schemas/commit/9d32b74a0cc3a35e336fe2a01b90ab6add2779b2))
287448

288449
# Changelog

Diff for: README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# @podium/schemas
1+
# @podium/schemas v5
22

33
Schemas for validating the @podium contract.
44

Diff for: lib/index.js

-8
This file was deleted.

Diff for: lib/validate.js

-53
This file was deleted.

Diff for: package.json

+7-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"name": "@podium/schemas",
3-
"version": "4.2.0",
3+
"version": "5.0.0-next.7",
4+
"type": "module",
45
"description": "Schemas for validating the @podium contract.",
56
"license": "MIT",
67
"keywords": [
@@ -22,13 +23,15 @@
2223
"CHANGELOG.md",
2324
"README.md",
2425
"LICENSE",
25-
"lib"
26+
"schema",
27+
"dist",
28+
"src"
2629
],
27-
"main": "./lib/index.js",
30+
"main": "./src/validate.js",
2831
"scripts": {
2932
"lint": "eslint .",
3033
"lint:fix": "eslint --fix .",
31-
"test": "tap tests/*.js"
34+
"test": "tap --no-coverage"
3235
},
3336
"dependencies": {
3437
"ajv": "8.12.0",

Diff for: release.config.js renamed to release.config.cjs

File renamed without changes.

0 commit comments

Comments
 (0)