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

@dynabuild/test-components

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

@dynabuild/test-components - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

package-lock.json

5

lib/components/Button.js
import * as React from "react";
export const Button = React.forwardRef((props, ref) => (React.createElement("button", Object.assign({ style: { background: "#FBE7C6" } }, props, { ref: ref }))));
export const Button = React.forwardRef((props, ref) => {
const buttonColor = process.env.useRedButtons ? "red" : "green";
return (React.createElement("button", Object.assign({ style: { background: buttonColor } }, props, { ref: ref })));
});
//# sourceMappingURL=Button.js.map

4

package.json
{
"name": "@dynabuild/test-components",
"version": "1.0.2",
"version": "1.0.3",
"description": "DynaBuild test controls project",

@@ -10,2 +10,3 @@ "module": "lib/index.js",

"build": "tsc",
"start2": "node scripts/start.mjs",
"storybook": "start-storybook -p 6006",

@@ -32,4 +33,5 @@ "build-storybook": "build-storybook"

"live-server": "^1.2.1",
"open": "^7.4.2",
"typescript": "^4.1.5"
}
}

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