New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

valtech-lib

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

valtech-lib - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

8

dist/ValButton.d.ts

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

declare const ValButton: () => string;
import React from 'react';
interface ValButtonProps {
text: string;
color: string;
onClick: () => void;
}
declare const ValButton: React.FC<ValButtonProps>;
export default ValButton;

8

dist/ValButton.js
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const ValButton = () => {
return ("Hello Worldddd!");
const react_1 = __importDefault(require("react"));
const ValButton = ({ text, color, onClick }) => {
return (react_1.default.createElement("button", { style: { backgroundColor: color }, onClick: onClick }, text));
};
exports.default = ValButton;
{
"name": "valtech-lib",
"version": "1.0.3",
"version": "1.0.4",
"description": "interview exercise",

@@ -5,0 +5,0 @@ "main": "dist/index.ts",

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