themeforest-lib
Advanced tools
+1
-6
@@ -1,6 +0,1 @@ | ||
| import o from"react";import t from"styled-components";const e=t.div` | ||
| background-color: red; | ||
| color: white; | ||
| width: 200px; | ||
| height: 100px; | ||
| `,r=()=>o.createElement(e,null,"MyButton");export{r as MyButton}; | ||
| import e from"react";const l=()=>e.createElement("div",null,"heeeellllo");export{l as MyButton}; |
+1
-6
@@ -1,6 +0,1 @@ | ||
| "use strict";var e=require("react");const t=require("styled-components").div` | ||
| background-color: red; | ||
| color: white; | ||
| width: 200px; | ||
| height: 100px; | ||
| `;exports.MyButton=()=>e.createElement(t,null,"MyButton"); | ||
| "use strict";var e=require("react");exports.MyButton=()=>e.createElement("div",null,"heeeellllo"); |
+6
-2
| { | ||
| "name": "themeforest-lib", | ||
| "version": "1.0.3", | ||
| "version": "1.0.5", | ||
| "description": "", | ||
| "main": "dist/index.cjs.js", | ||
| "module": "dist/index.es.js", | ||
| "types": "dist/index.d.ts", | ||
| "scripts": { | ||
@@ -47,4 +48,7 @@ "test": "echo \"Error: no test specified\" && exit 1", | ||
| "peerDependencies": { | ||
| "styled-components": "^5.3.6" | ||
| "styled-components": "^5.3.6", | ||
| "typescript": "^4.9.4", | ||
| "react": "^18.2.0", | ||
| "react-dom": "^18.2.0" | ||
| } | ||
| } |
| import React from "react"; | ||
| import { Button } from "./styled"; | ||
| // import { Button } from "./styled"; | ||
| export const MyButton = () => { | ||
| return <Button>MyButton</Button>; | ||
| return <div>heeeellllo</div>; | ||
| }; |
| import styled from "styled-components"; | ||
| export const Button = styled.div` | ||
| background-color: red; | ||
| background-color: blue; | ||
| color: white; | ||
@@ -6,0 +6,0 @@ width: 200px; |
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
41531
-0.27%4
300%471
-2.08%