@openaddresses/batch-schema 3.1.1 → 3.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -10,6 +10,10 @@
10
10
 
11
11
  ## Version History
12
12
 
13
+ ### v3.1.2
14
+
15
+ - :bug: Internal schema path
16
+
13
17
  ### v3.1.1
14
18
 
15
19
  - :bug: Internal schema path
package/lib/schema.js CHANGED
@@ -119,7 +119,7 @@ export default class Schemas {
119
119
  if (!schemas[type]) continue;
120
120
 
121
121
  try {
122
- schemas[type] = await $RefParser.dereference(new URL(`../schema/${schemas[type]}`, import.meta.url));
122
+ schemas[type] = await $RefParser.dereference((new URL(`../schema/${schemas[type]}`, import.meta.url)).pathname);
123
123
  } catch (err) {
124
124
  schemas[type] = await $RefParser.dereference(`${this.schemas_path}/${schemas[type]}`);
125
125
  }
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "type": "module",
4
4
  "root": true,
5
5
  "main": "index.js",
6
- "version": "3.1.1",
6
+ "version": "3.1.2",
7
7
  "description": "Strongly Validated JSON Schema support for address",
8
8
  "repository": "git@github.com:openaddresses/batch-schema",
9
9
  "author": "ingalls <nick@ingalls.ca>",