@versionzero/schema 1.4.1 → 1.4.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@versionzero/schema",
3
- "version": "1.4.1",
3
+ "version": "1.4.2",
4
4
  "description": "A composable schema library that supports asynchronous processing",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
@@ -38,17 +38,15 @@
38
38
  "exports": {
39
39
  ".": {
40
40
  "types": "./types/index.d.ts",
41
- "browser": "./dist/schema.browser.mjs",
41
+ "browser": "./src/index.browser.js",
42
42
  "default": "./src/index.js"
43
43
  },
44
44
  "./helpers": {
45
45
  "types": "./types/helpers/index.d.ts",
46
- "browser": "./dist/helpers.browser.mjs",
47
46
  "default": "./src/helpers/index.js"
48
47
  },
49
48
  "./errors": {
50
49
  "types": "./types/errors/index.d.ts",
51
- "browser": "./dist/errors.browser.mjs",
52
50
  "default": "./src/errors.js"
53
51
  }
54
52
  },
@@ -1,17 +0,0 @@
1
- /* @versionzero/schema | Apache-2.0 | github.com/argh */
2
- // Browser proxy for `@versionzero/schema/errors`. Re-exports the public
3
- // surface from the main bundle so importing this subpath shares one cached
4
- // HTTP request with the main bundle. Names mirror `src/errors.js`.
5
- export {
6
- ConstraintError,
7
- FinalizeError,
8
- NormalizeError,
9
- ResolverError,
10
- SchemaCompilationError,
11
- SchemaError,
12
- SerializeError,
13
- TransformError,
14
- UnionResolutionError,
15
- ValidationError,
16
- assertErrorMessageInCauseChain,
17
- } from './schema.browser.mjs';
@@ -1,42 +0,0 @@
1
- /* @versionzero/schema | Apache-2.0 | github.com/argh */
2
- // Browser proxy for `@versionzero/schema/helpers`. Re-exports the public
3
- // surface from the main bundle so importing this subpath shares one cached
4
- // HTTP request with the main bundle. Names mirror `src/helpers/index.js`.
5
- export {
6
- behead,
7
- debug,
8
- deepAssign,
9
- deepEquals,
10
- deepMerge,
11
- deepPrune,
12
- deepValue,
13
- formatArgumentType,
14
- formatDataSize,
15
- formatValue,
16
- hasStringProperties,
17
- isConstructible,
18
- isConstructor,
19
- isEmpty,
20
- isFalsey,
21
- isFalseyKeyword,
22
- isNativeClass,
23
- isObject,
24
- isPlainObject,
25
- isPrimitive,
26
- isTruthy,
27
- isTruthyKeyword,
28
- map,
29
- parse,
30
- parseDataSize,
31
- parseDate,
32
- parseRegExp,
33
- propertyName,
34
- stringify,
35
- toCamelCase,
36
- toCapitalize,
37
- toConstantCase,
38
- toData,
39
- toKebabCase,
40
- toPascalCase,
41
- toTitleCase,
42
- } from './schema.browser.mjs';