@dynabuild/test-components
Advanced tools
Comparing version 1.0.2 to 1.0.3
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 |
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
1017155
11
26856
14
2