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

@emotion/is-prop-valid

Package Overview
Dependencies
Maintainers
2
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@emotion/is-prop-valid - npm Package Compare versions

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc