jest-docblock
Advanced tools
Comparing version 25.2.6 to 25.3.0
@@ -50,2 +50,3 @@ 'use strict'; | ||
const stringStartRe = /(\r?\n|^) *\* ?/g; | ||
const STRING_ARRAY = []; | ||
@@ -97,3 +98,3 @@ function extract(contents) { | ||
) { | ||
result[match[1]] = [].concat(result[match[1]], nextPragma); | ||
result[match[1]] = STRING_ARRAY.concat(result[match[1]], nextPragma); | ||
} else { | ||
@@ -150,3 +151,5 @@ result[match[1]] = nextPragma; | ||
function printKeyValues(key, valueOrArray) { | ||
return [].concat(valueOrArray).map(value => `@${key} ${value}`.trim()); | ||
return STRING_ARRAY.concat(valueOrArray).map(value => | ||
`@${key} ${value}`.trim() | ||
); | ||
} |
{ | ||
"name": "jest-docblock", | ||
"version": "25.2.6", | ||
"version": "25.3.0", | ||
"repository": { | ||
@@ -31,3 +31,3 @@ "type": "git", | ||
}, | ||
"gitHead": "43207b743df164e9e58bd483dd9167b9084da18b" | ||
"gitHead": "45a4936d96d74cdee6b91122a51a556e3ebe6dc8" | ||
} |
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
10356
165