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

@khanacademy/wonder-blocks-icon

Package Overview
Dependencies
Maintainers
1
Versions
181
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 1.0.11 to 1.0.12

4

components/icon.js
// @flow
import React from "react";
import * as React from "react";
import {StyleSheet} from "aphrodite";

@@ -38,3 +38,3 @@

const StyledSVG = addStyle("svg");
const StyledSVG = addStyle<"svg">("svg");

@@ -41,0 +41,0 @@ /**

@@ -1,2 +0,2 @@

import React from 'react';
import { createElement, PureComponent } from 'react';
import { StyleSheet } from 'aphrodite';

@@ -218,3 +218,3 @@ import { addStyle } from '@khanacademy/wonder-blocks-core';

var viewboxPixelSize = viewportPixelsForSize(assetSize);
return React.createElement(StyledSVG, {
return createElement(StyledSVG, {
style: [styles.svg, style],

@@ -225,3 +225,3 @@ width: pixelSize,

viewBox: "0 0 ".concat(viewboxPixelSize, " ").concat(viewboxPixelSize)
}, React.createElement("path", {
}, createElement("path", {
fill: color,

@@ -234,3 +234,3 @@ d: path

return Icon;
}(React.PureComponent);
}(PureComponent);

@@ -237,0 +237,0 @@ _defineProperty(Icon, "defaultProps", {

@@ -115,3 +115,2 @@ module.exports =

var external_react_ = __webpack_require__(0);
var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);

@@ -278,3 +277,3 @@ // EXTERNAL MODULE: external "aphrodite"

var viewboxPixelSize = viewportPixelsForSize(assetSize);
return external_react_default.a.createElement(StyledSVG, {
return external_react_["createElement"](StyledSVG, {
style: [styles.svg, style],

@@ -285,3 +284,3 @@ width: pixelSize,

viewBox: "0 0 ".concat(viewboxPixelSize, " ").concat(viewboxPixelSize)
}, external_react_default.a.createElement("path", {
}, external_react_["createElement"]("path", {
fill: color,

@@ -294,3 +293,3 @@ d: path

return Icon;
}(external_react_default.a.PureComponent);
}(external_react_["PureComponent"]);

@@ -297,0 +296,0 @@ _defineProperty(icon_Icon, "defaultProps", {

{
"name": "@khanacademy/wonder-blocks-icon",
"version": "1.0.11",
"version": "1.0.12",
"design": "v1",

@@ -18,6 +18,6 @@ "publishConfig": {

"dependencies": {
"@khanacademy/wonder-blocks-core": "^1.2.6"
"@khanacademy/wonder-blocks-core": "^1.2.7"
},
"devDependencies": {
"@khanacademy/wonder-blocks-color": "^1.0.13",
"@khanacademy/wonder-blocks-color": "^1.0.14",
"wb-dev-build-settings": "^0.0.2"

@@ -24,0 +24,0 @@ },

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