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

@khanacademy/wonder-blocks-core

Package Overview
Dependencies
Maintainers
1
Versions
175
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@khanacademy/wonder-blocks-core - npm Package Compare versions

Comparing version 2.6.2 to 2.7.0

util/__tests__/add-style.test.js

9

dist/es/index.js

@@ -1008,4 +1008,5 @@ import React, { Component, createElement, createContext } from 'react';

function StyleComponent(props) {
var style = props.style,
tmpOtherProps = _objectWithoutProperties(props, ["style"]); // NOTE(jeresig): We need to cast the remaining props to be the right
var className = props.className,
style = props.style,
tmpOtherProps = _objectWithoutProperties(props, ["className", "style"]); // NOTE(jeresig): We need to cast the remaining props to be the right
// value to ensure that they're typed properly.

@@ -1018,7 +1019,7 @@

var _processStyleList = processStyleList([reset, defaultStyle, style]),
className = _processStyleList.className,
aphroditeClassName = _processStyleList.className,
inlineStyles = _processStyleList.style;
return /*#__PURE__*/createElement(Component, _extends({}, otherProps, {
className: className,
className: [aphroditeClassName, className].filter(Boolean).join(" "),
style: inlineStyles

@@ -1025,0 +1026,0 @@ }));

{
"name": "@khanacademy/wonder-blocks-core",
"version": "2.6.2",
"version": "2.7.0",
"design": "v1",

@@ -30,3 +30,3 @@ "publishConfig": {

"license": "MIT",
"gitHead": "d54b1f3b101a92dc4a53e0f6aa4621db2e2a5b6e"
"gitHead": "483662a65071f7f5539a5a40adc9e6c22d441bf8"
}

@@ -23,3 +23,3 @@ // @flow

}) {
const {style, ...tmpOtherProps} = props;
const {className, style, ...tmpOtherProps} = props;
// NOTE(jeresig): We need to cast the remaining props to be the right

@@ -31,7 +31,6 @@ // value to ensure that they're typed properly.

const {className, style: inlineStyles} = processStyleList([
reset,
defaultStyle,
style,
]);
const {
className: aphroditeClassName,
style: inlineStyles,
} = processStyleList([reset, defaultStyle, style]);

@@ -41,3 +40,5 @@ return (

{...otherProps}
className={className}
className={[aphroditeClassName, className]
.filter(Boolean)
.join(" ")}
style={inlineStyles}

@@ -44,0 +45,0 @@ />

Sorry, the diff of this file is too big to display

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