New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@sme.up/ketchup-react

Package Overview
Dependencies
Maintainers
4
Versions
612
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sme.up/ketchup-react - npm Package Compare versions

Comparing version 8.3.2 to 8.3.3

4

dist/react-component-lib/utils/attachProps.d.ts
export declare const attachProps: (node: HTMLElement, newProps: any, oldProps?: any) => void;
export declare const getClassName: (classList: DOMTokenList, newProps: any, oldProps: any) => string;
/**
* Transforms a React event name to a browser event name.
*/
export declare const transformReactEventName: (eventNameSuffix: string) => string;
/**
* Checks if an event is supported in the current execution environment.

@@ -5,0 +9,0 @@ * @license Modernizr 3.0.0pre (Custom Build) | MIT

@@ -61,2 +61,12 @@ import { camelToDashCase } from './case';

/**
* Transforms a React event name to a browser event name.
*/
export const transformReactEventName = (eventNameSuffix) => {
switch (eventNameSuffix) {
case 'doubleclick':
return 'dblclick';
}
return eventNameSuffix;
};
/**
* Checks if an event is supported in the current execution environment.

@@ -70,3 +80,3 @@ * @license Modernizr 3.0.0pre (Custom Build) | MIT

else {
const eventName = 'on' + eventNameSuffix;
const eventName = 'on' + transformReactEventName(eventNameSuffix);
let isSupported = eventName in document;

@@ -73,0 +83,0 @@ if (!isSupported) {

4

package.json
{
"name": "@sme.up/ketchup-react",
"version": "8.3.2",
"version": "8.3.3",
"module": "dist/index.js",

@@ -23,3 +23,3 @@ "typings": "dist/index.d.ts",

"dependencies": {
"@sme.up/ketchup": "^8.3.2",
"@sme.up/ketchup": "^8.3.3",
"react": "^18.2.0",

@@ -26,0 +26,0 @@ "react-dom": "^18.2.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