@starbeam/verify
Advanced tools
Comparing version 0.8.10-unstable.398c1bd to 0.8.10-unstable.3b6efdd
143
CHANGELOG.md
@@ -1,143 +0,2 @@ | ||
# @starbeam/verify | ||
# Changelog | ||
## 0.8.9 | ||
### Patch Changes | ||
- e459bf2: Fix CJS builds | ||
- Updated dependencies [e459bf2] | ||
- @starbeam/core-utils@0.8.9 | ||
## 0.8.8 | ||
### Patch Changes | ||
- 2a1f728: Improve @starbeam/react | ||
- Updated dependencies [2a1f728] | ||
- @starbeam/core-utils@0.8.8 | ||
## 0.8.7 | ||
### Patch Changes | ||
- 14f961b: Fixes #75 | ||
- Updated dependencies [14f961b] | ||
- @starbeam/core-utils@0.8.7 | ||
## 0.8.7 | ||
### Patch Changes | ||
- ded6421: Add /setup to preact | ||
- Updated dependencies [ded6421] | ||
- @starbeam/core-utils@0.8.7 | ||
## 0.8.6 | ||
### Patch Changes | ||
- 6502cc7: Remove errant import | ||
- Updated dependencies [6502cc7] | ||
- @starbeam/core-utils@0.8.6 | ||
## 0.8.5 | ||
### Patch Changes | ||
- de755c6: Improve type inference | ||
- Updated dependencies [de755c6] | ||
- @starbeam/core-utils@0.8.5 | ||
## 0.8.4 | ||
### Patch Changes | ||
- 3bf1221: Prepare for Starbeam 0.8.4 | ||
- Updated dependencies [3bf1221] | ||
- @starbeam/core-utils@0.8.4 | ||
## 0.8.0 | ||
### Minor Changes | ||
- 1a553c5: Prepare for 0.8 | ||
### Patch Changes | ||
- Updated dependencies [1a553c5] | ||
- @starbeam/core-utils@0.8.0 | ||
## 0.7.3 | ||
### Patch Changes | ||
- 40844fd: Try to fix the build | ||
## 0.7.2 | ||
### Patch Changes | ||
- 50f7a8f: Publish @domtree | ||
## 0.7.0 | ||
### Minor Changes | ||
- 58f7974: Starbeam 0.7.0 | ||
- Significant improvements to debugging infrastructure | ||
## 0.6.0 | ||
### Minor Changes | ||
- Prepare 0.6.0 | ||
## 0.5.8 | ||
### Patch Changes | ||
- Prepare 0.5.8 | ||
## 0.5.7 | ||
### Patch Changes | ||
- Fix a bug in the transition from uninitialized to initialized reactive Map | ||
## 0.5.6 | ||
### Patch Changes | ||
- Fix ESM package mistakes | ||
## 0.5.5 | ||
### Patch Changes | ||
- Another attempt to get the build right | ||
## 0.5.4 | ||
### Patch Changes | ||
- The 0.5.3 release was missing dists | ||
## 0.5.3 | ||
### Patch Changes | ||
- d21391d: Update resources to support React's three-phase lifecycle | ||
## 0.5.2 | ||
### Patch Changes | ||
- 719a6fe: Updated package export maps | ||
## 0.5.1 | ||
### Patch Changes | ||
- 2a957e5: Try to fix types | ||
- e03c2a0: Initial publish |
28
index.ts
@@ -0,8 +1,16 @@ | ||
import { isOneOf as isOneOfDev } from "./src/assertions/multi.js"; | ||
import { hasType as hasTypeDev } from "./src/assertions/types.js"; | ||
import type { VerifyFn } from "./src/verify.js"; | ||
import { | ||
verified as verifiedDev, | ||
verify as verifyDev, | ||
type VerifyFn, | ||
expected as expectedDev, | ||
verify as verifyDev | ||
} from "./src/verify.js"; | ||
export { | ||
verified | ||
} from "./src/verify.js"; | ||
const noop: unknown = () => { }; | ||
export { | ||
exhaustive, | ||
@@ -18,11 +26,11 @@ hasItems, | ||
} from "./src/assertions/basic.js"; | ||
export { isOneOf } from "./src/assertions/multi.js"; | ||
export { hasType, type TypeOf } from "./src/assertions/types.js"; | ||
export { type Expectation, expected, VerificationError } from "./src/verify.js"; | ||
export { type TypeOf } from "./src/assertions/types.js"; | ||
export { type Expectation, VerificationError } from "./src/verify.js"; | ||
export const expected: typeof expectedDev = import.meta.env.DEV ? expectedDev : null as unknown as typeof expectedDev | ||
export const hasType: typeof hasTypeDev = import.meta.env.DEV ? hasTypeDev : (noop as typeof hasTypeDev) | ||
export const isOneOf: typeof isOneOfDev = import.meta.env.DEV ? isOneOfDev : (noop as typeof isOneOfDev) | ||
export const verify: VerifyFn = import.meta.env.DEV | ||
? verifyDev | ||
: verifyDev.noop; | ||
export const verified: (typeof verifiedDev)["noop"] = import.meta.env.DEV | ||
? verifiedDev | ||
: verifiedDev.noop; | ||
: null as unknown as VerifyFn; |
{ | ||
"name": "@starbeam/verify", | ||
"version": "0.8.10-unstable.398c1bd", | ||
"type": "module", | ||
"main": "index.ts", | ||
"types": "index.ts", | ||
"version": "0.8.10-unstable.3b6efdd", | ||
"main": "dist/index.cjs", | ||
"types": "dist/index.d.ts", | ||
"exports": { | ||
"default": "./index.ts" | ||
"types": "./dist/index.d.ts", | ||
"import": "./dist/index.js", | ||
"default": "./dist/index.cjs" | ||
}, | ||
"publishConfig": { | ||
"exports": { | ||
".": { | ||
"types": "./dist/index.d.ts", | ||
"import": "./dist/index.js", | ||
"default": "./dist/index.cjs" | ||
} | ||
}, | ||
"main": "dist/index.cjs", | ||
"types": "dist/index.d.ts" | ||
"starbeam": { | ||
"type": "library:public" | ||
}, | ||
"starbeam:type": "library:public", | ||
"scripts": { | ||
"test:lint": "eslint \"index.ts\" \"src/**/*.ts\"", | ||
"test:specs": "vitest --run", | ||
"test:types": "tsc -b" | ||
}, | ||
"dependencies": { | ||
"@starbeam/core-utils": "0.8.10-unstable.398c1bd" | ||
"@starbeam/core-utils": "0.8.10-unstable.3b6efdd" | ||
}, | ||
"devDependencies": { | ||
"@starbeam-dev/build-support": "workspace:*", | ||
"rollup": "^3.20.6" | ||
"@starbeam-dev/eslint-plugin": "^1.0.6", | ||
"rollup": "^4.0.2", | ||
"@starbeam-dev/compile": "1.2.0" | ||
}, | ||
"files": [ | ||
"dist", | ||
"README.md", | ||
"CHANGELOG.md", | ||
"LICENSE.md" | ||
], | ||
"scripts": { | ||
"build": "rollup -c", | ||
"test:lint": "eslint . --max-warnings 0", | ||
"test:specs": "vitest --run --pool forks", | ||
"test:types": "tsc -b" | ||
} | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No License Found
License(Experimental) License information could not be found.
Found 1 instance in 1 package
129552
0
968
3
10
1
+ Added@starbeam/core-utils@0.8.10-unstable.3b6efdd(transitive)
- Removed@starbeam/core-utils@0.8.10-unstable.398c1bd(transitive)