Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@solid-primitives/props

Package Overview
Dependencies
Maintainers
3
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@solid-primitives/props - npm Package Compare versions

Comparing version 2.1.6 to 2.1.7

9

package.json
{
"name": "@solid-primitives/props",
"version": "2.1.6",
"version": "2.1.7",
"description": "Library of primitives focused around component props.",

@@ -29,3 +29,5 @@ "author": "Alex Lohr <alex.lohr@logmein.com>",

"sideEffects": false,
"type": "module",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"types": "dist/types/index.d.ts",
"exports": {

@@ -40,5 +42,2 @@ ".": {

},
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"types": "dist/types/index.d.ts",
"scripts": {

@@ -45,0 +44,0 @@ "start": "vite serve dev --host",

@@ -25,2 +25,23 @@ <p>

## SSR Support
If you are using [solid-start](https://github.com/solidjs/solid-start) with SSR, you may see this error comming form the `@solid-primitives/props` package.
```
TypeError: web.template is not a function
```
To prevent this, add `"@solid-primitives/props"` entry to `noExternal` field in your vite config, like so:
```tsx
export default defineConfig({
plugins: [solid()],
ssr: {
// It allows Vite to preprocess the package
noExternal: ["@solid-primitives/props"],
},
})
```
## `combineProps`

@@ -27,0 +48,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc