Socket
Socket
Sign inDemoInstall

@emotion/is-prop-valid

Package Overview
Dependencies
1
Maintainers
2
Versions
36
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.5.2 to 0.6.0

5

package.json
{
"name": "@emotion/is-prop-valid",
"version": "0.5.2",
"version": "0.6.0",
"description": "A function to check whether a prop is valid for HTML and SVG elements",

@@ -12,2 +12,5 @@ "main": "dist/index.cjs.js",

},
"dependencies": {
"@emotion/memoize": "^0.6.0"
},
"files": [

@@ -14,0 +17,0 @@ "src",

6

src/index.js

@@ -0,1 +1,3 @@

import memoize from '@emotion/memoize'
declare var codegen: { $call: Function, require: string => RegExp }

@@ -5,2 +7,4 @@

export default (RegExp.prototype.test.bind(reactPropsRegex): string => boolean)
export default (memoize(
RegExp.prototype.test.bind(reactPropsRegex)
): string => boolean)
SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc