🚀. Socket Launch Week Day 2:Introducing Manifest Alerts.Learn more
Sign In

themeforest-lib

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

themeforest-lib - npm Package Compare versions

Comparing version
1.0.3
to
1.0.5
+1
-6
dist/index.es.js

@@ -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 +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;