@barefootjs/test 0.19.1 → 0.20.0

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.
Files changed (2) hide show
  1. package/dist/index.js +22 -1
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -191581,7 +191581,8 @@ function extractProps(param, ctx) {
191581
191581
  type: resolvedType,
191582
191582
  optional: !!member?.optional || !!element.initializer,
191583
191583
  defaultValue,
191584
- defaultContainsArrow: defaultContainsArrow || undefined
191584
+ defaultContainsArrow: defaultContainsArrow || undefined,
191585
+ ...sourcePropName !== localName && { sourceName: sourcePropName }
191585
191586
  });
191586
191587
  }
191587
191588
  }
@@ -196283,6 +196284,26 @@ var NO_RETURN = Symbol("no-return");
196283
196284
 
196284
196285
  // ../jsx/src/augment-inherited-props.ts
196285
196286
  var import_typescript17 = __toESM(require_typescript(), 1);
196287
+
196288
+ // ../jsx/src/rich-type-evidence.ts
196289
+ var HOST_RICH_TYPE_NAMES = new Set([
196290
+ "Date",
196291
+ "Map",
196292
+ "Set",
196293
+ "WeakMap",
196294
+ "WeakSet",
196295
+ "URL",
196296
+ "URLSearchParams",
196297
+ "RegExp",
196298
+ "Promise",
196299
+ "Error",
196300
+ "Symbol",
196301
+ "BigInt",
196302
+ "Function"
196303
+ ]);
196304
+
196305
+ // ../jsx/src/rich-type-refusal.ts
196306
+ var EMPTY_BINDINGS = new Map;
196286
196307
  // ../jsx/src/shared-program.ts
196287
196308
  init_path();
196288
196309
  var import_typescript18 = __toESM(require_typescript(), 1);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@barefootjs/test",
3
- "version": "0.19.1",
3
+ "version": "0.20.0",
4
4
  "description": "Test utilities for BarefootJS - IR-based component testing without a browser",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -39,7 +39,7 @@
39
39
  "directory": "packages/test"
40
40
  },
41
41
  "dependencies": {
42
- "@barefootjs/jsx": "0.19.1"
42
+ "@barefootjs/jsx": "0.20.0"
43
43
  },
44
44
  "devDependencies": {
45
45
  "typescript": "^5.0.0"