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

@bem-react/core

Package Overview
Dependencies
Maintainers
3
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bem-react/core - npm Package Compare versions

Comparing version 0.2.3 to 0.2.4

9

CHANGELOG.md

@@ -6,2 +6,11 @@ # Change Log

<a name="0.2.4"></a>
## [0.2.4](https://github.com/bem/bem-react-core/compare/@bem-react/core@0.2.3...@bem-react/core@0.2.4) (2018-08-30)
**Note:** Version bump only for package @bem-react/core
<a name="0.2.3"></a>

@@ -8,0 +17,0 @@ ## [0.2.3](https://github.com/bem/bem-react-core/compare/@bem-react/core@0.2.2...@bem-react/core@0.2.3) (2018-08-29)

2

core.d.ts

@@ -9,6 +9,4 @@ import * as React from 'react';

export declare type ModMatch = Record<string, string | boolean | number>;
export declare const matchSubset: (props: Record<string, any>, match: Record<string, any>) => boolean;
export declare function withBemClassName<P extends IClassNameProps>(cn: ClassNameFormatter, mapPropsToBemMods?: (props: P) => NoStrictMods | undefined): (WrappedComponent: any) => React.StatelessComponent<P>;
export declare function withBemMod<P extends IClassNameProps>(cn: ClassNameFormatter, mod: NoStrictMods, cb?: ModBody<P>): (WrappedComponent: React.StatelessComponent<P>) => (props: P) => JSX.Element;
export declare function withBemClassMix<P extends IClassNameProps>(...mix: Array<string | undefined>): (WrappedComponent: React.ComponentType<P>) => (props: P) => JSX.Element;
export declare const classnames: (...args: (string | undefined)[]) => string;
{
"name": "@bem-react/core",
"version": "0.2.3",
"version": "0.2.4",
"description": "BEM React Core",

@@ -28,6 +28,6 @@ "repository": {

"unit": "../../node_modules/.bin/mocha --opts ../../mocha.opts --",
"test": "npm run unit test/*.test.ts"
"test": "../../node_modules/.bin/nyc npm run unit test/*.test.tsx"
},
"dependencies": {
"@bem-react/classname": "^0.2.1",
"@bem-react/classname": "^0.2.2",
"object-assign": "^4.1.1"

@@ -38,3 +38,19 @@ },

},
"gitHead": "0621f4c90b1a9ead311f94c1736b0d6164d7878d"
"nyc": {
"include": [
"core.tsx"
],
"extension": [
".ts",
".tsx"
],
"reporter": [
"text",
"html"
],
"sourceMap": true,
"instrument": true,
"all": true
},
"gitHead": "c6f8cd0423ca4d872aad1925bac6a552e82ac626"
}
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