@haxibiao/react-native-make
Advanced tools
Comparing version 3.2.1 to 3.2.2
@@ -17,3 +17,3 @@ "use strict"; | ||
exports.applyPatch = (path, { patch, pattern }) => { | ||
if (!exports.readFile(path).replace(/[\ +]|[\r\n]/g, "").includes(patch.replace(/[\ +]|[\r\n]/g, ""))) { | ||
if (!exports.readFile(path).replace(/[\ +]|[\s\t\r\n]/g, "").includes(patch.replace(/[\ +]|[\s\t\r\n]/g, ""))) { | ||
fs_1.writeFileSync(path, fs_1.readFileSync(path, 'utf8').replace(pattern, (match) => `${match}${patch}`)); | ||
@@ -20,0 +20,0 @@ } |
{ | ||
"name": "@haxibiao/react-native-make", | ||
"version": "3.2.1", | ||
"version": "3.2.2", | ||
"main": "modules/index.js", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
141240
0