storybook-pretty-props
Advanced tools
Comparing version 1.1.2 to 1.1.3
@@ -0,1 +1,17 @@ | ||
# v1.1.3 (Fri Jun 12 2020) | ||
:tada: This release contains work from a new contributor! :tada: | ||
Thank you, Andrew Lisowski ([@hipstersmoothie](https://github.com/hipstersmoothie)), for all your work! | ||
#### ⚠️ Pushed to `master` | ||
- remove prettier as a runtime dep ([@hipstersmoothie](https://github.com/hipstersmoothie)) | ||
#### Authors: 1 | ||
- Andrew Lisowski ([@hipstersmoothie](https://github.com/hipstersmoothie)) | ||
--- | ||
# v1.1.2 (Tue Jun 09 2020) | ||
@@ -2,0 +18,0 @@ |
@@ -1,2 +0,2 @@ | ||
"use strict";var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports["default"]=void 0;var _slicedToArray2=_interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));var _react=_interopRequireDefault(require("react"));var _standalone=_interopRequireDefault(require("prettier/standalone"));var _parserTypescript=_interopRequireDefault(require("prettier/parser-typescript"));var _types=require("./types");var _utils=require("../utils");var MAX_LENGTH=36;var OneOf=function OneOf(_ref){var propType=_ref.propType;var _React$useState=_react["default"].useState(true),_React$useState2=(0,_slicedToArray2["default"])(_React$useState,2),minimized=_React$useState2[0],setMinimized=_React$useState2[1];var didFormat=_react["default"].useRef(true);var toggle=function toggle(){return setMinimized(!minimized)};var propTypes=(0,_types.getPropTypes)(propType);var code="oneOf = ".concat(Array.isArray(propTypes)?(0,_utils.joinValues)(propTypes):propTypes,";");try{code=_standalone["default"].format(code,{parser:"typescript",plugins:[_parserTypescript["default"]]});didFormat.current=true}catch(e){didFormat.current=false}var isMinimizable=code.length>MAX_LENGTH;var typeDef=minimized?code.substr(0,MAX_LENGTH):code;var isMultiline=!minimized&&didFormat.current;return _react["default"].createElement("span",{style:{whiteSpace:isMultiline?"pre":"normal"}},typeDef,isMinimizable&&_react["default"].createElement(_utils.HighlightButton,{onClick:toggle},"..."))};var _default=OneOf;exports["default"]=_default; | ||
"use strict";var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports["default"]=void 0;var _slicedToArray2=_interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));var _react=_interopRequireDefault(require("react"));var _types=require("./types");var _utils=require("../utils");var MAX_LENGTH=24;var ONE_OF="oneOf = ";var OneOf=function OneOf(_ref){var propType=_ref.propType;var _React$useState=_react["default"].useState(true),_React$useState2=(0,_slicedToArray2["default"])(_React$useState,2),minimized=_React$useState2[0],setMinimized=_React$useState2[1];var toggle=function toggle(){return setMinimized(!minimized)};var propTypes=(0,_types.getPropTypes)(propType);var code=(Array.isArray(propTypes)&&(!minimized&&"\n ".concat((0,_utils.joinValues)(propTypes," |\n "))||(0,_utils.joinValues)(propTypes))||propTypes).toString();var isMinimizable=code.length>MAX_LENGTH;var typeDef=minimized?code.substr(0,MAX_LENGTH):code;return _react["default"].createElement("span",{style:{whiteSpace:minimized?"normal":"pre"}},isMinimizable?_react["default"].createElement(_utils.HighlightButton,{style:{fontSize:"0.9rem"},onClick:toggle},ONE_OF):ONE_OF,typeDef,";",isMinimizable&&_react["default"].createElement(_utils.HighlightButton,{onClick:toggle},"..."))};var _default=OneOf;exports["default"]=_default; | ||
//# sourceMappingURL=OneOf.js.map |
@@ -1,2 +0,2 @@ | ||
"use strict";var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.HighlightButton=exports.joinValues=void 0;var _extends2=_interopRequireDefault(require("@babel/runtime/helpers/extends"));var _react=_interopRequireDefault(require("react"));var joinValues=function joinValues(propTypes){return propTypes.map(function(prop){return"value"in prop?prop.value:prop.name}).join(" | ")};exports.joinValues=joinValues;var HighlightButton=function HighlightButton(props){return _react["default"].createElement("button",(0,_extends2["default"])({type:"button"},props,{style:{display:"inline-block",background:"none",border:"0 none",color:"gray",cursor:"pointer"}}))};exports.HighlightButton=HighlightButton; | ||
"use strict";var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.HighlightButton=exports.joinValues=void 0;var _extends2=_interopRequireDefault(require("@babel/runtime/helpers/extends"));var _defineProperty2=_interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));var _objectWithoutProperties2=_interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));var _react=_interopRequireDefault(require("react"));function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);if(enumerableOnly)symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable});keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};if(i%2){ownKeys(Object(source),true).forEach(function(key){(0,_defineProperty2["default"])(target,key,source[key])})}else if(Object.getOwnPropertyDescriptors){Object.defineProperties(target,Object.getOwnPropertyDescriptors(source))}else{ownKeys(Object(source)).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))})}}return target}var joinValues=function joinValues(propTypes){var delimiter=arguments.length>1&&arguments[1]!==undefined?arguments[1]:" | ";return propTypes.map(function(prop){return"value"in prop?prop.value:prop.name}).join(delimiter)};exports.joinValues=joinValues;var HighlightButton=function HighlightButton(_ref){var style=_ref.style,props=(0,_objectWithoutProperties2["default"])(_ref,["style"]);return _react["default"].createElement("button",(0,_extends2["default"])({type:"button"},props,{style:_objectSpread({display:"inline-block",background:"none",border:"0 none",color:"gray",cursor:"pointer"},style)}))};exports.HighlightButton=HighlightButton; | ||
//# sourceMappingURL=utils.js.map |
@@ -1,2 +0,2 @@ | ||
import _slicedToArray from"@babel/runtime/helpers/slicedToArray";import React from"react";import prettier from"prettier/standalone";import parserTypescript from"prettier/parser-typescript";import{getPropTypes}from"./types";import{joinValues,HighlightButton}from"../utils";var MAX_LENGTH=36;var OneOf=function OneOf(_ref){var propType=_ref.propType;var _React$useState=React.useState(true),_React$useState2=_slicedToArray(_React$useState,2),minimized=_React$useState2[0],setMinimized=_React$useState2[1];var didFormat=React.useRef(true);var toggle=function toggle(){return setMinimized(!minimized)};var propTypes=getPropTypes(propType);var code="oneOf = ".concat(Array.isArray(propTypes)?joinValues(propTypes):propTypes,";");try{code=prettier.format(code,{parser:"typescript",plugins:[parserTypescript]});didFormat.current=true}catch(e){didFormat.current=false}var isMinimizable=code.length>MAX_LENGTH;var typeDef=minimized?code.substr(0,MAX_LENGTH):code;var isMultiline=!minimized&&didFormat.current;return React.createElement("span",{style:{whiteSpace:isMultiline?"pre":"normal"}},typeDef,isMinimizable&&React.createElement(HighlightButton,{onClick:toggle},"..."))};export default OneOf; | ||
import _slicedToArray from"@babel/runtime/helpers/slicedToArray";import React from"react";import{getPropTypes}from"./types";import{joinValues,HighlightButton}from"../utils";var MAX_LENGTH=24;var ONE_OF="oneOf = ";var OneOf=function OneOf(_ref){var propType=_ref.propType;var _React$useState=React.useState(true),_React$useState2=_slicedToArray(_React$useState,2),minimized=_React$useState2[0],setMinimized=_React$useState2[1];var toggle=function toggle(){return setMinimized(!minimized)};var propTypes=getPropTypes(propType);var code=(Array.isArray(propTypes)&&(!minimized&&"\n ".concat(joinValues(propTypes," |\n "))||joinValues(propTypes))||propTypes).toString();var isMinimizable=code.length>MAX_LENGTH;var typeDef=minimized?code.substr(0,MAX_LENGTH):code;return React.createElement("span",{style:{whiteSpace:minimized?"normal":"pre"}},isMinimizable?React.createElement(HighlightButton,{style:{fontSize:"0.9rem"},onClick:toggle},ONE_OF):ONE_OF,typeDef,";",isMinimizable&&React.createElement(HighlightButton,{onClick:toggle},"..."))};export default OneOf; | ||
//# sourceMappingURL=OneOf.js.map |
@@ -1,2 +0,2 @@ | ||
import _extends from"@babel/runtime/helpers/extends";import React from"react";export var joinValues=function joinValues(propTypes){return propTypes.map(function(prop){return"value"in prop?prop.value:prop.name}).join(" | ")};export var HighlightButton=function HighlightButton(props){return React.createElement("button",_extends({type:"button"},props,{style:{display:"inline-block",background:"none",border:"0 none",color:"gray",cursor:"pointer"}}))}; | ||
import _extends from"@babel/runtime/helpers/extends";import _defineProperty from"@babel/runtime/helpers/defineProperty";import _objectWithoutProperties from"@babel/runtime/helpers/objectWithoutProperties";function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);if(enumerableOnly)symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable});keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};if(i%2){ownKeys(Object(source),true).forEach(function(key){_defineProperty(target,key,source[key])})}else if(Object.getOwnPropertyDescriptors){Object.defineProperties(target,Object.getOwnPropertyDescriptors(source))}else{ownKeys(Object(source)).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))})}}return target}import React from"react";export var joinValues=function joinValues(propTypes){var delimiter=arguments.length>1&&arguments[1]!==undefined?arguments[1]:" | ";return propTypes.map(function(prop){return"value"in prop?prop.value:prop.name}).join(delimiter)};export var HighlightButton=function HighlightButton(_ref){var style=_ref.style,props=_objectWithoutProperties(_ref,["style"]);return React.createElement("button",_extends({type:"button"},props,{style:_objectSpread({display:"inline-block",background:"none",border:"0 none",color:"gray",cursor:"pointer"},style)}))}; | ||
//# sourceMappingURL=utils.js.map |
@@ -1,7 +0,7 @@ | ||
import React from 'react'; | ||
import React from "react"; | ||
import { PropTypeValue } from "./types/types"; | ||
/** Join a bunch of values in an or '|' sequence */ | ||
export declare const joinValues: (propTypes: PropTypeValue[]) => string; | ||
export declare const joinValues: (propTypes: PropTypeValue[], delimiter?: string) => string; | ||
/** A button to show more or less of a shape type */ | ||
export declare const HighlightButton: (props: Pick<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "hidden" | "color" | "style" | "disabled" | "form" | "slot" | "title" | "key" | "children" | "property" | "value" | "name" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "type" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture">) => JSX.Element; | ||
export declare const HighlightButton: ({ style, ...props }: Pick<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "hidden" | "color" | "style" | "disabled" | "form" | "slot" | "title" | "key" | "children" | "property" | "value" | "name" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "type" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture">) => JSX.Element; | ||
//# sourceMappingURL=utils.d.ts.map |
{ | ||
"name": "storybook-pretty-props", | ||
"version": "1.1.2", | ||
"version": "1.1.3", | ||
"description": "Render prop types in a pretty way! Useful for storybook addons that display prop types.", | ||
@@ -43,2 +43,3 @@ "main": "./dist/cjs/index.js", | ||
"lint-staged": "9.2.1", | ||
"prettier": "^2.0.5", | ||
"react": "16.10.1", | ||
@@ -68,6 +69,3 @@ "react-dom": "16.10.1", | ||
] | ||
}, | ||
"dependencies": { | ||
"prettier": "^2.0.5" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
78552
1
254
13
- Removedprettier@^2.0.5
- Removedprettier@2.8.8(transitive)