Skip to content

Commit fe4c916

Browse files
authored
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 fe4c916

File tree

4 files changed

+5
-18
lines changed

4 files changed

+5
-18
lines changed

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/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.

0 commit comments

Comments
 (0)