Socket
Socket
Sign inDemoInstall

@watermarkinsights/ripple-react

Package Overview
Dependencies
Maintainers
4
Versions
117
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@watermarkinsights/ripple-react - npm Package Compare versions

Comparing version 4.5.0 to 4.6.0-0

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

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

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

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

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

@@ -74,0 +84,0 @@ if (!isSupported) {

4

package.json
{
"name": "@watermarkinsights/ripple-react",
"version": "4.5.0",
"version": "4.6.0-0",
"description": "React specific wrappers for Ripple component library",

@@ -46,4 +46,4 @@ "scripts": {

"dependencies": {
"@watermarkinsights/ripple": "4.5.0"
"@watermarkinsights/ripple": "4.6.0-0"
}
}

Sorry, the diff of this file is not supported yet

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