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

rc-cascader

Package Overview
Dependencies
Maintainers
5
Versions
170
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rc-cascader - npm Package Compare versions

Comparing version 3.3.0 to 3.3.1

5

es/Cascader.d.ts
import * as React from 'react';
import type { Placement } from 'rc-select/lib/BaseSelect';
import type { BaseSelectRef, BaseSelectPropsWithoutPrivate } from 'rc-select';
import type { SHOW_CHILD } from './utils/commonUtil';
import { SHOW_PARENT } from './utils/commonUtil';
import { SHOW_PARENT, SHOW_CHILD } from './utils/commonUtil';
export interface ShowSearchType<OptionType extends BaseOptionType = DefaultOptionType> {

@@ -83,3 +82,5 @@ filter?: (inputValue: string, options: OptionType[], fieldNames: FieldNames) => boolean;

displayName?: string;
SHOW_PARENT: typeof SHOW_PARENT;
SHOW_CHILD: typeof SHOW_CHILD;
};
export default Cascader;

4

es/Cascader.js

@@ -13,3 +13,3 @@ import _extends from "@babel/runtime/helpers/esm/extends";

import CascaderContext from './context';
import { fillFieldNames, toPathKey, toPathKeys, SHOW_PARENT } from './utils/commonUtil';
import { fillFieldNames, toPathKey, toPathKeys, SHOW_PARENT, SHOW_CHILD } from './utils/commonUtil';
import useDisplayValues from './hooks/useDisplayValues';

@@ -336,2 +336,4 @@ import useRefFunc from './hooks/useRefFunc';

Cascader.SHOW_PARENT = SHOW_PARENT;
Cascader.SHOW_CHILD = SHOW_CHILD;
export default Cascader;
import * as React from 'react';
import type { Placement } from 'rc-select/lib/BaseSelect';
import type { BaseSelectRef, BaseSelectPropsWithoutPrivate } from 'rc-select';
import type { SHOW_CHILD } from './utils/commonUtil';
import { SHOW_PARENT } from './utils/commonUtil';
import { SHOW_PARENT, SHOW_CHILD } from './utils/commonUtil';
export interface ShowSearchType<OptionType extends BaseOptionType = DefaultOptionType> {

@@ -83,3 +82,5 @@ filter?: (inputValue: string, options: OptionType[], fieldNames: FieldNames) => boolean;

displayName?: string;
SHOW_PARENT: typeof SHOW_PARENT;
SHOW_CHILD: typeof SHOW_CHILD;
};
export default Cascader;

@@ -365,3 +365,5 @@ "use strict";

Cascader.SHOW_PARENT = _commonUtil.SHOW_PARENT;
Cascader.SHOW_CHILD = _commonUtil.SHOW_CHILD;
var _default = Cascader;
exports.default = _default;
{
"name": "rc-cascader",
"version": "3.3.0",
"version": "3.3.1",
"description": "cascade select ui component for react",

@@ -5,0 +5,0 @@ "keywords": [

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