broccoli-sourcemap-concat
Advanced tools
Comparing version 0.2.5 to 0.2.6
{ | ||
"name": "broccoli-sourcemap-concat", | ||
"version": "0.2.5", | ||
"version": "0.2.6", | ||
"description": "Fast, good-enough concatenation with source maps.", | ||
@@ -23,3 +23,3 @@ "main": "index.js", | ||
"combined-stream": "0.0.7", | ||
"fast-sourcemap-concat": " ^0.1.3", | ||
"fast-sourcemap-concat": " ^0.1.4", | ||
"lodash-node": "^2.4.1", | ||
@@ -26,0 +26,0 @@ "mkdirp": "^0.5.0", |
@@ -181,3 +181,3 @@ /* global describe, afterEach, it, expect */ | ||
} | ||
expect(actualContent).to.equal(expectedContent, "discrepancy in " + filename); | ||
expectSameFiles(actualContent, expectedContent, filename); | ||
return this; | ||
@@ -195,1 +195,9 @@ }, | ||
} | ||
function expectSameFiles(actualContent, expectedContent, filename) { | ||
if (/\.map$/.test(filename)) { | ||
expect(JSON.parse(actualContent)).to.deep.equal(JSON.parse(expectedContent), 'discrepancy in ' + filename); | ||
} else { | ||
expect(actualContent).to.equal(expectedContent, 'discrepancy in ' + filename); | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
20234
485
0