@magusn/components
Advanced tools
+2
-7
| { | ||
| "name": "@magusn/components", | ||
| "version": "0.1.1-alpha.0+fc410e6", | ||
| "version": "0.1.1-alpha.1+f702c49", | ||
| "description": "common components", | ||
@@ -9,4 +9,2 @@ "author": "magus", | ||
| "main": "src/index.js", | ||
| "module": "dist/index.modern.js", | ||
| "source": "src/index.js", | ||
| "engines": { | ||
@@ -16,5 +14,2 @@ "node": ">=10" | ||
| "scripts": { | ||
| "build": "microbundle-crl --no-compress --format modern,cjs", | ||
| "start": "microbundle-crl watch --no-compress --format modern,cjs", | ||
| "prepare": "run-s build", | ||
| "test": "run-s test:unit test:lint test:build", | ||
@@ -55,3 +50,3 @@ "test:build": "run-s build", | ||
| ], | ||
| "gitHead": "fc410e68327fc6595fa99aaa36b79bf642ad7846" | ||
| "gitHead": "f702c490cf4ceb072d8a231b28a41956db76e526" | ||
| } |
+2
-21
@@ -1,21 +0,2 @@ | ||
| function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } | ||
| var React = require('react'); | ||
| var React__default = _interopDefault(React); | ||
| function Button(props) { | ||
| return /*#__PURE__*/React.createElement("button", null, props.children); | ||
| } | ||
| var styles = {"test":"_3RkHN"}; | ||
| function ExampleComponent(_ref) { | ||
| var text = _ref.text; | ||
| return /*#__PURE__*/React__default.createElement("div", { | ||
| className: styles.test | ||
| }, "Example Component: ", text); | ||
| } | ||
| exports.Button = Button; | ||
| exports.ExampleComponent = ExampleComponent; | ||
| //# sourceMappingURL=index.js.map | ||
| export { Button } from './Button'; | ||
| export { ExampleComponent } from './ExampleComponent'; |
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
2117
-26.34%2
-87.5%2
100%