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

@dsexample/core

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dsexample/core - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

25

./dist/index.js

@@ -23,3 +23,4 @@ "use strict";

__export(src_exports, {
Button: () => Button
Button: () => Button,
Input: () => Input
});

@@ -31,10 +32,26 @@ module.exports = __toCommonJS(src_exports);

function Button(props) {
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("button", {
children: props.children
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("button", {
children: [
props.children,
"bar"
]
});
}
Button.displayName = "Button";
// src/Input.tsx
var import_jsx_runtime = require("react/jsx-runtime");
function Input(props) {
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("button", {
children: [
props.children,
"bar"
]
});
}
Input.displayName = "Input";
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
Button
Button,
Input
});

@@ -11,2 +11,10 @@ import * as React from 'react';

export { Button, ButtonProps };
interface InputProps {
children: React.ReactNode;
}
declare function Input(props: InputProps): JSX.Element;
declare namespace Input {
var displayName: string;
}
export { Button, ButtonProps, Input, InputProps };

@@ -23,3 +23,4 @@ "use strict";

__export(src_exports, {
Button: () => Button
Button: () => Button,
Input: () => Input
});

@@ -31,10 +32,26 @@ module.exports = __toCommonJS(src_exports);

function Button(props) {
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("button", {
children: props.children
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("button", {
children: [
props.children,
"bar"
]
});
}
Button.displayName = "Button";
// src/Input.tsx
var import_jsx_runtime = require("react/jsx-runtime");
function Input(props) {
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("button", {
children: [
props.children,
"bar"
]
});
}
Input.displayName = "Input";
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
Button
Button,
Input
});

2

package.json
{
"name": "@dsexample/core",
"private": false,
"version": "2.0.1",
"version": "2.0.2",
"main": "./dist/index.js",

@@ -6,0 +6,0 @@ "module": "./dist/index.mjs",

Sorry, the diff of this file is not supported yet

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