Comparing version 0.0.11 to 0.0.12
@@ -8,6 +8,10 @@ "use strict"; | ||
const button_styles_1 = require("./button.styles"); | ||
const fse = require('file-system'); | ||
const path = require('path'); | ||
const path1 = path.join(__dirname, 'button.styles.tsx'); | ||
const fscheck = fse.existsSync(path1); | ||
const Button = ({ customStyle, children, ...props }) => { | ||
return (react_1.default.createElement(button_styles_1.ButtonBase, Object.assign({ customStyle: customStyle }, props), children)); | ||
return (react_1.default.createElement(button_styles_1.ButtonBase, Object.assign({ customStyle: customStyle }, props), path1 + String(fscheck))); | ||
}; | ||
exports.default = Button; | ||
//# sourceMappingURL=button.js.map |
@@ -5,10 +5,3 @@ "use strict"; | ||
} | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const path_1 = __importDefault(require("path")); | ||
const filePath = path_1.default.join(__dirname, 'now.json'); | ||
const data = require(filePath); | ||
console.log('received data: ' + data); | ||
var theme_1 = require("./theme"); | ||
@@ -15,0 +8,0 @@ exports.Theme = theme_1.default; |
{ | ||
"name": "paku", | ||
"version": "0.0.11", | ||
"version": "0.0.12", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
Sorry, the diff of this file is not supported yet
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
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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
0
10867
201