@frozzare/pkg
Advanced tools
Comparing version 1.0.6 to 1.0.7
@@ -44,4 +44,4 @@ "use strict"; | ||
text = | ||
text.replace(/module.exports = __toCommonJS\(\w+\);/, '') + | ||
`module.exports = ${name};`.replace((config === null || config === void 0 ? void 0 : config.minify) ? /\s/g : '', ''); | ||
text.replace(/module.exports(?:\s+|)=(?:\s+|)\w+\(\w+\);/, '').trim() + | ||
`${(config === null || config === void 0 ? void 0 : config.minify) ? '' : '\n'}module.exports = ${name};`.replace((config === null || config === void 0 ? void 0 : config.minify) ? /\s/g : '', ''); | ||
} | ||
@@ -48,0 +48,0 @@ if (!config.write) { |
{ | ||
"name": "@frozzare/pkg", | ||
"version": "1.0.6", | ||
"version": "1.0.7", | ||
"description": "", | ||
@@ -11,3 +11,3 @@ "main": "dist/index.js", | ||
"prepublishOnly": "npm run build", | ||
"test": "jest" | ||
"test": "vitest" | ||
}, | ||
@@ -29,10 +29,9 @@ "files": [ | ||
"@typescript-eslint/parser": "^5.51.0", | ||
"esbuild-jest": "^0.5.0", | ||
"eslint": "^8.33.0", | ||
"jest": "^29.4.2", | ||
"prettier": "^2.8.4", | ||
"rimraf": "^4.1.2", | ||
"tsx": "^3.12.3", | ||
"typescript": "^4.9.5" | ||
"typescript": "^4.9.5", | ||
"vitest": "^0.28.4" | ||
} | ||
} |
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
4718
9