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

@rmwc/base

Package Overview
Dependencies
Maintainers
1
Versions
170
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rmwc/base - npm Package Compare versions

Comparing version 3.0.10 to 3.0.11

2

package.json
{
"name": "@rmwc/base",
"version": "3.0.10",
"version": "3.0.11",
"description": "RMWC base module",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -28,13 +28,15 @@ 'use strict';

Object.defineProperty(window['HTMLCanvasElement'].prototype, 'getContext', {
writable: true,
value: function value() {
return {
font: '',
measureText: function measureText() {
return { width: 0 };
}
};
}
});
if (!window['HTMLCanvasElement']) {
Object.defineProperty(window['HTMLCanvasElement'].prototype, 'getContext', {
writable: true,
value: function value() {
return {
font: '',
measureText: function measureText() {
return { width: 0 };
}
};
}
});
}

@@ -41,0 +43,0 @@ window['MutationObserver'] = window['MutationObserver'] || require('mutation-observer');

@@ -6,2 +6,3 @@ import * as React from 'react';

render(): any;
context: any;
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<{}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;

@@ -8,0 +9,0 @@ forceUpdate(callBack?: (() => void) | undefined): void;

@@ -50,2 +50,3 @@ import { SimpleTagPropsT } from './simpleTag';

unlisten(evtType: string, handler: Function): void;
context: any;
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<FoundationPropsT<P>>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;

@@ -52,0 +53,0 @@ forceUpdate(callBack?: (() => void) | undefined): void;

@@ -13,2 +13,2 @@ import * as React from 'react';

*/
export declare const withTheme: (Component: React.ComponentType<any>) => React.StatelessComponent<any>;
export declare const withTheme: (Component: React.ComponentType<any>) => React.FunctionComponent<any>;

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