Skip to content

Commit 0163ea8

Browse files
committed
Merge pull request #2163 from rwblair/deno_v1_check_fixes
fix typing on schema validation error object, remove isBidsy.ts
2 parents 80b2789 + ba32614 commit 0163ea8

File tree

8 files changed

+12
-25
lines changed

8 files changed

+12
-25
lines changed

bids-validator-web/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "bids-validator-web",
3-
"version": "1.14.14-dev.0",
3+
"version": "1.14.14",
44
"description": "web client for bids-validator",
55
"main": "index.js",
66
"license": "MIT",

bids-validator/build.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
#!/usr/bin/env -S deno run --allow-read --allow-write --allow-env --allow-net --allow-run
1+
#!/usr/bin/env -S deno run --allow-read --allow-write --allow-env --allow-net --allow-run --reload
22
/**
33
* Build the schema based validator for distribution (web and npm), targets browser compatible ESM
44
*
55
* If you would like to use this package in a Node.js project, you'll need to use native ESM or a transform system
66
*/
77
import * as esbuild from 'https://deno.land/x/[email protected]/mod.js'
88
import { parse } from 'https://deno.land/[email protected]/flags/mod.ts'
9-
import { denoPlugins } from "jsr:@luca/esbuild-deno-loader@0.11.0"
9+
import { denoPlugins } from "jsr:@luca/esbuild-deno-loader@0.10.3"
1010
import * as path from "https://deno.land/[email protected]/path/mod.ts"
1111
import { getVersion } from './src/version.ts'
1212

bids-validator/deno.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@bids/validator",
3-
"version": "1.14.13",
3+
"version": "1.14.14",
44
"exports": {
55
".": "./src/bids-validator.ts",
66
"./main": "./src/main.ts",

bids-validator/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "bids-validator",
3-
"version": "1.14.14-dev.0",
3+
"version": "1.14.14",
44
"description": "",
55
"main": "./dist/commonjs/index.js",
66
"exports": {

bids-validator/src/utils/errors.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
export class SchemaStructureError extends Error {
2-
constructor(schemaPath) {
2+
schemaPath: string
3+
constructor(schemaPath: string) {
34
super(`Validator attempted to access ${schemaPath}, but it wasn't there.`)
45
this.name = 'SchemaStructureError'
56
this.schemaPath = schemaPath

bids-validator/src/validators/isBidsy.ts

Lines changed: 0 additions & 14 deletions
This file was deleted.

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"packages": ["bids-validator", "bids-validator-web"],
3-
"version": "1.14.14-dev.0"
3+
"version": "1.14.14"
44
}

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)