{"_id":"jest-diff","_rev":"322-2a6261388fc592ee245ba10fb27f5f44","name":"jest-diff","dist-tags":{"latest":"29.7.0","next":"30.0.0-alpha.3"},"versions":{"0.0.0":{"name":"jest-diff","version":"0.0.0","_id":"jest-diff@0.0.0","scripts":{},"_shasum":"226978e03c3ccba2b88258f6a8bc52c5b0d0f1d8","_from":".","_npmVersion":"3.8.6","_nodeVersion":"6.0.0","_npmUser":{"name":"cpojer","email":"christoph.pojer@gmail.com"},"dist":{"shasum":"226978e03c3ccba2b88258f6a8bc52c5b0d0f1d8","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-0.0.0.tgz","integrity":"sha512-1Ko8sQNlnsm5Xg8kPdJk5vCb6+7Ut9QKmjAyeDz+v+WFdmi8/E4n2+VgPZgMgrYb119oL7hJNxuAoI/xj9ucfw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDkvmJ+VgEBHC7p4UG5+QWA4w9qH2nQkdrwfOEmvBusBQIhAJt+UbdpfwxFatvXpOJkayk5fmAH14Gm1P99wMKl55EP"}]},"maintainers":[{"name":"cpojer","email":"christoph.pojer@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/jest-diff-0.0.0.tgz_1467441131085_0.4250818758737296"},"directories":{}},"13.3.0-alpha.a44f195f":{"name":"jest-diff","version":"13.3.0-alpha.a44f195f","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git"},"license":"BSD-3-Clause","main":"build/index.js","dependencies":{"chalk":"^1.1.3","diff":"^2.2.3","pretty-format":"^3.5.0"},"jest":{"automock":false,"rootDir":"./src","scriptPreprocessor":"../../babel-jest","testEnvironment":"node"},"scripts":{"test":"../../packages/jest-cli/bin/jest.js"},"bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@13.3.0-alpha.a44f195f","_shasum":"35c73a7cd1312bda331aab719205826a56697a60","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"cpojer","email":"christoph.pojer@gmail.com"},"dist":{"shasum":"35c73a7cd1312bda331aab719205826a56697a60","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-13.3.0-alpha.a44f195f.tgz","integrity":"sha512-ACb9HKg0IDdqx6487e0V4KRQAVGRlk4GPI8U77QBAhIv3ddZJnxTKTjeqf4oAUHa8OOnSyL70GMhZXJ+yjMp1g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICJIuftLCfueRLEmOVEnKIw5SkEZwl8hJawlfpRXsUvCAiEAghNmnMh3xdQlIX+JnP+rQ57GBJVY/cG9kmo33ts0yDY="}]},"maintainers":[{"name":"cpojer","email":"christoph.pojer@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/jest-diff-13.3.0-alpha.a44f195f.tgz_1468231012515_0.9340509655885398"},"directories":{}},"13.3.0-alpha.4eb0c908":{"name":"jest-diff","version":"13.3.0-alpha.4eb0c908","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git"},"license":"BSD-3-Clause","main":"build/index.js","dependencies":{"chalk":"^1.1.3","diff":"^2.2.3","pretty-format":"^3.5.0"},"jest":{"automock":false,"rootDir":"./src","scriptPreprocessor":"../../babel-jest","testEnvironment":"node"},"scripts":{"test":"../../packages/jest-cli/bin/jest.js"},"bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@13.3.0-alpha.4eb0c908","_shasum":"a6a40efaaa3ff005e9f2934a8c53e92bec6a273f","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"cpojer","email":"christoph.pojer@gmail.com"},"dist":{"shasum":"a6a40efaaa3ff005e9f2934a8c53e92bec6a273f","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-13.3.0-alpha.4eb0c908.tgz","integrity":"sha512-B+G4CCWmalogBLcN9s4sLERWkzb1lZphF1pyNzVijYB/9XtZQfCDWETRkXoT0OZni8FF0e0+i65jIPAXBe0GDg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFuOtF6C8Xh0+Y/xOUQ825rvj3VT1XQRxdKGgMFEH+mKAiEAmwkJmh6aul2aWpHrkVwjd0gGRCBlYTw8G+XAEAt7bvQ="}]},"maintainers":[{"name":"cpojer","email":"christoph.pojer@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/jest-diff-13.3.0-alpha.4eb0c908.tgz_1468231476715_0.5884559403639287"},"directories":{}},"13.3.0-alpha.ffc7404b":{"name":"jest-diff","version":"13.3.0-alpha.ffc7404b","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git"},"license":"BSD-3-Clause","main":"build/index.js","dependencies":{"chalk":"^1.1.3","diff":"^2.2.3","pretty-format":"^3.5.0"},"jest":{"automock":false,"rootDir":"./src","scriptPreprocessor":"../../babel-jest","testEnvironment":"node"},"scripts":{"test":"../../packages/jest-cli/bin/jest.js"},"bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@13.3.0-alpha.ffc7404b","_shasum":"27ea245a1e6d5bfab7a4768698f51fe93780a44e","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"cpojer","email":"christoph.pojer@gmail.com"},"dist":{"shasum":"27ea245a1e6d5bfab7a4768698f51fe93780a44e","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-13.3.0-alpha.ffc7404b.tgz","integrity":"sha512-SuDPHONmyVjonzI2wlsuwtD+Y+VGpCRXCj9F74ezc706Ew6rh2gMHoCC6mn0P40X3zey+NtVFntkWn151qbRyA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDYZeLTZ0tZ98ola0F0EsK8hGg8lpesPxfRm4kFd5DQIwIgW8cF5KjxivEvG9+UKPtcX69VN5Dk9E6B8rHjhV3xK9c="}]},"maintainers":[{"name":"cpojer","email":"christoph.pojer@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/jest-diff-13.3.0-alpha.ffc7404b.tgz_1468232414852_0.9446603199467063"},"directories":{}},"13.3.0-alpha.8b48d59e":{"name":"jest-diff","version":"13.3.0-alpha.8b48d59e","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git"},"license":"BSD-3-Clause","main":"build/index.js","dependencies":{"chalk":"^1.1.3","diff":"^2.2.3","jest-matcher-utils":"^13.3.0-alpha.8b48d59e","pretty-format":"^3.5.0"},"jest":{"automock":false,"rootDir":"./src","scriptPreprocessor":"../../babel-jest","testEnvironment":"node"},"scripts":{"test":"../../packages/jest-cli/bin/jest.js"},"bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@13.3.0-alpha.8b48d59e","_shasum":"80d382588071b7ba0a876aabaa9cd418b3c3d599","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"cpojer","email":"christoph.pojer@gmail.com"},"dist":{"shasum":"80d382588071b7ba0a876aabaa9cd418b3c3d599","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-13.3.0-alpha.8b48d59e.tgz","integrity":"sha512-fBZNVIWbqTdfZQrrBLBicUWi8cWLVlrwKtgxvPq8bG7nsIXyFQko+ulv0bexb6PJXa6S941wZdRACABxrii1Vw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEgM2b0b+s86KMX5pOJjo8uTJ0ObWLvMzg45LdoQKbf8AiBTuWDO10ctj24mPnCr/VmMHhcZP1apouzgctHYCL6xoQ=="}]},"maintainers":[{"name":"cpojer","email":"christoph.pojer@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/jest-diff-13.3.0-alpha.8b48d59e.tgz_1468390450364_0.5475258650258183"},"directories":{}},"13.3.0-alpha.g8b48d59":{"name":"jest-diff","version":"13.3.0-alpha.g8b48d59","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git"},"license":"BSD-3-Clause","main":"build/index.js","dependencies":{"chalk":"^1.1.3","diff":"^2.2.3","jest-matcher-utils":"^13.3.0-alpha.g8b48d59","pretty-format":"^3.5.0"},"jest":{"automock":false,"rootDir":"./src","scriptPreprocessor":"../../babel-jest","testEnvironment":"node"},"scripts":{"test":"../../packages/jest-cli/bin/jest.js"},"bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@13.3.0-alpha.g8b48d59","_shasum":"5d50961cff72935c3b8df20c5396cfa38dbc62b6","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"cpojer","email":"christoph.pojer@gmail.com"},"dist":{"shasum":"5d50961cff72935c3b8df20c5396cfa38dbc62b6","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-13.3.0-alpha.g8b48d59.tgz","integrity":"sha512-Jx5j9f/fiqy//cFG1x8xEqJ6Ao/yvdMbonKXB3ox4lrEhMrlipocu32qn8gl4zfhf7uFBEnTZcTieQKJNwe99w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC3ubKbXyIoYtxzb67TpvUINxcIHYXitwrLO6vzdFcNVwIhAPMtuQTz5N3hUv7feieIgSt9Oljj3yM27nA0e3P7dQ7Z"}]},"maintainers":[{"name":"cpojer","email":"christoph.pojer@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/jest-diff-13.3.0-alpha.g8b48d59.tgz_1468391982556_0.6428313886281103"},"directories":{}},"13.4.0-alpha.d2632006":{"name":"jest-diff","version":"13.4.0-alpha.d2632006","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git"},"license":"BSD-3-Clause","main":"build/index.js","dependencies":{"chalk":"^1.1.3","diff":"^2.2.3","jest-matcher-utils":"^13.4.0-alpha.d2632006","pretty-format":"^3.5.0"},"jest":{"automock":false,"rootDir":"./src","scriptPreprocessor":"../../babel-jest","testEnvironment":"node"},"scripts":{"test":"../../packages/jest-cli/bin/jest.js"},"bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@13.4.0-alpha.d2632006","_shasum":"735a17ee9c5930d96a33f45ff72fbdadea2d8808","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"cpojer","email":"christoph.pojer@gmail.com"},"dist":{"shasum":"735a17ee9c5930d96a33f45ff72fbdadea2d8808","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-13.4.0-alpha.d2632006.tgz","integrity":"sha512-G424XEiehTj8waOPc7w1XO64K6OJW1Kh3RL37IM9sPj5PBkcq6NBxbJJbSIXPY4v8LiwZxV50TXcBiH36/5ySw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCI4ivlbswQp27j24pRL4xgauXJQAZoKAc1g7rmz6HWewIgE0am72cMysUS1vzUvbjayzydgl5Q2VE2nWPELeHCwKc="}]},"maintainers":[{"name":"cpojer","email":"christoph.pojer@gmail.com"},{"name":"dmitriiabramov","email":"dmitrii@rheia.us"},{"name":"fb","email":"opensource+npm@fb.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/jest-diff-13.4.0-alpha.d2632006.tgz_1469609835250_0.9690095586702228"},"directories":{}},"14.0.0":{"name":"jest-diff","version":"14.0.0","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git"},"license":"BSD-3-Clause","main":"build/index.js","dependencies":{"chalk":"^1.1.3","diff":"^2.2.3","jest-matcher-utils":"^14.0.0","pretty-format":"^3.5.0"},"jest":{"automock":false,"rootDir":"./src","scriptPreprocessor":"../../babel-jest","testEnvironment":"node"},"scripts":{"test":"../../packages/jest-cli/bin/jest.js"},"bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@14.0.0","_shasum":"64d844eb325a59b37e5ddb5354aa00a5f4fc7bb3","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"cpojer","email":"christoph.pojer@gmail.com"},"dist":{"shasum":"64d844eb325a59b37e5ddb5354aa00a5f4fc7bb3","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-14.0.0.tgz","integrity":"sha512-d2Sskb9n28jRG29hOKtdq2bS27LNx5u3H9YlzTUe4j7kG4jjXwgeNbzMZIR440KSsfd0Z+zLgOW1gsMAQ2OGOQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGB2SwgYPZJfzzFos24JehTeokpqgi/Ga9cxGz4IsBS/AiEAjCm6UAz4YGTSUOFihzutLou/OVOabtDy8KQxbexmFzk="}]},"maintainers":[{"name":"cpojer","email":"christoph.pojer@gmail.com"},{"name":"dmitriiabramov","email":"dmitrii@rheia.us"},{"name":"fb","email":"opensource+npm@fb.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/jest-diff-14.0.0.tgz_1469610879859_0.7479993184097111"},"directories":{}},"14.2.0-alpha.ca8bfb6e":{"name":"jest-diff","version":"14.2.0-alpha.ca8bfb6e","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git"},"license":"BSD-3-Clause","main":"build/index.js","dependencies":{"chalk":"^1.1.3","diff":"^2.2.3","jest-matcher-utils":"^14.2.0-alpha.ca8bfb6e","pretty-format":"^3.5.0"},"scripts":{"test":"../../packages/jest-cli/bin/jest.js"},"bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@14.2.0-alpha.ca8bfb6e","_shasum":"dc1ac84b21147a62ed5a18d0af1c51479aa4da33","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"cpojer","email":"christoph.pojer@gmail.com"},"dist":{"shasum":"dc1ac84b21147a62ed5a18d0af1c51479aa4da33","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-14.2.0-alpha.ca8bfb6e.tgz","integrity":"sha512-m9jct88o+G8aXk7HT46yleDR4AQydlrQjeSMH65d8yZXRTo21JyWBUYyA/26Xzhloml9nAicMzU4V1mkC/4mWw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCMEqw6K/diImyBoDGGR/oukwkUs+LOLwYKPlpqkgISzAIhAMtHnkn5U/NRkLG1/5fRHJVVNvVm7FJ/AKj81ByQVNiu"}]},"maintainers":[{"name":"cpojer","email":"christoph.pojer@gmail.com"},{"name":"dmitriiabramov","email":"dmitrii@rheia.us"},{"name":"fb","email":"opensource+npm@fb.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/jest-diff-14.2.0-alpha.ca8bfb6e.tgz_1471287277213_0.5393466448877007"},"directories":{}},"14.2.1-alpha.e21d71a4":{"name":"jest-diff","version":"14.2.1-alpha.e21d71a4","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git"},"license":"BSD-3-Clause","main":"build/index.js","dependencies":{"chalk":"^1.1.3","diff":"^2.2.3","jest-matcher-utils":"^14.2.1-alpha.e21d71a4","pretty-format":"^3.5.0"},"scripts":{"test":"../../packages/jest-cli/bin/jest.js"},"bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@14.2.1-alpha.e21d71a4","_shasum":"039456f0e105a6eca204669f9fc595d2eb628817","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"cpojer","email":"christoph.pojer@gmail.com"},"dist":{"shasum":"039456f0e105a6eca204669f9fc595d2eb628817","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-14.2.1-alpha.e21d71a4.tgz","integrity":"sha512-KHsyaNfckk1Aa/DwTo/Mp9EgGYICkGTD2lCZ7TF4LZy23eLxE612LOIwZJp2xQu7WJvffEzp9PN0L/ef9qRY2g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDDWL+6GG4J5wFRJA5c6RkI5W0t8lW07Nw7xnPIzsMt9gIhANHz+VB7j3KkPcAwUq09gFG3A9JMSDzr7xhK80qnB4zE"}]},"maintainers":[{"name":"cpojer","email":"christoph.pojer@gmail.com"},{"name":"dmitriiabramov","email":"dmitrii@rheia.us"},{"name":"fb","email":"opensource+npm@fb.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/jest-diff-14.2.1-alpha.e21d71a4.tgz_1471382317572_0.12908074096776545"},"directories":{}},"14.2.2-alpha.22bd3c33":{"name":"jest-diff","version":"14.2.2-alpha.22bd3c33","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git"},"license":"BSD-3-Clause","main":"build/index.js","dependencies":{"chalk":"^1.1.3","diff":"^2.2.3","jest-matcher-utils":"^14.2.2-alpha.22bd3c33","pretty-format":"^3.5.0"},"scripts":{"test":"../../packages/jest-cli/bin/jest.js"},"bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@14.2.2-alpha.22bd3c33","_shasum":"8915cb10933ab5a36eb7a0ef16704ba2877b0723","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"cpojer","email":"christoph.pojer@gmail.com"},"dist":{"shasum":"8915cb10933ab5a36eb7a0ef16704ba2877b0723","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-14.2.2-alpha.22bd3c33.tgz","integrity":"sha512-XHCLfrQ9pMvmBmnqMpMrSptB60uJSibyztkghn3ycFSYgOklfJB2/B5WC3GwgiEOL+D0FduAf+qJJPCUWPwR5Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGh6/zMDLzmn0Mqpik8A5nIvB4P4E+ypjUCjEOdFk7hWAiBihzRTFtadzQ3QJaM+2tth0/NkTgwJlm0TcyvJNPMANA=="}]},"maintainers":[{"name":"cpojer","email":"christoph.pojer@gmail.com"},{"name":"dmitriiabramov","email":"dmitrii@rheia.us"},{"name":"fb","email":"opensource+npm@fb.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/jest-diff-14.2.2-alpha.22bd3c33.tgz_1471388093628_0.37720046914182603"},"directories":{}},"14.3.0-alpha.d13c163e":{"name":"jest-diff","version":"14.3.0-alpha.d13c163e","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git"},"license":"BSD-3-Clause","main":"build/index.js","dependencies":{"chalk":"^1.1.3","diff":"^2.2.3","jest-matcher-utils":"^14.3.0-alpha.d13c163e","pretty-format":"^3.6.0"},"scripts":{"test":"../../packages/jest-cli/bin/jest.js"},"bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@14.3.0-alpha.d13c163e","_shasum":"434e44333947db9d8d09ed874b118a4fb72c32fc","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"cpojer","email":"christoph.pojer@gmail.com"},"dist":{"shasum":"434e44333947db9d8d09ed874b118a4fb72c32fc","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-14.3.0-alpha.d13c163e.tgz","integrity":"sha512-0KV/yDZH9O9OIZGZb9bMxZWO4vxZ+CByRrKvC5L6daWu8/dIssvU5wkNFuzBzKjRrmj39P5dBhDMApgTZexrEg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCKVxjDNYPcVFHbc3yUKiv/qemXaFMNu3huOeaR5YjqUwIhALq1ooC7/0aV4u5hIlI9qvpP8ygpBvnduhhtCFZzVisf"}]},"maintainers":[{"name":"cpojer","email":"christoph.pojer@gmail.com"},{"name":"dmitriiabramov","email":"dmitrii@rheia.us"},{"name":"fb","email":"opensource+npm@fb.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/jest-diff-14.3.0-alpha.d13c163e.tgz_1471552527331_0.6296086006332189"},"directories":{}},"14.3.1-alpha.410cb91a":{"name":"jest-diff","version":"14.3.1-alpha.410cb91a","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git"},"license":"BSD-3-Clause","main":"build/index.js","dependencies":{"chalk":"^1.1.3","diff":"^3.0.0","jest-matcher-utils":"^14.3.1-alpha.410cb91a","pretty-format":"^3.6.0"},"scripts":{"test":"../../packages/jest-cli/bin/jest.js"},"bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@14.3.1-alpha.410cb91a","_shasum":"593afe9fff868a81e7f314f5a45e76e75e45d495","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.5.0","_npmUser":{"name":"cpojer","email":"christoph.pojer@gmail.com"},"dist":{"shasum":"593afe9fff868a81e7f314f5a45e76e75e45d495","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-14.3.1-alpha.410cb91a.tgz","integrity":"sha512-ZglswYKBFVRFHpB8ovVrX8pJ9tA77P7VZv4Rdw8ho7aCvgsn0aAc7F/JRYfm0RFD5AuthNir02ntIpusHwRwKw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG/ph7oTa75ZKhsbmzFo8aaKHQGB0YdqBfZwvdhllvXlAiEA4rfI0O+fJHPW3VQEwlvdMmoCFYu3UXz2pewPegOL4Ug="}]},"maintainers":[{"name":"cpojer","email":"christoph.pojer@gmail.com"},{"name":"dmitriiabramov","email":"dmitrii@rheia.us"},{"name":"fb","email":"opensource+npm@fb.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/jest-diff-14.3.1-alpha.410cb91a.tgz_1472593930439_0.6419078458566219"},"directories":{}},"14.3.2-alpha.83c25417":{"name":"jest-diff","version":"14.3.2-alpha.83c25417","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git"},"license":"BSD-3-Clause","main":"build/index.js","dependencies":{"chalk":"^1.1.3","diff":"^3.0.0","jest-matcher-utils":"^14.3.2-alpha.83c25417","pretty-format":"^3.6.0"},"scripts":{"test":"../../packages/jest-cli/bin/jest.js"},"bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@14.3.2-alpha.83c25417","_shasum":"1567643293c10aeed2faa3fbbcf7361c5d32e995","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.5.0","_npmUser":{"name":"cpojer","email":"christoph.pojer@gmail.com"},"dist":{"shasum":"1567643293c10aeed2faa3fbbcf7361c5d32e995","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-14.3.2-alpha.83c25417.tgz","integrity":"sha512-/YM+n1JuYDYq2wVZsUTjoHSrTNmkZXNSqKL4cXAoN1ZM7LAtUNakJgssc6ms6/m23jA58GwTmjiFABc7HUkOKQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCGb1UqdP1AV28j9/flKI6yrKyrzUHN4JUsYNmEbn9ZLAIhAPeGPpcyYg500426E2nx8iFBjZQucV+WJ62raCSvQx2/"}]},"maintainers":[{"name":"cpojer","email":"christoph.pojer@gmail.com"},{"name":"dmitriiabramov","email":"dmitrii@rheia.us"},{"name":"fb","email":"opensource+npm@fb.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/jest-diff-14.3.2-alpha.83c25417.tgz_1472669438257_0.7180662958417088"},"directories":{}},"15.0.0":{"name":"jest-diff","version":"15.0.0","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git"},"license":"BSD-3-Clause","main":"build/index.js","dependencies":{"chalk":"^1.1.3","diff":"^3.0.0","jest-matcher-utils":"^15.0.0","pretty-format":"^3.6.0"},"scripts":{"test":"../../packages/jest-cli/bin/jest.js"},"bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@15.0.0","_shasum":"73f9873f2261028a137a08d7a32dac43adebd12e","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.5.0","_npmUser":{"name":"cpojer","email":"christoph.pojer@gmail.com"},"dist":{"shasum":"73f9873f2261028a137a08d7a32dac43adebd12e","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-15.0.0.tgz","integrity":"sha512-1eXQAni9TiZgjf4NpVDl6BfwBnQ4MONUHDbmM7MAeUxgpqSPHjNy41VwqhqhgSY1lW2Ftp7UZljvyRsnTbn61A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBAWOwQD7xVVopcDfw2VyEHUKLkQ4YYD1ekhu65yt8+tAiEAklQWHyA5WyOXpoFRVySLv/MavuMZNsZ5x3kTf2Urd6A="}]},"maintainers":[{"name":"cpojer","email":"christoph.pojer@gmail.com"},{"name":"dmitriiabramov","email":"dmitrii@rheia.us"},{"name":"fb","email":"opensource+npm@fb.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/jest-diff-15.0.0.tgz_1472669731455_0.530269917100668"},"directories":{}},"15.0.1":{"name":"jest-diff","version":"15.0.1","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git"},"license":"BSD-3-Clause","main":"build/index.js","dependencies":{"chalk":"^1.1.3","diff":"^3.0.0","jest-matcher-utils":"^15.0.1","pretty-format":"^3.6.0"},"scripts":{"test":"../../packages/jest-cli/bin/jest.js"},"bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@15.0.1","_shasum":"213f1f586bcb05cc358f4a263e6591498b66af28","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.5.0","_npmUser":{"name":"cpojer","email":"christoph.pojer@gmail.com"},"dist":{"shasum":"213f1f586bcb05cc358f4a263e6591498b66af28","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-15.0.1.tgz","integrity":"sha512-rKE2RNS5CZL5CXGanpO6dI1HO/LVsaElghCmO1DKU/0nvz4USNmMG6AwSbgkcc18GsI2uu0w9/Enre2Bhtw7cw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHrBqBnhqXjiXpTiZ2eZ3Ha8vXR7vbDvRdM9UXtx2f0GAiEArBOypSLZ2rp//oQB7zH9w1e5V6h924o7GnVkhBtF5Yc="}]},"maintainers":[{"name":"cpojer","email":"christoph.pojer@gmail.com"},{"name":"dmitriiabramov","email":"dmitrii@rheia.us"},{"name":"fb","email":"opensource+npm@fb.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/jest-diff-15.0.1.tgz_1472691644555_0.42178160860203207"},"directories":{}},"15.1.0":{"name":"jest-diff","version":"15.1.0","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git"},"license":"BSD-3-Clause","main":"build/index.js","dependencies":{"chalk":"^1.1.3","diff":"^3.0.0","jest-matcher-utils":"^15.1.0","pretty-format":"^3.7.0"},"scripts":{"test":"../../packages/jest-cli/bin/jest.js"},"bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@15.1.0","_shasum":"bda40ad77c6beec1e6b8b5e46e3bbaed6e81c9f4","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.5.0","_npmUser":{"name":"cpojer","email":"christoph.pojer@gmail.com"},"dist":{"shasum":"bda40ad77c6beec1e6b8b5e46e3bbaed6e81c9f4","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-15.1.0.tgz","integrity":"sha512-mbpuuF/jQzsHJ+kyb/Xhi1KsZllOAhXj4a5Aq1ZauVt4ixcH7B14o4DkBqjQqXUQfqJIWhisWhiWxNDTR8eBbA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD3n2MJXCOUTVYRTP3f/ya38CQMDYdwl7uenMsyuzi37gIgSjatmpl2euzY6rxrUR+pM4ktOIN7BeTOo5R1B0D0Sxs="}]},"maintainers":[{"name":"cpojer","email":"christoph.pojer@gmail.com"},{"name":"dmitriiabramov","email":"dmitrii@rheia.us"},{"name":"fb","email":"opensource+npm@fb.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/jest-diff-15.1.0.tgz_1472747257507_0.8342880040872842"},"directories":{}},"15.2.0-alpha.c681f819":{"name":"jest-diff","version":"15.2.0-alpha.c681f819","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git"},"license":"BSD-3-Clause","main":"build/index.js","dependencies":{"chalk":"^1.1.3","diff":"^3.0.0","jest-matcher-utils":"^15.2.0-alpha.c681f819","pretty-format":"~4.2.1"},"scripts":{"test":"../../packages/jest-cli/bin/jest.js"},"bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@15.2.0-alpha.c681f819","_shasum":"c5db11c386a73c0ca206740d3686c329200b79d9","_from":".","_npmVersion":"3.10.7","_nodeVersion":"6.7.0","_npmUser":{"name":"cpojer","email":"christoph.pojer@gmail.com"},"dist":{"shasum":"c5db11c386a73c0ca206740d3686c329200b79d9","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-15.2.0-alpha.c681f819.tgz","integrity":"sha512-gn/L3xp2N+Km+Ebpx1RhxvVHX4TgxhFKS8lZ1Zo7eMhqPeDXr4bLySVA91FxgK+xGsPQ0Uis5l/FQXCGlS6bMA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAp9SakCWnV7nllEn+UCsMDOdn8Q88W1S6dTerAK5sU9AiBoBpnNzXPb2RwCktBWmGDavkZtuqtqAeLR2PHXNxYnZg=="}]},"maintainers":[{"name":"cpojer","email":"christoph.pojer@gmail.com"},{"name":"dmitriiabramov","email":"dmitrii@rheia.us"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"gaearon","email":"dan.abramov@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/jest-diff-15.2.0-alpha.c681f819.tgz_1475139740196_0.5434404842089862"},"directories":{}},"16.0.0":{"name":"jest-diff","version":"16.0.0","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git"},"license":"BSD-3-Clause","main":"build/index.js","dependencies":{"chalk":"^1.1.3","diff":"^3.0.0","jest-matcher-utils":"^16.0.0","pretty-format":"~4.2.1"},"scripts":{"test":"../../packages/jest-cli/bin/jest.js"},"bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@16.0.0","_shasum":"4a5d13b1e36c5b8020d5d9e69639e486a675ce14","_from":".","_npmVersion":"3.10.7","_nodeVersion":"6.7.0","_npmUser":{"name":"cpojer","email":"christoph.pojer@gmail.com"},"dist":{"shasum":"4a5d13b1e36c5b8020d5d9e69639e486a675ce14","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-16.0.0.tgz","integrity":"sha512-SW8bPpT/xG+ZEheA6jl09RxLZm5TIEriMpdMbAD3zWxAk9QD4mPb2XiLg/on7idSCxEA2NWa0svwlR1DaSoRYA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDeiazAySii3FMOJqe45ae9Zg8nG9c6QWThdNykpWSV+QIgMbpA/BKZ7rHAgGz+jJfHfMyNYRBdPnFd7PAa3rAe/Tw="}]},"maintainers":[{"name":"cpojer","email":"christoph.pojer@gmail.com"},{"name":"dmitriiabramov","email":"dmitrii@rheia.us"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"gaearon","email":"dan.abramov@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/jest-diff-16.0.0.tgz_1475483912621_0.992596052819863"},"directories":{}},"16.1.0-alpha.691b0e22":{"name":"jest-diff","version":"16.1.0-alpha.691b0e22","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git"},"license":"BSD-3-Clause","main":"build/index.js","dependencies":{"chalk":"^1.1.3","diff":"^3.0.0","jest-matcher-utils":"^16.1.0-alpha.691b0e22","pretty-format":"~4.2.1"},"scripts":{"test":"../../packages/jest-cli/bin/jest.js"},"bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@16.1.0-alpha.691b0e22","_shasum":"e13d9c0612906f879940cf0d1b3b785090072f3e","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"cpojer","email":"christoph.pojer@gmail.com"},"dist":{"shasum":"e13d9c0612906f879940cf0d1b3b785090072f3e","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-16.1.0-alpha.691b0e22.tgz","integrity":"sha512-DDpriYxUz2fmihLIjwNOW2R/yPOVLBbavJ9OcPEy59rhspLXLUXIJQCAYNusWG/lLN3Ed10Cf1Zam6hnyK9Wxg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF12cq6sIzVYx64athFR5J7+USkNrM0HgTkTc4t0c9uvAiAkpdAuYmKORVF2pkJ19Bi3Sn9oFy3g6MNKOEZp8/u+Cg=="}]},"maintainers":[{"name":"cpojer","email":"christoph.pojer@gmail.com"},{"name":"dmitriiabramov","email":"dmitrii@rheia.us"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"gaearon","email":"dan.abramov@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/jest-diff-16.1.0-alpha.691b0e22.tgz_1477639649752_0.6316034537740052"},"directories":{}},"17.0.0":{"name":"jest-diff","version":"17.0.0","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git"},"license":"BSD-3-Clause","main":"build/index.js","dependencies":{"chalk":"^1.1.3","diff":"^3.0.0","jest-matcher-utils":"^17.0.0","pretty-format":"~4.2.1"},"scripts":{"test":"../../packages/jest-cli/bin/jest.js"},"bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@17.0.0","_shasum":"d3288d6f28b9db4f78f93e718af5e61cd636bd71","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"cpojer","email":"christoph.pojer@gmail.com"},"dist":{"shasum":"d3288d6f28b9db4f78f93e718af5e61cd636bd71","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-17.0.0.tgz","integrity":"sha512-NGRAuBUFkp2mDn5oBmNezJ31pxMIZRjYSmX9xSnDLtc8j7JGj+IT1pL3bBHoeZOWyDV+qB2cN16aBaJhqnUDLw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB+E5SX0tXCv/EYl0ZGhLFRREEYJwhBab0/mJ6MMowiBAiBa3xFa3lneGgJSRGc3H97tC3wM7cx5N39HOBIWfkghKA=="}]},"maintainers":[{"name":"cpojer","email":"christoph.pojer@gmail.com"},{"name":"dmitriiabramov","email":"dmitrii@rheia.us"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"gaearon","email":"dan.abramov@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/jest-diff-17.0.0.tgz_1478614343722_0.47637021308764815"},"directories":{}},"17.0.1":{"name":"jest-diff","version":"17.0.1","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git"},"license":"BSD-3-Clause","main":"build/index.js","dependencies":{"chalk":"^1.1.3","diff":"^3.0.0","jest-matcher-utils":"^17.0.1","pretty-format":"~4.2.1"},"scripts":{"test":"../../packages/jest-cli/bin/jest.js"},"bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@17.0.1","_shasum":"08a62b429b31fed9f141190232919a09d0a381cc","_from":".","_npmVersion":"3.10.9","_nodeVersion":"7.1.0","_npmUser":{"name":"cpojer","email":"christoph.pojer@gmail.com"},"dist":{"shasum":"08a62b429b31fed9f141190232919a09d0a381cc","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-17.0.1.tgz","integrity":"sha512-VQNuIcyOCpcEr++ZP580PzzY56F8/VfzFxpan6Un07JzvS9BYwF+9pcTTHi7A4XuUytU9khF3OhHNsd+xzzS9Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFdERxA9SSMIxFeJtdKZFsvDH5yqX+cp1UoDN3qgBJQnAiAfOXSq/5c4q6VtLZOSXslgnAxADnC/e5/LMRHnRIr+Yw=="}]},"maintainers":[{"name":"cpojer","email":"christoph.pojer@gmail.com"},{"name":"dmitriiabramov","email":"dmitrii@rheia.us"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"gaearon","email":"dan.abramov@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/jest-diff-17.0.1.tgz_1479103645416_0.0487803271971643"},"directories":{}},"17.0.2":{"name":"jest-diff","version":"17.0.2","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git"},"license":"BSD-3-Clause","main":"build/index.js","dependencies":{"chalk":"^1.1.3","diff":"^3.0.0","jest-matcher-utils":"^17.0.1","pretty-format":"~4.2.1"},"scripts":{"test":"../../packages/jest-cli/bin/jest.js"},"bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@17.0.2","_shasum":"c120236dc3e7c2c43077686852696a798e2d5e10","_from":".","_npmVersion":"3.10.9","_nodeVersion":"7.1.0","_npmUser":{"name":"cpojer","email":"christoph.pojer@gmail.com"},"dist":{"shasum":"c120236dc3e7c2c43077686852696a798e2d5e10","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-17.0.2.tgz","integrity":"sha512-HU0XiLxN6ep9MvLsvPAkvSmYBReAhwB79ddOxsCKgwNTQn0JVJAUWVTfQ7zS1GSRFrwZlGPihLqLqifREuZlOw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEckvoFyNO9v+f3vsMjBCwtwmoE8u8BmldYv/df9KFO9AiEA3LeaB6emyIhTX0/Bgq7Lq+75YY3JrbnIhIqqN98rYa0="}]},"maintainers":[{"name":"cpojer","email":"christoph.pojer@gmail.com"},{"name":"dmitriiabramov","email":"dmitrii@rheia.us"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"gaearon","email":"dan.abramov@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/jest-diff-17.0.2.tgz_1479170361433_0.5570447049103677"},"directories":{}},"17.0.3":{"name":"jest-diff","version":"17.0.3","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git"},"license":"BSD-3-Clause","main":"build/index.js","dependencies":{"chalk":"^1.1.3","diff":"^3.0.0","jest-matcher-utils":"^17.0.3","pretty-format":"~4.2.1"},"scripts":{"test":"../../packages/jest-cli/bin/jest.js"},"bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@17.0.3","_shasum":"8fb31efab3b314d7b61b7b66b0bdea617ef1c02f","_from":".","_npmVersion":"3.10.9","_nodeVersion":"7.1.0","_npmUser":{"name":"cpojer","email":"christoph.pojer@gmail.com"},"dist":{"shasum":"8fb31efab3b314d7b61b7b66b0bdea617ef1c02f","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-17.0.3.tgz","integrity":"sha512-O9ccAaQH0XQDZkSEPwUAdK89ENpEBU3JyItq8tKzrRFaVPq1ZfUuENqo3ZeygHwA1Lu3/PNaXcJIQUPH+1gY6g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC5vCmNG2mgimUTxYMUCX74YCopx3/f/+x8NoQFj3pzvQIhANwJt/rBMMvMDMg/cu9rD18wJ7z12nk6+kKdCIM5Ur9P"}]},"maintainers":[{"name":"cpojer","email":"christoph.pojer@gmail.com"},{"name":"dmitriiabramov","email":"dmitrii@rheia.us"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"gaearon","email":"dan.abramov@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/jest-diff-17.0.3.tgz_1479368470950_0.627910036360845"},"directories":{}},"18.0.0":{"name":"jest-diff","version":"18.0.0","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git"},"license":"BSD-3-Clause","main":"build/index.js","dependencies":{"chalk":"^1.1.3","diff":"^3.0.0","jest-matcher-utils":"^18.0.0","pretty-format":"^18.0.0"},"scripts":{"test":"../../packages/jest-cli/bin/jest.js"},"bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@18.0.0","_shasum":"f24b6f8bedaae425548511ab45edbfb9fee930b7","_from":".","_npmVersion":"3.10.9","_nodeVersion":"7.2.0","_npmUser":{"name":"cpojer","email":"christoph.pojer@gmail.com"},"dist":{"shasum":"f24b6f8bedaae425548511ab45edbfb9fee930b7","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-18.0.0.tgz","integrity":"sha512-7XQazict3qgZWzK3gPvBvdk9QQOeCP6x90R6hmGPEGLNfSy8K6w6pv4bokiRjR8a9L1LL6cntKn9vDFMiRdfmA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDWj1qldLM4hJAipWk2qD3w1lUjOs4HT4/cxHsiMc4qaAiEAr1jcf+Ckg+xE1F1z61cAvTl1YZC7NpsQmONCNAe6gx4="}]},"maintainers":[{"name":"cpojer","email":"christoph.pojer@gmail.com"},{"name":"dmitriiabramov","email":"dmitrii@rheia.us"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"gaearon","email":"dan.abramov@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/jest-diff-18.0.0.tgz_1481801064613_0.830934300320223"},"directories":{}},"18.1.0":{"name":"jest-diff","version":"18.1.0","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git"},"license":"BSD-3-Clause","main":"build/index.js","dependencies":{"chalk":"^1.1.3","diff":"^3.0.0","jest-matcher-utils":"^18.1.0","pretty-format":"^18.1.0"},"scripts":{"test":"../../packages/jest-cli/bin/jest.js"},"bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@18.1.0","_shasum":"4ff79e74dd988c139195b365dc65d87f606f4803","_from":".","_npmVersion":"3.10.10","_nodeVersion":"7.3.0","_npmUser":{"name":"cpojer","email":"christoph.pojer@gmail.com"},"dist":{"shasum":"4ff79e74dd988c139195b365dc65d87f606f4803","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-18.1.0.tgz","integrity":"sha512-PzsL3/aLCOfJyvF6cqp6N6kzkImNfDXAkWIU/9y84WPPTf82Dnhkxex/LD/3nR6Z38VBrsefGTQLSF4yoPlMgg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC3i8EORA1b2EgafZP+L4AIGAlvAgbWHnHdtgUyRj/bVAIgTRdZbmLzSjOPMIuudIacgLPK8mRtm8/cdCFgUtfhREo="}]},"maintainers":[{"name":"cpojer","email":"christoph.pojer@gmail.com"},{"name":"dmitriiabramov","email":"dmitrii@rheia.us"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"gaearon","email":"dan.abramov@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/jest-diff-18.1.0.tgz_1482976044128_0.35565089248120785"},"directories":{}},"18.5.0-alpha.7da3df39":{"name":"jest-diff","version":"18.5.0-alpha.7da3df39","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git"},"license":"BSD-3-Clause","main":"build/index.js","dependencies":{"chalk":"^1.1.3","diff":"^3.0.0","jest-matcher-utils":"^18.5.0-alpha.7da3df39","pretty-format":"^18.5.0-alpha.7da3df39"},"bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@18.5.0-alpha.7da3df39","scripts":{},"_shasum":"3d2016d01f223109f2e36f019ddf6e7a62ea6610","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.5.0","_npmUser":{"name":"cpojer","email":"christoph.pojer@gmail.com"},"dist":{"shasum":"3d2016d01f223109f2e36f019ddf6e7a62ea6610","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-18.5.0-alpha.7da3df39.tgz","integrity":"sha512-YlA9Q3f46BgWKWOFgfIoqKZM0aQc1SZAz+7O0EFORbZt01whhKeV27lsAswBchl8PKvbwyr6aQerCxjqdHbnzg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAwMNT37j+A2PTDpj3jOp3660/IZg3eREA/S4QzBUvOVAiBTG1ZTmbqaCG1VC+UMVFFj4XlLCRPWiRw8nvfvZtZp1A=="}]},"maintainers":[{"name":"cpojer","email":"christoph.pojer@gmail.com"},{"name":"dmitriiabramov","email":"dmitrii@rheia.us"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"gaearon","email":"dan.abramov@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/jest-diff-18.5.0-alpha.7da3df39.tgz_1487350655123_0.10877503827214241"},"directories":{}},"19.0.0":{"name":"jest-diff","version":"19.0.0","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git"},"license":"BSD-3-Clause","main":"build/index.js","dependencies":{"chalk":"^1.1.3","diff":"^3.0.0","jest-matcher-utils":"^19.0.0","pretty-format":"^19.0.0"},"bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@19.0.0","scripts":{},"_shasum":"d1563cfc56c8b60232988fbc05d4d16ed90f063c","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.5.0","_npmUser":{"name":"cpojer","email":"christoph.pojer@gmail.com"},"dist":{"shasum":"d1563cfc56c8b60232988fbc05d4d16ed90f063c","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-19.0.0.tgz","integrity":"sha512-0NtS21+ptKMvqNMbnuceZsu26oyD+pqjq1qNEp38ZSe4vEbU2QMGcLdywhgVIHeiDOJoJr6wAtjvU6DhgIm8Aw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCkQKtUZYCG9MUDJ+UC5H9DojOrI5yDg+2Y5wJaphLKlwIgc6k0XI0f5M3oP4TcnEmh5H2rWhUbYXmSjccQqA96ILY="}]},"maintainers":[{"name":"cpojer","email":"christoph.pojer@gmail.com"},{"name":"dmitriiabramov","email":"dmitrii@rheia.us"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"gaearon","email":"dan.abramov@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/jest-diff-19.0.0.tgz_1487669414745_0.2734249944332987"},"directories":{}},"19.1.0-alpha.eed82034":{"name":"jest-diff","version":"19.1.0-alpha.eed82034","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git"},"license":"BSD-3-Clause","main":"build/index.js","dependencies":{"chalk":"^1.1.3","diff":"^3.2.0","jest-matcher-utils":"^19.1.0-alpha.eed82034","pretty-format":"^19.1.0-alpha.eed82034"},"bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@19.1.0-alpha.eed82034","scripts":{},"_shasum":"c39b9bbf19d8436facca7547683a1c3d3d4a07cf","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.7.2","_npmUser":{"name":"cpojer","email":"christoph.pojer@gmail.com"},"dist":{"shasum":"c39b9bbf19d8436facca7547683a1c3d3d4a07cf","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-19.1.0-alpha.eed82034.tgz","integrity":"sha512-TVlmMVWieMifsm8EjK81cg89sJdxqzeg8orGlBSqkcFjCaCK/axgIkY1GHCPyXKgKWBr1b3Zn76jB4HiUZ5cNQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDsr7R8dT1BHNJlnSXANALSCs6rWClW03+iLzZsqD5SvAIhAKWknP78UFirOLcmKLyrGTmr6LXd6JQjCRrjH0cI7bKR"}]},"maintainers":[{"name":"cpojer","email":"christoph.pojer@gmail.com"},{"name":"dmitriiabramov","email":"dmitrii@rheia.us"},{"name":"fb","email":"opensource+npm@fb.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/jest-diff-19.1.0-alpha.eed82034.tgz_1489711290974_0.9287720117717981"},"directories":{}},"19.2.0-alpha.993e64af":{"name":"jest-diff","version":"19.2.0-alpha.993e64af","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git"},"license":"BSD-3-Clause","main":"build/index.js","browser":"build-es5/index.js","dependencies":{"chalk":"^1.1.3","diff":"^3.2.0","jest-matcher-utils":"^19.2.0-alpha.993e64af","pretty-format":"^19.2.0-alpha.993e64af"},"bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@19.2.0-alpha.993e64af","scripts":{},"_shasum":"68564dcaa1fb0faa9e6c8c34c6596155f9d7ae47","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.9.0","_npmUser":{"name":"cpojer","email":"christoph.pojer@gmail.com"},"dist":{"shasum":"68564dcaa1fb0faa9e6c8c34c6596155f9d7ae47","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-19.2.0-alpha.993e64af.tgz","integrity":"sha512-m+HN2GyLZ2mwaRMsCoAxFKYNag6QuiaXUKvRPmXmKQ57xGcrg8U+fBLweAHKdfyBt3Uf1rAlkZ81NzWXh4PHFw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEu6qRXyyk7L3JoEiOBBS1y65cyw0fKM0nrZSTCzr7xpAiA9a022Dr1krsedLpOZAr3iCb1eAL3iZqePQq5fvpNEkw=="}]},"maintainers":[{"name":"cpojer","email":"christoph.pojer@gmail.com"},{"name":"dmitriiabramov","email":"dmitrii@rheia.us"},{"name":"fb","email":"opensource+npm@fb.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/jest-diff-19.2.0-alpha.993e64af.tgz_1493912301297_0.05559243727475405"},"directories":{}},"19.3.0-alpha.85402254":{"name":"jest-diff","version":"19.3.0-alpha.85402254","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git"},"license":"BSD-3-Clause","main":"build/index.js","browser":"build-es5/index.js","dependencies":{"chalk":"^1.1.3","diff":"^3.2.0","jest-matcher-utils":"^19.3.0-alpha.85402254","pretty-format":"^19.3.0-alpha.85402254"},"bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@19.3.0-alpha.85402254","scripts":{},"_shasum":"c5c7854d9c24b2370767561a413ee834f5e4cdb9","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.9.0","_npmUser":{"name":"cpojer","email":"christoph.pojer@gmail.com"},"dist":{"shasum":"c5c7854d9c24b2370767561a413ee834f5e4cdb9","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-19.3.0-alpha.85402254.tgz","integrity":"sha512-69oSDcogkoEPpOpf72xQ1o0RBt5a+y4/+gzQhqk6/upF3w4It0X3WmB+PnO3NER/lyXf85o128QavnJG27xsHw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCJIvDvIn+v0qMcB+kpygniaw2v/b3DWQqd+0luF2weiAIhAJrqT7zgPKTIp2NjkC2lsqQMtfmLI2q1XAfwDBGksh/r"}]},"maintainers":[{"name":"cpojer","email":"christoph.pojer@gmail.com"},{"name":"dmitriiabramov","email":"dmitrii@rheia.us"},{"name":"fb","email":"opensource+npm@fb.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/jest-diff-19.3.0-alpha.85402254.tgz_1493984911140_0.5197549557778984"},"directories":{}},"20.0.0":{"name":"jest-diff","version":"20.0.0","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git"},"license":"BSD-3-Clause","main":"build/index.js","browser":"build-es5/index.js","dependencies":{"chalk":"^1.1.3","diff":"^3.2.0","jest-matcher-utils":"^20.0.0","pretty-format":"^20.0.0"},"bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@20.0.0","scripts":{},"_shasum":"d6e9190b57e0333c6706ef28d62b1cb23042d7eb","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.9.0","_npmUser":{"name":"cpojer","email":"christoph.pojer@gmail.com"},"dist":{"shasum":"d6e9190b57e0333c6706ef28d62b1cb23042d7eb","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-20.0.0.tgz","integrity":"sha512-eVYrnOmaQdbmStR8EdeN8lJV5brvQV8AD5DzU2PoeuFC4f9wxU+i7wbCKHzuOPaJXehn5mbiw0lT5P0odCGR3g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHCaCT+u6uWKy7T8M0TFbRoHcAoTex3b0OKEi8ljm/wAAiA5o7ZikYh2jFC4Cjlmz63IvY6L/iTzl9M5dlDNsCsTcg=="}]},"maintainers":[{"name":"cpojer","email":"christoph.pojer@gmail.com"},{"name":"dmitriiabramov","email":"dmitrii@rheia.us"},{"name":"fb","email":"opensource+npm@fb.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/jest-diff-20.0.0.tgz_1494073987098_0.9159368758555502"},"directories":{}},"20.0.1":{"name":"jest-diff","version":"20.0.1","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git"},"license":"BSD-3-Clause","main":"build/index.js","browser":"build-es5/index.js","dependencies":{"chalk":"^1.1.3","diff":"^3.2.0","jest-matcher-utils":"^20.0.1","pretty-format":"^20.0.1"},"bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@20.0.1","scripts":{},"_shasum":"2567c80c324243328321386f8871a28ec9d350ac","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.9.0","_npmUser":{"name":"cpojer","email":"christoph.pojer@gmail.com"},"dist":{"shasum":"2567c80c324243328321386f8871a28ec9d350ac","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-20.0.1.tgz","integrity":"sha512-rA3G6LPgJ4Y4Vpz2PK0i86T737HOa6m4kFTDVqMegzyMAne5ADrbEW3nr2zd9AKO6tm7ugVYcd7BE0yNQO1ucw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEex2VW6I6jpwGruGJ+yU7EAg7a3zj2DRXbU7N1yeCPQAiAe3OF9B+PdCPkr0Hr1xT+QghKNcWBEpRwzuZGJ6hfKWQ=="}]},"maintainers":[{"name":"cpojer","email":"christoph.pojer@gmail.com"},{"name":"dmitriiabramov","email":"dmitrii@rheia.us"},{"name":"fb","email":"opensource+npm@fb.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/jest-diff-20.0.1.tgz_1494499818784_0.772909571416676"},"directories":{}},"20.0.2":{"name":"jest-diff","version":"20.0.2","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git"},"license":"BSD-3-Clause","main":"build/index.js","browser":"build-es5/index.js","dependencies":{"chalk":"^1.1.3","diff":"^3.2.0","jest-matcher-utils":"^20.0.2","pretty-format":"^20.0.2"},"bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@20.0.2","scripts":{},"_shasum":"d9af833cd4737749b5fb322d777b4119bd0526dc","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.10.0","_npmUser":{"name":"cpojer","email":"christoph.pojer@gmail.com"},"dist":{"shasum":"d9af833cd4737749b5fb322d777b4119bd0526dc","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-20.0.2.tgz","integrity":"sha512-LeX8ktUSMWSEttKF2wmeQy4kXl/h6KuI7AJ8GrKTfSrcy8ty67KZ3Ct8S4YwcN8gi7EAiTteMFIOK4e3viP6gQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA1JZJK5/nOnuMoDQcPYg52hSYjnpKWFe9VWyE3ScK6SAiEAliJzuAjF7svkuKK42xR5i3vnFcwefovw5yVaL+3jf64="}]},"maintainers":[{"name":"cpojer","email":"christoph.pojer@gmail.com"},{"name":"dmitriiabramov","email":"dmitrii@rheia.us"},{"name":"fb","email":"opensource+npm@fb.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/jest-diff-20.0.2.tgz_1495018232614_0.3363597390707582"},"directories":{}},"20.0.3":{"name":"jest-diff","version":"20.0.3","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git"},"license":"BSD-3-Clause","main":"build/index.js","browser":"build-es5/index.js","dependencies":{"chalk":"^1.1.3","diff":"^3.2.0","jest-matcher-utils":"^20.0.3","pretty-format":"^20.0.3"},"bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@20.0.3","scripts":{},"_shasum":"81f288fd9e675f0fb23c75f1c2b19445fe586617","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.10.0","_npmUser":{"name":"cpojer","email":"christoph.pojer@gmail.com"},"dist":{"shasum":"81f288fd9e675f0fb23c75f1c2b19445fe586617","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-20.0.3.tgz","integrity":"sha512-DITOXlTg0HDL9QKiVpf82vDu/nva60/V9xp056zjnAYpHVTZlJgfLMIHJmgPCoSu0+7n7QUAfxyFUHUGyHLFSw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCmI2H8uV5TkNoi/7M/g+o4JonnOPj7Jlh7VY70utUkAQIhALQ6Xu0CBS/a3G+yrjAyU1eYf+Eb4gDD4XITh4v7//0A"}]},"maintainers":[{"name":"cpojer","email":"christoph.pojer@gmail.com"},{"name":"dmitriiabramov","email":"dmitrii@rheia.us"},{"name":"fb","email":"opensource+npm@fb.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/jest-diff-20.0.3.tgz_1495018642521_0.913252454251051"},"directories":{}},"20.1.0-alpha.1":{"name":"jest-diff","version":"20.1.0-alpha.1","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git"},"license":"BSD-3-Clause","main":"build/index.js","dependencies":{"chalk":"^1.1.3","diff":"^3.2.0","jest-get-type":"^20.1.0-alpha.1","jest-matcher-utils":"^20.1.0-alpha.1","pretty-format":"^20.1.0-alpha.1"},"bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@20.1.0-alpha.1","_npmVersion":"5.0.3","_nodeVersion":"8.1.2","_npmUser":{"name":"cpojer","email":"christoph.pojer@gmail.com"},"dist":{"integrity":"sha512-qYo43sANJiYjVj4TD6WxKQWJf6fmS4sW00+oecxws7tjmAeVBABLHX36FUDTI8MMaq6d7QDQCN1FImc2GZB81w==","shasum":"0acc355c032291e5650963ed69758964e0273c3e","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-20.1.0-alpha.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGjkSX6BlBlBlPVdB1i2gPws1fGjmN+HnzYT695wx0ZZAiEAkXPHoX4ODsth6arQXJwKgdQfQEM730PUEBk1NrtutfA="}]},"maintainers":[{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"opensource+npm@fb.com","name":"fb"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff-20.1.0-alpha.1.tgz_1498644989555_0.024019527481868863"},"directories":{}},"20.1.0-alpha.2":{"name":"jest-diff","version":"20.1.0-alpha.2","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git"},"license":"BSD-3-Clause","main":"build/index.js","dependencies":{"chalk":"^1.1.3","diff":"^3.2.0","jest-get-type":"^20.1.0-alpha.2","jest-matcher-utils":"^20.1.0-alpha.2","pretty-format":"^20.1.0-alpha.2"},"bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@20.1.0-alpha.2","_npmVersion":"5.0.3","_nodeVersion":"8.1.2","_npmUser":{"name":"cpojer","email":"christoph.pojer@gmail.com"},"dist":{"integrity":"sha512-UHrsg+YSeQ9DCp51Qnyu1JH8djfbv1w2QcFrBhLzGkdLqAZ8+mprTZWOSTkMoPYs7J9bDPOKEE1yGGSESKTWSQ==","shasum":"d3e1aff76a5b985bc5cea1d48a24878245e619ec","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-20.1.0-alpha.2.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHMRPaSPYLiCPbimNvaJPTzKBwYdjbX1bAZqHyXWOv2oAiANxHIkE1FspRt90eENw14tqP1xFqneQ/EIxf7pNDBhbw=="}]},"maintainers":[{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"opensource+npm@fb.com","name":"fb"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff-20.1.0-alpha.2.tgz_1498754216277_0.8813537729438394"},"directories":{}},"20.1.0-alpha.3":{"name":"jest-diff","version":"20.1.0-alpha.3","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git"},"license":"BSD-3-Clause","main":"build/index.js","dependencies":{"chalk":"^1.1.3","diff":"^3.2.0","jest-get-type":"^20.1.0-alpha.3","jest-matcher-utils":"^20.1.0-alpha.3","pretty-format":"^20.1.0-alpha.3"},"bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@20.1.0-alpha.3","_npmVersion":"5.0.3","_nodeVersion":"8.1.2","_npmUser":{"name":"cpojer","email":"christoph.pojer@gmail.com"},"dist":{"integrity":"sha512-UlEP3JFHZQ8icmuLbqxyeQqnBKobtr5bgBi8wNtI21g4lCJ7+RozLQviMt3Kf5WzCzTo8FFBRFfhqoVRlYaWDQ==","shasum":"54179c22b1c55039f89d652de90416ba1b88145a","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-20.1.0-alpha.3.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDrRx4wBe9fQ9hWwR5TrXNy/2Z8vIpwPnLgLdNorsy/lwIhAKEo9fRb6G9D4dg16FzmwYvo3X4KcMD9GxP+z6Dsi3t+"}]},"maintainers":[{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"opensource+npm@fb.com","name":"fb"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff-20.1.0-alpha.3.tgz_1498832463049_0.6561903674155474"},"directories":{}},"20.1.0-beta.1":{"name":"jest-diff","version":"20.1.0-beta.1","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git"},"license":"BSD-3-Clause","main":"build/index.js","dependencies":{"chalk":"^2.0.1","diff":"^3.2.0","jest-get-type":"^20.1.0-beta.1","jest-matcher-utils":"^20.1.0-beta.1","pretty-format":"^20.1.0-beta.1"},"bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@20.1.0-beta.1","_npmVersion":"5.0.3","_nodeVersion":"8.1.4","_npmUser":{"name":"cpojer","email":"christoph.pojer@gmail.com"},"dist":{"integrity":"sha512-cLZCGyAfHHAZM/3OzOsVg0+m0OC7MR5h0YsAmKNuk8HNPDc+ZyRguQDzGa/xlJwFGnBRyN3A4+BZTO6I8eAHbw==","shasum":"7d0a4a1051d238175b2fa79771410f24f2744ab5","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-20.1.0-beta.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCZ7ZEK7T4HwayAVVIAngaWwSqQcf4WWNL/MJ+sfIWLjAIhAKy2HX9+3x/wqqLWKobzQHF0q9b08y58eWl5WBdEzccm"}]},"maintainers":[{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"opensource+npm@fb.com","name":"fb"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff-20.1.0-beta.1.tgz_1499942033023_0.31698113959282637"},"directories":{}},"20.1.0-chi.1":{"name":"jest-diff","version":"20.1.0-chi.1","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git"},"license":"BSD-3-Clause","main":"build/index.js","dependencies":{"chalk":"^2.0.1","diff":"^3.2.0","jest-get-type":"^20.1.0-chi.1","jest-matcher-utils":"^20.1.0-chi.1","pretty-format":"^20.1.0-chi.1"},"bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@20.1.0-chi.1","_npmVersion":"5.0.3","_nodeVersion":"8.1.4","_npmUser":{"name":"cpojer","email":"christoph.pojer@gmail.com"},"dist":{"integrity":"sha512-pFk44zNs7VSrNF37+8dRn7bO92KW8bw7G5uyu5ZoOE6b3M0eisVPKE/i94PvY+dYgCl3FcOw092aQbkbHca09A==","shasum":"8e6b4222fc1f5a01f44b2ea46db0bcbb3c56e331","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-20.1.0-chi.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCuynZ5MbgrpLB0s3t5IaQpZvNTirAMwSfSWt2XIqNiIgIhAIbvJshN8FCPr0Sn47kD5OteMLiaOlIWHfIpYW2Ih58K"}]},"maintainers":[{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"opensource+npm@fb.com","name":"fb"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff-20.1.0-chi.1.tgz_1500027916838_0.9851810364052653"},"directories":{}},"20.1.0-delta.1":{"name":"jest-diff","version":"20.1.0-delta.1","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git"},"license":"BSD-3-Clause","main":"build/index.js","dependencies":{"chalk":"^2.0.1","diff":"^3.2.0","jest-get-type":"20.1.0-delta.1","jest-matcher-utils":"20.1.0-delta.1","pretty-format":"20.1.0-delta.1"},"bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@20.1.0-delta.1","_npmVersion":"5.0.3","_nodeVersion":"8.1.4","_npmUser":{"name":"cpojer","email":"christoph.pojer@gmail.com"},"dist":{"integrity":"sha512-pazX5tojrFEVYctVnGTxQX+RcAs6gWs2CQecj1//69PhCcbqVVhxqLZ3NchlDeXog5vfFgK68bBVTt7ILV2d0Q==","shasum":"d64d9fcfff4bdfca87dd53f66e3db91ea8faa280","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-20.1.0-delta.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGpNqJ5IeqR9UM+IZiVyAHZv+HOl3EuqnuOb7Xp6LP+wAiBpKW8ezVoiB5ikk0bctkwqWY8Iawgyb5oN+jQHZfEo+g=="}]},"maintainers":[{"email":"jean@lauliac.com","name":"jeanlauliac"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"opensource+npm@fb.com","name":"fb"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff-20.1.0-delta.1.tgz_1500367624431_0.2966021210886538"},"directories":{}},"20.1.0-delta.2":{"name":"jest-diff","version":"20.1.0-delta.2","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git"},"license":"BSD-3-Clause","main":"build/index.js","dependencies":{"chalk":"^2.0.1","diff":"^3.2.0","jest-get-type":"20.1.0-delta.2","jest-matcher-utils":"20.1.0-delta.2","pretty-format":"20.1.0-delta.2"},"bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@20.1.0-delta.2","_npmVersion":"5.0.3","_nodeVersion":"8.1.4","_npmUser":{"name":"cpojer","email":"christoph.pojer@gmail.com"},"dist":{"integrity":"sha512-rwJHE1EMrdEsI/vYJwrfY7N9nmU8mZZctzzKS8VnoDBXFTZ/yvkPhRbr0Gt7gV58tzn3020uxGiP3wdofqRN4A==","shasum":"67da5f7928afa704ae6ec1eee2f9e4ecc0ebfc18","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-20.1.0-delta.2.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCPyMtAHKeMG7/3DE1RTjl4KdyJXVwkt1uE6hEC5E3UvwIhAKIi3wRkl/20+r7EG8zD4t33P6ARz0g/q4/blmhTW1aK"}]},"maintainers":[{"email":"jean@lauliac.com","name":"jeanlauliac"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"opensource+npm@fb.com","name":"fb"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff-20.1.0-delta.2.tgz_1500469014274_0.22248608199879527"},"directories":{}},"20.1.0-delta.3":{"name":"jest-diff","version":"20.1.0-delta.3","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git"},"license":"BSD-3-Clause","main":"build/index.js","dependencies":{"chalk":"^2.0.1","diff":"^3.2.0","jest-get-type":"20.1.0-delta.3","jest-matcher-utils":"20.1.0-delta.3","pretty-format":"20.1.0-delta.3"},"bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@20.1.0-delta.3","_npmVersion":"5.3.0","_nodeVersion":"8.2.1","_npmUser":{"name":"cpojer","email":"christoph.pojer@gmail.com"},"dist":{"integrity":"sha512-SEQNNdgKUC/ULsDJkFFVg8eL/lGnzWQIhjT2dwuNBXskx1vILBnsYKMs1HjgaiSTf1hwCK5ZKQiP/Kx7OXXxPA==","shasum":"5581c70ec1e9a57c9e34f45702aaeb21b88fc9e8","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-20.1.0-delta.3.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC/HkRdR2ki1QM1rSLmzOwWBVY4N98UxncWEynVCEqBagIhAI2boMs3LxOmVBS1y+SZguz/PCmA7fdEwyBfihUzbz+M"}]},"maintainers":[{"email":"jean@lauliac.com","name":"jeanlauliac"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"opensource+npm@fb.com","name":"fb"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff-20.1.0-delta.3.tgz_1501020750678_0.1666752730961889"},"directories":{}},"20.1.0-delta.4":{"name":"jest-diff","version":"20.1.0-delta.4","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git"},"license":"BSD-3-Clause","main":"build/index.js","dependencies":{"chalk":"^2.0.1","diff":"^3.2.0","jest-get-type":"20.1.0-delta.4","jest-matcher-utils":"20.1.0-delta.4","pretty-format":"20.1.0-delta.4"},"bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@20.1.0-delta.4","_npmVersion":"5.3.0","_nodeVersion":"8.2.1","_npmUser":{"name":"cpojer","email":"christoph.pojer@gmail.com"},"dist":{"integrity":"sha512-0NyQBYnQAukCz0IlzqxcEfl8tSJgF+Z8fVV5jchV55gM+f7G46gs2/KEUjzACL1hbrrFL4jnoqpO+W5pUqxwlA==","shasum":"9f754f578ea7b1607cbd54ffad4f1f8f14a3143a","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-20.1.0-delta.4.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICWInN38uhwVkr5bCFsiPpOJCghFqHHFc6uG8gFBJT9oAiB6+WtWyblmSnjsK/AKmO23bwdgysm6qLJDvWuWy0e2mw=="}]},"maintainers":[{"email":"jean@lauliac.com","name":"jeanlauliac"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"opensource+npm@fb.com","name":"fb"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff-20.1.0-delta.4.tgz_1501175955475_0.23885034304112196"},"directories":{}},"20.1.0-delta.5":{"name":"jest-diff","version":"20.1.0-delta.5","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git"},"license":"BSD-3-Clause","main":"build/index.js","dependencies":{"chalk":"^2.0.1","diff":"^3.2.0","jest-get-type":"20.1.0-delta.5","jest-matcher-utils":"20.1.0-delta.5","pretty-format":"20.1.0-delta.5"},"bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@20.1.0-delta.5","_npmVersion":"5.3.0","_nodeVersion":"8.0.0","_npmUser":{"name":"aaronabramov","email":"aaron@abramov.io"},"dist":{"integrity":"sha512-oIEKuhHuklGlhx3kaMzDhMRMKadg8nZ45gigguNYaironNqnMQQCFy/MCThyNvGQ4Mr0Hvv+6r/59m5I3zauUw==","shasum":"6efd45298e9962f900cc0c7a6cacbf431d36286e","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-20.1.0-delta.5.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCrmuq0EKugXHbZeAKV17sXrP4xqedEvUK8B2AbCaK+ewIhAOrcTn5u4zu7x4AB9raYiOCjxRkd/RRs7pZKRksLGmBB"}]},"maintainers":[{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"jean@lauliac.com","name":"jeanlauliac"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"opensource+npm@fb.com","name":"fb"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff-20.1.0-delta.5.tgz_1501605220778_0.6681966311298311"},"directories":{}},"20.1.0-echo.1":{"name":"jest-diff","version":"20.1.0-echo.1","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git"},"license":"BSD-3-Clause","main":"build/index.js","dependencies":{"chalk":"^2.0.1","diff":"^3.2.0","jest-get-type":"20.1.0-echo.1","jest-matcher-utils":"20.1.0-echo.1","pretty-format":"20.1.0-echo.1"},"bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@20.1.0-echo.1","_npmVersion":"5.0.3","_nodeVersion":"8.1.4","_npmUser":{"name":"mjesun","email":"mjesun@hotmail.com"},"dist":{"integrity":"sha512-dsQYbiVBSdPvYs78RBCzFe+Gh6HRVNl1k8QfxWxcDsQVjK8ZduYMegpAn18n+Iwa+0uj3ikF4PjgnXp4hyxjrw==","shasum":"7306889a65d58a86e5b6e3027f985c446d46c511","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-20.1.0-echo.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEzRqTPJ7IVzFx3GJciDEVheuUUjZfneQWgcnbJ+ud25AiBD5zZiVqxgU6ym+SqAdbvIfyEDtnNl9PyY7NcZceNcpg=="}]},"maintainers":[{"email":"mjesun@hotmail.com","name":"mjesun"},{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"jean@lauliac.com","name":"jeanlauliac"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"opensource+npm@fb.com","name":"fb"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff-20.1.0-echo.1.tgz_1502211008271_0.06512163626030087"},"directories":{}},"21.0.0-alpha.1":{"name":"jest-diff","version":"21.0.0-alpha.1","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git"},"license":"BSD-3-Clause","main":"build/index.js","dependencies":{"chalk":"^2.0.1","diff":"^3.2.0","jest-get-type":"21.0.0-alpha.1","jest-matcher-utils":"21.0.0-alpha.1","pretty-format":"21.0.0-alpha.1"},"bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@21.0.0-alpha.1","_npmVersion":"5.3.0","_nodeVersion":"8.2.1","_npmUser":{"name":"cpojer","email":"christoph.pojer@gmail.com"},"dist":{"integrity":"sha512-rgrpc4pQ+9D9ADNCEp2xNpkPSWZVTIBc4SOWh7C1vDmmGFvo3srw9DR64dadN0RMPAFs6EbYz4QN2+EwmcjEHA==","shasum":"944849c683c58f32ff489814de185da158d30ec1","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-21.0.0-alpha.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCbrGkhmjYmTtj5RgGV68KRQyny7ofUNf4KXRqGHoIofAIgHnmNZP2/VEMDgtky4HXxvdOsRSDfe4iDW4VCabfq0eU="}]},"maintainers":[{"email":"mjesun@hotmail.com","name":"mjesun"},{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"jean@lauliac.com","name":"jeanlauliac"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"opensource+npm@fb.com","name":"fb"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff-21.0.0-alpha.1.tgz_1502446455168_0.7317020723130554"},"directories":{}},"21.0.0-alpha.2":{"name":"jest-diff","version":"21.0.0-alpha.2","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git"},"license":"BSD-3-Clause","main":"build/index.js","dependencies":{"chalk":"^2.0.1","diff":"^3.2.0","jest-get-type":"21.0.0-alpha.2","jest-matcher-utils":"21.0.0-alpha.2","pretty-format":"21.0.0-alpha.2"},"bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@21.0.0-alpha.2","_npmVersion":"5.3.0","_nodeVersion":"8.0.0","_npmUser":{"name":"aaronabramov","email":"aaron@abramov.io"},"dist":{"integrity":"sha512-NGhPgN2nSd+bPSXg7rKe8dV4Y/IJmnzMgCxfhMcgNlI7TInOXWCkIWjywozZAMDssJ/RzswnhmDptqiuYkn7Mw==","shasum":"ce99e45f5096c8576c95b2b1d0a0a359172196b5","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-21.0.0-alpha.2.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDHp/To8Rf0seG+2vzCn5c2rPKoCLdMu6f6t5blDLAU8wIhAIscJU1g8hIUKobZEDLTDOmXdyLoxHOMb2OalZmfdbad"}]},"maintainers":[{"email":"mjesun@hotmail.com","name":"mjesun"},{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"jean@lauliac.com","name":"jeanlauliac"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"opensource+npm@fb.com","name":"fb"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff-21.0.0-alpha.2.tgz_1503353212085_0.2387872440740466"},"directories":{}},"21.0.0-beta.1":{"name":"jest-diff","version":"21.0.0-beta.1","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git"},"license":"BSD-3-Clause","main":"build/index.js","dependencies":{"chalk":"^2.0.1","diff":"^3.2.0","jest-get-type":"21.0.0-beta.1","pretty-format":"21.0.0-beta.1"},"bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@21.0.0-beta.1","_npmVersion":"5.3.0","_nodeVersion":"8.4.0","_npmUser":{"name":"cpojer","email":"christoph.pojer@gmail.com"},"dist":{"integrity":"sha512-8kSp9GwnzbR7OwqhRnGz/bgHnTS5486UvJHTLM3GJb40ECCaA7O20+gCN+ETO2k+O9dIJyzU5I7S8UyrUlT7XA==","shasum":"b111809e497e836237f0e1730753519dee2afcda","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-21.0.0-beta.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDDiPdprrmdmJh+dqwwmkSgezCcoD7Wo1gv96jd9eUIvAiEAnjI2fHu+WBonYV1AD38xbuam3CW+0i5R4/YkpVttcls="}]},"maintainers":[{"email":"mjesun@hotmail.com","name":"mjesun"},{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"jean@lauliac.com","name":"jeanlauliac"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"opensource+npm@fb.com","name":"fb"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff-21.0.0-beta.1.tgz_1503610041191_0.49046503682620823"},"directories":{}},"21.0.0":{"name":"jest-diff","version":"21.0.0","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git"},"license":"BSD-3-Clause","main":"build/index.js","dependencies":{"chalk":"^2.0.1","diff":"^3.2.0","jest-get-type":"^21.0.0","pretty-format":"^21.0.0"},"bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@21.0.0","_npmVersion":"5.3.0","_nodeVersion":"8.4.0","_npmUser":{"name":"cpojer","email":"christoph.pojer@gmail.com"},"dist":{"integrity":"sha512-AsMhrVl9aJtz5E0fvNgXD2abNc4BLT3AfUZGzw2WBlPOLjnQ9VsnByI86d63fNRMZJQTE870YDLZNQtbat1IPw==","shasum":"b996ba2963a783125e6bc59fd5623bce67df7f17","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-21.0.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBvNFN0BsKg99M+cu4bEYMdbHw63iEsloXqWbLIMZ6nlAiA241xe/1zxB7fQ77LPRhh80syyd1L3GVuUooEKmPAqiQ=="}]},"maintainers":[{"email":"mjesun@hotmail.com","name":"mjesun"},{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"jean@lauliac.com","name":"jeanlauliac"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"opensource+npm@fb.com","name":"fb"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff-21.0.0.tgz_1504537318623_0.3083536683116108"},"directories":{}},"21.0.2":{"name":"jest-diff","version":"21.0.2","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git"},"license":"BSD-3-Clause","main":"build/index.js","dependencies":{"chalk":"^2.0.1","diff":"^3.2.0","jest-get-type":"^21.0.2","pretty-format":"^21.0.2"},"bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@21.0.2","_npmVersion":"5.3.0","_nodeVersion":"8.4.0","_npmUser":{"name":"cpojer","email":"christoph.pojer@gmail.com"},"dist":{"integrity":"sha512-k/OO6n00pzAA5MY0ri4H3hdQF0mE3RKp562Ses/+tqiDRPrCiugBGcx9D3QodywEyXCZxJKS91PhKPQrAFwn9w==","shasum":"751014f36ad5d505f6affce5542fde0e444ee50a","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-21.0.2.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCWYuywUlr2T5MEyEs6OsWKMV/VC1iQpQWWuyhQ6T8EZwIgORczj+JSj2jzLghe7cxPz75VbJ0JyN8ETcyF4621WXA="}]},"maintainers":[{"email":"mjesun@hotmail.com","name":"mjesun"},{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"jean@lauliac.com","name":"jeanlauliac"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"opensource+npm@fb.com","name":"fb"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff-21.0.2.tgz_1504880376702_0.4688218696974218"},"directories":{}},"21.1.0":{"name":"jest-diff","version":"21.1.0","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git"},"license":"BSD-3-Clause","main":"build/index.js","dependencies":{"chalk":"^2.0.1","diff":"^3.2.0","jest-get-type":"^21.0.2","pretty-format":"^21.1.0"},"bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@21.1.0","_npmVersion":"5.3.0","_nodeVersion":"8.4.0","_npmUser":{"name":"cpojer","email":"christoph.pojer@gmail.com"},"dist":{"integrity":"sha512-mGJinKrAB6hj1cpO1FOuDCfgILozGvYi4Zpk8GrxmNgdd9/9llIA2Xzu5879Fa4ayh7lb9ej2NdvuNLMCjbrMg==","shasum":"ca4c9d40272a6901dcde6c4c0bb2f568c363cc42","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-21.1.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDG4+MAb7rr9sqO2Qt6L6xSZijWP/Sc+U0gnOENgKMhMAIhAPjaF8m3CnkFKqdizL6Re+7MNAozJQrEWIiHNYH+9Snr"}]},"maintainers":[{"email":"mjesun@hotmail.com","name":"mjesun"},{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"jean@lauliac.com","name":"jeanlauliac"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"opensource+npm@fb.com","name":"fb"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff-21.1.0.tgz_1505353820783_0.13466286659240723"},"directories":{}},"21.2.0":{"name":"jest-diff","version":"21.2.0","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git"},"license":"MIT","main":"build/index.js","dependencies":{"chalk":"^2.0.1","diff":"^3.2.0","jest-get-type":"^21.2.0","pretty-format":"^21.2.0"},"bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@21.2.0","_npmVersion":"5.3.0","_nodeVersion":"8.4.0","_npmUser":{"name":"cpojer","email":"christoph.pojer@gmail.com"},"dist":{"integrity":"sha512-BVohnFHIzcu/gUmJRC45r3bl3up//vCRtxy+lc8k6dTJMlBAbpaTAL6IkZBAJUaALoEBPFj6XUtdqb23dsVmDA==","shasum":"14fa840d498c8f8a07465877dee5a9f0a48d6e74","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-21.2.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFnSLLZzarN4shcrY8Co/VMC/oZVdGJrbExtMBZPFMRBAiEA3jKnkC3fxgvCr/60zsC2ZG9vLwkzbKM53yNcxGjgiLU="}]},"maintainers":[{"email":"mjesun@hotmail.com","name":"mjesun"},{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"jean@lauliac.com","name":"jeanlauliac"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"opensource+npm@fb.com","name":"fb"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff-21.2.0.tgz_1506457342657_0.6224466301500797"},"directories":{}},"21.2.1":{"name":"jest-diff","version":"21.2.1","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git"},"license":"MIT","main":"build/index.js","dependencies":{"chalk":"^2.0.1","diff":"^3.2.0","jest-get-type":"^21.2.0","pretty-format":"^21.2.1"},"bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@21.2.1","_npmVersion":"5.3.0","_nodeVersion":"8.4.0","_npmUser":{"name":"cpojer","email":"christoph.pojer@gmail.com"},"dist":{"integrity":"sha512-E5fu6r7PvvPr5qAWE1RaUwIh/k6Zx/3OOkZ4rk5dBJkEWRrUuSgbMt2EO8IUTPTd6DOqU3LW6uTIwX5FRvXoFA==","shasum":"46cccb6cab2d02ce98bc314011764bb95b065b4f","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-21.2.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCeJhB+131QBxbv8e0jqYzKIPvsPeOj9oKE1j/J24qDEQIhAJXXV+yjDQXPHncjToT6ZivYCtYomIipmQ7h/k5LCqXh"}]},"maintainers":[{"email":"mjesun@hotmail.com","name":"mjesun"},{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"jean@lauliac.com","name":"jeanlauliac"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"opensource+npm@fb.com","name":"fb"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff-21.2.1.tgz_1506550507086_0.3704337552189827"},"directories":{}},"21.3.0-alpha.1e3ee68e":{"name":"jest-diff","version":"21.3.0-alpha.1e3ee68e","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git"},"license":"MIT","main":"build/index.js","dependencies":{"chalk":"^2.0.1","diff":"^3.2.0","jest-get-type":"21.3.0-alpha.1e3ee68e","pretty-format":"21.3.0-alpha.1e3ee68e"},"bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@21.3.0-alpha.1e3ee68e","_npmVersion":"5.3.0","_nodeVersion":"8.4.0","_npmUser":{"name":"cpojer","email":"christoph.pojer@gmail.com"},"dist":{"integrity":"sha512-XGWUo0wxTbdX7tkDe5OVXIWryu6bgVZV6vH6zoZKGC7OFddpkPdkERC1BimPQsbZRgPBuJrTlpV22uHwS7HL0A==","shasum":"5449b26e04721b111dd94300533d7a081b19b084","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-21.3.0-alpha.1e3ee68e.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCgBNfAmTwUTZDmnzyw4GmEIPscQD52aKSwRg2w8/ZWewIhALfbag+6+9IC0C8ZUMiuVAazxw9Sa7REZ2YG1KLnvsSs"}]},"maintainers":[{"email":"mjesun@hotmail.com","name":"mjesun"},{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"jean@lauliac.com","name":"jeanlauliac"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"opensource+npm@fb.com","name":"fb"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff-21.3.0-alpha.1e3ee68e.tgz_1506608447009_0.47863960498943925"},"directories":{}},"21.3.0-alpha.eff7a1cf":{"name":"jest-diff","version":"21.3.0-alpha.eff7a1cf","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git"},"license":"MIT","main":"build/index.js","dependencies":{"chalk":"^2.0.1","diff":"^3.2.0","jest-get-type":"21.3.0-alpha.eff7a1cf","pretty-format":"21.3.0-alpha.eff7a1cf"},"bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@21.3.0-alpha.eff7a1cf","_npmVersion":"5.3.0","_nodeVersion":"8.4.0","_npmUser":{"name":"cpojer","email":"christoph.pojer@gmail.com"},"dist":{"integrity":"sha512-UUhaL1er7OsCfTBRdzdpPOKISp1OSLQEiobBn0RFAXGW2X8nFU4t3CQsZOG9joGNo566LoJ+2GmwVUfgoq5H3Q==","shasum":"d6b14a5783bb6c93d4d77d3b7aaefd83f01b6381","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-21.3.0-alpha.eff7a1cf.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDIRoDZmKcRFzIybY0avoyNEtkV/RB4OFXSbmg67Dy3KgIgVeL84rBbUKq7jbUJ4icBPaCjH+XjzwwgNTpV5HJYtTg="}]},"maintainers":[{"email":"mjesun@hotmail.com","name":"mjesun"},{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"jean@lauliac.com","name":"jeanlauliac"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"opensource+npm@fb.com","name":"fb"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff-21.3.0-alpha.eff7a1cf.tgz_1506876414272_0.05930129112675786"},"directories":{}},"21.3.0-beta.1":{"name":"jest-diff","version":"21.3.0-beta.1","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git"},"license":"MIT","main":"build/index.js","dependencies":{"chalk":"^2.0.1","diff":"^3.2.0","jest-get-type":"^21.2.0","pretty-format":"21.3.0-beta.1"},"bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@21.3.0-beta.1","_npmVersion":"5.3.0","_nodeVersion":"8.4.0","_npmUser":{"name":"cpojer","email":"christoph.pojer@gmail.com"},"dist":{"integrity":"sha512-2o+I/BTUCZOEelfixkOfeZ9F+8veXLDACtXVTK91ax30m6rYZlx74mYUG/nPAew6UY0mbk2SbL73Yaebbga2XA==","shasum":"557be3eb5814536d59379ce1a1309ab8ed332bd0","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-21.3.0-beta.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD9eVjW3bl6+FmwPS9l9K7jBAPVMg1nVyCbrY8g9/N5JQIgRgasQX4NJ/uMnvIAuqfppS5Hn6GSqHtoLFlk6YJ9QFQ="}]},"maintainers":[{"email":"mjesun@hotmail.com","name":"mjesun"},{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"jean@lauliac.com","name":"jeanlauliac"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"opensource+npm@fb.com","name":"fb"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff-21.3.0-beta.1.tgz_1507114123341_0.01799151091836393"},"directories":{}},"21.3.0-beta.2":{"name":"jest-diff","version":"21.3.0-beta.2","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git"},"license":"MIT","main":"build/index.js","dependencies":{"chalk":"^2.0.1","diff":"^3.2.0","jest-get-type":"21.3.0-beta.2","pretty-format":"21.3.0-beta.2"},"bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@21.3.0-beta.2","_npmVersion":"5.3.0","_nodeVersion":"8.4.0","_npmUser":{"name":"cpojer","email":"christoph.pojer@gmail.com"},"dist":{"integrity":"sha512-RA+xB3sgz/d8a/UoDngZlEQDOJcs8mUdR4q8QlMUdyjjtrCLef/SqKiL4beqYnQg4zgoxyhVCPpd3Dan3xwgTw==","shasum":"99044e21408ba584b587df73752b0dd7e694bc8a","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-21.3.0-beta.2.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCF6eU+PbPjWbXDGY2qwRP6MXxTty+s/df3a+jfPP37xAIhALp+QFFaSookGIZiJGvKUor0sDzezXxGyWrB5GJN3CQ7"}]},"maintainers":[{"email":"mjesun@hotmail.com","name":"mjesun"},{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"jean@lauliac.com","name":"jeanlauliac"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"opensource+npm@fb.com","name":"fb"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff-21.3.0-beta.2.tgz_1507888451563_0.3842589419800788"},"directories":{}},"21.3.0-beta.3":{"name":"jest-diff","version":"21.3.0-beta.3","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git"},"license":"MIT","main":"build/index.js","dependencies":{"chalk":"^2.0.1","diff":"^3.2.0","jest-get-type":"21.3.0-beta.3","pretty-format":"21.3.0-beta.3"},"bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@21.3.0-beta.3","_npmVersion":"5.3.0","_nodeVersion":"8.4.0","_npmUser":{"name":"cpojer","email":"christoph.pojer@gmail.com"},"dist":{"integrity":"sha512-zXvAByhGWE3sJqWeE3QuYWMoC3zbTDt18i6+JmQ+luNpwbjTszYyaRLwd0dJncKQvSBhPx0Yrwv7d+WVVFaLvQ==","shasum":"8b18c75e08ef9ea27ce0cff54e7155804201623e","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-21.3.0-beta.3.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICGkiIDKfYenhQNer783fuBGMAjfowDG8knvp0QEYwYZAiBSQzmQE5J8Rja0IVuITCR47u2hbTy05v4sfCjWZ6V4Ew=="}]},"maintainers":[{"email":"mjesun@hotmail.com","name":"mjesun"},{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"jean@lauliac.com","name":"jeanlauliac"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"opensource+npm@fb.com","name":"fb"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff-21.3.0-beta.3.tgz_1508960049753_0.973062700824812"},"directories":{}},"21.3.0-beta.4":{"name":"jest-diff","version":"21.3.0-beta.4","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git"},"license":"MIT","main":"build/index.js","dependencies":{"chalk":"^2.0.1","diff":"^3.2.0","jest-get-type":"21.3.0-beta.4","pretty-format":"21.3.0-beta.4"},"bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@21.3.0-beta.4","_npmVersion":"5.3.0","_nodeVersion":"8.4.0","_npmUser":{"name":"cpojer","email":"christoph.pojer@gmail.com"},"dist":{"integrity":"sha512-OSWeZPvV12CywFGLL2Hglf63PShf32YTORjQzHsqhK1ZeHcSiGmQMiaBoXpaB++00IyU2gv5Q1e4WI1DOUac1g==","shasum":"75e795e83f6c3368720c2ddd1f0cbed1543c4139","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-21.3.0-beta.4.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDdwEvmoE8Icm5ikTibhvUGEQz7WlReQSjstDeSm0wP5AiEAoEAgbtLhfVD8IeBfJ1Ujl5QnLng/jIRN/SmRiwYW56A="}]},"maintainers":[{"email":"mjesun@hotmail.com","name":"mjesun"},{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"jean@lauliac.com","name":"jeanlauliac"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"opensource+npm@fb.com","name":"fb"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff-21.3.0-beta.4.tgz_1509024424353_0.8559238547459245"},"directories":{}},"21.3.0-beta.5":{"name":"jest-diff","version":"21.3.0-beta.5","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git"},"license":"MIT","main":"build/index.js","dependencies":{"chalk":"^2.0.1","diff":"^3.2.0","jest-get-type":"21.3.0-beta.5","pretty-format":"21.3.0-beta.5"},"bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@21.3.0-beta.5","_npmVersion":"5.3.0","_nodeVersion":"8.4.0","_npmUser":{"name":"cpojer","email":"christoph.pojer@gmail.com"},"dist":{"integrity":"sha512-nb3AWdQN3gfnjFzY51Ip1GrIQlHJtXjSnBmEcoyBSnmtiXZg2ys7kYwbsshoZqO/xYFbrnO1vgo9cd9vYbwG7Q==","shasum":"220ac344aef44aa44fb1c9cea483ba52dc5650dd","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-21.3.0-beta.5.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCjKTRgEku3VFL6ipHxetbmK+ce3GU0p2g5DP1TXaEdrQIgfWZv/tsVwR7wgfm74ynq3TTVn5UKx0F1Qmc9WiNJWYk="}]},"maintainers":[{"email":"mjesun@hotmail.com","name":"mjesun"},{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"jean@lauliac.com","name":"jeanlauliac"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"opensource+npm@fb.com","name":"fb"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff-21.3.0-beta.5.tgz_1509628655711_0.7896721046417952"},"directories":{}},"21.3.0-beta.6":{"name":"jest-diff","version":"21.3.0-beta.6","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git"},"license":"MIT","main":"build/index.js","dependencies":{"chalk":"^2.0.1","diff":"^3.2.0","jest-get-type":"21.3.0-beta.6","pretty-format":"21.3.0-beta.6"},"bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@21.3.0-beta.6","_npmVersion":"5.3.0","_nodeVersion":"8.4.0","_npmUser":{"name":"cpojer","email":"christoph.pojer@gmail.com"},"dist":{"integrity":"sha512-SK3e49NxC0LfxTI3evObdfGP/vifYvkM2F4s1YtvdrujKTlkE635NJH0rzWiGYI8WsaD2CXVSDmA1kcO4wbh2w==","shasum":"1baf31c5c65d2e492169a3dca47f8a028d8fe4c5","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-21.3.0-beta.6.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCW4z0jIJQ+iDSjdjFqMQXwNOhZkZQPWpXR6u2rsSSTQwIgVjXOAlbOtTA32qKlke8YfJLuHtIrXkIxJ4i1Y8OrIzs="}]},"maintainers":[{"email":"mjesun@hotmail.com","name":"mjesun"},{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"jean@lauliac.com","name":"jeanlauliac"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"opensource+npm@fb.com","name":"fb"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff-21.3.0-beta.6.tgz_1509726100059_0.03309592115692794"},"directories":{}},"21.3.0-beta.7":{"name":"jest-diff","version":"21.3.0-beta.7","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git"},"license":"MIT","main":"build/index.js","dependencies":{"chalk":"^2.0.1","diff":"^3.2.0","jest-get-type":"21.3.0-beta.7","pretty-format":"21.3.0-beta.7"},"bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@21.3.0-beta.7","_npmVersion":"5.3.0","_nodeVersion":"8.4.0","_npmUser":{"name":"cpojer","email":"christoph.pojer@gmail.com"},"dist":{"integrity":"sha512-d4EFgsSDebiaMN10NZqG2pMMCiFW4b6dmll+rhRH5RF42y9jKec576QC9gQm0yxzPpK8yc5f2Sx9DRra96fbIg==","shasum":"7055613bf86abcc2dfeee16fc8fb8687d1ee951c","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-21.3.0-beta.7.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHSPByVZhUsWuMbIDdCkJNqbxeswXNEMd8B+Uox8LZ+LAiBsgyOwpdWPykkIvD7V67cAUAg6hmBeGayASIyBLBUAbw=="}]},"maintainers":[{"email":"mjesun@hotmail.com","name":"mjesun"},{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"jean@lauliac.com","name":"jeanlauliac"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"opensource+npm@fb.com","name":"fb"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff-21.3.0-beta.7.tgz_1509961193882_0.5065342963207513"},"directories":{}},"21.3.0-beta.8":{"name":"jest-diff","version":"21.3.0-beta.8","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git"},"license":"MIT","main":"build/index.js","dependencies":{"chalk":"^2.0.1","diff":"^3.2.0","jest-get-type":"21.3.0-beta.8","pretty-format":"21.3.0-beta.8"},"bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@21.3.0-beta.8","_npmVersion":"5.3.0","_nodeVersion":"8.4.0","_npmUser":{"name":"cpojer","email":"christoph.pojer@gmail.com"},"dist":{"integrity":"sha512-EbibyFyN0I/w/Tc0l0kjkGADKeP4c9VKJTIr2gHZvnxI99nMJyDfQtX6B6Q6NHLaUxVYBlU8OplYaq3EvkZqKQ==","shasum":"c900c609bce100a2da00511b602e7c6c500e7b62","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-21.3.0-beta.8.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDIEesai/ySdI5m8udHu35Ep9iWFM5cmKp/iOVBoAlZuwIgN9nQB4E+YanyHu6TDTeZ+YqdsOqdjKDr3AJ22+QokMc="}]},"maintainers":[{"email":"mjesun@hotmail.com","name":"mjesun"},{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"jean@lauliac.com","name":"jeanlauliac"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"opensource+npm@fb.com","name":"fb"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff-21.3.0-beta.8.tgz_1510076630837_0.3250419746618718"},"directories":{}},"21.3.0-beta.9":{"name":"jest-diff","version":"21.3.0-beta.9","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git"},"license":"MIT","main":"build/index.js","dependencies":{"chalk":"^2.0.1","diff":"^3.2.0","jest-get-type":"21.3.0-beta.9","pretty-format":"21.3.0-beta.9"},"bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@21.3.0-beta.9","_npmVersion":"5.5.1","_nodeVersion":"8.4.0","_npmUser":{"name":"cpojer","email":"christoph.pojer@gmail.com"},"dist":{"integrity":"sha512-uAyWod4m7TebgEK81yFUB0Qdjex1mfsDCwvoBNi9kW6u2KiNV8fxYxmveyP0TJc7lHX9KSEw3kkp9kwP0BWLCA==","shasum":"67e58a890c90f2e4025fa2027db4523f5c29870a","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-21.3.0-beta.9.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDitZSKN5vs0w2xfcjyrvwq5Db4deSurulL2J96U2E0fAiEAoxI1y8e/QXKfV1EEXl23enNWnxk1UJj710As4Q2JFeY="}]},"maintainers":[{"email":"mjesun@hotmail.com","name":"mjesun"},{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"jean@lauliac.com","name":"jeanlauliac"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"opensource+npm@fb.com","name":"fb"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff-21.3.0-beta.9.tgz_1511356659462_0.9058528558816761"},"directories":{}},"21.3.0-beta.10":{"name":"jest-diff","version":"21.3.0-beta.10","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git"},"license":"MIT","main":"build/index.js","dependencies":{"chalk":"^2.0.1","diff":"^3.2.0","jest-get-type":"21.3.0-beta.10","pretty-format":"21.3.0-beta.10"},"bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@21.3.0-beta.10","_npmVersion":"5.5.1","_nodeVersion":"8.9.1","_npmUser":{"name":"cpojer","email":"christoph.pojer@gmail.com"},"dist":{"integrity":"sha512-Ya9GB4nVXlqyuJwWjjr8cfZcPs+SZ+gPQk4KP7AKRmwJnfag6a/WIqWoxROC4fxH7OxKOd5MkSduraXPc+fo3A==","shasum":"72439a9f1453fed5c4f6031b4733c6c5d31774dd","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-21.3.0-beta.10.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDKGCHFL4f5L5pr0azdXMMKZnwg22mbi/xKABLoULHMRQIgPd5K+YeSBQIdUprrjCsVGwRC4GvcB4EqXURC2Dc0KJQ="}]},"maintainers":[{"email":"mjesun@hotmail.com","name":"mjesun"},{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"jean@lauliac.com","name":"jeanlauliac"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"opensource+npm@fb.com","name":"fb"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff-21.3.0-beta.10.tgz_1511613569846_0.6997535987757146"},"directories":{}},"21.3.0-beta.11":{"name":"jest-diff","version":"21.3.0-beta.11","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git"},"license":"MIT","main":"build/index.js","dependencies":{"chalk":"^2.0.1","diff":"^3.2.0","jest-get-type":"21.3.0-beta.11","pretty-format":"21.3.0-beta.11"},"bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@21.3.0-beta.11","_npmVersion":"5.5.1","_nodeVersion":"8.9.1","_npmUser":{"name":"cpojer","email":"christoph.pojer@gmail.com"},"dist":{"integrity":"sha512-cPW0cyxUTe/6JnXjFh+/TikWHAob0W9wLj9x9XoSVboyC8BIJ1wtYE8THtMw+rvVKS9TlqKKEK3Jr9VxVX4qzA==","shasum":"0e027d4e57b4825e1740f57b8db1ddfad2a094fe","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-21.3.0-beta.11.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCwsnaCqsoc0Mh+okl6x04jhtUc42eCxR9z0+Knbt/LZgIgHjZS0aF0ur3Kb1h306lwOuTl72nwLDIUPLwNNCn3QsE="}]},"maintainers":[{"email":"mjesun@hotmail.com","name":"mjesun"},{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"jean@lauliac.com","name":"jeanlauliac"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"opensource+npm@fb.com","name":"fb"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff-21.3.0-beta.11.tgz_1511965885648_0.9186239370610565"},"directories":{}},"21.3.0-beta.12":{"name":"jest-diff","version":"21.3.0-beta.12","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git"},"license":"MIT","main":"build/index.js","dependencies":{"chalk":"^2.0.1","diff":"^3.2.0","jest-get-type":"21.3.0-beta.12","pretty-format":"21.3.0-beta.12"},"bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@21.3.0-beta.12","_npmVersion":"5.5.1","_nodeVersion":"8.9.1","_npmUser":{"name":"cpojer","email":"christoph.pojer@gmail.com"},"dist":{"integrity":"sha512-vjFe5n0cAMLuE5NUYm4QrEc7/MMKGuDjdzjWAJRo2/oWuy950alb+nQOS8FqbQm+m4lzkEc4Wa4d10EAYhwqWg==","shasum":"d159b13bddcd5f5e68169d116d47dfc0943bb184","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-21.3.0-beta.12.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDC2Nr2VHbLQAGhBz3hv2d/blGzMjCcVmh7tnLe1+cdZAiEAtYqzOotEgXatM1q2M0cFbp8pHEPs4kTzq8kvXEeJZ2s="}]},"maintainers":[{"email":"mjesun@hotmail.com","name":"mjesun"},{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"jean@lauliac.com","name":"jeanlauliac"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"opensource+npm@fb.com","name":"fb"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff-21.3.0-beta.12.tgz_1512499720332_0.7960918147582561"},"directories":{}},"21.3.0-beta.13":{"name":"jest-diff","version":"21.3.0-beta.13","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git"},"license":"MIT","main":"build/index.js","dependencies":{"chalk":"^2.0.1","diff":"^3.2.0","jest-get-type":"21.3.0-beta.13","pretty-format":"21.3.0-beta.13"},"bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@21.3.0-beta.13","_npmVersion":"5.5.1","_nodeVersion":"8.9.1","_npmUser":{"name":"cpojer","email":"christoph.pojer@gmail.com"},"dist":{"integrity":"sha512-aFCjkJG7O6Vhc5sZDVhITMhCS/+bsGCdt6VFI77fcTYI9lZzBNYSmO1u5iIHga6StT2xkcpwCSfBR2/LUE0ADg==","shasum":"f881a4beda2080d15c5714ef6ee94e1d7766ca97","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-21.3.0-beta.13.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCtW2sBDaSlT2ByN837KrH2wDZ31WOBJ8MlGYl60JmoEQIhAKQH9H1WK5BQCo33NaMLjgonelBgvenTB9fFMlT9tqB9"}]},"maintainers":[{"email":"mjesun@hotmail.com","name":"mjesun"},{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"jean@lauliac.com","name":"jeanlauliac"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"opensource+npm@fb.com","name":"fb"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff-21.3.0-beta.13.tgz_1512571047496_0.09152370598167181"},"directories":{}},"21.3.0-beta.14":{"name":"jest-diff","version":"21.3.0-beta.14","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git"},"license":"MIT","main":"build/index.js","dependencies":{"chalk":"^2.0.1","diff":"^3.2.0","jest-get-type":"21.3.0-beta.14","pretty-format":"21.3.0-beta.14"},"bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@21.3.0-beta.14","_npmVersion":"5.6.0","_nodeVersion":"9.2.1","_npmUser":{"name":"cpojer","email":"christoph.pojer@gmail.com"},"dist":{"integrity":"sha512-/jhc1IIuIgEnzmrd+IRsxZeypWRMe2NQmSBLdjForhPc1C3UmtMJTgHqa/EzXAf4yq1ysjF6OvaOIaaPC6jSJA==","shasum":"6728edde9e469274b0b218c74d9318afc8753c36","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-21.3.0-beta.14.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHCsjNNVqYUmBo164il1oIxE27SxZfr7DzAAURt5I59YAiEAvqQmFDp6yK1EJ5dxS1TzRJ/JsOJ5grVtGE+UVg3OOac="}]},"maintainers":[{"email":"mjesun@hotmail.com","name":"mjesun"},{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"jean@lauliac.com","name":"jeanlauliac"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"opensource+npm@fb.com","name":"fb"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff-21.3.0-beta.14.tgz_1513075960474_0.9958622900303453"},"directories":{}},"21.3.0-beta.15":{"name":"jest-diff","version":"21.3.0-beta.15","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git"},"license":"MIT","main":"build/index.js","dependencies":{"chalk":"^2.0.1","diff":"^3.2.0","jest-get-type":"21.3.0-beta.15","pretty-format":"21.3.0-beta.15"},"bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@21.3.0-beta.15","_npmVersion":"5.6.0","_nodeVersion":"9.2.1","_npmUser":{"name":"cpojer","email":"christoph.pojer@gmail.com"},"dist":{"integrity":"sha512-gTGsJWLEpfF8M/e/NC/ctKdgSjxUj4KeZ2vQ99eDVEgSHc9IZK3ZAuqOcWc59MPRc+QGVfKOT4+vL0a4hJRxAA==","shasum":"13efca4723fc2f452f8143fe0df5515c5128c672","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-21.3.0-beta.15.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICXKj19Q5qOJlTHQ03jFNx5wKJvu6hSO74YXA2lA68ilAiEAu3rYYZEo95gPZ8JfOh9/104zilzpxM993JGpp5H85r8="}]},"maintainers":[{"email":"mjesun@hotmail.com","name":"mjesun"},{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"jean@lauliac.com","name":"jeanlauliac"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"opensource+npm@fb.com","name":"fb"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff-21.3.0-beta.15.tgz_1513344463989_0.9630527272820473"},"directories":{}},"22.0.0":{"name":"jest-diff","version":"22.0.0","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git"},"license":"MIT","main":"build/index.js","dependencies":{"chalk":"^2.0.1","diff":"^3.2.0","jest-get-type":"^22.0.0","pretty-format":"^22.0.0"},"bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@22.0.0","_npmVersion":"5.5.1","_nodeVersion":"8.9.1","_npmUser":{"name":"mjesun","email":"mjesun@hotmail.com"},"dist":{"integrity":"sha512-wIz7vYa646V9cyjnkMSh3H2MULrjclcDu5Unbh0jrc25TB7/5oKpGbx4Kf3Ue2Mbraac4shOlEHSoecIy9X4eA==","shasum":"31e7771f6d55f42fb410789f7743972dc342c073","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-22.0.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCGaCdpTk601Orx6DjrtOMwlL6NG1v8GKsOGc3YEDu0dQIgTQU9aM/caqlw2n4k+MsngmFvVDZFqP576ErfEegpPpM="}]},"maintainers":[{"email":"mjesun@hotmail.com","name":"mjesun"},{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"jean@lauliac.com","name":"jeanlauliac"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"opensource+npm@fb.com","name":"fb"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff-22.0.0.tgz_1513595008422_0.08345558540895581"},"directories":{}},"22.0.1":{"name":"jest-diff","version":"22.0.1","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git"},"license":"MIT","main":"build/index.js","dependencies":{"chalk":"^2.0.1","diff":"^3.2.0","jest-get-type":"^22.0.1","pretty-format":"^22.0.1"},"bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@22.0.1","_npmVersion":"5.6.0","_nodeVersion":"9.2.1","_npmUser":{"name":"cpojer","email":"christoph.pojer@gmail.com"},"dist":{"integrity":"sha512-qyaKL+8vi6P2qRwjZv3fEresTlbIxvBz0pRZhw0t/snT9OoxWGHIwzqNaFN7B59e0Krx4u9QgvIsOknHPLfDOA==","shasum":"eeca8dc0e26e534b699632a4bebd5901929ebeee","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-22.0.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIErtR041ktjnE2MKU1VL+s3z7K1Ge9o8Rz8XpygY9PX+AiBIMEn1FXWUWeixunHs86A3lLFS+TjlcH7hk0Z/f33iDQ=="}]},"maintainers":[{"email":"mjesun@hotmail.com","name":"mjesun"},{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"jean@lauliac.com","name":"jeanlauliac"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"opensource+npm@fb.com","name":"fb"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff-22.0.1.tgz_1513628968711_0.8889141238760203"},"directories":{}},"22.0.2":{"name":"jest-diff","version":"22.0.2","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git"},"license":"MIT","main":"build/index.js","dependencies":{"chalk":"^2.0.1","diff":"^3.2.0","jest-get-type":"^22.0.2","pretty-format":"^22.0.2"},"bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@22.0.2","_npmVersion":"5.6.0","_nodeVersion":"9.2.1","_npmUser":{"name":"cpojer","email":"christoph.pojer@gmail.com"},"dist":{"integrity":"sha512-+/ljE28gnXlXsMeMdu9VL/kvyZ6uAAF3/MWg+RRlmAPpChGQ7Xd8mg1jk6LbJolhAZ1ugxC5z0NPxUUM4mPlgQ==","shasum":"1f88cdd10903131750c151de54df0e54c1653831","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-22.0.2.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICB8flnEUuwnenE7Tr07xYbTezeyP/KKCyvSGjMfPZhaAiB0XIajT9oHHKNEh9QMXb9/ViaQfv2ZqvUDlkp6UVIHKw=="}]},"maintainers":[{"email":"mjesun@hotmail.com","name":"mjesun"},{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"jean@lauliac.com","name":"jeanlauliac"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"opensource+npm@fb.com","name":"fb"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff-22.0.2.tgz_1513691588169_0.9194119211751968"},"directories":{}},"22.0.3":{"name":"jest-diff","version":"22.0.3","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git"},"license":"MIT","main":"build/index.js","dependencies":{"chalk":"^2.0.1","diff":"^3.2.0","jest-get-type":"^22.0.3","pretty-format":"^22.0.3"},"bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@22.0.3","_npmVersion":"5.6.0","_nodeVersion":"9.2.1","_npmUser":{"name":"cpojer","email":"christoph.pojer@gmail.com"},"dist":{"integrity":"sha512-Y7xN9Lc/NgFvR14lvjrJXB6x2x1LLe5NnMyzLvilBSSOyjy9uAVnR2Bt1YgzdfRrfaxsx7xFUVcqXLUnPkrJcA==","shasum":"ffed5aba6beaf63bb77819ba44dd520168986321","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-22.0.3.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF/j8/BW3LB1i2Vh0fbeDp1bLoLF2sdXYLSUgc5gdL3VAiABPfwjEiOn5k+9yoBTCbZqpJxfBBfo7q5UhVJuOF8Xiw=="}]},"maintainers":[{"email":"mjesun@hotmail.com","name":"mjesun"},{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"jean@lauliac.com","name":"jeanlauliac"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"opensource+npm@fb.com","name":"fb"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff-22.0.3.tgz_1513695540290_0.6788688395172358"},"directories":{}},"22.0.5":{"name":"jest-diff","version":"22.0.5","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git"},"license":"MIT","main":"build/index.js","dependencies":{"chalk":"^2.0.1","diff":"^3.2.0","jest-get-type":"^22.0.3","pretty-format":"^22.0.5"},"bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@22.0.5","_npmVersion":"5.5.1","_nodeVersion":"8.9.1","_npmUser":{"name":"mjesun","email":"mjesun@hotmail.com"},"dist":{"integrity":"sha512-waIjlxSyHwzfKWd2hDXcCj0dmv0JBhpp0b6mIfjefoc2KN+OzTMPQicdXRO50mEk2q+70+ynjKLBX7IzENeNjg==","shasum":"dbd7e7ff28601179a87777291c1020a3140d9ad4","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-22.0.5.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCPqlC7R7kyjdpmKjKIASUQLlJjJUW05JxvcS14Qi8sUQIhAOTbbokuY2nkcp+xqLQES9Pk/Z2O9pCxdyIqUq0IRcA3"}]},"maintainers":[{"email":"mjesun@hotmail.com","name":"mjesun"},{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"jean@lauliac.com","name":"jeanlauliac"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"opensource+npm@fb.com","name":"fb"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff-22.0.5.tgz_1515510596701_0.3257632025051862"},"directories":{}},"22.0.6":{"name":"jest-diff","version":"22.0.6","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git"},"license":"MIT","main":"build/index.js","dependencies":{"chalk":"^2.0.1","diff":"^3.2.0","jest-get-type":"^22.0.6","pretty-format":"^22.0.6"},"bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@22.0.6","_npmVersion":"5.6.0","_nodeVersion":"9.3.0","_npmUser":{"name":"cpojer","email":"christoph.pojer@gmail.com"},"dist":{"integrity":"sha512-wwyXqHgTNX17OaSVJFuHdpT0j+B/ygi4DzKqrZDpTt6oIJfv+jOYTjxBL3t1NlyQuaDWSdByfL05TDoGnJuO0Q==","shasum":"38c07187324564ecf6389a980a2f0e86e7e79890","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-22.0.6.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGJcbUhSCJWujdvMQaG/OdcP5bAEHI7OV39ui5lHqSVLAiEAxXDQa8kX80KFCamaTpPiYLoh7/zW3yh1QaTJv6WTsxE="}]},"maintainers":[{"email":"mjesun@hotmail.com","name":"mjesun"},{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"jean@lauliac.com","name":"jeanlauliac"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"opensource+npm@fb.com","name":"fb"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff-22.0.6.tgz_1515664009051_0.901060103205964"},"directories":{}},"22.1.0":{"name":"jest-diff","version":"22.1.0","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git"},"license":"MIT","main":"build/index.js","dependencies":{"chalk":"^2.0.1","diff":"^3.2.0","jest-get-type":"^22.1.0","pretty-format":"^22.1.0"},"bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@22.1.0","_npmVersion":"5.6.0","_nodeVersion":"9.4.0","_npmUser":{"name":"cpojer","email":"christoph.pojer@gmail.com"},"dist":{"integrity":"sha512-lowdbU/dzXh+2/MR5QcvU5KPNkO4JdAEYw0PkQCbIQIuy5+g3QZBuVhWh8179Fmpg4CQrz1WgoK/yQHDCHbqqw==","shasum":"0fad9d96c87b453896bf939df3dc8aac6919ac38","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-22.1.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFAjWiFeiHO5blQ8FSpiT8EKsYzEWp99jp1fFRboQFSMAiA0NfXo9cLNRiMYBETnfK14qR1oGBOt8SLPgpyxGySG1g=="}]},"maintainers":[{"email":"mjesun@hotmail.com","name":"mjesun"},{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"jean@lauliac.com","name":"jeanlauliac"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"opensource+npm@fb.com","name":"fb"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff-22.1.0.tgz_1516017443488_0.20635478710755706"},"directories":{}},"22.4.0":{"name":"jest-diff","version":"22.4.0","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git"},"license":"MIT","main":"build/index.js","dependencies":{"chalk":"^2.0.1","diff":"^3.2.0","jest-get-type":"^22.1.0","pretty-format":"^22.4.0"},"bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@22.4.0","_npmVersion":"5.5.1","_nodeVersion":"8.9.1","_npmUser":{"name":"mjesun","email":"mjesun@hotmail.com"},"dist":{"integrity":"sha512-+/t20WmnkOkB8MOaGaPziI8zWKxquMvYw4Ub+wOzi7AUhmpFXz43buWSxVoZo4J5RnCozpGbX3/FssjJ5KV9Nw==","shasum":"384c2b78519ca44ca126382df53f134289232525","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-22.4.0.tgz","fileCount":4,"unpackedSize":14437,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCrDUo+519Gcz8BUxay7V7uXalxEm0Cd63TIYbcG4J/2AIgRO1X4e0VDK/AC5eOy+LL8o4PYWZxTtvOhZRNFS19EYI="}]},"maintainers":[{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"opensource+npm@fb.com","name":"fb"},{"email":"jean@lauliac.com","name":"jeanlauliac"},{"email":"mjesun@hotmail.com","name":"mjesun"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_22.4.0_1519128215770_0.08357820158997242"},"_hasShrinkwrap":false},"22.4.3":{"name":"jest-diff","version":"22.4.3","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git"},"license":"MIT","main":"build/index.js","dependencies":{"chalk":"^2.0.1","diff":"^3.2.0","jest-get-type":"^22.4.3","pretty-format":"^22.4.3"},"bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@22.4.3","_npmVersion":"5.5.1","_nodeVersion":"8.9.1","_npmUser":{"name":"mjesun","email":"mjesun@hotmail.com"},"dist":{"integrity":"sha512-/QqGvCDP5oZOF6PebDuLwrB2BMD8ffJv6TAGAdEVuDx1+uEgrHpSFrfrOiMRx2eJ1hgNjlQrOQEHetVwij90KA==","shasum":"e18cc3feff0aeef159d02310f2686d4065378030","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-22.4.3.tgz","fileCount":4,"unpackedSize":14133,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC9TEVSVapw80vxSZMYQrgvrFRJDalNcE1QtNESKwyDbAIgGLxJEnK1fXIRVxjPHMWddI/V2v8rG/3/BJXG94WVU5g="}]},"maintainers":[{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"opensource+npm@fb.com","name":"fb"},{"email":"jean@lauliac.com","name":"jeanlauliac"},{"email":"mjesun@hotmail.com","name":"mjesun"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_22.4.3_1521648547541_0.8940205513405806"},"_hasShrinkwrap":false},"23.0.0-alpha.2":{"name":"jest-diff","version":"23.0.0-alpha.2","repository":{"type":"git","url":"https://github.com/facebook/jest.git"},"license":"MIT","main":"build/index.js","dependencies":{"chalk":"^2.0.1","diff":"^3.2.0","jest-get-type":"^22.1.0","pretty-format":"^23.0.0-alpha.2"},"_id":"jest-diff@23.0.0-alpha.2","dist":{"shasum":"453a515eff03f41c41b1bb5d3005d9482621d219","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-23.0.0-alpha.2.tgz","fileCount":7,"unpackedSize":14149,"integrity":"sha512-NeNg1hNIHds0XnCVBwNXs53phvqOlsAzTkd8j58II4CNw0pP+UP6vVhnojBxQLf1eBzHZ/vYiKY6eMq+L9Gfbg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEZiU7Ek5wbs4PibjOFL6iJtADvVQnrn5drCQYqW8ncRAiAzsGig+/mYggdbCcsCqk/fPCOPQepwiPtYMPER7/OC7A=="}]},"maintainers":[{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"opensource+npm@fb.com","name":"fb"},{"email":"jean@lauliac.com","name":"jeanlauliac"},{"email":"mjesun@hotmail.com","name":"mjesun"}],"_npmUser":{"name":"mjesun","email":"mjesun@hotmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_23.0.0-alpha.2_1522060850473_0.40798639710652407"},"_hasShrinkwrap":false},"23.0.0-alpha.4":{"name":"jest-diff","version":"23.0.0-alpha.4","repository":{"type":"git","url":"https://github.com/facebook/jest.git"},"license":"MIT","main":"build/index.js","dependencies":{"chalk":"^2.0.1","diff":"^3.2.0","jest-get-type":"^22.1.0","pretty-format":"^23.0.0-alpha.4"},"_id":"jest-diff@23.0.0-alpha.4","dist":{"shasum":"6118dfa84e39a1bf719b61b21f734d4d668f6bc6","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-23.0.0-alpha.4.tgz","fileCount":7,"unpackedSize":13717,"integrity":"sha512-fBuhG0EOKvrp5c5r1N75bPf+7euC5r1bcEif5CpkE8hklKBLZAImvcMMVrL8QMgpXlnzf1S2zkstWM3vwKtrRQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDPCM/fH+O6dUjxRxlse64PgAN332k7kZA3b6USVpywpwIhAJ9cXwoaBHUo0wIeig6ktsp1qlf8fw36tCgNt2W1om3I"}]},"maintainers":[{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"opensource+npm@fb.com","name":"fb"},{"email":"jean@lauliac.com","name":"jeanlauliac"},{"email":"mjesun@hotmail.com","name":"mjesun"}],"_npmUser":{"name":"mjesun","email":"mjesun@hotmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_23.0.0-alpha.4_1522067503685_0.9387062850127894"},"_hasShrinkwrap":false},"23.0.0-alpha.5":{"name":"jest-diff","version":"23.0.0-alpha.5","repository":{"type":"git","url":"https://github.com/facebook/jest.git"},"license":"MIT","main":"build/index.js","dependencies":{"chalk":"^2.0.1","diff":"^3.2.0","jest-get-type":"^22.1.0","pretty-format":"^23.0.0-alpha.5"},"_id":"jest-diff@23.0.0-alpha.5","dist":{"shasum":"65c40a2f83ae763167f3b22cbe546d11e879fd21","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-23.0.0-alpha.5.tgz","fileCount":7,"unpackedSize":13717,"integrity":"sha512-A6dmILVoqhVYr0kgC2X02k+1ebeNWcQ/MStXaMAHn4z1L3Rb3c7tDH+MX3OzNI0l6uF0D68aqhGk3i5zEXLCRQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCrzQbKkCqkJ6plWv74rtSl2liHdrnhM2jB5AaLG5FfDQIger0bWT9LykWTyglUk1W8hdxjbwpD9Ge6LLvUwYGPduA="}]},"maintainers":[{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"opensource+npm@fb.com","name":"fb"},{"email":"jean@lauliac.com","name":"jeanlauliac"},{"email":"mjesun@hotmail.com","name":"mjesun"}],"_npmUser":{"name":"mjesun","email":"mjesun@hotmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_23.0.0-alpha.5_1523387902476_0.30945807625269506"},"_hasShrinkwrap":false},"23.0.0-alpha.5r":{"name":"jest-diff","version":"23.0.0-alpha.5r","repository":{"type":"git","url":"https://github.com/facebook/jest.git"},"license":"MIT","main":"build/index.js","dependencies":{"chalk":"^2.0.1","diff":"^3.2.0","jest-get-type":"^22.1.0","pretty-format":"^23.0.0-alpha.5r"},"_id":"jest-diff@23.0.0-alpha.5r","dist":{"shasum":"a65c62d3ea2956645c36bc2e8e0fd246455673de","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-23.0.0-alpha.5r.tgz","fileCount":7,"unpackedSize":13719,"integrity":"sha512-PEeWvaSTRcdaCjwpYF6I9SF2YpivjdE2cd45jTPf69M0P8VPCYr6wxw9byOmRz39kCVxuH3+Lht7ILiJJUa93A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDRFkyAav3xXDV/tA/aC4CftItZQI4HtWOECcvKGyaRYQIhAKu2JQVlFZaV0GyEnX0gKadhibCUtHA4Tetq63kFFrx/"}]},"maintainers":[{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"opensource+npm@fb.com","name":"fb"},{"email":"jean@lauliac.com","name":"jeanlauliac"},{"email":"mjesun@hotmail.com","name":"mjesun"}],"_npmUser":{"name":"mjesun","email":"mjesun@hotmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_23.0.0-alpha.5r_1523425971627_0.5571512672076804"},"_hasShrinkwrap":false},"23.0.0-alpha.6r":{"name":"jest-diff","version":"23.0.0-alpha.6r","repository":{"type":"git","url":"https://github.com/facebook/jest.git"},"license":"MIT","main":"build/index.js","dependencies":{"chalk":"^2.0.1","diff":"^3.2.0","jest-get-type":"^22.1.0","pretty-format":"^23.0.0-alpha.6r"},"_id":"jest-diff@23.0.0-alpha.6r","dist":{"shasum":"4dda1c7c9f8227496c417e4420cb889721ec11d7","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-23.0.0-alpha.6r.tgz","fileCount":7,"unpackedSize":13719,"integrity":"sha512-OBPt4cpperj/dXfSqENIaNgbqQey+f+/tv+3V770YkkikFRU6bVsgKgHb8Qz4206EERWCtAwfzBTE6E0zFxuEg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDk4e2wYz9p4fkStSNPhlNVkOJ9JyaihA2CFGPrvmunYQIhAOXBAskAwqwg0z46b+BfCgBBPgqV4nP69ZPGDRJ7zESN"}]},"maintainers":[{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"opensource+npm@fb.com","name":"fb"},{"email":"jean@lauliac.com","name":"jeanlauliac"},{"email":"mjesun@hotmail.com","name":"mjesun"}],"_npmUser":{"name":"mjesun","email":"mjesun@hotmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_23.0.0-alpha.6r_1523516497255_0.6672085799817822"},"_hasShrinkwrap":false},"23.0.0-alpha.7":{"name":"jest-diff","version":"23.0.0-alpha.7","repository":{"type":"git","url":"https://github.com/facebook/jest.git"},"license":"MIT","main":"build/index.js","dependencies":{"chalk":"^2.0.1","diff":"^3.2.0","jest-get-type":"^22.1.0","pretty-format":"^23.0.0-alpha.7"},"_id":"jest-diff@23.0.0-alpha.7","dist":{"shasum":"a546fbb19b517c8fb38970be77a2d911c26a5bfe","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-23.0.0-alpha.7.tgz","fileCount":7,"unpackedSize":13717,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa1kMqCRA9TVsSAnZWagAAipIP/30Btd+CLVK3wsidWBNH\nQWg8Lmo6kvaH8QyV1o5Makkph75x9U4/XKuFZ+ASgCoLiBhP2ARgHdl6KpBB\nnKuv0Ef5Y2BSTTqhOJjBVQm2U5413WmR334NDb+rY+H1RvzmKAhYuXeRlBg1\n4UUO1QrLhReDJ63+Utr8XpIIz58vz7LIIYbDbIdhvr0Yom+6hhO7uwodtAtg\nRRYQNHVihiegUFFmchgFCZFEhOd95rivDlLD2u98uRUte4CFjzJPvlfRJN/m\ntsvYftpDAR39Psy3UVjx928CBPZ9LEkfGHDlcqrSky+dR3vxRsEC14L2+d1m\niB4lI48SO7/10oJqbCzbWIIuj5EgXEBaw0/V+oxG0JLALO6cmR2nlZuuxgEx\n0Hq//he6fCPKiFPgQKUoJmC8C4dc9N2tZRM/nmDJV8kdgg61jW8TeG3FzvmX\ngU4mWHo840vgld2arPbEiQnG+8XTpqyPvJyldBbxW2qcEAkMdSr18LMn59wf\nidpUsN4E6ALzl12pd5F0eYzcjHDun7R9JqzjoVUy90jB6U5mXMbmvyeGY/O0\n7yywmdLKQPX9E30U40bcc9+kFCSu828qlGS1dTT7RLBsdYaSg6yjMNu3cYEL\nm1MmwjHY2yD+iIdMsYT6tJhzY/eojy9Kt7wwkzi5ljUOJeiNRlBRY8HCBk8i\nhICA\r\n=CgbI\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-QkJD4Wu/RmQsmYc/hxHxp4IjK8ZXZgDdoqHu7GqHivKfcY3WpUw9ERqIFx04py3SmuV7LqC35dPixRLzYfivdQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCnFGOurgpD5FRUXWZ9CFkyVktfUj1Vn+qYXhPg6Y2kcAIgZVgXusuLNwX+XwnoLV+yjg6n3/qqcx0hw9DLd9DJX7w="}]},"maintainers":[{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"opensource+npm@fb.com","name":"fb"},{"email":"jean@lauliac.com","name":"jeanlauliac"},{"email":"mjesun@hotmail.com","name":"mjesun"}],"_npmUser":{"name":"mjesun","email":"mjesun@hotmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_23.0.0-alpha.7_1523991329084_0.24011626320143975"},"_hasShrinkwrap":false},"23.0.0-beta.0":{"name":"jest-diff","version":"23.0.0-beta.0","repository":{"type":"git","url":"https://github.com/facebook/jest.git"},"license":"MIT","main":"build/index.js","dependencies":{"chalk":"^2.0.1","diff":"^3.2.0","jest-get-type":"^22.1.0","pretty-format":"^23.0.0-beta.0"},"_id":"jest-diff@23.0.0-beta.0","dist":{"shasum":"fa6e9e29c8a13b8c556819682245aaac1f88629f","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-23.0.0-beta.0.tgz","fileCount":7,"unpackedSize":13715,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa2bywCRA9TVsSAnZWagAAYmcQAKQVsiBzrOfeM+tt7Rw2\nZaOwbt2Jlv2nwRUXNoNVO3ogLsq5CJOCyNKMKPkqyMcUclS9OW2tccZfuVw+\nntZqWhJw9l9qlGGXeIlNPJScjDHdSKU2OyBZAvwTEctkbtmnUsQoDggHG1XF\nmUP9QPncIK2qCwxWBhPdXAuBOjIJivk+ZNIMfwG69suqJyTdH2esGCYHLeHb\nnEc9nLDHWWJ5ESeT08SQlruD3dwwpNczt864E4gqlEvOe9+f4LBp8iLxg2h9\nvV6iZbNF8OD37Z1NDUYBnyuMNL4uaISMWiZeitQz0YbMQdtoPWs3KNihmJbp\nk/rIz6fXwFB/8xnJ3qH/dDeRi0/yG1TpE9KmD9s/hCbXrEeEMAjPTcE0oQqe\nVtnw+fBkFZqXdGZ+PmnOj4PzhhlF70c5uhvCzkPoiiOjSNCOeHS7C2Wm6c5q\ngV0iXG+nz4vElQ3g7FTpKBUo584IMDfl/gfIl2SDxcLUpCVBk0scpxmSMw1K\nW2e6Iw5Bmv9VUU8RkK32S5EYB98mg5FQb9VtZ4n0VBv1qwyZ8qBgNfEe2Taz\nGoPTKLu2Wyl9ROHMJ5p0IT88kOLpKMCdSpSC9x/9dZR1UehtsxrAzEu5eNsR\nK2rlZNtWxArFGZCaBPKNOicTOHvlQ3GYCVbAF6DRGKcNaDQ1SS8nuVg63fKk\n4WBB\r\n=wGH1\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-GruukmLEOA2xMVF2quik+0BQC7nZa0sMp0pm1co7oYb2c/XMXz+1RTjpJF3eJJoWOXuooqfRDfsi+nqrLZLxJw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBG5QNTYpm0/YJFD/sxw1/e2r2Y9ieVtJLBTfoGdlRrjAiEAo9K5gWS8zfxUmnQNge6TV8mCS5N50jg0n+YobiAdHww="}]},"maintainers":[{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"opensource+npm@fb.com","name":"fb"},{"email":"jean@lauliac.com","name":"jeanlauliac"},{"email":"mjesun@hotmail.com","name":"mjesun"}],"_npmUser":{"name":"mjesun","email":"mjesun@hotmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_23.0.0-beta.0_1524219056613_0.6760367923895843"},"_hasShrinkwrap":false},"23.0.0-beta.1":{"name":"jest-diff","version":"23.0.0-beta.1","repository":{"type":"git","url":"https://github.com/facebook/jest.git"},"license":"MIT","main":"build/index.js","dependencies":{"chalk":"^2.0.1","diff":"^3.2.0","jest-get-type":"^22.1.0","pretty-format":"^23.0.0-beta.1"},"_id":"jest-diff@23.0.0-beta.1","dist":{"shasum":"46baf364699bc5e498b6396aee41503a49610a52","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-23.0.0-beta.1.tgz","fileCount":7,"unpackedSize":13715,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa21xgCRA9TVsSAnZWagAAQEAP/2TnJ/RirbVEpZy/lRLt\nAzuRx3scJygNAwTTzHEjKkYkafGjwO3DLUr0gEsdKXOQgCenFlD0aeFDhCC3\n2Xh5MhB+JZBaCeztDqKfSHQYpYwz53eVz1cQkCd6nHAE3UgcPBhDCwHugIgd\nIERmsH+c6IWLlMQhyOEppSVz+2AStacuoD2/p+OIvrn88btpaRZNSAqY6Yci\ny+aR5EOjOtziM5HZM7BP6WNEBZbYzR27EJ9QbHP2M4Ye3k7W94wln32bPs5A\nNYn06rDSFvq+mhZeEUf2zLdf5VkFEF9CVIGZNixW1puwVZkrm+7FjOmrZeJj\nSrsXwA6Efl+n5qrytEenoTZR96X2j+jc+YNCQ+gQUj5XyfJLtsJaQNtDzkON\nxcnzesTfqWFlw9g4B0pH+/iOszEAncy1bUvUiFvO0sBtldmnDa5rgdz2UjFU\nm4jMfmSBW1O+Xu+RNEW1OaeK088/LwXza1jIH+lPVMeqe45XEUR/TPNH7f3Z\nPwNTgR2lxgD9Csmz2exuSZz3jelK/OuErjI5NurWiA+oxfOVKopG5NeWmtMy\nVHwoCCoJlEvi2Zfdr3z+ywgXr9lHQsMbBLafEn8NjGsiJEyDRNonXxiRBteF\nY8juPr2BOosgWDdf37MphIATE/IUL6uJ28qx1rtULshacOytOxgX/PmdVOyP\n1lYb\r\n=NXKk\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-2GmH7GfZj3lHBsiv8XeHQHVdA50mcK2EfJ8wLDUkpC86PSZeqEfiYlJIm8d7lk8bSFVAU0bkaQ+4m1lXGfgZSg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC4BqBh3zO90mZgac6lTa42wG+9x78HWPm/kBrv2fV8mAiEAq4VCECcqpWglLdNdaUzHNyvMsI1FFFKZ24Eo9L1dFAA="}]},"maintainers":[{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"opensource+npm@fb.com","name":"fb"},{"email":"jean@lauliac.com","name":"jeanlauliac"},{"email":"mjesun@hotmail.com","name":"mjesun"}],"_npmUser":{"name":"mjesun","email":"mjesun@hotmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_23.0.0-beta.1_1524325471904_0.5581940854637701"},"_hasShrinkwrap":false},"23.0.0-beta.2":{"name":"jest-diff","version":"23.0.0-beta.2","repository":{"type":"git","url":"https://github.com/facebook/jest.git"},"license":"MIT","main":"build/index.js","dependencies":{"chalk":"^2.0.1","diff":"^3.2.0","jest-get-type":"^22.1.0","pretty-format":"^23.0.0-beta.2"},"_id":"jest-diff@23.0.0-beta.2","dist":{"shasum":"2ec4e43bebfe2c34b31d69edb48a07b9423f57ef","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-23.0.0-beta.2.tgz","fileCount":7,"unpackedSize":13715,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa4kH3CRA9TVsSAnZWagAADE8QAKAGHtItVSeU7/rVYEdH\n8M/3nh6I6hlleEAUCcHg+BB2tH6qpKayNWzjH4VWg3X/jZEpDZ82ja91YvHQ\nlLa0B4kTf9ojTT73pUiJ55vX0sjvTQdfD2g4zB5X4vIv1pGkW8zOo8d2w5WY\nhXS0WlzBs1Z4TjbB8UGvWby1DiD3ksXhI1O9wEeDadrjpo0icy3iTicci6dU\nSy6Odf1BNvsMO3j5hd270rkG9FvVc8444xufNV7OiEcxGYgn5YII1ClXG8i+\nAjxHpMHSGqV0t9yBzYhQiqmKUGpFBOadFyFT7bjziPuU6tQkFFklxmwTPGpr\nEZ3HT2DnRNIn9S+nD5rQr1cy5pcbGg5UzT4sasx+6wMFnMvVpEL8/Qe3vD3M\nKqf5gzCLJeY7nLYbBahvJL7REnYOd6N+ryWrU8qDd5K2EWpS/C7cO+vujgpA\nGInQRqQUbRTUMgdU+Zo+Ub8/Jxc+w3Wglkm3twRM2XLNP8YbA3Emq3vb9WFx\neegk1vJFwGKsRbtjY/3LQTKnyby7hh9/TDEDTMT2C9R2EcC+QX1WXIKqs3NB\nsE4Pp7+4fLfXn1Q8OsQlrPYGCCiK/7/BWBuhxuKZ+5x1cI1jx37Yy1635bMW\nSqB8ZwwQmeZy/zSubUaKA6Pl2AHgrapsCaFf8fWR5cYfwQqCdFdD75pKEbCG\nDkZc\r\n=5Eau\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-5333bK3T+nF+WTIABc27UgjMJDmReKNvu8SmZVnf0gcszZLSRAsP7WbsAESVJaTbpr14/u1cEJmmDFvtwV6pxQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBlE92HNHfNElme5rEqT+sN+EiSFT2fFKyNEkn5AiTuwAiBHTPDEjEQV2SAUcFQxd5uzBGw8zHZTe+wiz7O/FdKEEw=="}]},"maintainers":[{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"opensource+npm@fb.com","name":"fb"},{"email":"jean@lauliac.com","name":"jeanlauliac"},{"email":"mjesun@hotmail.com","name":"mjesun"}],"_npmUser":{"name":"mjesun","email":"mjesun@hotmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_23.0.0-beta.2_1524777463391_0.662654628523407"},"_hasShrinkwrap":false},"23.0.0-alpha.3r":{"name":"jest-diff","version":"23.0.0-alpha.3r","repository":{"type":"git","url":"https://github.com/facebook/jest.git"},"license":"MIT","main":"build/index.js","dependencies":{"chalk":"^2.0.1","diff":"^3.2.0","jest-get-type":"^22.1.0","pretty-format":"^23.0.0-alpha.3r"},"_id":"jest-diff@23.0.0-alpha.3r","dist":{"shasum":"fedfef3cb745db9ce474f1f60d0cb29b4f31e5f6","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-23.0.0-alpha.3r.tgz","fileCount":7,"unpackedSize":13719,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa5xW+CRA9TVsSAnZWagAA9+YQAJcNrmlc3zYc7P89+g3e\nu1ygy6QX7AXsvalkXR5nLcHBhwUAZ5xpylwS5Eey//asQdaUUR/cwCtnzhXn\nUvuKD1B0rLnG0XJEh4rQmtbM9ejuGjQ6RpxkiAwE9ltEJ5FtQtT+RNYZSQbn\nAuyU3KJIWZG6Z0u6urvuMoMMNmRa2ZGCMqZ5kUJ8Wq3SmJv4YA+urqoDHcQh\nbg/OHONIlpCEYnXuNKJSIZtmo6GbXjAXLB6Ab+wKGF8bi0a9Gu8ZTuXE+wrR\nUhZUfWHnJ9wIj/yQUwuBMJt3IoYVGk6sCj5iRoUdTqY7UxRTyk6GQ64agAPQ\ndFZctIfcB20j02rwnMGsFel2zraERQpSsfEiNUCcys1dLKGSRqOsvN5nsfc0\nJRMmSzpxEHIrU9kCBHgV5FOaRX8uD5ogND9gKd1jpKCXxdFk6V+iBjGc3gkW\nrFJK2j+D08rl0ToRbMQDNzHmTEkJtMfto7nkrOTziWQ//Ekqb4LZlWK0FGlv\nlPXZA56X9s+qg/kxjrjPf2V2kIOGLBgljLmj0q/18+dK3Gw9MPwcAx1zzigN\nkr/Mw/Ub8qnbUVv+2KOjTxDgRX5VvBlqU/PcrOUKhi8cVZmRSSQmPqatwgJd\nqFMoltgOOutCfQwhjMGkVs8chruIw5yEPCHSLB/fGT8qlxyk7xt6NsXWVLii\nRXku\r\n=/+e5\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-/qMKSN+dOzNr2Dq0pd6Fv3cV/pPQYozWu7dFvk+bz9Y6oTT8sfrz3X+gu0+zBRr3f6JAsuLYOa9RWFvF3NacFA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBLQTL5OclRA5Np7/HDL2qs1jzug/xme6RWRTvT35ilFAiEAu8CANcDlrlW3JrsE3eFmn7W8p2U6APtqCYM8ZCoY0co="}]},"maintainers":[{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"opensource+npm@fb.com","name":"fb"},{"email":"jean@lauliac.com","name":"jeanlauliac"},{"email":"mjesun@hotmail.com","name":"mjesun"}],"_npmUser":{"name":"mjesun","email":"mjesun@hotmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_23.0.0-alpha.3r_1525093822576_0.37864054663716695"},"_hasShrinkwrap":false},"23.0.0-beta.3r":{"name":"jest-diff","version":"23.0.0-beta.3r","repository":{"type":"git","url":"https://github.com/facebook/jest.git"},"license":"MIT","main":"build/index.js","dependencies":{"chalk":"^2.0.1","diff":"^3.2.0","jest-get-type":"^22.1.0","pretty-format":"^23.0.0-beta.3r"},"_id":"jest-diff@23.0.0-beta.3r","dist":{"shasum":"a87186e0d6a6edd15d171ec7ea03d7e25bc4d3cf","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-23.0.0-beta.3r.tgz","fileCount":7,"unpackedSize":13717,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa5xbWCRA9TVsSAnZWagAAnbsP/3jZYJhJvWT/ddHsgIn1\n3XjgklAhxcO4JgFWIlM64vROOkerEizRPkOK2yp/o/agS/ZB9Cr+HG/+jP8d\nEoUrUwqEzY9Q40RqsVlTCVEGzV2r1VT/7VC2gA9vGel5yAvY5VjkgOxCf0vS\nJgqkMBrKVK8sgrZR2JLNPjyt406nx7jx1n1Zm4M/V3fvDsHirCPDe0zxa+7P\nhIJ75j4AdAJ2k+sTwjQYOBHWa1D2TLZubyMoAQglLSPjyunzWsNv5MvJl/h8\nb1S+idftAfg5RS6lY9LNQupEUCUK7OYw8bynHWnSjBbC3B2Z/pTHTovQPDN6\nEF1bLkp3egF1XWBbNA/9E3Eht/+2XEg/mQ5PsnP+HzYWs43wm3gNz2NriOHX\nAWFb0Wz8zUdQQn5nEdoSKsg/1+56sz0RdWgO1bR28+vd5fNlHE4E2BpVrDAH\nrY1CtRAS44zlb9WBqW65SqYzf5gED5saejjreRNkAAkR9ZrdqKChiyldEBFo\nJ8Akz0JQPjAj0R5KMX/KRRoO1ifynDxm4ugDu+xQuOhXYJS5qai4Q/tuntqh\nuVwRpHdUgmMtwSJSLltoHHqeWUpTm1Ekf4c/vLYSY2xY6o6lcsrY3Pzi8cKg\nrApBW6ZKbulGrq/sUtlHtFWJHD67V50iSHOfyNpwBIHy6URWvQwM66Fs97r6\nWa6o\r\n=Ugye\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-+T+LFZhpytPLjgmbwcwp1AiV+3J/rehBU9G/5T2fSr0/bVZ+P2OHQpUd0U7wrmFRT14OgOcAkVWQu9gXDUyZfA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCTr5h0z2r6w/jnSCW65TE/expnQeVMN53l36bx4iiybgIhAJwwW9CZajO7K6W1FwQ0AZMfVhfOFmGM9Hqs3G+OQgwx"}]},"maintainers":[{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"opensource+npm@fb.com","name":"fb"},{"email":"jean@lauliac.com","name":"jeanlauliac"},{"email":"mjesun@hotmail.com","name":"mjesun"}],"_npmUser":{"name":"mjesun","email":"mjesun@hotmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_23.0.0-beta.3r_1525094101457_0.35492968468041064"},"_hasShrinkwrap":false},"23.0.0-charlie.0":{"name":"jest-diff","version":"23.0.0-charlie.0","repository":{"type":"git","url":"https://github.com/facebook/jest.git"},"license":"MIT","main":"build/index.js","dependencies":{"chalk":"^2.0.1","diff":"^3.2.0","jest-get-type":"^22.1.0","pretty-format":"^23.0.0-charlie.0"},"_id":"jest-diff@23.0.0-charlie.0","dist":{"shasum":"4aa10232fca7b40089f549250f019041862399eb","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-23.0.0-charlie.0.tgz","fileCount":7,"unpackedSize":13721,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa6ZlqCRA9TVsSAnZWagAALosP/34wDZN+EDYjTbKlCrFS\nxa5BSG3aDCEvDaVX8Xb6ibS8A6VpRq2rx4ZCIKEDcVnv1SdDtTb/s0Gt7khp\nZYwtXMyQa3VhXX8s1wtsTemY1W1Hn+6FvX2cUFvdmWBSpJ8U7pHxFF3kGr0l\ndc0t4WnOZoKQ7KL+xAEHYH4nIpe7l8FOQWupS3LfDKHi/nQjo1kmodIBvoBP\nVqJZcvX9S9Kfte4P4yR1FuI9Lhd7UDQcQnPnKOE4ChaTS+lruIlmoN163nDy\nWL9jleQG9M1Y2De70h+HHa9qGMVeb7E1GgzpHCn4vhQO3OZoQUNY6j/xS7g7\n0BGi1oif5jiTYd4P6aPuh0TebF5ib0mHAEwn+BLnCN2+5cLL27Z37rVODrmk\nwD28okOPodlEX31DJbT/Pa7GqgOMAEcmqq2s/KJ8joDtpJF1sIUqwY7Xp5VB\ncxl2mKmST6WYlH/oL3dMnISymVnV2y16yZTCi+l20bW2Si8m8xa5QZPF6E/B\nn6B7Kw687WxwGqrNclYLsKXa2J8Rv0U+zQOGD0S1bFcYeyDA6OPWBT8EV+Ji\nevjQu3jaqDXhtQyV+P/617ubA3NNlVg/oEsRxypcsisO219VQPvZBsPsqhbb\njG5UFCcXy+RFemzGSvIPlD3FS+Ye+qnJrXtCtnaZBywQ0MjqjA0aYuLxKpTV\n/Ut0\r\n=lG6E\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-KQoOtaK7gbIIdQpeLwRAsYI7+xv1t3tlkjGhzKDrhLxJsnuJ3RKZ0esaVZ62FBIuKMy460VZHHb6GBH21Ik9Mw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICi+yBSMJpida6ENJ2P20oOMuyVbbrqBnvq4VDy5KOoPAiEAjreSks7/QdBc7Loz9Y/3+aSxUN14J4ig8DGy+3urGZI="}]},"maintainers":[{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"opensource+npm@fb.com","name":"fb"},{"email":"jean@lauliac.com","name":"jeanlauliac"},{"email":"mjesun@hotmail.com","name":"mjesun"}],"_npmUser":{"name":"mjesun","email":"mjesun@hotmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_23.0.0-charlie.0_1525258597130_0.07715639467476909"},"_hasShrinkwrap":false},"23.0.0-charlie.1":{"name":"jest-diff","version":"23.0.0-charlie.1","repository":{"type":"git","url":"https://github.com/facebook/jest.git"},"license":"MIT","main":"build/index.js","dependencies":{"chalk":"^2.0.1","diff":"^3.2.0","jest-get-type":"^22.1.0","pretty-format":"^23.0.0-charlie.1"},"_id":"jest-diff@23.0.0-charlie.1","dist":{"shasum":"d5a9c4c38c9b6fb33e6d8b88d1fb77b62d67382e","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-23.0.0-charlie.1.tgz","fileCount":7,"unpackedSize":13721,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa6vwwCRA9TVsSAnZWagAAtrYQAIF/cqsWHNnWB7hLWKL4\nTYdyLcaGzY23JxyZJB6EQj6G2gr9wQnE1WMtmrA835lyxbvgf2BHPMPalqnY\npIJj0P5/mZTIq/M5pGclNBPb2C2P1bRhr1SffX7S4oDjZWx/54iINAGaVgbU\nUGGPTuWe3fVoo6+YNE1J0dC/paPdiFpMlfiTQ8+Agj5JYhSX49Yk3EhRXgal\nEcN3AFL6nHyS6P5e/4xkMK7Q6fn3PHxtpLySmr21T/kogSd6bzp8cmm9RT5+\n5W1i/c5TZGlazX0zh+YG7HAfB3qrLX4TsPsOU+2UGihlrYZh9FHbLH1Lf4xs\nXzLyFxIIubQyDAq4jE0HinRmb0Fc2V1UXtVq+VhtsmsBiD9fSwOJ4kR8504E\n0QlPpDVemFfJMkBdHDF4+OYvHNGKPpLXb76cE2GlDKuPN63ecDDAYDjKqhVr\ne2I/IqwRmT9C8O8n92gEAXddEugYq6f/fFhFmhUc/469nJdbOtyi6+VcJA5M\nVLHPZbUsuOIn9CznwSlgw6amyQo3jWwVTa1adJVNsliFOpGN64T2gN3jJjVk\nIfaD6SqUqYwugBsiCG5g3dMIQcJJq1M4XJXJCCaeqvyMY1dWUCsvbYXU6PFx\noU/uHQZF5yfRaI4NaZ9WmVQHnnFdqkmH5jf5JrKQZh2UPxOyS1sH9fS5XSa/\noT8O\r\n=mpII\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-VM2nO/wLbVWWQxcgJN5S61V9Jpnxg/u4AXI8EEXbSejLXuXhL9B7YbC2LfmZrOAO/SJsy+U/2X4k9RG5fL3tSQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDmx6hJ8Ho99V3097eBsvWmv8KyF7nmdl00TKnQ23NrXAIgJc54f6daF6GHPbTLhLHWxb6+V1DZZYRE5pmkiZ/NeOM="}]},"maintainers":[{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"opensource+npm@fb.com","name":"fb"},{"email":"jean@lauliac.com","name":"jeanlauliac"},{"email":"mjesun@hotmail.com","name":"mjesun"}],"_npmUser":{"name":"mjesun","email":"mjesun@hotmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_23.0.0-charlie.1_1525349424059_0.16135847781297086"},"_hasShrinkwrap":false},"23.0.0-charlie.2":{"name":"jest-diff","version":"23.0.0-charlie.2","repository":{"type":"git","url":"https://github.com/facebook/jest.git"},"license":"MIT","main":"build/index.js","dependencies":{"chalk":"^2.0.1","diff":"^3.2.0","jest-get-type":"^22.1.0","pretty-format":"^23.0.0-charlie.2"},"_id":"jest-diff@23.0.0-charlie.2","dist":{"shasum":"6321277332f4f28301b10acf02ea5e242e0387bd","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-23.0.0-charlie.2.tgz","fileCount":7,"unpackedSize":13721,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa+q2qCRA9TVsSAnZWagAADS4P/3FVg9FkorEBxGF0/3ji\nky2flWNTIVFTTv2qWC0oWYAEw6FEdfhqEQMbPxPPLHXqLimCE6ScD0ybvaDt\n14BmZ+OQUUr93rRUfecVO1a2mniEq358WviNqhC2RvTNb5MB+wpe4Ll2uAPo\nojrVqufRm2xr9r2yV5elxFToiFhthq+UMLAmCyejsXojn5Fo7IG25KuclF5v\nrZ9ptBawkQecVudVSqVoNQ58RlsY0ufrY+uU8XLqOBo3SuFijOtJamDASK+p\nviUXZZsOCTuTC7r0LKAZpsMonUSNVX6yGfoWUQwP2rWtOK4hD0BSbjwX4mLs\nzyiQ5irb3FD5uXe2xa2KIoG4Wn5W1kWFkPGl+bnGCyyVRwLE7aBqXIfdCxyV\nINieN2ZqynZ9V/C+oSc0W3C4xN5T4MEr38JwPDx23v9MMI3KV6KZdu+IRHr0\nhaRJz1b67FyzvgN+Z4FtMS/sUnYUkozFrvnuHdnmL+bcG6W9qh2vwAcD97+g\nl/yMZb7x/jMUS2CbPmoFdbdkRF/XO14Dhkts5KWfB7yr8W8WtLSm+DzSKZsI\n4T8W77TyBexpK4t0k89yipIE5Khmk+NCdjF51FaROnYmv02FH3lw74F4abGk\n3uyJ53wL4sJ264IUF/mtXpl1W8vGRBE6jUpZk97nY5hr2anjt5YThHJjWDBs\n+XUE\r\n=ysze\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-ht/3kVP3LguNr6RFsOYX/GTFY4h6or6KlMcgAzfwucp520uG5g6ssL9uREQXr6o9dlUg97ywajy6or/+pNsqxw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEP9qPhsZAeSWQTeeXz0J3QdgHTB9Fe/Ivpwb+5zDteCAiB7shpkDOMuJ+nz6I1ZakCIB2Cof1OZ9Huqgisxx8tRJw=="}]},"maintainers":[{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"opensource+npm@fb.com","name":"fb"},{"email":"jean@lauliac.com","name":"jeanlauliac"},{"email":"mjesun@hotmail.com","name":"mjesun"}],"_npmUser":{"name":"mjesun","email":"mjesun@hotmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_23.0.0-charlie.2_1526377898047_0.12030134693703465"},"_hasShrinkwrap":false},"23.0.0-charlie.3":{"name":"jest-diff","version":"23.0.0-charlie.3","repository":{"type":"git","url":"https://github.com/facebook/jest.git"},"license":"MIT","main":"build/index.js","dependencies":{"chalk":"^2.0.1","diff":"^3.2.0","jest-get-type":"^22.1.0","pretty-format":"^23.0.0-charlie.3"},"_id":"jest-diff@23.0.0-charlie.3","dist":{"shasum":"9ee0575d512875038c0dbb60b4ffb0d643c8b732","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-23.0.0-charlie.3.tgz","fileCount":7,"unpackedSize":13557,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbBDA+CRA9TVsSAnZWagAANSQP/jyz5SQ3XHRbTVVe10sb\nqfw8iuod90TyuhVLphCAS27GmRvcpemP7lI5Sh95PpBr+3xdOP942Y14m3r2\nGb7Q/AbzjvIk01JYxYQljt+ixfWkOyN4XQC8P4t1i1hQUXkX3YspN161uaYQ\nlrAQr5pVvqmfwpXFFV1PDSnUPhVenvzyaUxnNv45134dBLMzZqYcBJmbMgic\nJx50tCJr/M8978ETBtrRRuB0YBy73fblG15Ob/HkYS2Z9dre59950WKvJode\nYeMw3MxnIxiGpzjLpJsXBTzixZsSdr8KHwHHcICTUHyASaIiS5lhwuDwPEVF\nEXyVQa9NMg4wzHsZWlVnKSRJgObr39D7umIk9GWzZGkB0pBQBS7HU0rC8CNr\nXrdbJC7F6aYpxVGndFxByMhesFGZrK8eWxXx1nocILEstuIvUTq73befGdVu\nL+5f2tt1HgrjRRV6pZCSB979t5powlU1/wd7ce3CZZuPOm5xcMa0IJW1Dl9s\nE77cXNeyddIo7HRxjxXgUGFIJ7YFuuwUEcdYmS2NbCb9SSQVGIPr81koX+QS\nU67peERH7KZ4bVQckhjQdfhojEaXIHzZvl0MuSGu1DyZqwKVLAtC8uLCh2D0\nNuqTMMZWz5ZQg6emLWQLkqXJOQq1tBzi9CR92eW23W+5Sjh5LKni9Dh5ox6p\nELvU\r\n=HVhK\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-6XjwUQnG8fG5L2JUgDjz/yUzpDtpbH4cEsOAUWYkzslbR0q9lohSR3q4PgFLvALklq+eNiL75iQZWO2t76GAbA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBesKDSP6Sua+5hGX8gRH72exSIDILpTz5jVsMhf+p9wAiAsGCER+/KvkQQHH3hbKS8jJJHJRhMLxh5y77kX6Pp9Fg=="}]},"maintainers":[{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"opensource+npm@fb.com","name":"fb"},{"email":"jean@lauliac.com","name":"jeanlauliac"},{"email":"mjesun@hotmail.com","name":"mjesun"}],"_npmUser":{"name":"mjesun","email":"mjesun@hotmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_23.0.0-charlie.3_1527001150289_0.6803912177300606"},"_hasShrinkwrap":false},"23.0.0-charlie.4":{"name":"jest-diff","version":"23.0.0-charlie.4","repository":{"type":"git","url":"https://github.com/facebook/jest.git"},"license":"MIT","main":"build/index.js","dependencies":{"chalk":"^2.0.1","diff":"^3.2.0","jest-get-type":"^22.1.0","pretty-format":"^23.0.0-charlie.4"},"_id":"jest-diff@23.0.0-charlie.4","dist":{"shasum":"84d8dd6112cc120163387f8ccd288c223d54eb82","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-23.0.0-charlie.4.tgz","fileCount":7,"unpackedSize":13557,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbBUWaCRA9TVsSAnZWagAAKcgP/jl3FjXVYaE+WvEPIAuQ\n3QHkI/+UnTkPKmVKpb7QAi17gFVwUR85IHYX7EvhEdubQVuTfnwoPwq+4yVR\nd+XROYwyAhPaqsMRajS9oy0TsW6GvUJO4pwYvAs7qLKjxsmWy6PHgL3zLGQO\nw+wqgst+OaytFGV1bMky6mrws3JvhcKA1rbO7YWqY/bng1ZfNKnjd5P+Eccc\nTTc5ry1z80i4sw0hLuhBsdSwkEY5ZOr93rjLRfDJW8wOCpslbw58KDfse5n9\nknmRRhxEaFWciOWJ9dC7EoNK200I2ZbWWuc8ERGuvr/+wqRhSAYUEipfbqfb\n+vZknX/4e5aLCdZtPnG3cheVLbbYNgw5dKVuV8IMFB5OZCLKT7ebmLRRTqdb\nlo7CPn/XKgOU61xiB/DbSXZPrLJ4euLLOOK71SHgp8M9vrhXJZOthuncxgby\n6GQzr9tetM1ncjNrmHCadaSiNYNdkbJTySSv1U8VpNAnpstQwVpi/rCcwBdq\n0KDJHPZP51hXxtn+YhDd+rgE58xVadwANd/5tTImVHwIT+0zoUTy1h6kOaCj\ncybihkyNZel7377SaZmOSDR84+CUJvjU7c1frZ8iyc+ATrmdmYhAp/Q8jXvS\nsRLrTRzPdFZzP/rIiQY+z2R7gRaUrX1UBVG+iElJdhqJ3CyhLt97dfDV8fuw\n1Z0f\r\n=+uy1\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-njoTfk7UymEzoqxrwi0TtVyymMBM7N13Ytto7NKOTa3Gkvcf58b3O1csyedupBqazfaVKyeoBQpqjwvBMIMIpQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDBb7yp/ESWC29NN2nJCzTpm7BNZJrlqKCTXXRlVk4uJAiEA2Jhkk4FcBm+CuLYlI0H7M2yWO1QteahXR8CjPptiK4M="}]},"maintainers":[{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"opensource+npm@fb.com","name":"fb"},{"email":"jean@lauliac.com","name":"jeanlauliac"},{"email":"mjesun@hotmail.com","name":"mjesun"}],"_npmUser":{"name":"mjesun","email":"mjesun@hotmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_23.0.0-charlie.4_1527072154021_0.9725061461456832"},"_hasShrinkwrap":false},"23.0.0":{"name":"jest-diff","version":"23.0.0","repository":{"type":"git","url":"https://github.com/facebook/jest.git"},"license":"MIT","main":"build/index.js","dependencies":{"chalk":"^2.0.1","diff":"^3.2.0","jest-get-type":"^22.1.0","pretty-format":"^23.0.0"},"_id":"jest-diff@23.0.0","dist":{"shasum":"0a00b2157f518eec338121ccf8879c529269a88e","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-23.0.0.tgz","fileCount":7,"unpackedSize":13537,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbBvXLCRA9TVsSAnZWagAAGuEP/iNj1DSEwnNxSyTOO9L6\nJkWgZ+eO9heHp2tLKHYPrW0Z+lc3Z55HVzixOCylR4kHInbOK/kpju1uxZnw\naALC5RbhNIo3Jml81e6ddynuLG3QIv+nZ6vIJ/INCoY2ZJp47GTmyJql0Aoe\n0dBLMb3YtteeRtNkg9dn/iZ3SxjMEW+SsPGPTNlmrgSDvnSyBNxxa4IXPchE\n6CKrEuN9YZRsNw2nDoYlUlTXS256Uj+sMun3lgy9RFD17sdd8deYF4R+P6Ie\nRldZjpEUPvs+1P4YbGZ+ApFhKcd9w6VvGpXB67FOGPn9sWhBxIwt5gd+h4KJ\nSOylyMjxbTXF9ZfwrFQsDcPwYWj/wJBIACcJKH6uYg2PlJ5urNrn+w1FRsu+\nvIdp19R3aRi7MfJofc3F1bch8D3ShwXGZe4zzQfX1WNOC2wkGUu+aOv9PN2N\nvRpT2ngepKxQQL2zO3CkXLCh1DiLZxEQMtat7vDCPVQElOwFN8dJ53UzGb40\nGVlX2Pg6OIOm+JuzXi+Vy0hlLGioBGObi24YjFvIsk1bTSnQ1dVofMaN5xeR\nqRkKgYWqtkrnooeDxpk+2GLue6JksLnSist/DjYQUztI692085RuHP7FjfnX\n7NJEGAFrdYbytdpmRSW6e0HbPZ6vjD3JjwaOIf51IUOrSoVVh/GbXOgvGSsr\nXxhG\r\n=Qkkn\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-YVAMQzFW/YXqjoRviVamOJ+hgj+w02zew/VcZOYWQjW3qMoWXOJtIyvMSnUyL5vFbuppNh+TC00nhz+2NSO7WQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFk9APSejV/Wj/2gRPAbIQlluPhilf0ZT492Mvs8c8emAiBzbwcc54KLpyK0a9qRZH/BCv6m+POYcTwr2M3IM/g5vg=="}]},"maintainers":[{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"opensource+npm@fb.com","name":"fb"},{"email":"jean@lauliac.com","name":"jeanlauliac"},{"email":"mjesun@hotmail.com","name":"mjesun"}],"_npmUser":{"name":"mjesun","email":"mjesun@hotmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_23.0.0_1527182795209_0.3214446130662163"},"_hasShrinkwrap":false},"23.0.1":{"name":"jest-diff","version":"23.0.1","repository":{"type":"git","url":"https://github.com/facebook/jest.git"},"license":"MIT","main":"build/index.js","dependencies":{"chalk":"^2.0.1","diff":"^3.2.0","jest-get-type":"^22.1.0","pretty-format":"^23.0.1"},"_id":"jest-diff@23.0.1","dist":{"shasum":"3d49137cee12c320a4b4d2b4a6fa6e82d491a16a","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-23.0.1.tgz","fileCount":7,"unpackedSize":13537,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbCs85CRA9TVsSAnZWagAAD0MP/inPVGxeQDILDp8JmwI5\ndxKgp+kVWzcjGB+0eiIn1K+9MDZcifjnCxB9mUE13PX2h51XKoc17kXLcWjo\nloFIFd8/fZKfzcd0a8wQHCCYngZvtb/mSOuVgfOCOFjQjLUayajVTHfv8z41\ntYg0vIWC8sARVx00O0X/EJRHOShUKZKKqC3Z1d7ObuKqnDEoTJLdQnvVLcqu\nzMPKFxVD2RKPpym35DIQbfYi15l0y9icExUakjzdTWfA8QxxHsb7ga2MKx0m\n7S+hHCc6+BACA1KdA4nh3+TBhD4oLOdd6lz4RzKifpXLCVS9P5k/ce4wAddt\neSlodgtaW4/WuHIDSo//oIZG/kCnEM6SrsWlmY7WCHUGXpEYbg88kDgY76t3\nUOUbNP2zlO+DX97ccRWJTyYz56J3B4YZ0TjmwjmkDBGS2A2zPrGlsBg+YzNi\nm+H86DbUFYf5Mo3qB91cmnmN24hMGZfugs5dbq6vkeE0TG/73FteCv6oMPfL\nCvZLxjFMRvpi+14Ffi3zSLpsr/UAXP2HE8YbBPSTGqOQkp8k/HCULkBl+Hub\nr8RgXUEwER1etHf2DSb8EmXyIfiGTY1qUeHNOIi8LmU/Jcul4LlO4A5HT2SQ\nIPVABcZLg7Z++FKGLV5URMf+Sl9r2Sbtzz54QfPkQPRF9K/jaZ09vMzNBvfo\nFGvh\r\n=F2VQ\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-lbIYJgocKeKlybcnoyP+7KkV/DZz+WkjZTOAgJDI1dxDyVfMa07BRS69PD3OnG89Ky18vsJQFbApHd9Lhkb6Zw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDdDCZViaVsT6Z+eSUNnPn5zlM3XwVixUnD1pFyRFImdAIgSvv3Q/fpCtOsWCfDwXi3aNG+FSSWPq2k2I/SpjC3qLw="}]},"maintainers":[{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"opensource+npm@fb.com","name":"fb"},{"email":"jean@lauliac.com","name":"jeanlauliac"},{"email":"mjesun@hotmail.com","name":"mjesun"}],"_npmUser":{"name":"mjesun","email":"mjesun@hotmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_23.0.1_1527435064956_0.19046742028162145"},"_hasShrinkwrap":false},"23.2.0":{"name":"jest-diff","version":"23.2.0","repository":{"type":"git","url":"https://github.com/facebook/jest.git"},"license":"MIT","main":"build/index.js","dependencies":{"chalk":"^2.0.1","diff":"^3.2.0","jest-get-type":"^22.1.0","pretty-format":"^23.2.0"},"_id":"jest-diff@23.2.0","dist":{"shasum":"9f2cf4b51e12c791550200abc16b47130af1062a","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-23.2.0.tgz","fileCount":7,"unpackedSize":13537,"integrity":"sha512-FiIP7ciH6estIZN8nZ2D/ZtnFF6906GVjO+p9kdeIGGxd6BHGymPxlSporvFzrNaT2Cb3Ctwkp2mUr1pypZrqA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBDDrtyZ7Z4hVBOxBCMMYfJpd3fuCh7HzFMwD6AwX52lAiEA86XFP3Ms/jmrikdsDSQU0EYjzoYiVqcXnUknSaD1HF8="}]},"maintainers":[{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"opensource+npm@fb.com","name":"fb"},{"email":"jean@lauliac.com","name":"jeanlauliac"},{"email":"mjesun@hotmail.com","name":"mjesun"}],"_npmUser":{"name":"mjesun","email":"mjesun@hotmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_23.2.0_1529935519756_0.9258324057595861"},"_hasShrinkwrap":false},"23.5.0":{"name":"jest-diff","version":"23.5.0","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git"},"license":"MIT","main":"build/index.js","dependencies":{"chalk":"^2.0.1","diff":"^3.2.0","jest-get-type":"^22.1.0","pretty-format":"^23.5.0"},"bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@23.5.0","_npmVersion":"5.5.1","_nodeVersion":"8.9.1","_npmUser":{"name":"mjesun","email":"mjesun@hotmail.com"},"dist":{"integrity":"sha512-Miz8GakJIz443HkGpVOAyHQgSYqcgs2zQmDJl4oV7DYrFotchdoQvxceF6LhfpRBV1LOUGcFk5Dd/ffSXVwMsA==","shasum":"250651a433dd0050290a07642946cc9baaf06fba","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-23.5.0.tgz","fileCount":4,"unpackedSize":13537,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbbZh2CRA9TVsSAnZWagAAJPcQAIhc7GTrACGW3wv/uMVc\nqBM7gEEsPES7hP5zqtKcfRvqqrjVLTGgLNCkMeHQT2s9gyvl7sVzLWIjVxNw\nymQPp7xsLzTovPpbbFbuBV39SvKTsLg63RE05XzSpcXb/gzFZHd1gU5lvA7z\nlCs65JNoSUBNc7hoWLr5OaDeMUugi2LaMUruXWky4s/J+zHVruxa9J/027qZ\n9F8u+Joqr3erqJ3DWcXDXz4m9UpeHv9f2MTH8RLSf8obuCLdpb85rmlUo5IJ\n2XfSzQjy0WCPa0aMI7onV6UbVyKpXYWmOupuoL2u6bUun77AVqZHJ50il84q\nMN2dFCjBo2FgmKmpWha4dTLYN4J/Vy9ETmwx9Lwa/fpuYDba2FcFTC6VjuMm\n1v4+zTS11PjMAJ0A1rc8cyoVDj7Skt7rfKUYnd2z2KKplnCrmahuI1ziRUAG\nexFQu1IeyR2h/A+HdJ7V7OsHsojphC2/v4bCE+NgSrDE1PV2+QqxH8WahWg3\nKjt5hoqtSNbJt2ukAW61RZELog8q2WBruQNiLLv19l8JEd0dlCw/ho8V4rqj\noV1gm9K/cQvzi0U5k3PYdePlgkfKVMEMFGKoi8O8RdS8UT8pnEAAKR4v+CrN\ngKX5p0aacOqpCDWf2p2+JEe00cknQTDMmXCj39rnMamKBWYTFsoiTkDTSmvQ\nHiTE\r\n=e9oB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICUQ/lfZqsTgTOaxb0kwLRT1w8qSDJ+SUk3AfWLqmqpFAiEA0Noxh9ErSekkpqe6SEBZqqwfR7cbUFMpKx9YNMj98S0="}]},"maintainers":[{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"opensource+npm@fb.com","name":"fb"},{"email":"jean@lauliac.com","name":"jeanlauliac"},{"email":"mjesun@hotmail.com","name":"mjesun"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_23.5.0_1533909110145_0.06694172146138766"},"_hasShrinkwrap":false},"23.6.0":{"name":"jest-diff","version":"23.6.0","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git"},"license":"MIT","main":"build/index.js","dependencies":{"chalk":"^2.0.1","diff":"^3.2.0","jest-get-type":"^22.1.0","pretty-format":"^23.6.0"},"bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@23.6.0","_npmVersion":"5.5.1","_nodeVersion":"8.9.1","_npmUser":{"name":"mjesun","email":"mjesun@hotmail.com"},"dist":{"integrity":"sha512-Gz9l5Ov+X3aL5L37IT+8hoCUsof1CVYBb2QEkOupK64XyRR3h+uRpYIm97K7sY8diFxowR8pIGEdyfMKTixo3g==","shasum":"1500f3f16e850bb3d71233408089be099f610c7d","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-23.6.0.tgz","fileCount":4,"unpackedSize":13537,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJblmbUCRA9TVsSAnZWagAAFB4QAIu55qxXDRHn2IF8EeQ/\nzrdXI6MHr5CVobAkjU+GPueoHbyCjh/+Qc9pvOEnOLrSfG3Z5tLB7wz7pSb2\nLAHv9feVW5EZD3vqBuqEHNEBKGrwHO/VbMLpZcxEH3RlfDDML2yG3oUL3tvC\nkHZsifw1fof18/rYwSetP2DZc7nWfJJapn6KQo9AH2e8FbotEjJUXTGofSJ7\nVW2WM8tnS+8//PoTg8bsCmVIXfOzck/WA/M5oT0OjrPsHRc3g+phg8PBHdRU\nAciXR5BmxmYIGfD9uLrkDM1hoiT16P/6tIcq6LMezwN5/RFFKhw7DEl3BL3d\ny7OKCQf9nz/VfM8wbT/Nh/qQhnMR3QhY88eqABctEe2gRfQ0a9oDDREvUpXD\n3VPG57YzlDZg7xh8zix4MbsyuSypJNDUhlTWPsmZmnWUu7wuj6STsJ0g3hhX\nNfZ2TzyX6W+lUgvBFkm8pZJKNUgWF0tW/COm7o/0BLvCrZL0yPwWS/w7/lRt\nbrt5z1Uha6U6xU0LiTtqkcH6kp1kb79ikVZHaffZNLTMbRRjhAiltZjDzXqN\nfWfvB7Rih8OQPLru06/9ykvSl1rH01ona7uy7yw2xXfEVVQswU2nQyyNh2D5\nVUCKPOaMlWs8R1cOyeNQgv8D28jDxm6TiiDn36QX/bfCnu8fyk0YbDRbO6uB\nXoaG\r\n=iq0B\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFyjB9WDPJqS47ekM4vmEnHYyrYatLvs0XJllBjfFZkGAiBpInbhLr+nZ7MyEgbKKvRoS0XJJZJHewwNR7Ib6MxEUw=="}]},"maintainers":[{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"opensource+npm@fb.com","name":"fb"},{"email":"jean@lauliac.com","name":"jeanlauliac"},{"email":"mjesun@hotmail.com","name":"mjesun"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_23.6.0_1536583379840_0.49023823824007584"},"_hasShrinkwrap":false},"24.0.0-alpha.0":{"name":"jest-diff","version":"24.0.0-alpha.0","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git"},"license":"MIT","main":"build/index.js","dependencies":{"chalk":"^2.0.1","diff":"^3.2.0","jest-get-type":"^24.0.0-alpha.0","pretty-format":"^24.0.0-alpha.0"},"gitHead":"22f67d49ffcce7a5b6d6891438b837b3b26ba9db","bugs":{"url":"https://github.com/facebook/jest/issues"},"readme":"ERROR: No README data found!","homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@24.0.0-alpha.0","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"mjesun","email":"mjesun@hotmail.com"},"dist":{"integrity":"sha512-kERDCbKITahgGQA4YtpnPR2wzcy87Fe9oxMfZK8LDMD/ujdG1+/xuI8chE82I7n1796MQZvEZ/fE7S9jaC/YuA==","shasum":"21ecd698ae8a1f38314c10236009553454732303","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-24.0.0-alpha.0.tgz","fileCount":5,"unpackedSize":14717,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbycpECRA9TVsSAnZWagAAaSMP/3fwyLCPPZvgfRYHr6ga\nlBi3bt4WjW1wJ7v0yzFPY9+5BXipqGIFuCl5NVd1M6v/7VhPydwJA8ka2lWS\ngulQV9EgnHvxKkCBsOme3q0qST2lf1Vh/11nlhgqOnVpi5VG6cDX2MmA5wpz\nAAeYZNgW/gOf0gfQaNRV5cOwNmlCv0RUjwiLQsKvLP10aiHbNssMXR8PsgcY\n65dHYObRkT5mY6OAJceUPEzsJVyj27FTK+L8+MxwhbB1HEJPNiL0G758/O/3\n95fyRt8W6aH4VUTRQiF7oRjWB7rAdFJe7rgqPII16yk3gBOyMX4UwTAS88JJ\nPbeVi+L292hz1ziU4rdRWorrqLVRkcFaIee8sGTOpkJ1qy38NJtEyIUa1jDU\n4Ul+MBLnoqnRYc8rMdaseRontF47ZuoB6T1a/6WGESpb28leQY+4KytvtCGq\nV8vGoqOD+6NImYBm+QAoMoOxgQVcRH96WNo4hT76q26xdZIRGYEEbns6EFZG\nX4IwqbZ69HqJjHUnsVtOnJX2dNtCK4XuAQ4QbspBalfNrRHBarWqS9WbiZts\nPQzKXjDfwOzop8LvlZhp7M+m578UcGZ64x/0kM5HG+VxYSmHL329gXQ2EbmQ\nzRo2hKQF/TuKPlDxowilwaYACuxP0qPJP0GsPcyxSbbaEmM4IVJ/VrfhPjY8\nOV3D\r\n=5SnJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDRa7ezxD+l3bu+MRg+6Ji70lhq1sC15xn6chNNaLv4UAIhAJ7uP3fkzKZ0o62djuEdLnKeRy1fYUtmLVBU5IGju+2o"}]},"maintainers":[{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"opensource+npm@fb.com","name":"fb"},{"email":"jean@lauliac.com","name":"jeanlauliac"},{"email":"mjesun@hotmail.com","name":"mjesun"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_24.0.0-alpha.0_1539951171718_0.4097222623682253"},"_hasShrinkwrap":false},"24.0.0-alpha.1":{"name":"jest-diff","version":"24.0.0-alpha.1","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git"},"license":"MIT","main":"build/index.js","dependencies":{"chalk":"^2.0.1","diff":"^3.2.0","jest-get-type":"^24.0.0-alpha.1","pretty-format":"^24.0.0-alpha.1"},"gitHead":"4954f46708415174c48a58f296a605fbe1244a31","bugs":{"url":"https://github.com/facebook/jest/issues"},"readme":"ERROR: No README data found!","homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@24.0.0-alpha.1","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"mjesun","email":"mjesun@hotmail.com"},"dist":{"integrity":"sha512-mAgFuNenb5X0WNVoIDa4AObEpL5RXyHqHXrmDWp1H9PI11XTadp8Hhxn4hy87psh7Cy2zN1K0S7IQmMjspz2ZQ==","shasum":"0b06a44e8de5ec295c7630435e55e8ee861c8f40","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-24.0.0-alpha.1.tgz","fileCount":5,"unpackedSize":14717,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbze5oCRA9TVsSAnZWagAAm+QP/RmJB5c+xD+Ql5vEnG89\n4PAdn2tCQP3J2yvo+5FqgNVMsK8Nz5pOLW1ZlDOnmveSoAsiQi1Gj/qG07H4\ntlwCiV00pxhBaDgWQPfTgZfUNtXuTZsEIQWc9LWeLSwkIrp1oh7aMdjSKGPK\nDnjjCieBCPNUAkqa8YvsdQc37JWcY0HX1+DmvDYvkzXz3xtCjkSFsoiqfA54\n+DCrlqrMWSAOyqE4gWlkbUaEO0q6icLqZlAixBXYt4nidgEbMGCqon/cbGr9\n310ung8AgXQWz2X987CLLvCEeQNtba+6wQ3Ne2grAkqBDekfkL2nLDC9BMR/\nDZb1ga+W/yLShdkJR0V0/8hN3RnSm8hQ93gYwxge8NYMmDyPLyu0hEiz4Byh\nMj1ldo5tcUe23LKJCQR6jTGRJz51F/iTmHTw03wk82vhJjmn7+5W8XUcKBx+\nK2yGCmV6gJxP1VtWOWjzRTwG+vhQTtslhBRt2L84xQ/9L6nxKtnK+YArVC7H\n/3n1cjR+OeiKVeGPmjN6fxhnElSKmy3tAzzvmt5oBahNynEOozizfGymTet/\nEGEeb/PEmHrvSGbJN7AZuGvaVEzftQ+4/lDQcY6TheNflz91mFN0/+6Ejrd7\nS7A+84mIeTRlzapc1ivYKSUjC12gwgskrVeHoVbe176e2+2oiivk2J1ARHn1\nd48h\r\n=FT+8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCprYIDthcBAyIF0MljvI7qkropC3ZQ/qo/U9LNdISAwQIgRc3CTQLOCpNdVGi+43XW7lae4vXr3/1nkUYLJwgMakY="}]},"maintainers":[{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"opensource+npm@fb.com","name":"fb"},{"email":"jean@lauliac.com","name":"jeanlauliac"},{"email":"mjesun@hotmail.com","name":"mjesun"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_24.0.0-alpha.1_1540222567580_0.14910983803250377"},"_hasShrinkwrap":false},"24.0.0-alpha.2":{"name":"jest-diff","version":"24.0.0-alpha.2","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git"},"license":"MIT","main":"build/index.js","dependencies":{"chalk":"^2.0.1","diff":"^3.2.0","jest-get-type":"^24.0.0-alpha.2","pretty-format":"^24.0.0-alpha.2"},"engines":{"node":">= 6"},"gitHead":"c5e36835cff4b241327db9cf58c8f6f7227ed1f7","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@24.0.0-alpha.2","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"rubennorte","email":"rubennorte@gmail.com"},"dist":{"integrity":"sha512-y6Xt1ofi5M9X66XKWB2rXjrWPn2zPACONaKTiBXNFtFZVAnaQTD9og8Wm4/0cqWy5++SXrIcyQB4ZieGCvmKLA==","shasum":"d02c67b723e8d27c26b6614644011942c27586ef","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-24.0.0-alpha.2.tgz","fileCount":6,"unpackedSize":36447,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb0aARCRA9TVsSAnZWagAAtJQP/198uft2drK+Ab+llJxp\nicaqyw9gaEJsS07v9Uua9AKVCVlZmtOWK2HnSYqx1NHqmcYCXmxRdIU9CjVO\nTu5BtOtVeg3yFhsj21bBWqxkx/kgLizwaNS2GtKzsJefhhlRazbUUtwqfSKK\nIGYPUJr2no7LJW8cojgEEJsQCu/HAJBOju1tBUERhPiIF0mfOApW0NQQ1kn4\nMezQDYsXwsgU7CtEQSIqO/YdSN6rXiUzV5ONHvj5H8P9XGqGeHoK4F2Ndcy7\nZeY2U+6D67ryiW7bqjLGqM+XT0fuZj3IyCe/7jgoiv262KDK9CgnXQ8tQKaK\nTOSEjPo2eR2FwpGRkoLcVORnZJPyW3f0lgFB1DC1xdpcLyQj8c06vYk0m/Yw\npVHaSQCzochS1CEus8IjqgskNdzKnGijJvzycbNmSoUYPX5RlekpM2hDgAt2\n9CQjslpS6vvAz/nuYIwyYlnYrPXV0LrGRbKkB9w+UQBGGhUpr8zhN/C3LTfB\ng4m+1UoT6MKDTg/Ch8HfBNvmHn5VgHKESxAwPaGx9QAVSTCPpFL2hWE74w3U\nCsad+DaaVPtkvuUvEzhrZrgMjgo4joH8fnzoSn5Cf0GxHqRFd8pRP1f0oXhq\nyZATKybuKDfybK1Jqi6sigrdys5wkYJ0SPWpeqzhOilmuCqK4Xu5iMww9VjX\nkvKS\r\n=JJau\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAwWhOCydTfqrAQjvSwkN/ryPaTPn/po1QfItp1VdFl/AiEAi/CUsD99lpTB/fsRzHtjM1JpoIDirJNsGPCSNI2jUSQ="}]},"maintainers":[{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"opensource+npm@fb.com","name":"fb"},{"email":"jean@lauliac.com","name":"jeanlauliac"},{"email":"mjesun@hotmail.com","name":"mjesun"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_24.0.0-alpha.2_1540464656857_0.9280881044339429"},"_hasShrinkwrap":false},"24.0.0-alpha.4":{"name":"jest-diff","version":"24.0.0-alpha.4","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git"},"license":"MIT","main":"build/index.js","dependencies":{"chalk":"^2.0.1","diff":"^3.2.0","jest-get-type":"^24.0.0-alpha.4","pretty-format":"^24.0.0-alpha.4"},"engines":{"node":">= 6"},"gitHead":"e41f0bb257c6652c3100b97a1087f9f812fbea0d","bugs":{"url":"https://github.com/facebook/jest/issues"},"readme":"ERROR: No README data found!","homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@24.0.0-alpha.4","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"rubennorte","email":"rubennorte@gmail.com"},"dist":{"integrity":"sha512-T3ZbPHcYOBCye60zjygOwbVyl83qC/MxRgi7CphRh8o+vUZ61Mr34LToLWwgRGxym1X7zI07ATuI33cdksreNw==","shasum":"fc17a96b6143f686ad2a9977a60b62593a38e0e4","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-24.0.0-alpha.4.tgz","fileCount":5,"unpackedSize":14749,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb00HRCRA9TVsSAnZWagAApQQP+QAGSxdFzzm5OEBS16UK\nMaAobEnphAfWPaG1yYe/0tK01G9Z132fWfmbI4LSJCiEm1lIoqqtvYCKFJyN\nQpuQ4D6ats+VSxFpq3XrNjLVqNe8f31wfrSuuZuksx0LJAKOF/3TytinFwcM\ns6vf/BZA+PcDwfkMjTT6hZ6JhK35KsxMFbmLEbt4bR+64jsXFElALmSAoJSx\nuCSQx57i1n9upaQujnJokoiIla8bL8bgMgjdD3ykp+20kt+0KI5byO5Ibo5T\nPoFYDOurt1j4tP5hZh1E0e2uzNxgfdGgBBBT5/zI0LhY6mFpk8MQRpiY/7dR\nSa1Ey2eed8y4Lu2YPGNQ8PSrGYaCWWV5KgD2xhYHx7WO9YxmZk5ilXRl8K5d\nHV2hcxxbX3XHcg7vfHLHwpYyQhAHZck14t9ObocZN251GLiHK6U2Sna/kKNL\nWfX5DWnIB7Yr72GaqvJNLqna4GU7kOMuI5+wHKxP4p2ZECvXBoI8ik4xbc9c\nhsIk8mKGYSICnZ81N852fhYwfpqtbhnzAPJA+eHBsvDNdrnn9VM3OSU0L7oh\nv03u9q1CSr0kLeLIrftnzCMHs104+HhpINrIpjWvwvkKBZGXp1E1LR2KmgEF\nW+JBI8mryMM2gBz34mxk0xfKZwe3QXplT2kPsvLfKX4ySgahnLD7bppW8K6V\ndvfc\r\n=bevT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDI/IRcQ9gxCFgvUNER+6NmqzI5XUoVYNf+rHU5QCTn/wIgTxnm++FshKe3LK1yW364aibXwrKgBDGVgn5hsV49D1c="}]},"maintainers":[{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"opensource+npm@fb.com","name":"fb"},{"email":"jean@lauliac.com","name":"jeanlauliac"},{"email":"mjesun@hotmail.com","name":"mjesun"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_24.0.0-alpha.4_1540571600737_0.8660184272084002"},"_hasShrinkwrap":false},"24.0.0-alpha.5":{"name":"jest-diff","version":"24.0.0-alpha.5","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git"},"license":"MIT","main":"build/index.js","dependencies":{"chalk":"^2.0.1","diff":"^3.2.0","jest-get-type":"^24.0.0-alpha.5","pretty-format":"^24.0.0-alpha.5"},"engines":{"node":">= 6"},"gitHead":"2c18a53e8ff2437bba5fcb8076b754ac5f79f9f8","bugs":{"url":"https://github.com/facebook/jest/issues"},"readme":"ERROR: No README data found!","homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@24.0.0-alpha.5","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"rubennorte","email":"rubennorte@gmail.com"},"dist":{"integrity":"sha512-bdNDKDayyJ205XGIKSqz8ZyGF9DDUlXIPUyw59FSDUR5uDQIMRR+KAEgWzcspuZ8mv9NEna9P8YFkCMxsJXQGA==","shasum":"9d44aedd7575f189cd7305b945e410aaaac79fa4","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-24.0.0-alpha.5.tgz","fileCount":5,"unpackedSize":14749,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb5YfUCRA9TVsSAnZWagAAm0cQAJcP2RbPmZcIQx2c/83m\nm0FFgaYZ4gZTNju6NoaiLDFr8iEoUlXN+uPlMFb2Z6VmboVrv6T7Kx0HwhCL\nSQ2LzGeU9Ag62ARFGmli4YsqgD/UXLFZYS+wmy/b+u0Ix2z+60IG2+H/6yj3\nuwMxE41OV1YsIYfvSQ0ugPWMybTU6uhMR9ZNur8NGrSPvzXhVcz56ivxMNk4\npSflN5al2ZECrwKT+RqFqWapwr74LIobIi9LxsVy50pZ7nRytj8JZ++ro/+k\nVdg6tLDMv+FsLyI2M7AxAuZaslO15+dbPwboxAefHRLGTKZaLThH2aa/FeLh\nJxi8rPMfKirl5I3baqzlQ0Paa8gHpFQ9VGihFEm+40yLDPjBEANRmWWeSiZX\nn2FJ0vsV7G7mq4VeNNt56Dn2pGd8J8TFCRiGwPWLuA0G8bbsrqIdbOTJZf97\nVySydimjMndxBrmHIvt7Vt9/t5ekPqCJSRPPMSxef8JYLC0I2LeRuJZOTZoi\ntIud05JG6+HZZIjHeCiJBIEa2UFRAgsMDHnGN68eLJB3whXwz7cLl/KYPAoz\nvv+SrpcHW+dcRSLD46kQHwDom1FsfZ0q9dKJG/aBrN1Cy37vokyHOlcgpdVL\n3fmo5DYvMKA1QAvuzEkxeTElYG597y/xZuYoOywR8h+CbxsVS0ssQd4Z5C72\n6cz1\r\n=VOPa\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDooA5uE4it+a2f2NhDeUopFZqgTZ1TMyRn6vam3j1o3AiBv81Sl7gaDaKmrwnlUGlReiw9GXoYBHwcNJYDk+pK1Yg=="}]},"maintainers":[{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"opensource+npm@fb.com","name":"fb"},{"email":"jean@lauliac.com","name":"jeanlauliac"},{"email":"mjesun@hotmail.com","name":"mjesun"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_24.0.0-alpha.5_1541769171517_0.730158565499097"},"_hasShrinkwrap":false},"24.0.0-alpha.6":{"name":"jest-diff","version":"24.0.0-alpha.6","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git"},"license":"MIT","main":"build/index.js","dependencies":{"chalk":"^2.0.1","diff":"^3.2.0","jest-get-type":"^24.0.0-alpha.6","pretty-format":"^24.0.0-alpha.6"},"engines":{"node":">= 6"},"gitHead":"49d08403a941e596eda1279c07a1eaf4d4a73dad","bugs":{"url":"https://github.com/facebook/jest/issues"},"readme":"ERROR: No README data found!","homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@24.0.0-alpha.6","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"rubennorte","email":"rubennorte@gmail.com"},"dist":{"integrity":"sha512-WXk920DseU/E93jfRv47RLUmYfZeVmEDDE2VF3P2tMoJSCsZ3A00KbjCtlgJ/8hXA7vPLPJN6SBcb5kqqRJ/RQ==","shasum":"9770b9d2067d40f3f8ff4001fcaf0eb0e5390f36","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-24.0.0-alpha.6.tgz","fileCount":5,"unpackedSize":14749,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb5ci7CRA9TVsSAnZWagAAQ3cQAJaHHkNlkfHc7d1p2x+s\nJ+1Vcm/a1YjWEDLMxbuRyoo5/TSREc+rmW8aoVk9/suTOjxW4ktIDgTtD960\n8luQVoF4meMMiQvMDWwPddGrPZFGD92VyzBDXuAPL3df6a/9qQy6KljCt3wd\nYobPrsuZkggNfl9tjyT9YU7dVnRZ8VQiBK+q5CcfHm3E0yP5IlB/P9wvngnZ\nu4bWzw7qWcq6us84XwMZ1MhBEwWCE6XtNgP1Awet6HPHZJBKAvTX7XIAWtuA\nOhp6IMhfA3pvEyESHIfB2Be8UV/FSRXlpyh/FOJY/pKAFZu2RK+CBbW14BAe\najF54ofVBdCQyj/oD0/gBr+dbnFh82Z9xCED5xcSsy1oQKwlRxPCsjOZtfYM\nNhNkd+8A37yX2egUCvYQBeBA9tRG2akRIM6p/oV6RT3JFJH7LlENeZ9M0a5v\nf1ZCXISFg5ECEoZnXKmzijKlBo6w5Doq6EH9dfK3aDRLckChEtyNqnf8lUuq\nRhEFp7rEkr9p3lSQlOfYfJkTB0K2ZFl9qAQT+41BI/IRZiwcIAaMj6wxciaf\nj6+TUd3zW4SPPTmN2+eRrTYQ9y9CKt87E+E0YQHxxrbS096YSKBPdc0NukbG\n6vDncORjWfFSpgNr+RLp/GXgWrR7D1un3A8LN7nJLTp1JpyPLOtVTdLLJEQ6\nWeYV\r\n=tbB/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCHQN7/0SiVS4kZdG/IXaCQWxrNu+Pd6CJv55d4guBxOAIhANd8hwzJzdDYHQobUS4IDw3hUdyshk6w1bmnMl59F601"}]},"maintainers":[{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"opensource+npm@fb.com","name":"fb"},{"email":"jean@lauliac.com","name":"jeanlauliac"},{"email":"mjesun@hotmail.com","name":"mjesun"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_24.0.0-alpha.6_1541785787357_0.6657284906602783"},"_hasShrinkwrap":false},"24.0.0-alpha.7":{"name":"jest-diff","version":"24.0.0-alpha.7","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git"},"license":"MIT","main":"build/index.js","dependencies":{"chalk":"^2.0.1","diff":"^3.2.0","jest-get-type":"^24.0.0-alpha.7","pretty-format":"^24.0.0-alpha.7"},"gitHead":"4954f46708415174c48a58f296a605fbe1244a31","bugs":{"url":"https://github.com/facebook/jest/issues"},"readme":"ERROR: No README data found!","homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@24.0.0-alpha.7","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"mjesun","email":"mjesun@hotmail.com"},"dist":{"integrity":"sha512-7+kff8NeBuIlqtJeR1laWcf+R8ruq4SLC8Nc5l9UBkgreyhJyrsQwbIrZZ0ETKH/Jv4sGkQ26nFiw0OutgWZIA==","shasum":"517737badf2c3b52eaaa192c61a636e1a1dc94c9","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-24.0.0-alpha.7.tgz","fileCount":2,"unpackedSize":1502,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcD+MTCRA9TVsSAnZWagAA9xYP/jXpSuMhIJho6tKX8YYD\n5YY9fb15dBfNS3GGycoexRPOiRK2DK6a/7vcUDIfn6calg6lAkmXR2wr4+IU\n7tHhfH7/yOn3gCLn29GX9EyYmigGRvRKgnjG7HlAvlP4Sqza33m38Z80u/UY\njg8gV/jEsU2pKtx413OIADTkTqDO98wW7BYC2gKED3xsvq9bwYs0EGY+J087\n7rxG1GhS5PTxGY8AK1LYiM7rFqvIfEeFqhqH+7F0sc36OLLZyjPvc7SiI10p\nDC+1V1ZIBMGJh6JO1LHdKljl2iz31/0pKS4QgM18axQi8hm6+f0BkpwRWEjV\ndjdf1dNydonlzI+EVz3WWdpuqMm3yUi8gcXV8aepNjNHFZZZBAIfeU5eXVn7\ngPws+n4E3Vfh/B2JR0A5/JwqOlBif/qgFnLn1UgkwSqWl7FGDaqfIz9vaBdA\n4LcQa56aeapb+vl5gUhIgPwn2PTMDMFi5XkYoooTTWU1/hMsK4wdK683B5iE\niMHZW0aUYcUMCQctD57SsiySJkuOQ7s2Ce8nJYHEvCZ2ex0vlFiThiFHAb/J\nCKvGTXalODOskhohXMsIplQ7/ldBCmzUqGRSUkPqSG6fSKQEUTztX2BNKZt6\nCr00qiMvaJEPdDOJReN6IajucyP+Y9qZbyCCQVOPNFRfi2vJQMBGyJZDJEET\nTPr8\r\n=NzmD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCwx1Qq7K7gNQGSVNcF9/JeVcALVUBgHMlcZG5d/z2w/wIhAJ4QC92nlBG+Qacva+FVtokHjWW6eRXtr/Ib7xMcW1Tq"}]},"maintainers":[{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"opensource+npm@fb.com","name":"fb"},{"email":"jean@lauliac.com","name":"jeanlauliac"},{"email":"mjesun@hotmail.com","name":"mjesun"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_24.0.0-alpha.7_1544545042866_0.8632272134564074"},"_hasShrinkwrap":false},"24.0.0-alpha.8":{"name":"jest-diff","version":"24.0.0-alpha.8","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git"},"license":"MIT","main":"build/index.js","dependencies":{"chalk":"^2.0.1","diff":"^3.2.0","jest-get-type":"^22.1.0","pretty-format":"^24.0.0-alpha.8"},"engines":{"node":">= 6"},"gitHead":"700e0dadb85f5dc8ff5dac6c7e98956690049734","bugs":{"url":"https://github.com/facebook/jest/issues"},"readme":"ERROR: No README data found!","homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@24.0.0-alpha.8","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"mjesun","email":"mjesun@hotmail.com"},"dist":{"integrity":"sha512-9fV4vC3T1E9qBDc45DnXWhwiDcSGd+ErD0fOAXCAVClazFCQY6Lsx8v95e4Lhg+lwlgOSOR+LwCMKv7BXlFymw==","shasum":"a4743283fea2dfc3a7e5aff1afcf4bb4655f5bf4","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-24.0.0-alpha.8.tgz","fileCount":6,"unpackedSize":19668,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcErdvCRA9TVsSAnZWagAA5YUP+wcgPMmz7h1SE7U09VyB\n8BCb1qezmdf8FuuaftyEUFAMY0LmDJ7UrTD8ieWfVFaGLHxSiKvhkuni6plY\nGcW4rFhi93IM2KTbi4vuDcRajeTxpMN8HmU3xkCXseh5tDCjgTiwEWR25tbK\njeECoCQWSGwcImH97xugAH7Ff75EvPV+2vV7QuuBAoIUguxp+ryebbe8VOdQ\nEg4tgq6vwcGAjKme8MigT5jC741eBrqNeFyacF4YDJ7/BQn1UWN/qeSWjRKM\nRBvY7NVHZap8sseISj8NNHsiErGIbs8vL/AZWaAOzbNSCMbwnrBDJCmKQ7jg\nNtv2X2WjghNcOGGZicYjYGNh05oN2/C+u/4qYb4HOOZ8CuioXegnpENfeexT\nJG4OjNt0KBNN6Zu9VK8ROG2YNyM/o4SQaaZc8WI6nQ75s5JtMIxaKpwUypI7\nOFvDG2NAVN+7y5Jzi/BYVctQVOf21+H+rp9c8Y08rIIbFxBd6mHKKwgnwW/w\nhEOrnWiAPljdAePOTupkK66Hxk9eOgYhfwiBM61v8QLNqLkHyaEy3flsxTe6\nUvqbTCpN7b9h4BTSTR4mZJVl1dMz+N07OzdJSAvgbYfU8gM1zJI9jfKq9hCp\nJVm6vG6JxgBGqYDvHGvYU0WdeVhLtzXi7g1qdSYE9bzzEfODEJahHSra+TnA\nAFYq\r\n=x8nu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDMt48nCvcYJ9Q+/ID3uASqAaqUTvBSuURwkf5nVecxEAIhAOQFE5v0URO+rsskibyLSA98QFMv1Jh6d8BHgKh6qIto"}]},"maintainers":[{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"opensource+npm@fb.com","name":"fb"},{"email":"jean@lauliac.com","name":"jeanlauliac"},{"email":"mjesun@hotmail.com","name":"mjesun"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_24.0.0-alpha.8_1544730478501_0.613715812059556"},"_hasShrinkwrap":false},"24.0.0-alpha.9":{"name":"jest-diff","version":"24.0.0-alpha.9","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git"},"license":"MIT","main":"build/index.js","dependencies":{"chalk":"^2.0.1","diff":"^3.2.0","jest-get-type":"^24.0.0-alpha.9","pretty-format":"^24.0.0-alpha.9"},"engines":{"node":">= 6"},"gitHead":"c7caa7ba5904d0c61e586694cde5f536639e4afc","bugs":{"url":"https://github.com/facebook/jest/issues"},"readme":"ERROR: No README data found!","homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@24.0.0-alpha.9","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"rubennorte","email":"rubennorte@gmail.com"},"dist":{"integrity":"sha512-0kOUzLTOEEsgc491HnTceiJomoI2rJOFhpMoyLYZUMRvKYtD2sMm5riceN//BcEZhJYAjflfTjJVRh/HPpWFCg==","shasum":"d462764589b1863b8c72c0146e13d994f427a67b","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-24.0.0-alpha.9.tgz","fileCount":5,"unpackedSize":14193,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcGlRbCRA9TVsSAnZWagAAXUgP/RmQ1+FvDWC8YyQ6PcGF\nlKihbGZsYwUziAHVqV2S2lCU8aAqZmQmqLJ2F14UiWyZuAXyT0HNZGOfH5DH\nE0LBHu0O749i8zoQuRzhaJSY4eK2Wtq5RuTPB/gFmlmCgoLrImiTZYIaHTdY\n6DOsUOXrOlIorLBJpy8tfsdkEh66MKK2SyrgUl0vp5l4onwmdXVsufzVs54g\nPtmgjl/ef1KCdKVenECLhuycRUTp64VjB3G+DXQJLIze8cFgs2pMSNm2Ew4K\nURvAnpBwR70sNfiZtzWwsOFTBN3EKfXTEJ2vzEjBGkB0BLjWst1L6PsLU30u\n8WXvwmXEHn8AhvNoaHkv5+r2QuDGsp4vrOO7oupAe5tiXTcXrsyyldldSY0g\nqcxr1rxTzdo+7IzBIEwLyAkSiFX+PD+WB72mSgP/GQlZqbJP4F3qM6LjK+Pm\nPUeA9vqrNeqML2JTU4u5o6ARXcyaPmbGiSTJJB17UPWANqzFlr75sq0lFuAa\nuY55yBRFYH/haulWkTISs70mxfzISpIfeYITg7BzD+ScnVUgZ0h9Kmf+Bm4t\nK5yINB0mF119zsiMWmtV0XzL7T6bSjqwDd5KI3gF1lbqL+wfJqLmCxCzbV25\nJ3wPyA9XhhQKb1kICWJyWVTmVgSx69bG/+QWLNMRZUDwYr5ozd4jjNcChND0\nvj+l\r\n=R5ca\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCGwSUESwTdAYYXXOcGWZHmq33UI2wg2KBpayXFhCgtEgIhAM18BjOw3335ZX92Xq7XeX/MmiY58sOaMFB39g1spxnN"}]},"maintainers":[{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"opensource+npm@fb.com","name":"fb"},{"email":"jean@lauliac.com","name":"jeanlauliac"},{"email":"mjesun@hotmail.com","name":"mjesun"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_24.0.0-alpha.9_1545229403037_0.27333512019266304"},"_hasShrinkwrap":false},"24.0.0-alpha.10":{"name":"jest-diff","version":"24.0.0-alpha.10","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git"},"license":"MIT","main":"build/index.js","dependencies":{"chalk":"^2.0.1","diff":"^3.2.0","jest-get-type":"^24.0.0-alpha.10","pretty-format":"^24.0.0-alpha.10"},"engines":{"node":">= 6"},"gitHead":"722049ccd66947d48296dcb666bc99fccab86065","bugs":{"url":"https://github.com/facebook/jest/issues"},"readme":"ERROR: No README data found!","homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@24.0.0-alpha.10","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"rubennorte","email":"rubennorte@gmail.com"},"dist":{"integrity":"sha512-EdsgLYWO/2DWo+Bw1HjGTcqU9hczfJqWBgiHVawCU3VXb+4MQbWgLcwsubGr9ECoF8Z+KIIYzzr68JYQud9Jyg==","shasum":"0f7e4108071f144d5f32d5e5ee4fd1790b24438d","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-24.0.0-alpha.10.tgz","fileCount":5,"unpackedSize":14274,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcNijoCRA9TVsSAnZWagAAoCYP/RwWFB0yQZRSXz784FeY\nkZwfNb4PIv5/FO7qfdEeziQ09hoNG+8/y3e28TxWAbkPEjJM6cbRB7xsJ+hC\n3mUsC/IX2QaVqXKYJgXSDIh+c6DR8SG1qojb4r0cA27g7La8IMe+raQtMsNw\nbp2OaL3EhbGpNo2NklUZeqdgRbbI+rkKrZN0FiTPSJvw5MtngPK2yCy9QW12\neSWRpMxim94d/hQUXD1QhNqV+mmSOCJE9+aGuEQZXesbmvFVt7vQ+NHCil/j\nCVfmcGeoSDrQmMIgdSOglzJ8f+9p7fq4+jxrARawbsA1jO9Qju301CG1qklN\nHD1RP9ClQQxU0+I/dL2WIrmfol30muPAlCl9P3TSEj7dOt+WoE9pA0H9cPTf\ncSn78XaiuHTNkRk8moD70vxdPc+4IqCjQzv3l7zkc2tv4QMBz51lCLXpfCKI\nib8+9ywBsMAuqUiL/NtpX8LDCvWVWAK7JiN1YLh5BVOjJaixn9DEmxBFGjuk\nC07NTei6M30s7Ekf6yi34e7zcrXgp/X91r/ObT/qTiOxY78nd1FBw0Xv17zw\nyf0buAXgQoR+a1W9bkjLwBf4tlVu3NoES42MqQcjZpQffQp+smfdquZxQ6Qy\n/B2tWow+jaDSCsnmhT3dYeldT2YjkOtgsXsONH8UAclIitRMv2XH52JwgA/z\ns4iz\r\n=bXG8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDMR2g+FKENkG9qk7hkVJjPEWH2F1l8xE5pae5ukbpaEgIhAMhoaHnPmIRM95fJ79cM/O0xpN+h0oKxBEMRJQ9nAGZ8"}]},"maintainers":[{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"opensource+npm@fb.com","name":"fb"},{"email":"jean@lauliac.com","name":"jeanlauliac"},{"email":"mjesun@hotmail.com","name":"mjesun"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_24.0.0-alpha.10_1547053287990_0.043867988202676456"},"_hasShrinkwrap":false},"24.0.0-alpha.11":{"name":"jest-diff","version":"24.0.0-alpha.11","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git"},"license":"MIT","main":"build/index.js","dependencies":{"chalk":"^2.0.1","diff":"^3.2.0","jest-get-type":"^24.0.0-alpha.11","pretty-format":"^24.0.0-alpha.11"},"engines":{"node":">= 6"},"gitHead":"6a066c6afe2ae08669a27d3b703a6cf0d898e7b7","bugs":{"url":"https://github.com/facebook/jest/issues"},"readme":"ERROR: No README data found!","homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@24.0.0-alpha.11","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"rubennorte","email":"rubennorte@gmail.com"},"dist":{"integrity":"sha512-5lYCCiVwPlNGrwEjVXYFCU43YtnPZtw9NMFSDP84NniuvxL8bWcvVvvcGbn4LBDRGFpbkAm1tFKujZbArUJ1eQ==","shasum":"18868ff24deeaf659a60e61579b7550a7aa66362","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-24.0.0-alpha.11.tgz","fileCount":5,"unpackedSize":14208,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcN4/ACRA9TVsSAnZWagAAYu4QAJz85fpWwfLoYU5pX36j\nPKAee23oXvt++r28CdCZLXRrZqD/zgiyiZtr1zXfDmMSMRpDKdqAWl2oBB5m\nqOs2xsgfiK8mcPV5pGVLCCIG8rNaEwbvtaIuY2Nfy2651Ja0Oog4LmYoyjhB\nCKcNTcA2b/87LC69+gx29inzC0r4kdeH6L2Eqrx4vUuPAi44a/RgG5pK5faj\na+4dxJzjpgV/uOwcaXwZKZRbqaaYVG5qh/XqhJ2bbswWnlCf17poBWKmEfs7\nZcyfV3DR2FeH/UZy2CaQbXV5JMgAY49tsJT8jp/jlN+jQVGY4vMavIqbEC99\nRPGTbvR9pBtevrlAmZdGIdNbvUj6PxYu1JR4WydeBEOIubQ09/pcSqAPQMGh\njodlykRWy/iIphOyvofDK1oQqW4SSRGqm30gBwD3t0+3LA+pztoMaCAZxKCU\n4vzjnipm5ibKZMU/IRsVMJ8XGpLCOOF00DQ09SYnVOPPRMO3lPDfpWhHpzwZ\ngA5lCpnB0nafZs/WKr4aOXhnfjvHBZgtR0vAbesrKNF22D+lK1QLoK7wS/EA\nUTgC8Z97DQEFBHPFDBILnUtM4uMbKnUM0G521zR+mFUP5aIJOsmuML0paOIm\n2U0BfFeJPbthrg+h002K+wLmFUZBxQt70DwPtJbE6ML8Z9WuNs8HEeu9yCU6\nsIg6\r\n=WMy7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGHiW/Q9n7e6c3vwe789MiftUdzKpUrnYrG6Z4tKmlN4AiEAyA7N8FcnFkVXwJbVJAhNRsqNc+j2WorpebKuij06kn0="}]},"maintainers":[{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"opensource+npm@fb.com","name":"fb"},{"email":"jean@lauliac.com","name":"jeanlauliac"},{"email":"mjesun@hotmail.com","name":"mjesun"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_24.0.0-alpha.11_1547145151529_0.3627645419876475"},"_hasShrinkwrap":false},"24.0.0-alpha.12":{"name":"jest-diff","version":"24.0.0-alpha.12","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git"},"license":"MIT","main":"build/index.js","dependencies":{"chalk":"^2.0.1","diff":"^3.2.0","jest-get-type":"^24.0.0-alpha.12","pretty-format":"^24.0.0-alpha.12"},"engines":{"node":">= 6"},"gitHead":"4f2bcb861d1f0fb150c05970362e52a38c31f67e","bugs":{"url":"https://github.com/facebook/jest/issues"},"readme":"ERROR: No README data found!","homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@24.0.0-alpha.12","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"rubennorte","email":"rubennorte@gmail.com"},"dist":{"integrity":"sha512-ZXvmQ+/z/QvB3MEZPeT6uotmAIuoAScUAzJ8ItZcwaI84vklHz2S1jr0wsjtyQIxAuT0vpBUOCKN6dQ7VPcOzw==","shasum":"1ba627f381bd53a3d0c89cc3c25a7e577e5e22e9","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-24.0.0-alpha.12.tgz","fileCount":5,"unpackedSize":14208,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcOK8ZCRA9TVsSAnZWagAAu+AQAIWTHlWyXb4HcFbzt9iR\nUhZB3M2KlaHNil2Y8mkowpzLrs5bRzsspqc2Gb/mEQGgpvKCMIicFtf3a5tJ\nercT/+s+xiYY7YpJcp+fA7cm+j+7hftShj0nW27ipSh5FtkEu33m46ZAlK1K\n7wzn2BJtIo2SlqtaPGGJxxnnsvA94vfJKp2pD9bjAUhgBDJI5f4asJAGagJR\niNMwXf8ViKn0JOKaliP++I4ebRdz/FwajJfV/T33br+dzJbK08FdDpc8Diqr\nMXCwx42GcV2/h5NR0FBpC8VrfR7bFEXASAyjTcNeyaY8Kxxodo2lDOvEnITe\ndAZxyo5G3r8tOmipjExut0YTdboNXkSEjmqOzgirWajJ64YVRzv4m8aDPM3o\n0zpGXxp39YokGME3FbKr6AT8p7zKzGXuakJD1qmfRF4m/yyKkmYullszP+7e\ndb4Q536eQzw+GKpU8iXZ9rw8U+BO6Y064Y91o+wThgZkd4c9iyf0GqqWYTA5\nf5Mbnj8/VYCuC6Z7CIBOdtkzFz9iqXlkA8ZwnAhDENYwRGXKPAvEVp2twUEE\n834vI01o1YXARGQzYNP0mKGM4Rs7TERlu2D/e1impq0xzCDsNAyyMdG5JyVp\nm8Vzn/PdwzyXs60iNwfnJZGJGBbBC69XXqReIZrIIxJ84grub/T/P4LeKrgw\nj2nZ\r\n=UyQV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBVA/0lorKm0IZHInowWzhYagPXjkFEhoJsHYjMgf5eBAiEA0Bvhr+eRcSXYFG4LkQDY80/FY8LdbS+Gi/NQo4ALF6o="}]},"maintainers":[{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"opensource+npm@fb.com","name":"fb"},{"email":"jean@lauliac.com","name":"jeanlauliac"},{"email":"mjesun@hotmail.com","name":"mjesun"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_24.0.0-alpha.12_1547218712754_0.7223297998590574"},"_hasShrinkwrap":false},"24.0.0-alpha.13":{"name":"jest-diff","version":"24.0.0-alpha.13","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"build/index.js","dependencies":{"chalk":"^2.0.1","diff-sequences":"^24.0.0-alpha.13","jest-get-type":"^24.0.0-alpha.13","pretty-format":"^24.0.0-alpha.13"},"engines":{"node":">= 6"},"gitHead":"6de22dde9a10f775adc7b6f80080bdd224f6ae31","bugs":{"url":"https://github.com/facebook/jest/issues"},"readme":"ERROR: No README data found!","homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@24.0.0-alpha.13","_nodeVersion":"8.11.3","_npmVersion":"lerna/3.10.5/node@v8.11.3+x64 (darwin)","dist":{"integrity":"sha512-l81bX7M36vQ975rglkXBmABBrkJ8OyK83xjXplkmZdv0eC38Fpy1iC4dL05gvt0ymEkAeGJYcXOxnreKM1dZgw==","shasum":"30c56e05586e584b28f7b055e1d169cca5747f7b","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-24.0.0-alpha.13.tgz","fileCount":5,"unpackedSize":17948,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcSIUWCRA9TVsSAnZWagAAMyQP/1HoBbOXvIsn8q+IEovJ\nWtufr8ynmuJacDCWVtMokg2UymyYqFOgMpp4ftUti3NrYMzDV0tOIUYjdN5R\nfdddJTLS05ISn3Da69rAc8cBgq4BcEzlRezfvMGAID/yJZjTP5TdrZ8I5r/D\nOCRJG7HXlsJ+y/i1rrgOjIqKCZ4nL8Qdf4NXuSOy2HJ1FFG0K5ZEyrqYLup4\n/82HfSc95d3Jb2SjmtOBpdGyacFS1/PdZibuXA4QU6BgTu7ZT+Rnws0BWXaV\n/eu+u6k6xM/Iy51Ji6yKHCHjda8ggv+VEotpJ6zeZtnVyMMxlCzLZw86hRSy\n7AYniDfmKiMcasAq72316P9N4LXp6m+UKhpBGYOJwsLju22XSKofvW+sarbt\n8yXne415NOPq2uGf+jRrKMYW8VlSz2m4XtmM/212rxrMo/eCJWZ/GeeFuzPH\nOJA9TRq7WCZH8PgUtwyaYC16Imp4i8iKiLsL2wpuSRR3FZnl8tnKCWxhvA8+\n2zhgU6eCsKpFzEwZ+Llspzx2BwNqWEFWmS5aSUg+UauyRq2DVm1lP0oGaw0i\n9sVJOpl1k1vYmF+m0i2JbnjUR3OGxQVZu7mSaTkyUxr0XhbENmVZOSkReehA\npB3I31mWEhX6S5vckgaExL0DYLLZjrQwQ3ZbaOidbKFm3EHFNVPVXMxI/FYp\nnL3Z\r\n=FiIs\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD/Xw01X1ijBnh2dApyYhoNytqQBk3nd8GD9UW8B6rMfgIhAPKwkLiAuTmC3N0TAsjS8YtiMGPOWNGCS05taQJ0xSkW"}]},"maintainers":[{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"opensource+npm@fb.com","name":"fb"},{"email":"jean@lauliac.com","name":"jeanlauliac"},{"email":"mjesun@hotmail.com","name":"mjesun"}],"_npmUser":{"name":"rubennorte","email":"rubennorte@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_24.0.0-alpha.13_1548256534095_0.973133414185817"},"_hasShrinkwrap":false},"24.0.0-alpha.15":{"name":"jest-diff","version":"24.0.0-alpha.15","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"build/index.js","dependencies":{"chalk":"^2.0.1","diff-sequences":"^24.0.0-alpha.15","jest-get-type":"^24.0.0-alpha.15","pretty-format":"^24.0.0-alpha.15"},"engines":{"node":">= 6"},"gitHead":"28971c5f794330e8acc6861288e6daafcd32238e","bugs":{"url":"https://github.com/facebook/jest/issues"},"readme":"ERROR: No README data found!","homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@24.0.0-alpha.15","_nodeVersion":"8.11.3","_npmVersion":"lerna/3.10.5/node@v8.11.3+x64 (darwin)","dist":{"integrity":"sha512-2DG9arW55/DpONvOgLAyvwo1YDgJuJCID6NcfPZpP+bMoZFfNACEwGSGZgVhgu3O2mUUs+08y/VNdSBZ3GCXww==","shasum":"a9d1eb8ef4f75b9c1036dbb01f5fd67ffb4b83a8","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-24.0.0-alpha.15.tgz","fileCount":5,"unpackedSize":17948,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcSftqCRA9TVsSAnZWagAAEDYP/i6zBF/E1mZ+hg/5xq9m\njHK4pZKn/JPv3MWd8rj+v9KMj9MVS6ZEpeSkDbYHV++aVqcRjABsdoRy3QEk\nfNzqv0rfJjTshOzEfSfuzYbSoxOtxLhaSdd2qdEZERXlB1Dj1qIpS4JsphWd\ntlLzlTSnhGr+NVBqqjg7WhNzAp8JRG0J1QaAb75gEr+oPqgH+8HB/NwJLdua\nYuavcW5KlgUVaiR2gPs+EV42CdAsy2nPrW1rqxqVCaOJI+w3hcJC/8e4DYPb\nxh+crk6qtnr4kXk3FdcdydoKG43amReL/U7ACfWLFU17DFyUKmW5SGZ+6fIr\nZq9l7Qha/y0X6+hN8pUcoUwbrZD/VrHOB8/aTEO5hajIIgmcUwHR5rMVYA6m\nbF5bPyoB5rhBu86w5q17ZTSVMxvhn/3C5C2+brWAGH0U9ZZAwuS5yRNhomZ5\nPGAh1HET1YOgkKA0I8NeB4ZttabiZ9JzABugQF3gyleKBQ5GRDRMQiVJt60p\n1iR483UnOMSqK3zDOUQwDx0OX7wcMqcrA/z5IEK+BM2R1P5tb/2zcUokC+Bq\nws47v6r9CM7ng4Fg7ilUDen2hYRtQeom7OUWBuUo3Y4tN0WAX+tPoYRcXPC6\nqC/T75HWhrwL6Y7/IOwThAYgijObrBu/uAOOYjGD849LN4xIpVhSI3DLKAqG\nAWZF\r\n=EBix\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIElfcMBJsVO2GEh2V3u/AFVgWmj6THo+B8WV4d/IualuAiBPdzb1gYrI9yG09gaLky0ZeD3V05XD48NiGghDiRQCpg=="}]},"maintainers":[{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"opensource+npm@fb.com","name":"fb"},{"email":"jean@lauliac.com","name":"jeanlauliac"},{"email":"mjesun@hotmail.com","name":"mjesun"}],"_npmUser":{"name":"rubennorte","email":"rubennorte@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_24.0.0-alpha.15_1548352359104_0.8381823125916674"},"_hasShrinkwrap":false},"24.0.0-alpha.16":{"name":"jest-diff","version":"24.0.0-alpha.16","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"build/index.js","dependencies":{"chalk":"^2.0.1","diff-sequences":"^24.0.0-alpha.16","jest-get-type":"^24.0.0-alpha.16","pretty-format":"^24.0.0-alpha.16"},"engines":{"node":">= 6"},"gitHead":"634e5a54f46b2a62d1dc81a170562e6f4e55ad60","bugs":{"url":"https://github.com/facebook/jest/issues"},"readme":"ERROR: No README data found!","homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@24.0.0-alpha.16","_nodeVersion":"8.11.3","_npmVersion":"lerna/3.10.5/node@v8.11.3+x64 (darwin)","dist":{"integrity":"sha512-/dX9E3RQhW74i9UFnpM64e/dKTis7xXYZzuRqdiW6dsyW0j/60V05aUfV+eEfKKRuJ+RIYjQHVVNfGq8M5+nYA==","shasum":"31b8fcd759aeb31bdb31231c397f41d801588f9e","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-24.0.0-alpha.16.tgz","fileCount":5,"unpackedSize":17948,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcSxIxCRA9TVsSAnZWagAAUU4QAKF2Uy7H2PBR2zXmWWJk\nWZE7By/piNmOHKF3isSOTnvluHWcMsq9Ii0nhsAwApXQw85gDlJrTFtgvzcB\nKTiwK3cM3tT+dcso63UkT3lq9vwzy4zsS90SCyeoYOn1N4XK7sDtCTa1L6BR\n/pecpb5N03nkxRkcIYZrY3swa7OwCLx51e2vuIgVGmA5PiYeadOFdrFbLEL1\nk2dOrPUi09iUBfJBTR8Ak637eBuwdal3/OEJWn0r1e1hR7jjnV4YicA65qoR\n11D6bEVEhBW5QJRNwWGd4DRjB2ZNUQ+5PvrT+rZ+TZQS22Jj3ivGgPtjQHQ9\nnHreDgZ1m4I0V/Cvu0z+Oq/w7qwU+kIp3S/zkZx98xFCcflsL5hrE9SPsD+g\na29U6tZuzeuyKOlDlwe+7tA2S9l5dDNtDOkeUVIXS42C7iWpjKBgGT7IsTzo\nepYNqX33lg0LHGL2iNq9xTrb+Thawogxec2qTSSk3FEK8XJWtn9csPm9njge\nkZyL+W4SYY9F0wti7+XaBfLlvU/gzKPbmnuBIYxNkxokIBLQMPMvqk3g+wVs\nH97n70Sdb5OCIbGoV/xq5BMt55+TpUjcHaCUtoLfLMKsaH+4en3NxTFJX1Wk\n6OFtirCnuEWUu+sUHIrPCbuQdYMpXT6XFE/wX1C2eNeZPwcOm3o9FvxC3244\nvx/h\r\n=0731\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDx+gQwHoH5yyIfDph6V0jY2t8LsZ+0wsvsyLAkphPNcQIgdeeJ7er1XHBYFwiNuQ3D1JMpkuafjWJqo9wF75vFDJo="}]},"maintainers":[{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"opensource+npm@fb.com","name":"fb"},{"email":"jean@lauliac.com","name":"jeanlauliac"},{"email":"mjesun@hotmail.com","name":"mjesun"}],"_npmUser":{"name":"rubennorte","email":"rubennorte@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_24.0.0-alpha.16_1548423728925_0.5053273773729992"},"_hasShrinkwrap":false},"24.0.0":{"name":"jest-diff","version":"24.0.0","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"build/index.js","dependencies":{"chalk":"^2.0.1","diff-sequences":"^24.0.0","jest-get-type":"^24.0.0","pretty-format":"^24.0.0"},"engines":{"node":">= 6"},"gitHead":"634e5a54f46b2a62d1dc81a170562e6f4e55ad60","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@24.0.0","_nodeVersion":"8.11.3","_npmVersion":"lerna/3.10.5/node@v8.11.3+x64 (darwin)","dist":{"integrity":"sha512-XY5wMpRaTsuMoU+1/B2zQSKQ9RdE9gsLkGydx3nvApeyPijLA8GtEvIcPwISRCer+VDf9W1mStTYYq6fPt8ryA==","shasum":"a3e5f573dbac482f7d9513ac9cfa21644d3d6b34","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-24.0.0.tgz","fileCount":5,"unpackedSize":17912,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcSyWgCRA9TVsSAnZWagAASAoP/0LkGGUerL7V+51AzyRc\n45fZxYdn00onVoUIbSAEGWVI1Z38QWNPo2JES/KXWx6CrIFSVXnXVzUNRzp+\nxxs6EDJjGVyXf164dU3zc/eOEGw69vzjkQdavVNejG+lvDA19bI7Zp2FA6Xi\nbvlUYO2eZhx62F5KUghPawR8/kvZGszrw/qb+WBbKuQy46cx8WVoLDkNbKma\n08HL/TcVz4anZTbE1sviCnI8vq2Yl+P/cMZhWr92cy6L+6oBLFDDXcGIcyaX\nTm3Ggb7/rkIDdKLFjWN9b6Pt5bGfEYVxJ8nujSs96UuEQA9tAfFyX1EQcE69\ncSVzKlZtWd4uK3vt/t3Z6pUxH2s6r57XxViNQ1A61I8NtmYA2+lSOGvj/aCB\nO82V9XdiSwRVAAhxBivnUF0ZqUfHR8om9qG4D0K98pXcGbC9tP85A7cIVCFQ\nbv1ZVmq02OjBvx6YoCsEt5dMjCKeizDGVb757vcS/3s4/o0qDPyDzGZKDLxq\nF1dqHdrOd0ce0vSKyCCl5X1zqtNnp7YBXh5r/VxFu7V1t/zgAE4j0t3nsdBc\n9JXLwss0SOZaZ5oBICiLYIE+dbvz8bUuzSu+vgBcE5rnhGwvC9EUuzSj+Lmn\nQyqRWxa6uCS3hNINZBC2hhsl/SuCKK91ztwoV/7BxhHQsF6YuRbY6Pn7UNFi\nJ/6W\r\n=kbTG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCi2DbXUmEKOEOKiqi1w+h3TsCsNqnJ4M08J9axea4pxwIgN4PUWQv/RXU5bafGdY+nHH3VuptI5KmqdpT22UYyct0="}]},"maintainers":[{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"opensource+npm@fb.com","name":"fb"},{"email":"jean@lauliac.com","name":"jeanlauliac"},{"email":"mjesun@hotmail.com","name":"mjesun"}],"_npmUser":{"name":"rubennorte","email":"rubennorte@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_24.0.0_1548428703984_0.18079120795627523"},"_hasShrinkwrap":false},"24.2.0-alpha.0":{"name":"jest-diff","version":"24.2.0-alpha.0","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"build/index.js","types":"build/index.d.ts","dependencies":{"chalk":"^2.0.1","diff-sequences":"^24.2.0-alpha.0","jest-get-type":"^24.2.0-alpha.0","pretty-format":"^24.2.0-alpha.0"},"devDependencies":{"@types/strip-ansi":"^3.0.0","strip-ansi":"^5.0.0"},"engines":{"node":">= 6"},"publishConfig":{"access":"public"},"gitHead":"800f2f803d01c8ae194d71b251e4965dd70e5bf2","bugs":{"url":"https://github.com/facebook/jest/issues"},"readme":"ERROR: No README data found!","homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@24.2.0-alpha.0","_nodeVersion":"8.11.3","_npmVersion":"lerna/3.13.1/node@v8.11.3+x64 (darwin)","dist":{"integrity":"sha512-+UdzJO30GzGcUwba9WS8aWseW7c7Lt7fZuWw2OQsDr5uSRSUY3C1pM/7vl/gFSdrrxNkitTu7eaNJXspLVsCOQ==","shasum":"9b062aca458ce765d0158486eb70d5c193503d70","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-24.2.0-alpha.0.tgz","fileCount":15,"unpackedSize":21161,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcfovnCRA9TVsSAnZWagAAWygP/jiNIt6U4GQFiQb5an7S\no5OZU8nyol7t44p76CDXAFCiu4cP7hyAnEM6QoCT54Nu9YcP9N9u8kh3hH6i\niznNlM2LazHpI8nnvFbx9ned3PUvtsj43kn1+PBH+tIXgGZsMi7pG6J2Eel7\npQcMMtMEzD4c9FrocVDqOmCFMMtaAC8dk2SmnW6RsE9AkEAJq/rx/uCGpt3n\noMKOjDHanKiJk+e0/+vr3UWVj7t+q7g7+n+xrop5APjipF/meiOHP1djtD4h\nSMQ2LOTDAb88VqBCg4sxcSBoYPdAtAUKycd7MfEcYYUxjENhEmwFwX1wPbNW\n+qkadkH+clCNj5SNe7qVfOVUphP2Az7D5FysvMBBG9EX+wEtLLHdcybfSQUe\n0dBWWj6VRtlNUWFY7LHlcQU6WmGUgnIl4oCZbkVwoO6uUL3An/7nABr82/Xm\n6jxJ3eTFAk7VCv7cIP845yKO5bTXfVm1GmhSbL6Bnunc/fqp0Iphc8fA36nC\n6H2G9lavN4b3JdXuYdfYEuXa78XoBmxUTJl+1kgxZOttdc0Re/3Qw/hYqBkW\n0cBF3a+5tK3MvJfXDiTg+jhpwXfUzCfeLcY7EDCojKCDCdk+b0Q/jkGVUFDK\nDsBqC/CfTVnhlUwfu/Jtdh/RP3qk/pQlY1mkQ3PbdCebXK23EC0ZOLnjYmG3\nDg6Y\r\n=WnId\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBbs2OoiYU8K1lO7W6iU+fV3OaYiODwNh+UTchuiLnzQAiAm2LqVVNT5/DoUXZL3zrRpKTixsG5Hs9weE37yulseiQ=="}]},"maintainers":[{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"opensource+npm@fb.com","name":"fb"},{"email":"jean@lauliac.com","name":"jeanlauliac"},{"email":"mjesun@hotmail.com","name":"mjesun"}],"_npmUser":{"name":"rubennorte","email":"rubennorte@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_24.2.0-alpha.0_1551797222861_0.6932481265965407"},"_hasShrinkwrap":false},"24.3.0":{"name":"jest-diff","version":"24.3.0","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"build/index.js","types":"build/index.d.ts","dependencies":{"chalk":"^2.0.1","diff-sequences":"^24.3.0","jest-get-type":"^24.3.0","pretty-format":"^24.3.0"},"devDependencies":{"@types/strip-ansi":"^3.0.0","strip-ansi":"^5.0.0"},"engines":{"node":">= 6"},"publishConfig":{"access":"public"},"gitHead":"3a7a4f3a3f5489ac8e07dcddf76bb949c482ec87","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@24.3.0","_nodeVersion":"8.11.3","_npmVersion":"lerna/3.13.1/node@v8.11.3+x64 (darwin)","dist":{"integrity":"sha512-B3FHbTaQObcew5H639Ok6Yv8MMkU4BZqwyt1TQgJXlOiR9TdSfjoViYmb0iWucOPMT3xvz3lN6n2phymdQRyEQ==","shasum":"38a76ccc52130e6d273ef952e4bac358924be8a6","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-24.3.0.tgz","fileCount":15,"unpackedSize":21129,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcgRXDCRA9TVsSAnZWagAA5QAP/2o9saQE0lg5yJ4OnW1G\n1l1cA+bpDhCohqfazUDDiRuF1+KMufG51gQi2Vb5YjHGG4YV+3vA8HpiF1hp\nYJ6k22MKvMcOh2Qrs3tf6jufhJEyNEEr+/lFCgE8myqM5ThuUu4j4ylj9HxX\nCJZbgaJ3NXnQ3lv874wqjRzj4Oi2G3FSZWJEiJqTUjZUmTU+62lGSkyEdmIJ\nP88o/VDnG+ZVphSOGkO0verLlUaOe2gtBME0TGHaUOodx75zCVtILqlpNRW5\nUYAHwK6bTRFT94+mSY+VUt5Ex1hUwOH/UbI9X0UymmnK58/4zNkh6g+ifXl3\n+VmSvMf7OdUW5M6g8/sOqarEt4W5tOqp7D7JlW6+drXBDcVm+5OOXGE2kv2i\nSXiXujv+3bv8cr9mKv0IBCD+c+w89X2DYKLv7LxCMnXrXbmDeBZqoPF+6i2i\nd4JHxKBnvqvjz0mkhZqa6j4rICteefPpcuMChRGNh3bMXzcTwkyCFpMven/Y\nEB05/gUlsaYwErAFXyAZ3QYfHzz7Fp8tYQwPYXbGlXJyCIotQKyxa927Pr/Z\nxNCbffdKRJOxZEiNUmZweqbTyrT+s7qRPF+L/BTfx7L8lMjFk4ehs40LVwKN\nc53qjyGfGsXaAbCOvX+cF80XsLfkIS+zh6t6xNZWJBdJijU3yTQlQ69I0LJi\nZb+o\r\n=ZTRE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC03nSby7YMjdDH/zzKa8KCSJohsCnJaxZoxHyu+ozskAIgG1I1ZBNREjv3dfHv2uKdNk0p9aS+mI8B0XVchnqhIKI="}]},"maintainers":[{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"opensource+npm@fb.com","name":"fb"},{"email":"jean@lauliac.com","name":"jeanlauliac"},{"email":"mjesun@hotmail.com","name":"mjesun"},{"email":"rubennorte@gmail.com","name":"rubennorte"}],"_npmUser":{"name":"rubennorte","email":"rubennorte@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_24.3.0_1551963586892_0.5866748254256187"},"_hasShrinkwrap":false},"24.3.1":{"name":"jest-diff","version":"24.3.1","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"build/index.js","types":"build/index.d.ts","dependencies":{"chalk":"^2.0.1","diff-sequences":"^24.3.0","jest-get-type":"^24.3.0","pretty-format":"^24.3.1"},"devDependencies":{"@types/strip-ansi":"^3.0.0","strip-ansi":"^5.0.0"},"engines":{"node":">= 6"},"publishConfig":{"access":"public"},"gitHead":"65c6e9d5e398711c011078bb72648c77fc8a8cb3","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@24.3.1","_nodeVersion":"8.11.3","_npmVersion":"lerna/3.13.1/node@v8.11.3+x64 (darwin)","dist":{"integrity":"sha512-YRVzDguyzShP3Pb9wP/ykBkV7Z+O4wltrMZ2P4LBtNxrHNpxwI2DECrpD9XevxWubRy5jcE8sSkxyX3bS7W+rA==","shasum":"87952e5ea1548567da91df398fa7bf7977d3f96a","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-24.3.1.tgz","fileCount":15,"unpackedSize":21129,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcgaVbCRA9TVsSAnZWagAAU+wP/R85BTEapVPrdg9B5Ku7\nckdEiq5jGVcFn0ad3oTbIchw8BDcJIsHxrt0p4hfo+k5qUj+r7VSCGl6HRr8\nJffe+yRnQvv6a3gGxSHzqbybiZeiSVpOtLRwXZYXIjea6nGiPy2kEWYUV2/e\nZX9rSL6UzZqUVY6BuWqAPsFdUkapP+62qfm+EfLUA0+GV5d3Pads7hGZmdkV\nk2Q9xKX++Hw2yWHKDxJmPSvkswC8RbjDbsctzkiJz/iHFGs1N8aTrlHXp3+3\nuf4UGtyje/sNLLIz1dy3cq6FNQb53oPHd0vD+1hSFoUvApOgY/Zz4KReJnWo\nfb9AuE8J2R1WNWB+sPez4WFmyMwAzdZ993PjKfHJT0kRFArvoBkkSFCRm7p5\n1E94069P6+GbK23N4hgngPAP/qcej2RnpKfuGAFT2tlKMnYbM7v1eSwvejoy\nZC056NJiAzOmMgsB0LXzvI2H3beTJOFOcZ4VrIX45eU4eMUSKF4tv2sLQHx6\nVFwhVwH/1A69Uw8/Tm/wgN2/2ndTz29811BOOs3ga+uGVW6myK1j2ay+uiHL\nCto8rFJV46MeoT70Xyw8RcEWEDOtU88B8kwkmjPtLz3ibqiaUohQaYu9ANhB\nHpfJSsJdVBurs5MmyBUryGU4sToZfMQblygfLXDZlp7FINtbxd6IxdInNc8o\nvtc/\r\n=gt77\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCL4cbfA4KYM+XYM7D4eZyJWDg11k9u+hZUUFycWCvjkgIhAKxDSJKsExbe89N9ql2TJ/VxIenpSTDFJr2/nWy9r5gw"}]},"maintainers":[{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"opensource+npm@fb.com","name":"fb"},{"email":"jean@lauliac.com","name":"jeanlauliac"},{"email":"mjesun@hotmail.com","name":"mjesun"},{"email":"rubennorte@gmail.com","name":"rubennorte"}],"_npmUser":{"name":"rubennorte","email":"rubennorte@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_24.3.1_1552000346815_0.47601686256846687"},"_hasShrinkwrap":false},"24.4.0":{"name":"jest-diff","version":"24.4.0","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"build/index.js","types":"build/index.d.ts","dependencies":{"chalk":"^2.0.1","diff-sequences":"^24.3.0","jest-get-type":"^24.3.0","pretty-format":"^24.4.0"},"devDependencies":{"@types/strip-ansi":"^3.0.0","strip-ansi":"^5.0.0"},"engines":{"node":">= 6"},"publishConfig":{"access":"public"},"gitHead":"a018000fc162db3cfd0ebf9f23fdb734f05821a6","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@24.4.0","_nodeVersion":"8.11.3","_npmVersion":"lerna/3.13.1/node@v8.11.3+x64 (darwin)","dist":{"integrity":"sha512-2GdKN8GOledWkMGXcRCSr3KVTrjZU6vxbfZzwzRlM7gSG8HNIx+eoFXauQNQ5j7q73fZCoPnyS5/uOcXQ3wkWg==","shasum":"106cd0491cb32da31debbea3e21f094d358dc7d9","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-24.4.0.tgz","fileCount":15,"unpackedSize":21129,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJchnd0CRA9TVsSAnZWagAApxoP/ip2rUkm/1SPWUAms3Aq\npq5GOz3cqDMKXxdPlQ20HUiT5I9W8jNaZtN69Fj+kF0v7I0VTPR5hQq130x9\njyFnXhUKFtiehXkAY11rt5RJNcS/jOZPvAM3WUX6Tys5kGq1U65RccpHo2AI\nospr6F25O//XKBySgKE9Dsw9vMftGyFde8kZ+LwchWgcsacktg1skaUUtrV/\nmhlKpJjFTuCUV0NFyL2RuShDwPDqp5uVOVpbQp9YRjzTKNAEIXWEQ4jx0oTL\nm7grtGuHuISzzo6l2U5NrSBAyXwma2tHswDx2Gn1sy3RowEuvTQO1JiSQXGk\nb6D27vbhdx1S6Hlj9Ck4cTcQfoocJZM9LNV6X3TxhNSs5ch86DQbAn3YDzjy\nd8k/MWKzObjErxmUMMhhM+LLxVv06alcdfwgBtCFihETW2om+CqK3Pd2q/wU\nBZsvbMBzSS7i+PcUUcIe13tfICNbB/jeGfgRczcQOftECyuNA8ayqtcClfie\nFaBfnkd7xV55D3BxN/42oHuV0Rfgy4bAluP3qNSEUhER+f9c2Htow8B2gCKq\nPTUa0cKbQDckAIbRxk7IkKCmw8i4uPhPUmmj0rVuW0UwQrnDEKdEEVJA9fFo\nShKCnj6RmrXsqoJaQbq2Vy+CYbBvNGetL+zYp9VTlWes/anhEyrnblUPIkPg\nZtoP\r\n=EJDS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFmYcF35PuXWWbbXlehrX1fZdJX9NUYeBVhRkfJ1PTyMAiEA1nOIc3zCduBwpISTEhfWjdxZDpfpTZM2Eq6yxIPHQb0="}]},"maintainers":[{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"opensource+npm@fb.com","name":"fb"},{"email":"jean@lauliac.com","name":"jeanlauliac"},{"email":"mjesun@hotmail.com","name":"mjesun"},{"email":"rubennorte@gmail.com","name":"rubennorte"}],"_npmUser":{"name":"rubennorte","email":"rubennorte@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_24.4.0_1552316276310_0.2662614863334958"},"_hasShrinkwrap":false},"24.5.0":{"name":"jest-diff","version":"24.5.0","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"build/index.js","types":"build/index.d.ts","dependencies":{"chalk":"^2.0.1","diff-sequences":"^24.3.0","jest-get-type":"^24.3.0","pretty-format":"^24.5.0"},"devDependencies":{"@types/strip-ansi":"^3.0.0","strip-ansi":"^5.0.0"},"engines":{"node":">= 6"},"publishConfig":{"access":"public"},"gitHead":"800533020f5b2f153615c821ed7cb12fd868fa6f","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@24.5.0","_nodeVersion":"8.11.3","_npmVersion":"lerna/3.13.1/node@v8.11.3+x64 (darwin)","dist":{"integrity":"sha512-mCILZd9r7zqL9Uh6yNoXjwGQx0/J43OD2vvWVKwOEOLZliQOsojXwqboubAQ+Tszrb6DHGmNU7m4whGeB9YOqw==","shasum":"a2d8627964bb06a91893c0fbcb28ab228c257652","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-24.5.0.tgz","fileCount":15,"unpackedSize":21129,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJch+AWCRA9TVsSAnZWagAANp8QAKMACyA9qYr8JJM91fb1\nScl01ZzMN/HYWSxXRL6ITlcYHKuToIPdODWTS8ZY3lna23EmoZhajWoAkoAc\nNgNJfwJwoQWETIK+0s1ieDG5/v9kO9pBV0cHduYUW1lBY20AO7Hrd5B5RlMl\nocufadebedCWp41N1kKJwA3CdsRtXIW6RcLof8ycDuJh3TvipiWWIZ7qU2Bw\ntQwiFEHS8PT0LofpYRHB7oFiYiqhq8zmhftXxA8brPcFVViuPaPnOYBbG0oF\noZD/g/beX3u4dV3AQji+shjCN6+pfqrPvRAD1xoMDk41H1JODl6KnQ/hjVw8\nSmNFl+HxsVS5Cl3mjXF3L0TGvI77hh6dZmYRfjeUfeDU1zC+ipw/OIj0W2bv\nqsZHIMAjujJ+W5ZA+Jwh487OOhz4i/5PwA/0tCGlbupW8xKiTzDZNhouI8ah\nHRzzjdlzF7UEUAB/AjVJ8xehxT2x673dXHa6A3MxibNE+UNAOTCGC/7vMMd+\nQXA41gap23VSeb4v3Oji28/yageVXLmqyPIu/GQZOpt5vCNfp39fkfjp7i9F\nQy1+LAKmcr0rVpqAczHiEB6F4DW2kI6p7iL9Uu0kNaPsh7G3FObFI8XpDXT4\n+LlClZqqG0tqp+ldNNQ9PPxgmaJ8KrMAhPesSlCTSR8zvttEWUBqWNdnwO35\nvrzA\r\n=vzMG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAxRj2nQlzbl5qxjEa58Ad3U2WiAo4GciJdbq7VVgXU2AiAqo8uKrlTbQxakL3WTfWNfqHRF4eduXpIh3TBgcz1O8g=="}]},"maintainers":[{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"opensource+npm@fb.com","name":"fb"},{"email":"jean@lauliac.com","name":"jeanlauliac"},{"email":"mjesun@hotmail.com","name":"mjesun"},{"email":"rubennorte@gmail.com","name":"rubennorte"}],"_npmUser":{"name":"rubennorte","email":"rubennorte@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_24.5.0_1552408597582_0.6241577733541739"},"_hasShrinkwrap":false},"24.6.0":{"name":"jest-diff","version":"24.6.0","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"build/index.js","types":"build/index.d.ts","dependencies":{"chalk":"^2.0.1","diff-sequences":"^24.3.0","jest-get-type":"^24.3.0","pretty-format":"^24.6.0"},"devDependencies":{"@types/strip-ansi":"^3.0.0","strip-ansi":"^5.0.0"},"engines":{"node":">= 6"},"publishConfig":{"access":"public"},"gitHead":"04e6a66d2ba8b18bee080bb28547db74a255d2c7","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@24.6.0","_nodeVersion":"8.11.3","_npmVersion":"lerna/3.13.1/node@v8.11.3+x64 (darwin)","dist":{"integrity":"sha512-r+W4NHYot9ywuiO8JJ3WeDxV+8Bu9vNg7YLWmjLx9RQOC7UtiPcODgvLJIckJ2QIwJ4B/EfjiaLGN24Kew/Y2w==","shasum":"35858787c07f94ce51df9f865f375c3b4046c25a","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-24.6.0.tgz","fileCount":16,"unpackedSize":184961,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcopAYCRA9TVsSAnZWagAAz/oP/1edze8aeMiL3vp2Wp0b\nWxIy80qKx1AL+tP7EJ3xC7Bu+XczXOWs16RpElxsPdiN9t/mXTe7h53apfWg\nzE2NdjZBCpe2LnWCIBpbzTvb90hoFDsLEcLRSs/fmab8ZcTlqA2xg+QqcwOi\n76frByqlGniEM1auijqDe67o1mToeIzBWCweSbUqWMtqvyBIQIlyRxtwIXMq\n2+mVP4a1R6sG0NGC7/3SORwpua2HDUbLmkHtOB11Yn0xmTgAEkgkrVfKjJ5u\nWHsJXNHsSyFO8QVCdjpHa+paexl+CkuWkFC4Rb8yMySLHmnJqCPpwZQFReq1\n2E0UdHsagPc8lk+7b+WFECFIBuu7UNJqV6B1ocs4ViEnp93H6jwf+IkRe9WW\n92V2Vco34+quzlWgoR0WEZYBdWZnBHLOTCP+/B8ApzwFh7WQmMwG3S9eJ+P1\nU5u8uLjhZi8kr5xL1TjbvIpvtqOkbhdiMQJ5A16RN/TVLdPf3uSLCA8SpW/W\nN/vRkP+Sun7uYCsf5DMYc0RVyOKS+s+8pexXGLxbDSpeA+4gSGoq1hVGfKG7\n+Xuum+lCGwwx3Eqz2O/LtS9z+VgsAnDNb4+EvkFOUB3LCx3xBjijD+oHfLBw\nZLLhVcdBu493lKQmK9BZGbDSOwJTfPVkENiOt8r0JSXYuV1n7A375ulughKB\nKb16\r\n=J3GZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAVMDRw+S8csZgq5uQFJQC6ZoVDxUWJ6zOzXDeoQyJPGAiAHqmnuxWwSDuCF0Tk8jslIlxWwccv2pX92ngl3XXeRFw=="}]},"maintainers":[{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"opensource+npm@fb.com","name":"fb"},{"email":"jean@lauliac.com","name":"jeanlauliac"},{"email":"mjesun@hotmail.com","name":"mjesun"},{"email":"rubennorte@gmail.com","name":"rubennorte"},{"email":"scott.hovestadt@gmail.com","name":"scotthovestadt"}],"_npmUser":{"name":"rubennorte","email":"rubennorte@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_24.6.0_1554157592161_0.6087058573298993"},"_hasShrinkwrap":false},"24.7.0":{"name":"jest-diff","version":"24.7.0","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"build/index.js","types":"build/index.d.ts","dependencies":{"chalk":"^2.0.1","diff-sequences":"^24.3.0","jest-get-type":"^24.3.0","pretty-format":"^24.7.0"},"devDependencies":{"@types/strip-ansi":"^3.0.0","strip-ansi":"^5.0.0"},"engines":{"node":">= 6"},"publishConfig":{"access":"public"},"gitHead":"eb0413622542bc0f70c32950d9daeeab9f6802ac","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@24.7.0","_nodeVersion":"11.12.0","_npmVersion":"lerna/3.13.1/node@v11.12.0+x64 (darwin)","dist":{"integrity":"sha512-ULQZ5B1lWpH70O4xsANC4tf4Ko6RrpwhE3PtG6ERjMg1TiYTC2Wp4IntJVGro6a8HG9luYHhhmF4grF0Pltckg==","shasum":"5d862899be46249754806f66e5729c07fcb3580f","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-24.7.0.tgz","fileCount":16,"unpackedSize":169019,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcpC6uCRA9TVsSAnZWagAAbhQP/0kOCTqkuIq64cpD+Djg\nSqwsUn5M+zatubFyeYR9cyJO2m71CXVRS/CtshyKvmwvHt+aw9FFtYt9Txy+\n/dEK6vig3TMfC5Dpo13yqCG5o2/M7i5XvOoXpHkj79S6+IHictoyF7uzYkIZ\nVSBmeXcnupe9J09cdIBqy1S02EpR/eQdZNAwRtkDZLypxhSnBXNT9J84hZ8N\ngxRzxdh1opTwP+BBGj+6W1IyZUDkRTcY/0+1SeWkA8oHKgaPAT408wyfBA4p\nNz4JUH4YinrFy5sCPAkF8BJOQiD6XTDpLvVjTa78LsbOriP72W1B9kei7Qji\nUC9mksLAkRMvCABQ1Cusk4Xgd57ZVvZiuoJbxR5PHK47sUillFA+xgMrUdUL\nFaiVU2b/yoW644z3IHhe4lN0xost0cGXfC55N5SWMdaqUzpD31jMA+9paO7V\na3ytIY418BFYvWkTUKaLuSX+zWa69O86wT/PErEdeU6RqsXTQtlc1ElBQ4ep\nd9s+NYeTYK3zyUIIV/XNmkfJuawaFtTfb4TVf+VA6PSUE89bQ99OrKRkIYch\nAMbfqHbDQvOGAcojYVpYIXgVOF9s29vmzho7GURvEVXYchGxMritWnNp7yfO\ncDwcEg126YeLHvwcQ8p4DRHhXcjoMInvePMdmx0oj0p4HVpycvTWLC1KZqL2\nPR/q\r\n=RC7/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDeB/oT7JjvrNqQq4UpEp5Cp+ClqQY/5+s0wFhG+2uxAAIgRA02fWb5U8gsoyLei6NyOg3g7MeAdRL3NwmHyIlAm/8="}]},"maintainers":[{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"opensource+npm@fb.com","name":"fb"},{"email":"jean@lauliac.com","name":"jeanlauliac"},{"email":"mjesun@hotmail.com","name":"mjesun"},{"email":"rubennorte@gmail.com","name":"rubennorte"},{"email":"scott.hovestadt@gmail.com","name":"scotthovestadt"}],"_npmUser":{"name":"scotthovestadt","email":"scott.hovestadt@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_24.7.0_1554263726413_0.16789863371710556"},"_hasShrinkwrap":false},"24.8.0":{"name":"jest-diff","version":"24.8.0","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"build/index.js","types":"build/index.d.ts","dependencies":{"chalk":"^2.0.1","diff-sequences":"^24.3.0","jest-get-type":"^24.8.0","pretty-format":"^24.8.0"},"devDependencies":{"@types/strip-ansi":"^3.0.0","strip-ansi":"^5.0.0"},"engines":{"node":">= 6"},"publishConfig":{"access":"public"},"gitHead":"845728f24b3ef41e450595c384e9b5c9fdf248a4","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@24.8.0","_nodeVersion":"11.12.0","_npmVersion":"lerna/3.13.1/node@v11.12.0+x64 (darwin)","dist":{"integrity":"sha512-wxetCEl49zUpJ/bvUmIFjd/o52J+yWcoc5ZyPq4/W1LUKGEhRYDIbP1KcF6t+PvqNrGAFk4/JhtxDq/Nnzs66g==","shasum":"146435e7d1e3ffdf293d53ff97e193f1d1546172","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-24.8.0.tgz","fileCount":16,"unpackedSize":171265,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJczkQ0CRA9TVsSAnZWagAA9ZYP/iH6LEynjDOPPWzYdOKw\nWwY6ze3EHWxVX0MeEzQa/giH/e+Anqc3R1PHOIIx4PmF253mOiT9PKlVqcPS\npjFMdYXstWTdeOqlMRh2o7N6lS48/6oHJ+hf8RsCg3RAm4/LZQ4AJX65VKro\n19ja9FrWbrvjQTpltAOPskFA3bEfX8CwsBnisJ/pVgRbosCMEgwPK6lwLa0W\n02D5VycmWlChr8JH6cHMwUMm1owsabxKSPMYH8nAorEFNhL/asBoiLlY89nw\n7QkQvL8FKiEWW6lENYQApR+OQJIULpg6Idpi6aBy6rve/jaPtqFUQ1WfeGg7\n+Fz9gH5fcJgL0uetB+NKAAXs8+dU0615ijDCUT7zqX4xzuTiRaBDGQwGSnZL\nbfH5BYnltu8XJbHH5e2b8h4r+fE0GIJIJSaSblS/AmH+V52WFsCyAn5/U3cf\nOk0oaLgBszBRLFx/3VGttlO7Ykcnq6VKdGm8Jh8Y54TGt2g/eOjRvoiWNipp\nvKseoIpVc5ToXV9X94gOvNUVAicryR7bMsaLNO465uk0ylo6++WT71+ygEts\n/6HWG2d+1nrSss+srls3d7Cu+I7+MIfJATgf6rM4zBuu6SNzlfAU0pOraC9Z\nOj9KHMfquZ0BcB0PBXlo0R01CeEe1A5n3fAoHBc6dztZlvz3gQdlq6/uHAiy\n0eFI\r\n=S8SM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHZBkUuC6FeokyO/mEvzha1LEgMHEXfdMW8fGoZsFQlkAiB1f40fMrwbe6GCuNKQqFba7JQ/gbLs/liFHdNaVw7cLA=="}]},"maintainers":[{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"opensource+npm@fb.com","name":"fb"},{"email":"jean@lauliac.com","name":"jeanlauliac"},{"email":"mjesun@hotmail.com","name":"mjesun"},{"email":"rubennorte@gmail.com","name":"rubennorte"},{"email":"scott.hovestadt@gmail.com","name":"scotthovestadt"}],"_npmUser":{"name":"scotthovestadt","email":"scott.hovestadt@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_24.8.0_1557021748141_0.5823464593808712"},"_hasShrinkwrap":false},"24.9.0":{"name":"jest-diff","version":"24.9.0","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"build/index.js","types":"build/index.d.ts","dependencies":{"chalk":"^2.0.1","diff-sequences":"^24.9.0","jest-get-type":"^24.9.0","pretty-format":"^24.9.0"},"devDependencies":{"@types/strip-ansi":"^3.0.0","strip-ansi":"^5.0.0"},"engines":{"node":">= 6"},"publishConfig":{"access":"public"},"gitHead":"9ad0f4bc6b8bdd94989804226c28c9960d9da7d1","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@24.9.0","_nodeVersion":"11.12.0","_npmVersion":"lerna/3.15.0/node@v11.12.0+x64 (darwin)","dist":{"integrity":"sha512-qMfrTs8AdJE2iqrTp0hzh7kTd2PQWrsFyj9tORoKmu32xjPjeE4NyjVRDz8ybYwqS2ik8N4hsIpiVTyFeo2lBQ==","shasum":"931b7d0d5778a1baf7452cb816e325e3724055da","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-24.9.0.tgz","fileCount":29,"unpackedSize":70084,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdVkVwCRA9TVsSAnZWagAAZZ4P/iEJ/t3R6NEdes4OkuLN\nmKyQOM3B3Wl4AjZ729gqFL+ogquP1+qatdh44jNJ6QAHkQi1m40tbNEquNm6\n4GCimAZAHq0fuhKAMgM4YzFAzFCMZ/g5+khsPFcwwdTDXr1uniO++IC2Aig/\nPOAJ8aARgknMdjBgMQAvim0l1dQiFOUvp10RBm5cfsAlCintsVnSC3WvetjQ\nyDlU2siNT6/JVhRjm+MIoNDQ3c7PvrWArhds6nuKn1uYVZlOi30QqNFhZrDg\ni+sxbT8SJzjTePEaveYK6EzzaPXf2Y4T1Xzx0EiZSsdKRXprAHrQj/zdRf6U\nEjwFNAxAMqaeyAkv6QmF3+f/3FY42QG6/HrD1Bmrft4hP0s32qBqBc4+xSWq\naqwE6XyPJz62EcrPNeM+0X/3LfyK7Mjz0vKDiB1F9W1i4WVKZJ0OjfvLBnXT\nBOCli2H0RXG5GmnRQClWx15xke12+6CMujAg/z1FXD2UHZ/x2LeS1wVzLrXq\ne54Rsuwm27HCJgYGvMP1xM0RDpUWh7/3smDcTWnJbhsmWYFETNGHik3YdEQ8\n4NKOsbFSNcZig3UX8o45/LzvIamxXCPj0wMPWQRTkX4/G1EMNqS/m1lBTCIS\n0Upyfr6eC6nqvfA9ig8iOE26X4MwT/1rbflgX1XAaP3ZA09Cl53/hGn9JBw2\nBd7f\r\n=0Slk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDTfryPTQjFhG3vSzoKH0d/hf3Jx5clsa/U+Um+dT5JSwIgRElsVwh+N0wHLawin3TwQyILqgUiVMdaOo0Hs+6XPt0="}]},"maintainers":[{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"opensource+npm@fb.com","name":"fb"},{"email":"jean@lauliac.com","name":"jeanlauliac"},{"email":"rubennorte@gmail.com","name":"rubennorte"},{"email":"scott.hovestadt@gmail.com","name":"scotthovestadt"}],"_npmUser":{"name":"scotthovestadt","email":"scott.hovestadt@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_24.9.0_1565934960327_0.9637603400947703"},"_hasShrinkwrap":false},"25.0.0":{"name":"jest-diff","version":"25.0.0","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"build/index.js","types":"build/index.d.ts","dependencies":{"chalk":"^2.0.1","diff-sequences":"^25.0.0","jest-get-type":"^25.0.0","pretty-format":"^25.0.0"},"devDependencies":{"strip-ansi":"^5.0.0"},"engines":{"node":">= 8"},"publishConfig":{"access":"public"},"gitHead":"ff9269be05fd8316e95232198fce3463bf2f270e","bugs":{"url":"https://github.com/facebook/jest/issues"},"readme":"ERROR: No README data found!","homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@25.0.0","_nodeVersion":"11.12.0","_npmVersion":"lerna/3.16.4/node@v11.12.0+x64 (darwin)","dist":{"integrity":"sha512-EiuiwtK/s8XCKKOWqozCgMKZeJn+ukjwqDNeo5eaWlHb8vMoH02sw5xE3JkXy2XqSWMyEbzdpDxwniNHToPYWg==","shasum":"7bcbc196c9f95be7ae9467c737f6c9bdc8235a05","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-25.0.0.tgz","fileCount":29,"unpackedSize":70039,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdXgrZCRA9TVsSAnZWagAAy5wQAIwCE8n8uzSo9NAktQfY\n7JNrrCeC/aRzDUky9fZxw6FU0Ml/6HgQ6/7Ef9q1y9IwELSPBEeaLBcdqyH2\n2/0sor8aJK73ynTpqKmnNSObandM1t2vP2sUHUFv/1YUiiYg7piX0WIe7Fv7\nLN1mJB1WW7YqeOKAYRIusxFMqVXu7ce6jR6+OpZ0Kz8gQEFM+h3es545IOSM\nluKkMKCJj10ZAty1DW6rx9xBOsKWf8+SiIcdfaY9A8dTtCf5POpmdAIh9ap1\nDClN0iLYNSBw2HND3mO/GnZWKuCyvd5enbzTeuYEbkyX5v4qpJV2JRXzjcfw\niHnJdnsHkhV7SMG2WkIKKtY2MEq4GPX0y0JdOhPnSKVzNIJcNawIduTLO8AM\nn0vJM9VirTkhjq8pP8Cy5qzxUJXXBqI3AWUIsKi8C7O2Yk7x0I8gMtafbNQL\neIqy0l9fdDi/ub+WEu9qOxRckyuWCPLEPKTtUoe934J0UDQCp0yXup8FG+mB\ntkLtpLGIPSj8kBqnoA7bk5t018dm9vKnea6eW/LppYLku9f8JNYHAh6t4EGJ\n9Ew7FgioRT9mx4uR/BF0NEOqNZUvUnaxXfd4mI/HmWB0z9iK4f7ywCPjYIZs\nPx5ffB1y5LpBewrYJNmoPD7UOl6aQ8iaVc6XGWOMMgx492OPJIoi/MLZ4yyM\ngu0E\r\n=SzpH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAXn2UrePSoISBTCoe9CxHSecPwI4uzrsqhG70v5d1ZkAiEAz0ERhPX1ZXsShkOc8u9BspKTCcHhKQXQjvzELMC4XqY="}]},"maintainers":[{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"opensource+npm@fb.com","name":"fb"},{"email":"jean@lauliac.com","name":"jeanlauliac"},{"email":"rubennorte@gmail.com","name":"rubennorte"},{"email":"scott.hovestadt@gmail.com","name":"scotthovestadt"}],"_npmUser":{"name":"scotthovestadt","email":"scott.hovestadt@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_25.0.0_1566444248794_0.24278165348344483"},"_hasShrinkwrap":false},"25.1.0":{"name":"jest-diff","version":"25.1.0","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"build/index.js","types":"build/index.d.ts","dependencies":{"chalk":"^3.0.0","diff-sequences":"^25.1.0","jest-get-type":"^25.1.0","pretty-format":"^25.1.0"},"devDependencies":{"strip-ansi":"^6.0.0"},"engines":{"node":">= 8.3"},"publishConfig":{"access":"public"},"gitHead":"170eee11d03b0ed5c60077982fdbc3bafd403638","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@25.1.0","_nodeVersion":"10.16.0","_npmVersion":"lerna/3.20.2/node@v10.16.0+x64 (darwin)","dist":{"integrity":"sha512-nepXgajT+h017APJTreSieh4zCqnSHEJ1iT8HDlewu630lSJ4Kjjr9KNzm+kzGwwcpsDE6Snx1GJGzzsefaEHw==","shasum":"58b827e63edea1bc80c1de952b80cec9ac50e1ad","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-25.1.0.tgz","fileCount":33,"unpackedSize":92700,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeJ56RCRA9TVsSAnZWagAAgQcP/3cz2fAEMHB7oBKj9nOn\n4KIqEalmwVQzE12K4f6hh6ooGj+JfeHdA6trVMojkK1V7RKzF7UEkWSCYxQO\nLJH+lfB6YF+2mRcF/BgtcMj7zumKghxM3RNz+XXhsdmZDkcZV4E62pZGaB9D\nes39Or8/IR13jxiJhzRn85CV2EkZW96AfGD4224vD4zeSQ6iULBYdExl5vI5\nlpbOnHZklCULgM9DW6hpNFR8iS6y88zfx0toZkE47O8JCqv1/HWujoze3Wj1\na2C//rVxJshwWQpmidP+2do/0pvbnobAPUiJewtp8pYQocBUwXEAOyoZqn3k\nkjvzKjytLeBJMcdtPscz18PmKLblPkr/RXokxjFtQUQj26p5YSlS0tdib+x9\n6M0bJBLEUz2N32CYMbDzDKSK8yEGxjG4XAqxRoPnnUABjoBNckZHLvpvHDh6\nYHLKohWWXAhlAqJO3RI1o/N5T+dMDX5cvRxZAhPLP5kA6rBsrYuMaX+0ynpx\nKXiW6SQEGh0pRSmAsK8LTPATQzIawx7IY7Hg5QiutsqABVzdq6YXuhKxOc59\nPvbVKzkFywYFkXrnwB7Bm3RmtVnCwXEflA94S9Ap3Gp2vrnaLEVDTkyjsN5g\nDHP9ZGYYpxp2aEVjNpo/HTWPuPjlUp/hJD3IynRSsyksfREDmTX5pLUf0mo2\njnGZ\r\n=CjLu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCv8ycMqMqpaFrf8oRoB2Qv6+73pwJTmy/XBswHhlzTuQIhAIRhGjcwjHB+vipJSxH1JC5D+kmPk1Nhxyq6xCMBtsKZ"}]},"maintainers":[{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"davidzilburg@gmail.com","name":"davidzilburg"},{"email":"opensource+npm@fb.com","name":"fb"},{"email":"rubennorte@gmail.com","name":"rubennorte"},{"email":"scott.hovestadt@gmail.com","name":"scotthovestadt"}],"_npmUser":{"name":"davidzilburg","email":"davidzilburg@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_25.1.0_1579654801365_0.1299660407903105"},"_hasShrinkwrap":false},"25.2.0-alpha.86":{"name":"jest-diff","version":"25.2.0-alpha.86","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"build/index.js","types":"build/index.d.ts","dependencies":{"chalk":"^3.0.0","diff-sequences":"^25.2.0-alpha.86+cd98198c9","jest-get-type":"^25.2.0-alpha.86+cd98198c9","pretty-format":"^25.2.0-alpha.86+cd98198c9"},"devDependencies":{"@jest/test-utils":"^25.2.0-alpha.86+cd98198c9","strip-ansi":"^6.0.0"},"engines":{"node":">= 8.3"},"publishConfig":{"access":"public"},"gitHead":"cd98198c9397d8b69c55155d7b224d62ef117a90","readme":"# jest-diff\n\nDisplay differences clearly so people can review changes confidently.\n\nThe default export serializes JavaScript **values**, compares them line-by-line, and returns a string which includes comparison lines.\n\nTwo named exports compare **strings** character-by-character:\n\n- `diffStringsUnified` returns a string.\n- `diffStringsRaw` returns an array of `Diff` objects.\n\nThree named exports compare **arrays of strings** line-by-line:\n\n- `diffLinesUnified` and `diffLinesUnified2` return a string.\n- `diffLinesRaw` returns an array of `Diff` objects.\n\n## Installation\n\nTo add this package as a dependency of a project, run either of the following commands:\n\n- `npm install jest-diff`\n- `yarn add jest-diff`\n\n## Usage of default export\n\nGiven JavaScript **values**, `diffDefault(a, b, options?)` does the following:\n\n1. **serialize** the values as strings using the `pretty-format` package\n2. **compare** the strings line-by-line using the `diff-sequences` package\n3. **format** the changed or common lines using the `chalk` package\n\nTo use this function, write either of the following:\n\n- `const diffDefault = require('jest-diff').default;` in CommonJS modules\n- `import diffDefault from 'jest-diff';` in ECMAScript modules\n\n### Example of default export\n\n```js\nconst a = ['delete', 'common', 'changed from'];\nconst b = ['common', 'changed to', 'insert'];\n\nconst difference = diffDefault(a, b);\n```\n\nThe returned **string** consists of:\n\n- annotation lines: describe the two change indicators with labels, and a blank line\n- comparison lines: similar to “unified” view on GitHub, but `Expected` lines are green, `Received` lines are red, and common lines are dim (by default, see Options)\n\n```diff\n- Expected\n+ Received\n\n  Array [\n-   \"delete\",\n    \"common\",\n-   \"changed from\",\n+   \"changed to\",\n+   \"insert\",\n  ]\n```\n\n### Edge cases of default export\n\nHere are edge cases for the return value:\n\n- `' Comparing two different types of values. …'` if the arguments have **different types** according to the `jest-get-type` package (instances of different classes have the same `'object'` type)\n- `'Compared values have no visual difference.'` if the arguments have either **referential identity** according to `Object.is` method or **same serialization** according to the `pretty-format` package\n- `null` if either argument is a so-called **asymmetric matcher** in Jasmine or Jest\n\n## Usage of diffStringsUnified\n\nGiven **strings**, `diffStringsUnified(a, b, options?)` does the following:\n\n1. **compare** the strings character-by-character using the `diff-sequences` package\n2. **clean up** small (often coincidental) common substrings, also known as chaff\n3. **format** the changed or common lines using the `chalk` package\n\nAlthough the function is mainly for **multiline** strings, it compares any strings.\n\nWrite either of the following:\n\n- `const {diffStringsUnified} = require('jest-diff');` in CommonJS modules\n- `import {diffStringsUnified} from 'jest-diff';` in ECMAScript modules\n\n### Example of diffStringsUnified\n\n```js\nconst a = 'common\\nchanged from';\nconst b = 'common\\nchanged to';\n\nconst difference = diffStringsUnified(a, b);\n```\n\nThe returned **string** consists of:\n\n- annotation lines: describe the two change indicators with labels, and a blank line\n- comparison lines: similar to “unified” view on GitHub, and **changed substrings** have **inverse** foreground and background colors (that is, `from` has white-on-green and `to` has white-on-red, which the following example does not show)\n\n```diff\n- Expected\n+ Received\n\n  common\n- changed from\n+ changed to\n```\n\n### Performance of diffStringsUnified\n\nTo get the benefit of **changed substrings** within the comparison lines, a character-by-character comparison has a higher computational cost (in time and space) than a line-by-line comparison.\n\nIf the input strings can have **arbitrary length**, we recommend that the calling code set a limit, beyond which splits the strings, and then calls `diffLinesUnified` instead. For example, Jest falls back to line-by-line comparison if either string has length greater than 20K characters.\n\n## Usage of diffLinesUnified\n\nGiven **arrays of strings**, `diffLinesUnified(aLines, bLines, options?)` does the following:\n\n1. **compare** the arrays line-by-line using the `diff-sequences` package\n2. **format** the changed or common lines using the `chalk` package\n\nYou might call this function when strings have been split into lines and you do not need to see changed substrings within lines.\n\n### Example of diffLinesUnified\n\n```js\nconst aLines = ['delete', 'common', 'changed from'];\nconst bLines = ['common', 'changed to', 'insert'];\n\nconst difference = diffLinesUnified(aLines, bLines);\n```\n\n```diff\n- Expected\n+ Received\n\n- delete\n  common\n- changed from\n+ changed to\n+ insert\n```\n\n### Edge cases of diffLinesUnified or diffStringsUnified\n\nHere are edge cases for arguments and return values:\n\n- both `a` and `b` are empty strings: no comparison lines\n- only `a` is empty string: all comparison lines have `bColor` and `bIndicator` (see Options)\n- only `b` is empty string: all comparison lines have `aColor` and `aIndicator` (see Options)\n- `a` and `b` are equal non-empty strings: all comparison lines have `commonColor` and `commonIndicator` (see Options)\n\n## Usage of diffLinesUnified2\n\nGiven two **pairs** of arrays of strings, `diffLinesUnified2(aLinesDisplay, bLinesDisplay, aLinesCompare, bLinesCompare, options?)` does the following:\n\n1. **compare** the pair of `Compare` arrays line-by-line using the `diff-sequences` package\n2. **format** the corresponding lines in the pair of `Display` arrays using the `chalk` package\n\nJest calls this function to consider lines as common instead of changed if the only difference is indentation.\n\nYou might call this function for case insensitive or Unicode equivalence comparison of lines.\n\n### Example of diffLinesUnified2\n\n```js\nimport format from 'pretty-format';\n\nconst a = {\n  text: 'Ignore indentation in serialized object',\n  time: '2019-09-19T12:34:56.000Z',\n  type: 'CREATE_ITEM',\n};\nconst b = {\n  payload: {\n    text: 'Ignore indentation in serialized object',\n    time: '2019-09-19T12:34:56.000Z',\n  },\n  type: 'CREATE_ITEM',\n};\n\nconst difference = diffLinesUnified2(\n  // serialize with indentation to display lines\n  format(a).split('\\n'),\n  format(b).split('\\n'),\n  // serialize without indentation to compare lines\n  format(a, {indent: 0}).split('\\n'),\n  format(b, {indent: 0}).split('\\n'),\n);\n```\n\nThe `text` and `time` properties are common, because their only difference is indentation:\n\n```diff\n- Expected\n+ Received\n\n  Object {\n+   payload: Object {\n      text: 'Ignore indentation in serialized object',\n      time: '2019-09-19T12:34:56.000Z',\n+   },\n    type: 'CREATE_ITEM',\n  }\n```\n\nThe preceding example illustrates why (at least for indentation) it seems more intuitive that the function returns the common line from the `bLinesDisplay` array instead of from the `aLinesDisplay` array.\n\n## Usage of diffStringsRaw\n\nGiven **strings** and a boolean option, `diffStringsRaw(a, b, cleanup)` does the following:\n\n1. **compare** the strings character-by-character using the `diff-sequences` package\n2. optionally **clean up** small (often coincidental) common substrings, also known as chaff\n\nBecause `diffStringsRaw` returns the difference as **data** instead of a string, you can format it as your application requires (for example, enclosed in HTML markup for browser instead of escape sequences for console).\n\nThe returned **array** describes substrings as instances of the `Diff` class, which calling code can access like array tuples:\n\nThe value at index `0` is one of the following:\n\n| value | named export  | description           |\n| ----: | :------------ | :-------------------- |\n|   `0` | `DIFF_EQUAL`  | in `a` and in `b`     |\n|  `-1` | `DIFF_DELETE` | in `a` but not in `b` |\n|   `1` | `DIFF_INSERT` | in `b` but not in `a` |\n\nThe value at index `1` is a substring of `a` or `b` or both.\n\n### Example of diffStringsRaw with cleanup\n\n```js\nconst diffs = diffStringsRaw('changed from', 'changed to', true);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `0` | `'changed '`  |\n| `1` |          `-1` | `'from'`      |\n| `2` |           `1` | `'to'`        |\n\n### Example of diffStringsRaw without cleanup\n\n```js\nconst diffs = diffStringsRaw('changed from', 'changed to', false);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `0` | `'changed '`  |\n| `1` |          `-1` | `'fr'`        |\n| `2` |           `1` | `'t'`         |\n| `3` |           `0` | `'o'`         |\n| `4` |          `-1` | `'m'`         |\n\n### Advanced import for diffStringsRaw\n\nHere are all the named imports that you might need for the `diffStringsRaw` function:\n\n- `const {DIFF_DELETE, DIFF_EQUAL, DIFF_INSERT, Diff, diffStringsRaw} = require('jest-diff');` in CommonJS modules\n- `import {DIFF_DELETE, DIFF_EQUAL, DIFF_INSERT, Diff, diffStringsRaw} from 'jest-diff';` in ECMAScript modules\n\nTo write a **formatting** function, you might need the named constants (and `Diff` in TypeScript annotations).\n\nIf you write an application-specific **cleanup** algorithm, then you might need to call the `Diff` constructor:\n\n```js\nconst diffCommon = new Diff(DIFF_EQUAL, 'changed ');\nconst diffDelete = new Diff(DIFF_DELETE, 'from');\nconst diffInsert = new Diff(DIFF_INSERT, 'to');\n```\n\n## Usage of diffLinesRaw\n\nGiven **arrays of strings**, `diffLinesRaw(aLines, bLines)` does the following:\n\n- **compare** the arrays line-by-line using the `diff-sequences` package\n\nBecause `diffLinesRaw` returns the difference as **data** instead of a string, you can format it as your application requires.\n\n### Example of diffLinesRaw\n\n```js\nconst aLines = ['delete', 'common', 'changed from'];\nconst bLines = ['common', 'changed to', 'insert'];\n\nconst diffs = diffLinesRaw(aLines, bLines);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]`    |\n| --: | ------------: | :--------------- |\n| `0` |          `-1` | `'delete'`       |\n| `1` |           `0` | `'common'`       |\n| `2` |          `-1` | `'changed from'` |\n| `3` |           `1` | `'changed to'`   |\n| `4` |           `1` | `'insert'`       |\n\n### Edge case of diffLinesRaw\n\nIf you call `string.split('\\n')` for an empty string:\n\n- the result is `['']` an array which contains an empty string\n- instead of `[]` an empty array\n\nDepending of your application, you might call `diffLinesRaw` with either array.\n\n### Example of split method\n\n```js\nimport {diffLinesRaw} from 'jest-diff';\n\nconst a = 'non-empty string';\nconst b = '';\n\nconst diffs = diffLinesRaw(a.split('\\n'), b.split('\\n'));\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]`        |\n| --: | ------------: | :------------------- |\n| `0` |          `-1` | `'non-empty string'` |\n| `1` |           `1` | `''`                 |\n\nWhich you might format as follows:\n\n```diff\n- Expected  - 1\n+ Received  + 1\n\n- non-empty string\n+\n```\n\n### Example of splitLines0 function\n\nFor edge case behavior like the `diffLinesUnified` function, you might define a `splitLines0` function, which given an empty string, returns `[]` an empty array:\n\n```js\nexport const splitLines0 = string =>\n  string.length === 0 ? [] : string.split('\\n');\n```\n\n```js\nimport {diffLinesRaw} from 'jest-diff';\n\nconst a = '';\nconst b = 'line 1\\nline 2\\nline 3';\n\nconst diffs = diffLinesRaw(a.split('\\n'), b.split('\\n'));\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `1` | `'line 1'`    |\n| `1` |           `1` | `'line 2'`    |\n| `2` |           `1` | `'line 3'`    |\n\nWhich you might format as follows:\n\n```diff\n- Expected  - 0\n+ Received  + 3\n\n+ line 1\n+ line 2\n+ line 3\n```\n\nIn contrast to the `diffLinesRaw` function, the `diffLinesUnified` and `diffLinesUnified2` functions **automatically** convert array arguments computed by string `split` method, so callers do **not** need a `splitLine0` function.\n\n## Options\n\nThe default options are for the report when an assertion fails from the `expect` package used by Jest.\n\nFor other applications, you can provide an options object as a third argument:\n\n- `diffDefault(a, b, options)`\n- `diffStringsUnified(a, b, options)`\n- `diffLinesUnified(aLines, bLines, options)`\n- `diffLinesUnified2(aLinesDisplay, bLinesDisplay, aLinesCompare, bLinesCompare, options)`\n\n### Properties of options object\n\n| name                              | default            |\n| :-------------------------------- | :----------------- |\n| `aAnnotation`                     | `'Expected'`       |\n| `aColor`                          | `chalk.green`      |\n| `aIndicator`                      | `'-'`              |\n| `bAnnotation`                     | `'Received'`       |\n| `bColor`                          | `chalk.red`        |\n| `bIndicator`                      | `'+'`              |\n| `changeColor`                     | `chalk.inverse`    |\n| `changeLineTrailingSpaceColor`    | `string => string` |\n| `commonColor`                     | `chalk.dim`        |\n| `commonIndicator`                 | `' '`              |\n| `commonLineTrailingSpaceColor`    | `string => string` |\n| `contextLines`                    | `5`                |\n| `emptyFirstOrLastLinePlaceholder` | `''`               |\n| `expand`                          | `true`             |\n| `includeChangeCounts`             | `false`            |\n| `omitAnnotationLines`             | `false`            |\n| `patchColor`                      | `chalk.yellow`     |\n\nFor more information about the options, see the following examples.\n\n### Example of options for labels\n\nIf the application is code modification, you might replace the labels:\n\n```js\nconst options = {\n  aAnnotation: 'Original',\n  bAnnotation: 'Modified',\n};\n```\n\n```diff\n- Original\n+ Modified\n\n  common\n- changed from\n+ changed to\n```\n\nThe `jest-diff` package does not assume that the 2 labels have equal length.\n\n### Example of options for colors of changed lines\n\nFor consistency with most diff tools, you might exchange the colors:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  aColor: chalk.red,\n  bColor: chalk.green,\n};\n```\n\n### Example of option for color of changed substrings\n\nAlthough the default inverse of foreground and background colors is hard to beat for changed substrings **within lines**, especially because it highlights spaces, if you want bold font weight on yellow background color:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  changeColor: chalk.bold.bgYellowBright,\n};\n```\n\n### Example of option to format trailing spaces\n\nBecause the default export does not display substring differences within lines, formatting can help you see when lines differ by the presence or absence of trailing spaces found by `/\\s+$/` regular expression.\n\n- If change lines have a background color, then you can see trailing spaces.\n- If common lines have default dim color, then you cannot see trailing spaces. You might want yellowish background color to see them.\n\n```js\nconst options = {\n  aColor: chalk.rgb(128, 0, 128).bgRgb(255, 215, 255), // magenta\n  bColor: chalk.rgb(0, 95, 0).bgRgb(215, 255, 215), // green\n  commonLineTrailingSpaceColor: chalk.bgYellow,\n};\n```\n\nThe value of a Color option is a function, which given a string, returns a string.\n\nIf you want to replace trailing spaces with middle dot characters:\n\n```js\nconst replaceSpacesWithMiddleDot = string => '·'.repeat(string.length);\n\nconst options = {\n  changeLineTrailingSpaceColor: replaceSpacesWithMiddleDot,\n  commonLineTrailingSpaceColor: replaceSpacesWithMiddleDot,\n};\n```\n\nIf you need the TypeScript type of a Color option:\n\n```ts\nimport {DiffOptionsColor} from 'jest-diff';\n```\n\n### Example of options for no colors\n\nTo store the difference in a file without escape codes for colors, provide an identity function:\n\n```js\nconst noColor = string => string;\n\nconst options = {\n  aColor: noColor,\n  bColor: noColor,\n  changeColor: noColor,\n  commonColor: noColor,\n  patchColor: noColor,\n};\n```\n\n### Example of options for indicators\n\nFor consistency with the `diff` command, you might replace the indicators:\n\n```js\nconst options = {\n  aIndicator: '<',\n  bIndicator: '>',\n};\n```\n\nThe `jest-diff` package assumes (but does not enforce) that the 3 indicators have equal length.\n\n### Example of options to limit common lines\n\nBy default, the output includes all common lines.\n\nTo emphasize the changes, you might limit the number of common “context” lines:\n\n```js\nconst options = {\n  contextLines: 1,\n  expand: false,\n};\n```\n\nA patch mark like `@@ -12,7 +12,9 @@` accounts for omitted common lines.\n\n### Example of option for color of patch marks\n\nIf you want patch marks to have the same dim color as common lines:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  expand: false,\n  patchColor: chalk.dim,\n};\n```\n\n### Example of option to include change counts\n\nTo display the number of changed lines at the right of annotation lines:\n\n```js\nconst a = ['common', 'changed from'];\nconst b = ['common', 'changed to', 'insert'];\n\nconst options = {\n  includeChangeCounts: true,\n};\n\nconst difference = diffDefault(a, b, options);\n```\n\n```diff\n- Expected  - 1\n+ Received  + 2\n\n  Array [\n    \"common\",\n-   \"changed from\",\n+   \"changed to\",\n+   \"insert\",\n  ]\n```\n\n### Example of option to omit annotation lines\n\nTo display only the comparison lines:\n\n```js\nconst a = 'common\\nchanged from';\nconst b = 'common\\nchanged to';\n\nconst options = {\n  omitAnnotationLines: true,\n};\n\nconst difference = diffStringsUnified(a, b, options);\n```\n\n```diff\n  common\n- changed from\n+ changed to\n```\n\n### Example of option for empty first or last lines\n\nIf the **first** or **last** comparison line is **empty**, because the content is empty and the indicator is a space, you might not notice it.\n\nThe replacement option is a string whose default value is `''` empty string.\n\nBecause Jest trims the report when a matcher fails, it deletes an empty last line.\n\nTherefore, Jest uses as placeholder the downwards arrow with corner leftwards:\n\n```js\nconst options = {\n  emptyFirstOrLastLinePlaceholder: '↵', // U+21B5\n};\n```\n\nIf a content line is empty, then the corresponding comparison line is automatically trimmed to remove the margin space (represented as a middle dot below) for the default indicators:\n\n|         Indicator | untrimmed | trimmed |\n| ----------------: | :-------- | :------ |\n|      `aIndicator` | `'-·'`    | `'-'`   |\n|      `bIndicator` | `'+·'`    | `'+'`   |\n| `commonIndicator` | `' ·'`    | `''`    |\n","readmeFilename":"README.md","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@25.2.0-alpha.86","_nodeVersion":"12.14.1","_npmVersion":"lerna/3.20.2/node@v12.14.1+x64 (darwin)","dist":{"integrity":"sha512-Iu2A2qq5k67P0X2T/DXpcRYhmxso4K0RmewFQwhfdr7nVnW6yAPh/EsGauS0Rcwz5yqKFz8ALkccfOPGBqMrIA==","shasum":"ef5f1c7fb08aca8826347a12a5df83eaa8600cd3","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-25.2.0-alpha.86.tgz","fileCount":33,"unpackedSize":92737,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJee5HxCRA9TVsSAnZWagAAaZwQAJ9h2a3NxmRwCY1IioMY\n/4Y6dJm1mgi9ZceV2gmXqUsxyE+3d5f9TGZG0HfNULGeDI4tujghnGJc36Vd\njvzfL7/8oEqqkJ1H8SrQddMLtogk3c14nbZdWqAq1qvCJVPaALK5rPXYKVyx\n/nCrvY9WwQ/pWq15KUqdE6vVrTjGQlAllwxPVvVGr+igkZT/zaPpyTuLBS++\nt9UuBcazYN4ER2GuvP3VPyhlASspHhyL7LoYzD61sF9qEFLo7854XLmnWASz\nFSEdiqD8/pevi0b9YlnlL/WckuzIz2OHjgd9TWFlqwXRfBACLqWdMYODVSmQ\nVyOfR+TJn+BaIenTAf8ed7md4sG/orkqJT47rko/wfSmjRzGJGQo1QxSQoG2\nIsFwh/jyakievoO3qh5pX2oyHyoHl5UEZNDBStVyKSM5bsXV4/14HXgPp4NT\nNK/r9VgRVMM7+k7AWE7k1zZuqkHR8NjDFonswoWS0eJ/hNicXaaWtQSbakJ1\nv7KM9Lc0H5oAiKYiwVtRF8UoOBraOHK6d/Gyu440EIJasw36gTGbV8Qng24b\nwySIkVm1abkKIt7L/tX4TDGjeeO3RwpMz4ZNky+XQ5rosB8SibXuzXAgG7KJ\nPP9WgaLiDnzkK3iHj+5AsX23rITsAd/6s1lOK4/fuAnlYqpKQ3sHlFOMfd6X\nyi9l\r\n=H1MH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDy5fv5qORAQpjFHOYTcuXFjEQEvz6qMqJk6DrqsIGzGwIhAJED+ggMn2247vv0f3hcijRGz0KYuf2oaTr2og4cYz4Q"}]},"maintainers":[{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"davidzilburg@gmail.com","name":"davidzilburg"},{"email":"opensource+npm@fb.com","name":"fb"},{"email":"rubennorte@gmail.com","name":"rubennorte"},{"email":"scott.hovestadt@gmail.com","name":"scotthovestadt"},{"email":"sbekkhus91@gmail.com","name":"simenb"}],"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_25.2.0-alpha.86_1585156593507_0.6522940781414508"},"_hasShrinkwrap":false},"25.2.0":{"name":"jest-diff","version":"25.2.0","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"build/index.js","types":"build/index.d.ts","dependencies":{"chalk":"^3.0.0","diff-sequences":"^25.2.0","jest-get-type":"^25.1.0","pretty-format":"^25.2.0"},"devDependencies":{"@jest/test-utils":"^25.2.0","strip-ansi":"^6.0.0"},"engines":{"node":">= 8.3"},"publishConfig":{"access":"public"},"gitHead":"9f0339c1c762e39f869f7df63e88470287728b93","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@25.2.0","_nodeVersion":"12.14.1","_npmVersion":"lerna/3.20.2/node@v12.14.1+x64 (darwin)","dist":{"integrity":"sha512-4qNJ9ELNECVeApQ62d8HWGyWzLOXwO81awCoKkHA34Kz8jyP8fQE1lQiZDmLmZRnzoFfIZAAo84u2DlBQ8SrsQ==","shasum":"d9d0138494b9c34acbb63508836cf11b6736f5dc","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-25.2.0.tgz","fileCount":33,"unpackedSize":92642,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJee5uzCRA9TVsSAnZWagAAj+YP/i5lbId1FXfpz2/MkSqy\nFdBIg0zBO///3IUubXV9gr7GBoasXG4Jmnt1IQWFgRzVS0duGbKraKqKKSx9\njcvqT8ojaUYJeGGki2/FOPlDz+VX4vKJRlzeFrqkN2VilpntreuTS4JlLEO+\n2m8E6i0UWUgoF25BtX4gdS7UKPQZPIoCTbjE1Rk0no0gBws4K9517wyv96Dq\nAk7JtnpzEoL2xpzXvoosAR2ASALA/tKKSGsgu5o9WHbzxceBi3/GnTNeFB7h\n9XgAJOcDXZRAivf1cu1RHHwg3VvBHnTUYiToCddziYTazbnXoWCm+onqP6t4\nOkEs9cGsvJ/xIf7LRTmgU4VNXmg/c1HymmhT+xLkZB8Ni61LH7oWWlxSnsEJ\ns7vLq1+O51AvG0ueeloxfIB8VpnuMlqkQ1rQFGzw2JslhOAjZ+qqGBf5DN8T\n+SctSlSxezffB33Mpaz91KzzIietaye8WU3vBxRafFBNq2bs5zm44WoSaGE2\nLalUUSj8h55Rp22rHo/w8c4+YYNWDh8rEYpKxNjG3cq6d/kKs/7fU/OsUOJg\nhOQyhqyL5yzJxTm2R5YqqEaNP1GlMl0O9MTF5s0xxX0tXBfkDeFyezRcb8cL\nzx71z94xrOnB5Lkg/sO+ckUCyg6e2njSOl4Usi+hGaxp9x3v1rUsp7UROjIL\nz68o\r\n=RhUO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDEsXNHNjy9i9GvYZPzg4KzxM8uaE/3f5PG6JF9LvTMGgIgKbrwlqM+2OHUJLAXXLk3712iHcDnE2QJye3XqiKMjyI="}]},"maintainers":[{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"davidzilburg@gmail.com","name":"davidzilburg"},{"email":"opensource+npm@fb.com","name":"fb"},{"email":"rubennorte@gmail.com","name":"rubennorte"},{"email":"scott.hovestadt@gmail.com","name":"scotthovestadt"},{"email":"sbekkhus91@gmail.com","name":"simenb"}],"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_25.2.0_1585159091009_0.6907904303617947"},"_hasShrinkwrap":false},"25.2.1-alpha.1":{"name":"jest-diff","version":"25.2.1-alpha.1","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"build/index.js","types":"build/index.d.ts","typesVersions":{"<3.8":{"*":["ts3.4/*"]}},"dependencies":{"chalk":"^3.0.0","diff-sequences":"^25.2.1-alpha.1+5cc2ccdac","jest-get-type":"^25.2.1-alpha.1+5cc2ccdac","pretty-format":"^25.2.1-alpha.1+5cc2ccdac"},"devDependencies":{"@jest/test-utils":"^25.2.1-alpha.1+5cc2ccdac","strip-ansi":"^6.0.0"},"engines":{"node":">= 8.3"},"publishConfig":{"access":"public"},"gitHead":"5cc2ccdacb1b2433581222252e43cb5a1f6861a9","readme":"# jest-diff\n\nDisplay differences clearly so people can review changes confidently.\n\nThe default export serializes JavaScript **values**, compares them line-by-line, and returns a string which includes comparison lines.\n\nTwo named exports compare **strings** character-by-character:\n\n- `diffStringsUnified` returns a string.\n- `diffStringsRaw` returns an array of `Diff` objects.\n\nThree named exports compare **arrays of strings** line-by-line:\n\n- `diffLinesUnified` and `diffLinesUnified2` return a string.\n- `diffLinesRaw` returns an array of `Diff` objects.\n\n## Installation\n\nTo add this package as a dependency of a project, run either of the following commands:\n\n- `npm install jest-diff`\n- `yarn add jest-diff`\n\n## Usage of default export\n\nGiven JavaScript **values**, `diffDefault(a, b, options?)` does the following:\n\n1. **serialize** the values as strings using the `pretty-format` package\n2. **compare** the strings line-by-line using the `diff-sequences` package\n3. **format** the changed or common lines using the `chalk` package\n\nTo use this function, write either of the following:\n\n- `const diffDefault = require('jest-diff').default;` in CommonJS modules\n- `import diffDefault from 'jest-diff';` in ECMAScript modules\n\n### Example of default export\n\n```js\nconst a = ['delete', 'common', 'changed from'];\nconst b = ['common', 'changed to', 'insert'];\n\nconst difference = diffDefault(a, b);\n```\n\nThe returned **string** consists of:\n\n- annotation lines: describe the two change indicators with labels, and a blank line\n- comparison lines: similar to “unified” view on GitHub, but `Expected` lines are green, `Received` lines are red, and common lines are dim (by default, see Options)\n\n```diff\n- Expected\n+ Received\n\n  Array [\n-   \"delete\",\n    \"common\",\n-   \"changed from\",\n+   \"changed to\",\n+   \"insert\",\n  ]\n```\n\n### Edge cases of default export\n\nHere are edge cases for the return value:\n\n- `' Comparing two different types of values. …'` if the arguments have **different types** according to the `jest-get-type` package (instances of different classes have the same `'object'` type)\n- `'Compared values have no visual difference.'` if the arguments have either **referential identity** according to `Object.is` method or **same serialization** according to the `pretty-format` package\n- `null` if either argument is a so-called **asymmetric matcher** in Jasmine or Jest\n\n## Usage of diffStringsUnified\n\nGiven **strings**, `diffStringsUnified(a, b, options?)` does the following:\n\n1. **compare** the strings character-by-character using the `diff-sequences` package\n2. **clean up** small (often coincidental) common substrings, also known as chaff\n3. **format** the changed or common lines using the `chalk` package\n\nAlthough the function is mainly for **multiline** strings, it compares any strings.\n\nWrite either of the following:\n\n- `const {diffStringsUnified} = require('jest-diff');` in CommonJS modules\n- `import {diffStringsUnified} from 'jest-diff';` in ECMAScript modules\n\n### Example of diffStringsUnified\n\n```js\nconst a = 'common\\nchanged from';\nconst b = 'common\\nchanged to';\n\nconst difference = diffStringsUnified(a, b);\n```\n\nThe returned **string** consists of:\n\n- annotation lines: describe the two change indicators with labels, and a blank line\n- comparison lines: similar to “unified” view on GitHub, and **changed substrings** have **inverse** foreground and background colors (that is, `from` has white-on-green and `to` has white-on-red, which the following example does not show)\n\n```diff\n- Expected\n+ Received\n\n  common\n- changed from\n+ changed to\n```\n\n### Performance of diffStringsUnified\n\nTo get the benefit of **changed substrings** within the comparison lines, a character-by-character comparison has a higher computational cost (in time and space) than a line-by-line comparison.\n\nIf the input strings can have **arbitrary length**, we recommend that the calling code set a limit, beyond which splits the strings, and then calls `diffLinesUnified` instead. For example, Jest falls back to line-by-line comparison if either string has length greater than 20K characters.\n\n## Usage of diffLinesUnified\n\nGiven **arrays of strings**, `diffLinesUnified(aLines, bLines, options?)` does the following:\n\n1. **compare** the arrays line-by-line using the `diff-sequences` package\n2. **format** the changed or common lines using the `chalk` package\n\nYou might call this function when strings have been split into lines and you do not need to see changed substrings within lines.\n\n### Example of diffLinesUnified\n\n```js\nconst aLines = ['delete', 'common', 'changed from'];\nconst bLines = ['common', 'changed to', 'insert'];\n\nconst difference = diffLinesUnified(aLines, bLines);\n```\n\n```diff\n- Expected\n+ Received\n\n- delete\n  common\n- changed from\n+ changed to\n+ insert\n```\n\n### Edge cases of diffLinesUnified or diffStringsUnified\n\nHere are edge cases for arguments and return values:\n\n- both `a` and `b` are empty strings: no comparison lines\n- only `a` is empty string: all comparison lines have `bColor` and `bIndicator` (see Options)\n- only `b` is empty string: all comparison lines have `aColor` and `aIndicator` (see Options)\n- `a` and `b` are equal non-empty strings: all comparison lines have `commonColor` and `commonIndicator` (see Options)\n\n## Usage of diffLinesUnified2\n\nGiven two **pairs** of arrays of strings, `diffLinesUnified2(aLinesDisplay, bLinesDisplay, aLinesCompare, bLinesCompare, options?)` does the following:\n\n1. **compare** the pair of `Compare` arrays line-by-line using the `diff-sequences` package\n2. **format** the corresponding lines in the pair of `Display` arrays using the `chalk` package\n\nJest calls this function to consider lines as common instead of changed if the only difference is indentation.\n\nYou might call this function for case insensitive or Unicode equivalence comparison of lines.\n\n### Example of diffLinesUnified2\n\n```js\nimport format from 'pretty-format';\n\nconst a = {\n  text: 'Ignore indentation in serialized object',\n  time: '2019-09-19T12:34:56.000Z',\n  type: 'CREATE_ITEM',\n};\nconst b = {\n  payload: {\n    text: 'Ignore indentation in serialized object',\n    time: '2019-09-19T12:34:56.000Z',\n  },\n  type: 'CREATE_ITEM',\n};\n\nconst difference = diffLinesUnified2(\n  // serialize with indentation to display lines\n  format(a).split('\\n'),\n  format(b).split('\\n'),\n  // serialize without indentation to compare lines\n  format(a, {indent: 0}).split('\\n'),\n  format(b, {indent: 0}).split('\\n'),\n);\n```\n\nThe `text` and `time` properties are common, because their only difference is indentation:\n\n```diff\n- Expected\n+ Received\n\n  Object {\n+   payload: Object {\n      text: 'Ignore indentation in serialized object',\n      time: '2019-09-19T12:34:56.000Z',\n+   },\n    type: 'CREATE_ITEM',\n  }\n```\n\nThe preceding example illustrates why (at least for indentation) it seems more intuitive that the function returns the common line from the `bLinesDisplay` array instead of from the `aLinesDisplay` array.\n\n## Usage of diffStringsRaw\n\nGiven **strings** and a boolean option, `diffStringsRaw(a, b, cleanup)` does the following:\n\n1. **compare** the strings character-by-character using the `diff-sequences` package\n2. optionally **clean up** small (often coincidental) common substrings, also known as chaff\n\nBecause `diffStringsRaw` returns the difference as **data** instead of a string, you can format it as your application requires (for example, enclosed in HTML markup for browser instead of escape sequences for console).\n\nThe returned **array** describes substrings as instances of the `Diff` class, which calling code can access like array tuples:\n\nThe value at index `0` is one of the following:\n\n| value | named export  | description           |\n| ----: | :------------ | :-------------------- |\n|   `0` | `DIFF_EQUAL`  | in `a` and in `b`     |\n|  `-1` | `DIFF_DELETE` | in `a` but not in `b` |\n|   `1` | `DIFF_INSERT` | in `b` but not in `a` |\n\nThe value at index `1` is a substring of `a` or `b` or both.\n\n### Example of diffStringsRaw with cleanup\n\n```js\nconst diffs = diffStringsRaw('changed from', 'changed to', true);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `0` | `'changed '`  |\n| `1` |          `-1` | `'from'`      |\n| `2` |           `1` | `'to'`        |\n\n### Example of diffStringsRaw without cleanup\n\n```js\nconst diffs = diffStringsRaw('changed from', 'changed to', false);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `0` | `'changed '`  |\n| `1` |          `-1` | `'fr'`        |\n| `2` |           `1` | `'t'`         |\n| `3` |           `0` | `'o'`         |\n| `4` |          `-1` | `'m'`         |\n\n### Advanced import for diffStringsRaw\n\nHere are all the named imports that you might need for the `diffStringsRaw` function:\n\n- `const {DIFF_DELETE, DIFF_EQUAL, DIFF_INSERT, Diff, diffStringsRaw} = require('jest-diff');` in CommonJS modules\n- `import {DIFF_DELETE, DIFF_EQUAL, DIFF_INSERT, Diff, diffStringsRaw} from 'jest-diff';` in ECMAScript modules\n\nTo write a **formatting** function, you might need the named constants (and `Diff` in TypeScript annotations).\n\nIf you write an application-specific **cleanup** algorithm, then you might need to call the `Diff` constructor:\n\n```js\nconst diffCommon = new Diff(DIFF_EQUAL, 'changed ');\nconst diffDelete = new Diff(DIFF_DELETE, 'from');\nconst diffInsert = new Diff(DIFF_INSERT, 'to');\n```\n\n## Usage of diffLinesRaw\n\nGiven **arrays of strings**, `diffLinesRaw(aLines, bLines)` does the following:\n\n- **compare** the arrays line-by-line using the `diff-sequences` package\n\nBecause `diffLinesRaw` returns the difference as **data** instead of a string, you can format it as your application requires.\n\n### Example of diffLinesRaw\n\n```js\nconst aLines = ['delete', 'common', 'changed from'];\nconst bLines = ['common', 'changed to', 'insert'];\n\nconst diffs = diffLinesRaw(aLines, bLines);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]`    |\n| --: | ------------: | :--------------- |\n| `0` |          `-1` | `'delete'`       |\n| `1` |           `0` | `'common'`       |\n| `2` |          `-1` | `'changed from'` |\n| `3` |           `1` | `'changed to'`   |\n| `4` |           `1` | `'insert'`       |\n\n### Edge case of diffLinesRaw\n\nIf you call `string.split('\\n')` for an empty string:\n\n- the result is `['']` an array which contains an empty string\n- instead of `[]` an empty array\n\nDepending of your application, you might call `diffLinesRaw` with either array.\n\n### Example of split method\n\n```js\nimport {diffLinesRaw} from 'jest-diff';\n\nconst a = 'non-empty string';\nconst b = '';\n\nconst diffs = diffLinesRaw(a.split('\\n'), b.split('\\n'));\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]`        |\n| --: | ------------: | :------------------- |\n| `0` |          `-1` | `'non-empty string'` |\n| `1` |           `1` | `''`                 |\n\nWhich you might format as follows:\n\n```diff\n- Expected  - 1\n+ Received  + 1\n\n- non-empty string\n+\n```\n\n### Example of splitLines0 function\n\nFor edge case behavior like the `diffLinesUnified` function, you might define a `splitLines0` function, which given an empty string, returns `[]` an empty array:\n\n```js\nexport const splitLines0 = string =>\n  string.length === 0 ? [] : string.split('\\n');\n```\n\n```js\nimport {diffLinesRaw} from 'jest-diff';\n\nconst a = '';\nconst b = 'line 1\\nline 2\\nline 3';\n\nconst diffs = diffLinesRaw(a.split('\\n'), b.split('\\n'));\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `1` | `'line 1'`    |\n| `1` |           `1` | `'line 2'`    |\n| `2` |           `1` | `'line 3'`    |\n\nWhich you might format as follows:\n\n```diff\n- Expected  - 0\n+ Received  + 3\n\n+ line 1\n+ line 2\n+ line 3\n```\n\nIn contrast to the `diffLinesRaw` function, the `diffLinesUnified` and `diffLinesUnified2` functions **automatically** convert array arguments computed by string `split` method, so callers do **not** need a `splitLine0` function.\n\n## Options\n\nThe default options are for the report when an assertion fails from the `expect` package used by Jest.\n\nFor other applications, you can provide an options object as a third argument:\n\n- `diffDefault(a, b, options)`\n- `diffStringsUnified(a, b, options)`\n- `diffLinesUnified(aLines, bLines, options)`\n- `diffLinesUnified2(aLinesDisplay, bLinesDisplay, aLinesCompare, bLinesCompare, options)`\n\n### Properties of options object\n\n| name                              | default            |\n| :-------------------------------- | :----------------- |\n| `aAnnotation`                     | `'Expected'`       |\n| `aColor`                          | `chalk.green`      |\n| `aIndicator`                      | `'-'`              |\n| `bAnnotation`                     | `'Received'`       |\n| `bColor`                          | `chalk.red`        |\n| `bIndicator`                      | `'+'`              |\n| `changeColor`                     | `chalk.inverse`    |\n| `changeLineTrailingSpaceColor`    | `string => string` |\n| `commonColor`                     | `chalk.dim`        |\n| `commonIndicator`                 | `' '`              |\n| `commonLineTrailingSpaceColor`    | `string => string` |\n| `contextLines`                    | `5`                |\n| `emptyFirstOrLastLinePlaceholder` | `''`               |\n| `expand`                          | `true`             |\n| `includeChangeCounts`             | `false`            |\n| `omitAnnotationLines`             | `false`            |\n| `patchColor`                      | `chalk.yellow`     |\n\nFor more information about the options, see the following examples.\n\n### Example of options for labels\n\nIf the application is code modification, you might replace the labels:\n\n```js\nconst options = {\n  aAnnotation: 'Original',\n  bAnnotation: 'Modified',\n};\n```\n\n```diff\n- Original\n+ Modified\n\n  common\n- changed from\n+ changed to\n```\n\nThe `jest-diff` package does not assume that the 2 labels have equal length.\n\n### Example of options for colors of changed lines\n\nFor consistency with most diff tools, you might exchange the colors:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  aColor: chalk.red,\n  bColor: chalk.green,\n};\n```\n\n### Example of option for color of changed substrings\n\nAlthough the default inverse of foreground and background colors is hard to beat for changed substrings **within lines**, especially because it highlights spaces, if you want bold font weight on yellow background color:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  changeColor: chalk.bold.bgYellowBright,\n};\n```\n\n### Example of option to format trailing spaces\n\nBecause the default export does not display substring differences within lines, formatting can help you see when lines differ by the presence or absence of trailing spaces found by `/\\s+$/` regular expression.\n\n- If change lines have a background color, then you can see trailing spaces.\n- If common lines have default dim color, then you cannot see trailing spaces. You might want yellowish background color to see them.\n\n```js\nconst options = {\n  aColor: chalk.rgb(128, 0, 128).bgRgb(255, 215, 255), // magenta\n  bColor: chalk.rgb(0, 95, 0).bgRgb(215, 255, 215), // green\n  commonLineTrailingSpaceColor: chalk.bgYellow,\n};\n```\n\nThe value of a Color option is a function, which given a string, returns a string.\n\nIf you want to replace trailing spaces with middle dot characters:\n\n```js\nconst replaceSpacesWithMiddleDot = string => '·'.repeat(string.length);\n\nconst options = {\n  changeLineTrailingSpaceColor: replaceSpacesWithMiddleDot,\n  commonLineTrailingSpaceColor: replaceSpacesWithMiddleDot,\n};\n```\n\nIf you need the TypeScript type of a Color option:\n\n```ts\nimport {DiffOptionsColor} from 'jest-diff';\n```\n\n### Example of options for no colors\n\nTo store the difference in a file without escape codes for colors, provide an identity function:\n\n```js\nconst noColor = string => string;\n\nconst options = {\n  aColor: noColor,\n  bColor: noColor,\n  changeColor: noColor,\n  commonColor: noColor,\n  patchColor: noColor,\n};\n```\n\n### Example of options for indicators\n\nFor consistency with the `diff` command, you might replace the indicators:\n\n```js\nconst options = {\n  aIndicator: '<',\n  bIndicator: '>',\n};\n```\n\nThe `jest-diff` package assumes (but does not enforce) that the 3 indicators have equal length.\n\n### Example of options to limit common lines\n\nBy default, the output includes all common lines.\n\nTo emphasize the changes, you might limit the number of common “context” lines:\n\n```js\nconst options = {\n  contextLines: 1,\n  expand: false,\n};\n```\n\nA patch mark like `@@ -12,7 +12,9 @@` accounts for omitted common lines.\n\n### Example of option for color of patch marks\n\nIf you want patch marks to have the same dim color as common lines:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  expand: false,\n  patchColor: chalk.dim,\n};\n```\n\n### Example of option to include change counts\n\nTo display the number of changed lines at the right of annotation lines:\n\n```js\nconst a = ['common', 'changed from'];\nconst b = ['common', 'changed to', 'insert'];\n\nconst options = {\n  includeChangeCounts: true,\n};\n\nconst difference = diffDefault(a, b, options);\n```\n\n```diff\n- Expected  - 1\n+ Received  + 2\n\n  Array [\n    \"common\",\n-   \"changed from\",\n+   \"changed to\",\n+   \"insert\",\n  ]\n```\n\n### Example of option to omit annotation lines\n\nTo display only the comparison lines:\n\n```js\nconst a = 'common\\nchanged from';\nconst b = 'common\\nchanged to';\n\nconst options = {\n  omitAnnotationLines: true,\n};\n\nconst difference = diffStringsUnified(a, b, options);\n```\n\n```diff\n  common\n- changed from\n+ changed to\n```\n\n### Example of option for empty first or last lines\n\nIf the **first** or **last** comparison line is **empty**, because the content is empty and the indicator is a space, you might not notice it.\n\nThe replacement option is a string whose default value is `''` empty string.\n\nBecause Jest trims the report when a matcher fails, it deletes an empty last line.\n\nTherefore, Jest uses as placeholder the downwards arrow with corner leftwards:\n\n```js\nconst options = {\n  emptyFirstOrLastLinePlaceholder: '↵', // U+21B5\n};\n```\n\nIf a content line is empty, then the corresponding comparison line is automatically trimmed to remove the margin space (represented as a middle dot below) for the default indicators:\n\n|         Indicator | untrimmed | trimmed |\n| ----------------: | :-------- | :------ |\n|      `aIndicator` | `'-·'`    | `'-'`   |\n|      `bIndicator` | `'+·'`    | `'+'`   |\n| `commonIndicator` | `' ·'`    | `''`    |\n","readmeFilename":"README.md","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@25.2.1-alpha.1","_nodeVersion":"12.14.1","_npmVersion":"lerna/3.20.2/node@v12.14.1+x64 (darwin)","dist":{"integrity":"sha512-Ubqrf3FRc/0IjNT+mf396PoPvuAkwTJIjPSQctijQ/eFPzrg1LL66t8UNa0OWh6A52USyf/qnI5oaltRmqlyEg==","shasum":"daf9fcc38d36f94ef6970766d8811bb2c44ff973","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-25.2.1-alpha.1.tgz","fileCount":43,"unpackedSize":106053,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJefF+zCRA9TVsSAnZWagAAuYAP/iyTTDL5Y0JCKFK4mclU\nWR16xi4p36CqtjNoiN9XkFE6g0PPV1M5IvVUTZ7LCXik6N1Wwv40sToednE+\n7jwJWaiwRk3rNw8SM87UzhTZV4jSiygbv7JdxNbYXhte0MNMV6mQWOOm+udK\n0fFnSVdkBwObgLvTLQUv0SXoYjSBLDsjmrTyLvl+zwTkhkDGfikmGx31Aj23\nxTmicVHe1P+LBDnd8BTGyl5IN/fkk59uoFZ9seuZS6vRsSch4WJi3kIRKLT8\nbQTI1wE+QCs65ufNb+HmEFpzYNqnWo7YV8Q5Oa7iUuWo0iNh1sg5GDVFl63D\ndjZdsq8345lxIIK41xxS6GZ7KM4wxSzHtftejtkr4W4ft2ZKMPcOcCXCbhia\nSkPhTdAtTXMtNe7ZodjsfsZ0jht6guX2sY95krJZOMvtn/OK4KrDR7IaelUB\nEE79JSkZlg4DlMD6ktIjkSsvlN026Y6/eTR/nAkO1f5MwBUgpq2/YXPIIj2O\nGoAT3qVzcLcl7UnDRbYVso6+xOf74phxgG/XCMW5l8Ipwj7waGSqgrJWe/yQ\ni482YfRJ5Ke1JeTPWCQvbGF1uLtAXJsjdBXp6c+bu1BOrD7t2hNzIzEEZ3MF\nhfPUfBDFe5O8+JKTs94jmHQZdFOHlr1UcZllwbsHm9ZryLjbjxAKFR14MgvT\nEK23\r\n=qgq3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG2gFLIjYKH5fdPwtjdld+D2ZkdTFbYvu0JRaRtqfKmkAiEAxO6BccHmL3H0KmHvOhhVig1mzWPSVpsc+rt+LgSsGuY="}]},"maintainers":[{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"davidzilburg@gmail.com","name":"davidzilburg"},{"email":"opensource+npm@fb.com","name":"fb"},{"email":"rubennorte@gmail.com","name":"rubennorte"},{"email":"scott.hovestadt@gmail.com","name":"scotthovestadt"},{"email":"sbekkhus91@gmail.com","name":"simenb"}],"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_25.2.1-alpha.1_1585209266634_0.06326619968477343"},"_hasShrinkwrap":false},"25.2.1-alpha.2":{"name":"jest-diff","version":"25.2.1-alpha.2","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"build/index.js","types":"build/index.d.ts","typesVersions":{"<3.8":{"build/*":["build/ts3.4/*"]}},"dependencies":{"chalk":"^3.0.0","diff-sequences":"^25.2.1-alpha.2+79b7ab67c","jest-get-type":"^25.2.1-alpha.2+79b7ab67c","pretty-format":"^25.2.1-alpha.2+79b7ab67c"},"devDependencies":{"@jest/test-utils":"^25.2.1-alpha.2+79b7ab67c","strip-ansi":"^6.0.0"},"engines":{"node":">= 8.3"},"publishConfig":{"access":"public"},"gitHead":"79b7ab67c63d3708f9689e25fbc0e8b0094bd019","readme":"# jest-diff\n\nDisplay differences clearly so people can review changes confidently.\n\nThe default export serializes JavaScript **values**, compares them line-by-line, and returns a string which includes comparison lines.\n\nTwo named exports compare **strings** character-by-character:\n\n- `diffStringsUnified` returns a string.\n- `diffStringsRaw` returns an array of `Diff` objects.\n\nThree named exports compare **arrays of strings** line-by-line:\n\n- `diffLinesUnified` and `diffLinesUnified2` return a string.\n- `diffLinesRaw` returns an array of `Diff` objects.\n\n## Installation\n\nTo add this package as a dependency of a project, run either of the following commands:\n\n- `npm install jest-diff`\n- `yarn add jest-diff`\n\n## Usage of default export\n\nGiven JavaScript **values**, `diffDefault(a, b, options?)` does the following:\n\n1. **serialize** the values as strings using the `pretty-format` package\n2. **compare** the strings line-by-line using the `diff-sequences` package\n3. **format** the changed or common lines using the `chalk` package\n\nTo use this function, write either of the following:\n\n- `const diffDefault = require('jest-diff').default;` in CommonJS modules\n- `import diffDefault from 'jest-diff';` in ECMAScript modules\n\n### Example of default export\n\n```js\nconst a = ['delete', 'common', 'changed from'];\nconst b = ['common', 'changed to', 'insert'];\n\nconst difference = diffDefault(a, b);\n```\n\nThe returned **string** consists of:\n\n- annotation lines: describe the two change indicators with labels, and a blank line\n- comparison lines: similar to “unified” view on GitHub, but `Expected` lines are green, `Received` lines are red, and common lines are dim (by default, see Options)\n\n```diff\n- Expected\n+ Received\n\n  Array [\n-   \"delete\",\n    \"common\",\n-   \"changed from\",\n+   \"changed to\",\n+   \"insert\",\n  ]\n```\n\n### Edge cases of default export\n\nHere are edge cases for the return value:\n\n- `' Comparing two different types of values. …'` if the arguments have **different types** according to the `jest-get-type` package (instances of different classes have the same `'object'` type)\n- `'Compared values have no visual difference.'` if the arguments have either **referential identity** according to `Object.is` method or **same serialization** according to the `pretty-format` package\n- `null` if either argument is a so-called **asymmetric matcher** in Jasmine or Jest\n\n## Usage of diffStringsUnified\n\nGiven **strings**, `diffStringsUnified(a, b, options?)` does the following:\n\n1. **compare** the strings character-by-character using the `diff-sequences` package\n2. **clean up** small (often coincidental) common substrings, also known as chaff\n3. **format** the changed or common lines using the `chalk` package\n\nAlthough the function is mainly for **multiline** strings, it compares any strings.\n\nWrite either of the following:\n\n- `const {diffStringsUnified} = require('jest-diff');` in CommonJS modules\n- `import {diffStringsUnified} from 'jest-diff';` in ECMAScript modules\n\n### Example of diffStringsUnified\n\n```js\nconst a = 'common\\nchanged from';\nconst b = 'common\\nchanged to';\n\nconst difference = diffStringsUnified(a, b);\n```\n\nThe returned **string** consists of:\n\n- annotation lines: describe the two change indicators with labels, and a blank line\n- comparison lines: similar to “unified” view on GitHub, and **changed substrings** have **inverse** foreground and background colors (that is, `from` has white-on-green and `to` has white-on-red, which the following example does not show)\n\n```diff\n- Expected\n+ Received\n\n  common\n- changed from\n+ changed to\n```\n\n### Performance of diffStringsUnified\n\nTo get the benefit of **changed substrings** within the comparison lines, a character-by-character comparison has a higher computational cost (in time and space) than a line-by-line comparison.\n\nIf the input strings can have **arbitrary length**, we recommend that the calling code set a limit, beyond which splits the strings, and then calls `diffLinesUnified` instead. For example, Jest falls back to line-by-line comparison if either string has length greater than 20K characters.\n\n## Usage of diffLinesUnified\n\nGiven **arrays of strings**, `diffLinesUnified(aLines, bLines, options?)` does the following:\n\n1. **compare** the arrays line-by-line using the `diff-sequences` package\n2. **format** the changed or common lines using the `chalk` package\n\nYou might call this function when strings have been split into lines and you do not need to see changed substrings within lines.\n\n### Example of diffLinesUnified\n\n```js\nconst aLines = ['delete', 'common', 'changed from'];\nconst bLines = ['common', 'changed to', 'insert'];\n\nconst difference = diffLinesUnified(aLines, bLines);\n```\n\n```diff\n- Expected\n+ Received\n\n- delete\n  common\n- changed from\n+ changed to\n+ insert\n```\n\n### Edge cases of diffLinesUnified or diffStringsUnified\n\nHere are edge cases for arguments and return values:\n\n- both `a` and `b` are empty strings: no comparison lines\n- only `a` is empty string: all comparison lines have `bColor` and `bIndicator` (see Options)\n- only `b` is empty string: all comparison lines have `aColor` and `aIndicator` (see Options)\n- `a` and `b` are equal non-empty strings: all comparison lines have `commonColor` and `commonIndicator` (see Options)\n\n## Usage of diffLinesUnified2\n\nGiven two **pairs** of arrays of strings, `diffLinesUnified2(aLinesDisplay, bLinesDisplay, aLinesCompare, bLinesCompare, options?)` does the following:\n\n1. **compare** the pair of `Compare` arrays line-by-line using the `diff-sequences` package\n2. **format** the corresponding lines in the pair of `Display` arrays using the `chalk` package\n\nJest calls this function to consider lines as common instead of changed if the only difference is indentation.\n\nYou might call this function for case insensitive or Unicode equivalence comparison of lines.\n\n### Example of diffLinesUnified2\n\n```js\nimport format from 'pretty-format';\n\nconst a = {\n  text: 'Ignore indentation in serialized object',\n  time: '2019-09-19T12:34:56.000Z',\n  type: 'CREATE_ITEM',\n};\nconst b = {\n  payload: {\n    text: 'Ignore indentation in serialized object',\n    time: '2019-09-19T12:34:56.000Z',\n  },\n  type: 'CREATE_ITEM',\n};\n\nconst difference = diffLinesUnified2(\n  // serialize with indentation to display lines\n  format(a).split('\\n'),\n  format(b).split('\\n'),\n  // serialize without indentation to compare lines\n  format(a, {indent: 0}).split('\\n'),\n  format(b, {indent: 0}).split('\\n'),\n);\n```\n\nThe `text` and `time` properties are common, because their only difference is indentation:\n\n```diff\n- Expected\n+ Received\n\n  Object {\n+   payload: Object {\n      text: 'Ignore indentation in serialized object',\n      time: '2019-09-19T12:34:56.000Z',\n+   },\n    type: 'CREATE_ITEM',\n  }\n```\n\nThe preceding example illustrates why (at least for indentation) it seems more intuitive that the function returns the common line from the `bLinesDisplay` array instead of from the `aLinesDisplay` array.\n\n## Usage of diffStringsRaw\n\nGiven **strings** and a boolean option, `diffStringsRaw(a, b, cleanup)` does the following:\n\n1. **compare** the strings character-by-character using the `diff-sequences` package\n2. optionally **clean up** small (often coincidental) common substrings, also known as chaff\n\nBecause `diffStringsRaw` returns the difference as **data** instead of a string, you can format it as your application requires (for example, enclosed in HTML markup for browser instead of escape sequences for console).\n\nThe returned **array** describes substrings as instances of the `Diff` class, which calling code can access like array tuples:\n\nThe value at index `0` is one of the following:\n\n| value | named export  | description           |\n| ----: | :------------ | :-------------------- |\n|   `0` | `DIFF_EQUAL`  | in `a` and in `b`     |\n|  `-1` | `DIFF_DELETE` | in `a` but not in `b` |\n|   `1` | `DIFF_INSERT` | in `b` but not in `a` |\n\nThe value at index `1` is a substring of `a` or `b` or both.\n\n### Example of diffStringsRaw with cleanup\n\n```js\nconst diffs = diffStringsRaw('changed from', 'changed to', true);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `0` | `'changed '`  |\n| `1` |          `-1` | `'from'`      |\n| `2` |           `1` | `'to'`        |\n\n### Example of diffStringsRaw without cleanup\n\n```js\nconst diffs = diffStringsRaw('changed from', 'changed to', false);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `0` | `'changed '`  |\n| `1` |          `-1` | `'fr'`        |\n| `2` |           `1` | `'t'`         |\n| `3` |           `0` | `'o'`         |\n| `4` |          `-1` | `'m'`         |\n\n### Advanced import for diffStringsRaw\n\nHere are all the named imports that you might need for the `diffStringsRaw` function:\n\n- `const {DIFF_DELETE, DIFF_EQUAL, DIFF_INSERT, Diff, diffStringsRaw} = require('jest-diff');` in CommonJS modules\n- `import {DIFF_DELETE, DIFF_EQUAL, DIFF_INSERT, Diff, diffStringsRaw} from 'jest-diff';` in ECMAScript modules\n\nTo write a **formatting** function, you might need the named constants (and `Diff` in TypeScript annotations).\n\nIf you write an application-specific **cleanup** algorithm, then you might need to call the `Diff` constructor:\n\n```js\nconst diffCommon = new Diff(DIFF_EQUAL, 'changed ');\nconst diffDelete = new Diff(DIFF_DELETE, 'from');\nconst diffInsert = new Diff(DIFF_INSERT, 'to');\n```\n\n## Usage of diffLinesRaw\n\nGiven **arrays of strings**, `diffLinesRaw(aLines, bLines)` does the following:\n\n- **compare** the arrays line-by-line using the `diff-sequences` package\n\nBecause `diffLinesRaw` returns the difference as **data** instead of a string, you can format it as your application requires.\n\n### Example of diffLinesRaw\n\n```js\nconst aLines = ['delete', 'common', 'changed from'];\nconst bLines = ['common', 'changed to', 'insert'];\n\nconst diffs = diffLinesRaw(aLines, bLines);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]`    |\n| --: | ------------: | :--------------- |\n| `0` |          `-1` | `'delete'`       |\n| `1` |           `0` | `'common'`       |\n| `2` |          `-1` | `'changed from'` |\n| `3` |           `1` | `'changed to'`   |\n| `4` |           `1` | `'insert'`       |\n\n### Edge case of diffLinesRaw\n\nIf you call `string.split('\\n')` for an empty string:\n\n- the result is `['']` an array which contains an empty string\n- instead of `[]` an empty array\n\nDepending of your application, you might call `diffLinesRaw` with either array.\n\n### Example of split method\n\n```js\nimport {diffLinesRaw} from 'jest-diff';\n\nconst a = 'non-empty string';\nconst b = '';\n\nconst diffs = diffLinesRaw(a.split('\\n'), b.split('\\n'));\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]`        |\n| --: | ------------: | :------------------- |\n| `0` |          `-1` | `'non-empty string'` |\n| `1` |           `1` | `''`                 |\n\nWhich you might format as follows:\n\n```diff\n- Expected  - 1\n+ Received  + 1\n\n- non-empty string\n+\n```\n\n### Example of splitLines0 function\n\nFor edge case behavior like the `diffLinesUnified` function, you might define a `splitLines0` function, which given an empty string, returns `[]` an empty array:\n\n```js\nexport const splitLines0 = string =>\n  string.length === 0 ? [] : string.split('\\n');\n```\n\n```js\nimport {diffLinesRaw} from 'jest-diff';\n\nconst a = '';\nconst b = 'line 1\\nline 2\\nline 3';\n\nconst diffs = diffLinesRaw(a.split('\\n'), b.split('\\n'));\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `1` | `'line 1'`    |\n| `1` |           `1` | `'line 2'`    |\n| `2` |           `1` | `'line 3'`    |\n\nWhich you might format as follows:\n\n```diff\n- Expected  - 0\n+ Received  + 3\n\n+ line 1\n+ line 2\n+ line 3\n```\n\nIn contrast to the `diffLinesRaw` function, the `diffLinesUnified` and `diffLinesUnified2` functions **automatically** convert array arguments computed by string `split` method, so callers do **not** need a `splitLine0` function.\n\n## Options\n\nThe default options are for the report when an assertion fails from the `expect` package used by Jest.\n\nFor other applications, you can provide an options object as a third argument:\n\n- `diffDefault(a, b, options)`\n- `diffStringsUnified(a, b, options)`\n- `diffLinesUnified(aLines, bLines, options)`\n- `diffLinesUnified2(aLinesDisplay, bLinesDisplay, aLinesCompare, bLinesCompare, options)`\n\n### Properties of options object\n\n| name                              | default            |\n| :-------------------------------- | :----------------- |\n| `aAnnotation`                     | `'Expected'`       |\n| `aColor`                          | `chalk.green`      |\n| `aIndicator`                      | `'-'`              |\n| `bAnnotation`                     | `'Received'`       |\n| `bColor`                          | `chalk.red`        |\n| `bIndicator`                      | `'+'`              |\n| `changeColor`                     | `chalk.inverse`    |\n| `changeLineTrailingSpaceColor`    | `string => string` |\n| `commonColor`                     | `chalk.dim`        |\n| `commonIndicator`                 | `' '`              |\n| `commonLineTrailingSpaceColor`    | `string => string` |\n| `contextLines`                    | `5`                |\n| `emptyFirstOrLastLinePlaceholder` | `''`               |\n| `expand`                          | `true`             |\n| `includeChangeCounts`             | `false`            |\n| `omitAnnotationLines`             | `false`            |\n| `patchColor`                      | `chalk.yellow`     |\n\nFor more information about the options, see the following examples.\n\n### Example of options for labels\n\nIf the application is code modification, you might replace the labels:\n\n```js\nconst options = {\n  aAnnotation: 'Original',\n  bAnnotation: 'Modified',\n};\n```\n\n```diff\n- Original\n+ Modified\n\n  common\n- changed from\n+ changed to\n```\n\nThe `jest-diff` package does not assume that the 2 labels have equal length.\n\n### Example of options for colors of changed lines\n\nFor consistency with most diff tools, you might exchange the colors:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  aColor: chalk.red,\n  bColor: chalk.green,\n};\n```\n\n### Example of option for color of changed substrings\n\nAlthough the default inverse of foreground and background colors is hard to beat for changed substrings **within lines**, especially because it highlights spaces, if you want bold font weight on yellow background color:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  changeColor: chalk.bold.bgYellowBright,\n};\n```\n\n### Example of option to format trailing spaces\n\nBecause the default export does not display substring differences within lines, formatting can help you see when lines differ by the presence or absence of trailing spaces found by `/\\s+$/` regular expression.\n\n- If change lines have a background color, then you can see trailing spaces.\n- If common lines have default dim color, then you cannot see trailing spaces. You might want yellowish background color to see them.\n\n```js\nconst options = {\n  aColor: chalk.rgb(128, 0, 128).bgRgb(255, 215, 255), // magenta\n  bColor: chalk.rgb(0, 95, 0).bgRgb(215, 255, 215), // green\n  commonLineTrailingSpaceColor: chalk.bgYellow,\n};\n```\n\nThe value of a Color option is a function, which given a string, returns a string.\n\nIf you want to replace trailing spaces with middle dot characters:\n\n```js\nconst replaceSpacesWithMiddleDot = string => '·'.repeat(string.length);\n\nconst options = {\n  changeLineTrailingSpaceColor: replaceSpacesWithMiddleDot,\n  commonLineTrailingSpaceColor: replaceSpacesWithMiddleDot,\n};\n```\n\nIf you need the TypeScript type of a Color option:\n\n```ts\nimport {DiffOptionsColor} from 'jest-diff';\n```\n\n### Example of options for no colors\n\nTo store the difference in a file without escape codes for colors, provide an identity function:\n\n```js\nconst noColor = string => string;\n\nconst options = {\n  aColor: noColor,\n  bColor: noColor,\n  changeColor: noColor,\n  commonColor: noColor,\n  patchColor: noColor,\n};\n```\n\n### Example of options for indicators\n\nFor consistency with the `diff` command, you might replace the indicators:\n\n```js\nconst options = {\n  aIndicator: '<',\n  bIndicator: '>',\n};\n```\n\nThe `jest-diff` package assumes (but does not enforce) that the 3 indicators have equal length.\n\n### Example of options to limit common lines\n\nBy default, the output includes all common lines.\n\nTo emphasize the changes, you might limit the number of common “context” lines:\n\n```js\nconst options = {\n  contextLines: 1,\n  expand: false,\n};\n```\n\nA patch mark like `@@ -12,7 +12,9 @@` accounts for omitted common lines.\n\n### Example of option for color of patch marks\n\nIf you want patch marks to have the same dim color as common lines:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  expand: false,\n  patchColor: chalk.dim,\n};\n```\n\n### Example of option to include change counts\n\nTo display the number of changed lines at the right of annotation lines:\n\n```js\nconst a = ['common', 'changed from'];\nconst b = ['common', 'changed to', 'insert'];\n\nconst options = {\n  includeChangeCounts: true,\n};\n\nconst difference = diffDefault(a, b, options);\n```\n\n```diff\n- Expected  - 1\n+ Received  + 2\n\n  Array [\n    \"common\",\n-   \"changed from\",\n+   \"changed to\",\n+   \"insert\",\n  ]\n```\n\n### Example of option to omit annotation lines\n\nTo display only the comparison lines:\n\n```js\nconst a = 'common\\nchanged from';\nconst b = 'common\\nchanged to';\n\nconst options = {\n  omitAnnotationLines: true,\n};\n\nconst difference = diffStringsUnified(a, b, options);\n```\n\n```diff\n  common\n- changed from\n+ changed to\n```\n\n### Example of option for empty first or last lines\n\nIf the **first** or **last** comparison line is **empty**, because the content is empty and the indicator is a space, you might not notice it.\n\nThe replacement option is a string whose default value is `''` empty string.\n\nBecause Jest trims the report when a matcher fails, it deletes an empty last line.\n\nTherefore, Jest uses as placeholder the downwards arrow with corner leftwards:\n\n```js\nconst options = {\n  emptyFirstOrLastLinePlaceholder: '↵', // U+21B5\n};\n```\n\nIf a content line is empty, then the corresponding comparison line is automatically trimmed to remove the margin space (represented as a middle dot below) for the default indicators:\n\n|         Indicator | untrimmed | trimmed |\n| ----------------: | :-------- | :------ |\n|      `aIndicator` | `'-·'`    | `'-'`   |\n|      `bIndicator` | `'+·'`    | `'+'`   |\n| `commonIndicator` | `' ·'`    | `''`    |\n","readmeFilename":"README.md","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@25.2.1-alpha.2","_nodeVersion":"12.14.1","_npmVersion":"lerna/3.20.2/node@v12.14.1+x64 (darwin)","dist":{"integrity":"sha512-Zf58ORc1nFAJALDxRfiM1myGTtfHcNJ2LAL1NTKKTp/aaLm7GDBNiKfovgs1oYHHijPfmGVjEO71NUyQ7yBjyg==","shasum":"a7ea7ac74de67f50200cf9c881f420dde7ac42ab","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-25.2.1-alpha.2.tgz","fileCount":63,"unpackedSize":120831,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJefGN+CRA9TVsSAnZWagAAAHMP+wdZkboCCQgGEjKVd+Ue\nnBTmMcSgMI95sS+vz9sbMbJmDjHKF5OBoEVjybXzeLJXUfdoTHczsVqTm6O4\nmuosEdG4B/fBlqjhnZQksCj1enhMmVxSMAxkTAN+LX2Q1o1e+OdOiZ3F8IXD\nuQSrzNLGLVh+yt8JMprvPonS02nGXXFo0xHDX+1TFALEExIEKcMfJgLn40DQ\naONbBTEjL6tnCdtwv2rWLEFlC1mDjAoeY/DqnjFeLRCnel2nDJplWeLNAnGQ\nV0tpMMsIVYNx40Tf6xzMClMOcSSh3XxA3g3zualBYHoJqqvtuObkZgMofWr5\n/lgnfvu6gCfjGMqoUBM66HWtqXE0KSvoq1qO0htzTgPqhzyP6MSDWQwT7+A0\nEhKJcFbArSZwn+u/iuPuCKZUb+SLVOA9VOldhi5p+zarbYdlnnZXzgaKK1bV\n4ONzmTgBaAj1wDtvz/Ai6x5ugJQVuDqspc715l1TQtgivrA/ILzxlEgeyi1u\n2JpR/K4VUNCLmDG9p8YJPbhCLM+fNaKtq5tMdxomULlw1lg7o9CcxXgV6CjZ\nfnZezT2QhWZkE2Zex0TTNaoXvpd2tQfBAMlwCNoj+w2OLfkKXQZhPFPy0Z7a\nnX0NCSF4KSQ20hp3vqt/dP2F5ZDwgnngpWaqprnKGsdi6OCOHywHC1684x6/\nMR5n\r\n=ACnx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIArKEpZpotjMegtikf9DaoTHiSHEVDy5JD3hjmdpHeRfAiEAjnv1y5RUK133rf8cMWm0KiYqlHc6N+CQkIV6+SZ+aF8="}]},"maintainers":[{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"davidzilburg@gmail.com","name":"davidzilburg"},{"email":"opensource+npm@fb.com","name":"fb"},{"email":"rubennorte@gmail.com","name":"rubennorte"},{"email":"scott.hovestadt@gmail.com","name":"scotthovestadt"},{"email":"sbekkhus91@gmail.com","name":"simenb"}],"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_25.2.1-alpha.2_1585210238204_0.3907300911632623"},"_hasShrinkwrap":false},"25.2.1":{"name":"jest-diff","version":"25.2.1","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"build/index.js","types":"build/index.d.ts","typesVersions":{"<3.8":{"build/*":["build/ts3.4/*"]}},"dependencies":{"chalk":"^3.0.0","diff-sequences":"^25.2.1","jest-get-type":"^25.2.1","pretty-format":"^25.2.1"},"devDependencies":{"@jest/test-utils":"^25.2.1","strip-ansi":"^6.0.0"},"engines":{"node":">= 8.3"},"publishConfig":{"access":"public"},"gitHead":"a679390828b6c30aeaa547d8c4dc9aed6531e357","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@25.2.1","_nodeVersion":"12.14.1","_npmVersion":"lerna/3.20.2/node@v12.14.1+x64 (darwin)","dist":{"integrity":"sha512-e/TU8VLBBGQQS9tXA5B5LeT806jh7CHUeHbBfrU9UvA2zTbOTRz71UD6fAP1HAhzUEyCVLU2ZP5e8X16A9b0Fg==","shasum":"8c073596cc88356227c86a50d71a23d8a9dfa81a","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-25.2.1.tgz","fileCount":43,"unpackedSize":102363,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJefG9dCRA9TVsSAnZWagAAaagP/2xpz4gWZuJ0E8L23jm6\nLrfIA5Mf0b86vAnegl4fyTTDSpG+qDVnsd3lN3F06xkjC8fpFrdt56Piy7cg\nvO6n5elJk+eju8QqUSK6AIp+XQmIKr4h40aK/jzpHXDJvn474PNA4oRzO2JD\nd69Ryfus4I6QALT3I8dMrf9hh10ZMhiX/8wRKOgqFXpNL/uAb2vCg/uT9sOn\nfgurH5OO7fdNqdY08AC2iUEQ1o2bnDNAqx3QLcwqtZntVcNqngL50k2Fb3Qb\nH9HvPiPN1oTWNFSi627M5G5FTV06LKtmVGn+G45LM8zm64oyXopO8MVgunFd\n2XBfCaSa+Rc/aDCt3gqvUzwWF5HW1f2QuGgISjHp+DnwKyv7jBV4BL1PuUc2\nJYcG2lG0s1U1gbfm/LfcZDrQMWaz3lKv/pqUo/Ztw/Rna0s6J5REi+VxGKbr\nHIlGcnSieunJDO9NtR0YmTHZ0/4kZlq6wz5+BSW7yTwIDocG7mCkadMka2YM\nagfinI6mRzBZzP55iex5A95MobLEwcAg+8KEIQiOShYRW+VofqVCMlw2iu3d\nrzgRmOJMrY1DdtIOGQxkx4sP4RJeTP/O1hHJfoGOrwvyEVX3hogJqCq/MNW2\nNEESvVY3tLfM6t5qdRM3mkdjF/Ws9Com4klwQGMFYZdUfO92bkyPpJ6rEnNa\nXdqT\r\n=KPq0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCIqYHvnafPQgza/PRN4nEMEaOGprRikd/j6GiTxE87hQIhAO4yAS+AAHuVyU8ZpfX5RQETvRzv8whgccnIIRdMKyzG"}]},"maintainers":[{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"davidzilburg@gmail.com","name":"davidzilburg"},{"email":"opensource+npm@fb.com","name":"fb"},{"email":"rubennorte@gmail.com","name":"rubennorte"},{"email":"scott.hovestadt@gmail.com","name":"scotthovestadt"},{"email":"sbekkhus91@gmail.com","name":"simenb"}],"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_25.2.1_1585213277301_0.5144415629462855"},"_hasShrinkwrap":false},"25.2.3":{"name":"jest-diff","version":"25.2.3","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"build/index.js","types":"build/index.d.ts","typesVersions":{"<3.8":{"build/*":["build/ts3.4/*"]}},"dependencies":{"chalk":"^3.0.0","diff-sequences":"^25.2.1","jest-get-type":"^25.2.1","pretty-format":"^25.2.3"},"devDependencies":{"@jest/test-utils":"^25.2.1","strip-ansi":"^6.0.0"},"engines":{"node":">= 8.3"},"publishConfig":{"access":"public"},"gitHead":"6f8bf80c38567ba076ae979af2dedb42b285b2d5","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@25.2.3","_nodeVersion":"12.14.1","_npmVersion":"lerna/3.20.2/node@v12.14.1+x64 (darwin)","dist":{"integrity":"sha512-VtZ6LAQtaQpFsmEzps15dQc5ELbJxy4L2DOSo2Ev411TUEtnJPkAMD7JneVypeMJQ1y3hgxN9Ao13n15FAnavg==","shasum":"54d601a0a754ef26e808a8c8dbadd278c215aa3f","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-25.2.3.tgz","fileCount":43,"unpackedSize":102363,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJefQ+SCRA9TVsSAnZWagAAwWgP/2WiLl144UnxR2O/64QN\ndJL56jrPrRBOrZIuWHYyuAd6cJgTf/icnteFzT4tM8Xqlaaff6N8Y8cnipK1\nqbNNYMN6J1HEa+BPTq9U75uCN8NxHjRrtmqbsbY9+/7aPvNemRrtPH6uADc8\nki4z7sOsYuy/3Xc5OsYqRZDethJICrGDYbO5GvEd/zK/RR6ybmK69YvKK7xF\nc+8GlFLqxxw9Ih0ZpanPf7fXiKG2o78QawqnABsthZFdsXtgbENPV0aNRvsC\nSjw87KfwatTIQMS2/Y/qWUvmON9LG6qy+zr7IJ0RbUo+tbXYaw69DzRNkOfd\nON4bs5I74Cm4m9Cg9A7xPqo45dbm7plfLy264vjWY8DpBDrgHIIxjwmcMPaX\nFNDbtqXdaJtwOIn38L/48CDJVGnG1bEwXTh9mDdktHi4ciFS/YMtuImlLhv3\nzr1LnkyMMjTUcxGLeCUAs0UmwO02Q2EDBgA8fPIgxDyt+p76hiQBecuUBHTx\nvmYOdHz4Vy8LqlhGMW4RCQhnD+EdKeA/KHfOTGJMiora3awgvzS5FchvdNAH\nkP5GY6VebZ902vWAhxujtQqp6SIqPPpKEIuq9tlBlvOPhAeAG+OT4F2oFUw7\n8Axhy3yWc+jjXe7rEctgvpwZg3YfdzJI8Vc281li3Kc/eDLcwGRLwECoFQ7r\nBVjQ\r\n=HH70\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICvyccHagDvZA+PBVd1N1Kc23cwCrLM8zmmHtg1XsfIsAiAwuRvZiJol18g+pvH0PsnzlTDevGcg3JsF0Z4KT/LS/g=="}]},"maintainers":[{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"davidzilburg@gmail.com","name":"davidzilburg"},{"email":"opensource+npm@fb.com","name":"fb"},{"email":"rubennorte@gmail.com","name":"rubennorte"},{"email":"scott.hovestadt@gmail.com","name":"scotthovestadt"},{"email":"sbekkhus91@gmail.com","name":"simenb"}],"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_25.2.3_1585254290176_0.11511368885412843"},"_hasShrinkwrap":false},"25.2.6":{"name":"jest-diff","version":"25.2.6","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"build/index.js","types":"build/index.d.ts","typesVersions":{"<3.8":{"build/*":["build/ts3.4/*"]}},"dependencies":{"chalk":"^3.0.0","diff-sequences":"^25.2.6","jest-get-type":"^25.2.6","pretty-format":"^25.2.6"},"devDependencies":{"@jest/test-utils":"^25.2.6","strip-ansi":"^6.0.0"},"engines":{"node":">= 8.3"},"publishConfig":{"access":"public"},"gitHead":"43207b743df164e9e58bd483dd9167b9084da18b","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@25.2.6","_nodeVersion":"12.14.1","_npmVersion":"lerna/3.20.2/node@v12.14.1+x64 (darwin)","dist":{"integrity":"sha512-KuadXImtRghTFga+/adnNrv9s61HudRMR7gVSbP35UKZdn4IK2/0N0PpGZIqtmllK9aUyye54I3nu28OYSnqOg==","shasum":"a6d70a9ab74507715ea1092ac513d1ab81c1b5e7","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-25.2.6.tgz","fileCount":43,"unpackedSize":102363,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJehb6DCRA9TVsSAnZWagAAGq0P/A3M3ARetXOZfdNZu2MU\ne+UGqYh4MhB+RMOzOb7IWBcEOmhgE2X8vWsmSYYEXRuXbf3bBDBPI/8syK9z\nnLdlguKhvzEiW+V5h5XZfbMgeUojahhQ+1jgNF7H8P/FQ0ImSQHgka9C3XKH\n2Fq5CvecCYV+EhQ49NIyOn4UoFB41EPaHePjExbpOsdbxZR6ShJ1zE3rToTZ\nBzRTMtCJjgVAD5pJcWvMsQg1Lt2hK0JojQ39U+7S+cyxBPzi3EbIRQVVL2f8\nciOU0ZkrqN9tIGg+X9t9sucU7sRT0xPWSwCg7ZQt7VQ7++L3gWvIdpZXRV2/\n62kUs7IcmXsPi6TkQn40BhKdOLoH2E0HUh6JNEOuy2fb4ED2GP5epJ10qv1a\n3J1gfaDKnZ8WLW/qh7QG6GYgqIBP1+CneZiTWgYczW71jo2LKRPk4D0xDTMx\n6U71GX7iuhI2zzvz+3DN6EpJRFzw32/wik7TQTSmKgN5TKWm0Z4EzhwQUHAH\n/c1POugtARIMFlXc+MG8y2WMh9GEg7bR7c8uiatATTH2wQlRrgmvkxRQ8gWC\nIdWSysvxiESyWcUFJ61/RYhbBTTeUk6pEUnhf4nRpwxLnKkunSqRSYFZv0Y3\nT4iv/eZSxUN2h7ONsrJsa0dGgcxLfQp+PadI5R+JLWm4jiKUU+yGmNBNHK06\ndkPC\r\n=O/J7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC90UMNCW15fgLFhIzlmLbqAcxAkXn/ukD2W814tSasvAiAW6xF02e5QNPfALX1iYp9om1cZnq1y9Yicg53ydYLLIQ=="}]},"maintainers":[{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"davidzilburg@gmail.com","name":"davidzilburg"},{"email":"opensource+npm@fb.com","name":"fb"},{"email":"rubennorte@gmail.com","name":"rubennorte"},{"email":"scott.hovestadt@gmail.com","name":"scotthovestadt"},{"email":"sbekkhus91@gmail.com","name":"simenb"}],"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_25.2.6_1585823362935_0.16082590633872074"},"_hasShrinkwrap":false},"25.3.0":{"name":"jest-diff","version":"25.3.0","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"build/index.js","types":"build/index.d.ts","typesVersions":{"<3.8":{"build/*":["build/ts3.4/*"]}},"dependencies":{"chalk":"^3.0.0","diff-sequences":"^25.2.6","jest-get-type":"^25.2.6","pretty-format":"^25.3.0"},"devDependencies":{"@jest/test-utils":"^25.3.0","strip-ansi":"^6.0.0"},"engines":{"node":">= 8.3"},"publishConfig":{"access":"public"},"gitHead":"45a4936d96d74cdee6b91122a51a556e3ebe6dc8","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@25.3.0","_nodeVersion":"12.16.1","_npmVersion":"lerna/3.20.2/node@v12.16.1+x64 (darwin)","dist":{"integrity":"sha512-vyvs6RPoVdiwARwY4kqFWd4PirPLm2dmmkNzKqo38uZOzJvLee87yzDjIZLmY1SjM3XR5DwsUH+cdQ12vgqi1w==","shasum":"0d7d6f5d6171e5dacde9e05be47b3615e147c26f","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-25.3.0.tgz","fileCount":43,"unpackedSize":102363,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJejc/MCRA9TVsSAnZWagAA0DkP/RaIpj2OkakdwIh3SOP+\nE292tR82ZTyCwKWJRPUbFzuHnp9LNHp8brCnfLM+VvuBvMjepelVCprSVz3I\nCgROcrP8lpG1uoONn9mB6L7Xyg8cEQJZpTRTdGOa0v73iFJnCLvDJlgayWPR\nM1NcB4HHpTKqw05YJRwBb2hJL2De+0zTLCI1B/nLsfbGO4y5MONC71Wqf51L\ngoJpkm95ozuCEhS3Wn1mFZpkK8xFpCTDaFabD/zjI6vIi2u3O+uV2SpRhpyt\nkMygEOzki0R6Z0v6UAujwzNKYcRKpJslXBXVNZnjbPCJNA6sRyLrwxPSwU02\n/qop6GgXOHE/pZ14v+MKdBLbHfXbQt5DGDOSVb66uKzupPjpDFM9HXOYLA2l\n4zOa2o7E1roFUFFgirIU5Uip3UHWIweYGEXW5bBkprKgixMidC93RkYa3iWO\n+a0Xx8E8P+xfU1oNfXseU97IV/8fDNX9DlGwD2XiiOaL6V1bVgYA+yiegELu\nwLfr8dIV6RZzWNgpJBtIt9NMSSvbjN8gT9YUVx/ZMGAWcphcXz3gMVHe546y\nH5/oGAPl9WfFfJ6fOoMp5L8Sm5CYJeGIHHIX5/VByI/8ZuBzr0jJfIVNqEQV\nw6gVm0gz3x20G1BbWARAvwm8L6eTam38w2CJBeYsaw8zfQBuD+F3xh4n95Xx\nySM4\r\n=SMAK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCcfGc8ded9rSP6sfgMF5ith8oApxojUc6jgUiMnDWgWgIgJt0n22/Ta8TWZGoyEn3/09XYLF5AcaUBwCQRZccoh/4="}]},"maintainers":[{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"davidzilburg@gmail.com","name":"davidzilburg"},{"email":"opensource+npm@fb.com","name":"fb"},{"email":"rubennorte@gmail.com","name":"rubennorte"},{"email":"scott.hovestadt@gmail.com","name":"scotthovestadt"},{"email":"sbekkhus91@gmail.com","name":"simenb"}],"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_25.3.0_1586352075422_0.38798206506377286"},"_hasShrinkwrap":false},"25.4.0":{"name":"jest-diff","version":"25.4.0","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"build/index.js","types":"build/index.d.ts","typesVersions":{"<3.8":{"build/*":["build/ts3.4/*"]}},"dependencies":{"chalk":"^3.0.0","diff-sequences":"^25.2.6","jest-get-type":"^25.2.6","pretty-format":"^25.4.0"},"devDependencies":{"@jest/test-utils":"^25.3.0","strip-ansi":"^6.0.0"},"engines":{"node":">= 8.3"},"publishConfig":{"access":"public"},"gitHead":"5b129d714cadb818be28afbe313cbeae8fbb1dde","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@25.4.0","_nodeVersion":"12.16.1","_npmVersion":"lerna/3.20.2/node@v12.16.1+x64 (darwin)","dist":{"integrity":"sha512-kklLbJVXW0y8UKOWOdYhI6TH5MG6QAxrWiBMgQaPIuhj3dNFGirKCd+/xfplBXICQ7fI+3QcqHm9p9lWu1N6ug==","shasum":"260b70f19a46c283adcad7f081cae71eb784a634","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-25.4.0.tgz","fileCount":33,"unpackedSize":94363,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJenMenCRA9TVsSAnZWagAAZeMQAKAC0jmySNeXD9JM4i3N\nm7ZzlwrS+kcDJHlVHInEy+l7/1G7V9Pa4pGFJ4X67fPc7Qkrh0AImBsSYwPg\ncDZ3VI51U5NiZyDlrzH7UCyvEnn0S924+GAcIQ23ZnXfIx94cSp++zYfRlt2\nJVaTPmnob7PXb03GKcP4hBNm4XPA6RBCz3NXQ4//7AWLWLQvrs2soyAFwyyG\np8ThaMK+bY10MsBM1MUtPkPPMrxxSeExKHC/RJQtHjqvv0+hvgpIIboD74ZN\n62l+0k3rKNU+JovSdKw3eZuPl5RTqxVxsvCwUjzLvQlB1XxpC8cfVYidGcTh\nMGmBeYJKyoA8PFZfrIEAHQ8KFgZTKtj6IioLTekbgKKJc69XTTZemDgu0ORY\nRGxYvb885k3X7JOXV5PUNN2AMr6jLx77/rz2rHALXz7MdsemqZay0Pua3SQV\nA3TrWs28c4PSnTSwEfjKapq5HtLoI6yqyzrY98jGRMb8GM6vMEaI1i6ZQekK\ncfbGcYQ77Su2hbbRqRzt4hR3LtHNuE7qu72IzmcIPXqKpcf7SQT/fALMtTDy\nJVzmZ9Wfa+k9RWoqLQ/esY6QHoJDsb3FZNkwJNAvvc6nwz+PN2U9toOb6ds6\nKOI883Lz3S4hU5YR4pzI5Oqx0MV7TbFZ3bna6VjeY61Wq51E6D81VZx89V/u\nlV4j\r\n=FTaj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDvafUex+a29r3GfjVeE+eEGB6DeveAouvLgnW9aKTsJgIgemB3fw38HRfsZcFAjTtj7+0RNG9Dk9JAhcFkkXlT49I="}]},"maintainers":[{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"davidzilburg@gmail.com","name":"davidzilburg"},{"email":"opensource+npm@fb.com","name":"fb"},{"email":"rubennorte@gmail.com","name":"rubennorte"},{"email":"scott.hovestadt@gmail.com","name":"scotthovestadt"},{"email":"sbekkhus91@gmail.com","name":"simenb"}],"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_25.4.0_1587333031153_0.2807513165127542"},"_hasShrinkwrap":false},"25.5.0":{"name":"jest-diff","version":"25.5.0","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"build/index.js","types":"build/index.d.ts","typesVersions":{"<3.8":{"build/*":["build/ts3.4/*"]}},"dependencies":{"chalk":"^3.0.0","diff-sequences":"^25.2.6","jest-get-type":"^25.2.6","pretty-format":"^25.5.0"},"devDependencies":{"@jest/test-utils":"^25.5.0","strip-ansi":"^6.0.0"},"engines":{"node":">= 8.3"},"publishConfig":{"access":"public"},"gitHead":"ddd73d18adfb982b9b0d94bad7d41c9f78567ca7","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@25.5.0","_nodeVersion":"12.16.1","_npmVersion":"lerna/3.20.2/node@v12.16.1+x64 (darwin)","dist":{"integrity":"sha512-z1kygetuPiREYdNIumRpAHY6RXiGmp70YHptjdaxTWGmA085W3iCnXNx0DhflK3vwrKmrRWyY1wUpkPMVxMK7A==","shasum":"1dd26ed64f96667c068cef026b677dfa01afcfa9","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-25.5.0.tgz","fileCount":33,"unpackedSize":94363,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeqIfYCRA9TVsSAnZWagAAHxoP/iaqq5ByOG9LlW4mx/aP\nTEZmFV4K1ADrMEJFNwc8+0Sb7J4G5x+iDW50eT+duPeDioUDV0IkVfgQxbJv\nrvUwchayR1LF6PPtESNYKguwuAGjE2vFFpbLC9PiCYrBMin3JIIhbqSZ5Q+v\na7CF9BJFWkitATACz4EwU6REQCnpiZ4TNC23IMbHOaNRywTiGU9cM+S4okhK\nCr7okKCZ7lRhO4CmzPZX23t3PE7nwCJar4/uVdnwB5PPwB2APGbKJe8cofGB\nCLM5h6JQK5gOvHjbW8mIuCOFFrqxoGrypOxLcoI/mAyBMihiElnTZvhM9drr\nyoRDJXLAiQKMqelyVRjAuwHgK1NOQ8SXpq4OgXcLinRylCydXvmCTTxlGaZ8\nbJFsyZIRN35D2HODxPbzfkd8e7JIAsk1hhcn3ak2Vdqf3VeSLSsKQXlGOIqv\nww6/q3yVz5vrutIj7X6cKp7AqUnMQDLWAxpRsgYp+Tas1VjKC5hV7RCCGR9J\nF3OEvl2FTXmCxaBjWrTHarOCghTQ7JZHFfEBIFGkNbtlGUZaWh59A2YIcBaT\nAY4FnqPXoIXNcv2lyWJWpNnekoKmJhHtimApCIExOw16W4D1SVfp1PVekv2y\nADGvEAOjYK6ICdhHaHqp0lp9bprA8EJWFxTwqnlSkOcvN4M0LzgKz5g+O6ge\ngtUG\r\n=I5Jh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBrXMdGjH2ngJp05FM4Tt+Kxn/sMOfBQi9/asIfrgAg2AiBMBkYBsBG0m+Gxv5vN7hT/LMgECXUt/y6bp92pkBBebw=="}]},"maintainers":[{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"davidzilburg@gmail.com","name":"davidzilburg"},{"email":"opensource+npm@fb.com","name":"fb"},{"email":"rubennorte@gmail.com","name":"rubennorte"},{"email":"scott.hovestadt@gmail.com","name":"scotthovestadt"},{"email":"sbekkhus91@gmail.com","name":"simenb"}],"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_25.5.0_1588103128031_0.5093580592123874"},"_hasShrinkwrap":false},"26.0.0-alpha.0":{"name":"jest-diff","version":"26.0.0-alpha.0","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"build/index.js","types":"build/index.d.ts","dependencies":{"chalk":"^4.0.0","diff-sequences":"^26.0.0-alpha.0","jest-get-type":"^26.0.0-alpha.0","pretty-format":"^26.0.0-alpha.0"},"devDependencies":{"@jest/test-utils":"^26.0.0-alpha.0","strip-ansi":"^6.0.0"},"engines":{"node":">= 10.14.2"},"publishConfig":{"access":"public"},"gitHead":"ba962e7e9669a4a2f723c2536c97462c8ddfff2d","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@26.0.0-alpha.0","_nodeVersion":"12.16.3","_npmVersion":"lerna/3.20.2/node@v12.16.3+x64 (darwin)","dist":{"integrity":"sha512-EN5jyhuEL4Tlq2qzZfdOZS2pyR3FZIFY3ZgCGoNhO/90faE1txHTglfz4mNBze5jbPp2CPfO4FUyWgBsWZvqmQ==","shasum":"578c31792568cc6a8825bfd8210ce9239c6a841b","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-26.0.0-alpha.0.tgz","fileCount":23,"unpackedSize":85121,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJerWPSCRA9TVsSAnZWagAA/3IP/2NGe9VpRZEmzuzv++wV\nh2O8N/3EwIor5zJckO4OP9SY/tBXIsrPuBlr6hhBjbgRWXk9mT01s17iijrH\nMhx2MLpqP/RF7Y3F+1ZUzLwr3/FJAUKrmvOmaTjBUjIiSDtB3eNvxKbxGQad\nTTSvagzE85wg2FvTnRGpful3xnHv7mRLPouE02VPeuEAvhN9OxBBVieErFU9\nL9Gi4ls7S2Cw4Bybi8/1hrygmhWuDu3fDmOeq9/mDEVfKJ0iIqD3B/zXUrsk\n9CQUEMdn20QBk6FnIhGToEaGgxo67hbcs8Dg+zYKzPtrexsn8CphOFzty2rp\n/CDlEs+8pS2azR2fxLIDY3984YStb1hVUFOPD94yZqW4fO2ddVn5Nm+z433f\nNCXRZyBmix3SZla35ZewRWoVt6gnT5UD/VcWikDg/haY2WOG232lDKJbA7rZ\nJjhb73Jqs8P44px39VLTxbKE+6atjHHDtlRPI8WA0BSeInGsuJsQ7CAEITEn\nrwFXKCC6abzj0dWT/8msHmk923q8Dl+5LOOGZpz4kEEGftAF5w0Kx/ijp63k\ntPaDatIbf50tdU/ikkgADHqJ/bv9eq3EJUJixI5a5624ajpABmMJTzBNVzvB\nWiaLO+jsOnuN18ZEvyHhtfI4DcHwxTnJIo2hrngvj26NbtUm0VkF5to/HMwK\nrjHm\r\n=pTP7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDDTXPF/EEIpVmHAnZBnpdd2h2LIhXnKeKx/59q3l38AAiEA0bkjbUOztFk4x2BSddXnS1XKoGdrJQvvs3tEz9oinPg="}]},"maintainers":[{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"davidzilburg@gmail.com","name":"davidzilburg"},{"email":"opensource+npm@fb.com","name":"fb"},{"email":"rubennorte@gmail.com","name":"rubennorte"},{"email":"scott.hovestadt@gmail.com","name":"scotthovestadt"},{"email":"sbekkhus91@gmail.com","name":"simenb"}],"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_26.0.0-alpha.0_1588421585513_0.18797683050893887"},"_hasShrinkwrap":false},"26.0.0-alpha.1":{"name":"jest-diff","version":"26.0.0-alpha.1","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"build/index.js","types":"build/index.d.ts","dependencies":{"chalk":"^4.0.0","diff-sequences":"^26.0.0-alpha.0","jest-get-type":"^26.0.0-alpha.0","pretty-format":"^26.0.0-alpha.1"},"devDependencies":{"@jest/test-utils":"^26.0.0-alpha.1","strip-ansi":"^6.0.0"},"engines":{"node":">= 10.14.2"},"publishConfig":{"access":"public"},"gitHead":"2bac04ffb8e533d12a072998da5c3751a41b796f","readme":"# jest-diff\n\nDisplay differences clearly so people can review changes confidently.\n\nThe default export serializes JavaScript **values**, compares them line-by-line, and returns a string which includes comparison lines.\n\nTwo named exports compare **strings** character-by-character:\n\n- `diffStringsUnified` returns a string.\n- `diffStringsRaw` returns an array of `Diff` objects.\n\nThree named exports compare **arrays of strings** line-by-line:\n\n- `diffLinesUnified` and `diffLinesUnified2` return a string.\n- `diffLinesRaw` returns an array of `Diff` objects.\n\n## Installation\n\nTo add this package as a dependency of a project, run either of the following commands:\n\n- `npm install jest-diff`\n- `yarn add jest-diff`\n\n## Usage of default export\n\nGiven JavaScript **values**, `diffDefault(a, b, options?)` does the following:\n\n1. **serialize** the values as strings using the `pretty-format` package\n2. **compare** the strings line-by-line using the `diff-sequences` package\n3. **format** the changed or common lines using the `chalk` package\n\nTo use this function, write either of the following:\n\n- `const diffDefault = require('jest-diff').default;` in CommonJS modules\n- `import diffDefault from 'jest-diff';` in ECMAScript modules\n\n### Example of default export\n\n```js\nconst a = ['delete', 'common', 'changed from'];\nconst b = ['common', 'changed to', 'insert'];\n\nconst difference = diffDefault(a, b);\n```\n\nThe returned **string** consists of:\n\n- annotation lines: describe the two change indicators with labels, and a blank line\n- comparison lines: similar to “unified” view on GitHub, but `Expected` lines are green, `Received` lines are red, and common lines are dim (by default, see Options)\n\n```diff\n- Expected\n+ Received\n\n  Array [\n-   \"delete\",\n    \"common\",\n-   \"changed from\",\n+   \"changed to\",\n+   \"insert\",\n  ]\n```\n\n### Edge cases of default export\n\nHere are edge cases for the return value:\n\n- `' Comparing two different types of values. …'` if the arguments have **different types** according to the `jest-get-type` package (instances of different classes have the same `'object'` type)\n- `'Compared values have no visual difference.'` if the arguments have either **referential identity** according to `Object.is` method or **same serialization** according to the `pretty-format` package\n- `null` if either argument is a so-called **asymmetric matcher** in Jasmine or Jest\n\n## Usage of diffStringsUnified\n\nGiven **strings**, `diffStringsUnified(a, b, options?)` does the following:\n\n1. **compare** the strings character-by-character using the `diff-sequences` package\n2. **clean up** small (often coincidental) common substrings, also known as chaff\n3. **format** the changed or common lines using the `chalk` package\n\nAlthough the function is mainly for **multiline** strings, it compares any strings.\n\nWrite either of the following:\n\n- `const {diffStringsUnified} = require('jest-diff');` in CommonJS modules\n- `import {diffStringsUnified} from 'jest-diff';` in ECMAScript modules\n\n### Example of diffStringsUnified\n\n```js\nconst a = 'common\\nchanged from';\nconst b = 'common\\nchanged to';\n\nconst difference = diffStringsUnified(a, b);\n```\n\nThe returned **string** consists of:\n\n- annotation lines: describe the two change indicators with labels, and a blank line\n- comparison lines: similar to “unified” view on GitHub, and **changed substrings** have **inverse** foreground and background colors (that is, `from` has white-on-green and `to` has white-on-red, which the following example does not show)\n\n```diff\n- Expected\n+ Received\n\n  common\n- changed from\n+ changed to\n```\n\n### Performance of diffStringsUnified\n\nTo get the benefit of **changed substrings** within the comparison lines, a character-by-character comparison has a higher computational cost (in time and space) than a line-by-line comparison.\n\nIf the input strings can have **arbitrary length**, we recommend that the calling code set a limit, beyond which splits the strings, and then calls `diffLinesUnified` instead. For example, Jest falls back to line-by-line comparison if either string has length greater than 20K characters.\n\n## Usage of diffLinesUnified\n\nGiven **arrays of strings**, `diffLinesUnified(aLines, bLines, options?)` does the following:\n\n1. **compare** the arrays line-by-line using the `diff-sequences` package\n2. **format** the changed or common lines using the `chalk` package\n\nYou might call this function when strings have been split into lines and you do not need to see changed substrings within lines.\n\n### Example of diffLinesUnified\n\n```js\nconst aLines = ['delete', 'common', 'changed from'];\nconst bLines = ['common', 'changed to', 'insert'];\n\nconst difference = diffLinesUnified(aLines, bLines);\n```\n\n```diff\n- Expected\n+ Received\n\n- delete\n  common\n- changed from\n+ changed to\n+ insert\n```\n\n### Edge cases of diffLinesUnified or diffStringsUnified\n\nHere are edge cases for arguments and return values:\n\n- both `a` and `b` are empty strings: no comparison lines\n- only `a` is empty string: all comparison lines have `bColor` and `bIndicator` (see Options)\n- only `b` is empty string: all comparison lines have `aColor` and `aIndicator` (see Options)\n- `a` and `b` are equal non-empty strings: all comparison lines have `commonColor` and `commonIndicator` (see Options)\n\n## Usage of diffLinesUnified2\n\nGiven two **pairs** of arrays of strings, `diffLinesUnified2(aLinesDisplay, bLinesDisplay, aLinesCompare, bLinesCompare, options?)` does the following:\n\n1. **compare** the pair of `Compare` arrays line-by-line using the `diff-sequences` package\n2. **format** the corresponding lines in the pair of `Display` arrays using the `chalk` package\n\nJest calls this function to consider lines as common instead of changed if the only difference is indentation.\n\nYou might call this function for case insensitive or Unicode equivalence comparison of lines.\n\n### Example of diffLinesUnified2\n\n```js\nimport format from 'pretty-format';\n\nconst a = {\n  text: 'Ignore indentation in serialized object',\n  time: '2019-09-19T12:34:56.000Z',\n  type: 'CREATE_ITEM',\n};\nconst b = {\n  payload: {\n    text: 'Ignore indentation in serialized object',\n    time: '2019-09-19T12:34:56.000Z',\n  },\n  type: 'CREATE_ITEM',\n};\n\nconst difference = diffLinesUnified2(\n  // serialize with indentation to display lines\n  format(a).split('\\n'),\n  format(b).split('\\n'),\n  // serialize without indentation to compare lines\n  format(a, {indent: 0}).split('\\n'),\n  format(b, {indent: 0}).split('\\n'),\n);\n```\n\nThe `text` and `time` properties are common, because their only difference is indentation:\n\n```diff\n- Expected\n+ Received\n\n  Object {\n+   payload: Object {\n      text: 'Ignore indentation in serialized object',\n      time: '2019-09-19T12:34:56.000Z',\n+   },\n    type: 'CREATE_ITEM',\n  }\n```\n\nThe preceding example illustrates why (at least for indentation) it seems more intuitive that the function returns the common line from the `bLinesDisplay` array instead of from the `aLinesDisplay` array.\n\n## Usage of diffStringsRaw\n\nGiven **strings** and a boolean option, `diffStringsRaw(a, b, cleanup)` does the following:\n\n1. **compare** the strings character-by-character using the `diff-sequences` package\n2. optionally **clean up** small (often coincidental) common substrings, also known as chaff\n\nBecause `diffStringsRaw` returns the difference as **data** instead of a string, you can format it as your application requires (for example, enclosed in HTML markup for browser instead of escape sequences for console).\n\nThe returned **array** describes substrings as instances of the `Diff` class, which calling code can access like array tuples:\n\nThe value at index `0` is one of the following:\n\n| value | named export  | description           |\n| ----: | :------------ | :-------------------- |\n|   `0` | `DIFF_EQUAL`  | in `a` and in `b`     |\n|  `-1` | `DIFF_DELETE` | in `a` but not in `b` |\n|   `1` | `DIFF_INSERT` | in `b` but not in `a` |\n\nThe value at index `1` is a substring of `a` or `b` or both.\n\n### Example of diffStringsRaw with cleanup\n\n```js\nconst diffs = diffStringsRaw('changed from', 'changed to', true);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `0` | `'changed '`  |\n| `1` |          `-1` | `'from'`      |\n| `2` |           `1` | `'to'`        |\n\n### Example of diffStringsRaw without cleanup\n\n```js\nconst diffs = diffStringsRaw('changed from', 'changed to', false);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `0` | `'changed '`  |\n| `1` |          `-1` | `'fr'`        |\n| `2` |           `1` | `'t'`         |\n| `3` |           `0` | `'o'`         |\n| `4` |          `-1` | `'m'`         |\n\n### Advanced import for diffStringsRaw\n\nHere are all the named imports that you might need for the `diffStringsRaw` function:\n\n- `const {DIFF_DELETE, DIFF_EQUAL, DIFF_INSERT, Diff, diffStringsRaw} = require('jest-diff');` in CommonJS modules\n- `import {DIFF_DELETE, DIFF_EQUAL, DIFF_INSERT, Diff, diffStringsRaw} from 'jest-diff';` in ECMAScript modules\n\nTo write a **formatting** function, you might need the named constants (and `Diff` in TypeScript annotations).\n\nIf you write an application-specific **cleanup** algorithm, then you might need to call the `Diff` constructor:\n\n```js\nconst diffCommon = new Diff(DIFF_EQUAL, 'changed ');\nconst diffDelete = new Diff(DIFF_DELETE, 'from');\nconst diffInsert = new Diff(DIFF_INSERT, 'to');\n```\n\n## Usage of diffLinesRaw\n\nGiven **arrays of strings**, `diffLinesRaw(aLines, bLines)` does the following:\n\n- **compare** the arrays line-by-line using the `diff-sequences` package\n\nBecause `diffLinesRaw` returns the difference as **data** instead of a string, you can format it as your application requires.\n\n### Example of diffLinesRaw\n\n```js\nconst aLines = ['delete', 'common', 'changed from'];\nconst bLines = ['common', 'changed to', 'insert'];\n\nconst diffs = diffLinesRaw(aLines, bLines);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]`    |\n| --: | ------------: | :--------------- |\n| `0` |          `-1` | `'delete'`       |\n| `1` |           `0` | `'common'`       |\n| `2` |          `-1` | `'changed from'` |\n| `3` |           `1` | `'changed to'`   |\n| `4` |           `1` | `'insert'`       |\n\n### Edge case of diffLinesRaw\n\nIf you call `string.split('\\n')` for an empty string:\n\n- the result is `['']` an array which contains an empty string\n- instead of `[]` an empty array\n\nDepending of your application, you might call `diffLinesRaw` with either array.\n\n### Example of split method\n\n```js\nimport {diffLinesRaw} from 'jest-diff';\n\nconst a = 'non-empty string';\nconst b = '';\n\nconst diffs = diffLinesRaw(a.split('\\n'), b.split('\\n'));\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]`        |\n| --: | ------------: | :------------------- |\n| `0` |          `-1` | `'non-empty string'` |\n| `1` |           `1` | `''`                 |\n\nWhich you might format as follows:\n\n```diff\n- Expected  - 1\n+ Received  + 1\n\n- non-empty string\n+\n```\n\n### Example of splitLines0 function\n\nFor edge case behavior like the `diffLinesUnified` function, you might define a `splitLines0` function, which given an empty string, returns `[]` an empty array:\n\n```js\nexport const splitLines0 = string =>\n  string.length === 0 ? [] : string.split('\\n');\n```\n\n```js\nimport {diffLinesRaw} from 'jest-diff';\n\nconst a = '';\nconst b = 'line 1\\nline 2\\nline 3';\n\nconst diffs = diffLinesRaw(a.split('\\n'), b.split('\\n'));\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `1` | `'line 1'`    |\n| `1` |           `1` | `'line 2'`    |\n| `2` |           `1` | `'line 3'`    |\n\nWhich you might format as follows:\n\n```diff\n- Expected  - 0\n+ Received  + 3\n\n+ line 1\n+ line 2\n+ line 3\n```\n\nIn contrast to the `diffLinesRaw` function, the `diffLinesUnified` and `diffLinesUnified2` functions **automatically** convert array arguments computed by string `split` method, so callers do **not** need a `splitLine0` function.\n\n## Options\n\nThe default options are for the report when an assertion fails from the `expect` package used by Jest.\n\nFor other applications, you can provide an options object as a third argument:\n\n- `diffDefault(a, b, options)`\n- `diffStringsUnified(a, b, options)`\n- `diffLinesUnified(aLines, bLines, options)`\n- `diffLinesUnified2(aLinesDisplay, bLinesDisplay, aLinesCompare, bLinesCompare, options)`\n\n### Properties of options object\n\n| name                              | default            |\n| :-------------------------------- | :----------------- |\n| `aAnnotation`                     | `'Expected'`       |\n| `aColor`                          | `chalk.green`      |\n| `aIndicator`                      | `'-'`              |\n| `bAnnotation`                     | `'Received'`       |\n| `bColor`                          | `chalk.red`        |\n| `bIndicator`                      | `'+'`              |\n| `changeColor`                     | `chalk.inverse`    |\n| `changeLineTrailingSpaceColor`    | `string => string` |\n| `commonColor`                     | `chalk.dim`        |\n| `commonIndicator`                 | `' '`              |\n| `commonLineTrailingSpaceColor`    | `string => string` |\n| `contextLines`                    | `5`                |\n| `emptyFirstOrLastLinePlaceholder` | `''`               |\n| `expand`                          | `true`             |\n| `includeChangeCounts`             | `false`            |\n| `omitAnnotationLines`             | `false`            |\n| `patchColor`                      | `chalk.yellow`     |\n\nFor more information about the options, see the following examples.\n\n### Example of options for labels\n\nIf the application is code modification, you might replace the labels:\n\n```js\nconst options = {\n  aAnnotation: 'Original',\n  bAnnotation: 'Modified',\n};\n```\n\n```diff\n- Original\n+ Modified\n\n  common\n- changed from\n+ changed to\n```\n\nThe `jest-diff` package does not assume that the 2 labels have equal length.\n\n### Example of options for colors of changed lines\n\nFor consistency with most diff tools, you might exchange the colors:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  aColor: chalk.red,\n  bColor: chalk.green,\n};\n```\n\n### Example of option for color of changed substrings\n\nAlthough the default inverse of foreground and background colors is hard to beat for changed substrings **within lines**, especially because it highlights spaces, if you want bold font weight on yellow background color:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  changeColor: chalk.bold.bgYellowBright,\n};\n```\n\n### Example of option to format trailing spaces\n\nBecause the default export does not display substring differences within lines, formatting can help you see when lines differ by the presence or absence of trailing spaces found by `/\\s+$/` regular expression.\n\n- If change lines have a background color, then you can see trailing spaces.\n- If common lines have default dim color, then you cannot see trailing spaces. You might want yellowish background color to see them.\n\n```js\nconst options = {\n  aColor: chalk.rgb(128, 0, 128).bgRgb(255, 215, 255), // magenta\n  bColor: chalk.rgb(0, 95, 0).bgRgb(215, 255, 215), // green\n  commonLineTrailingSpaceColor: chalk.bgYellow,\n};\n```\n\nThe value of a Color option is a function, which given a string, returns a string.\n\nIf you want to replace trailing spaces with middle dot characters:\n\n```js\nconst replaceSpacesWithMiddleDot = string => '·'.repeat(string.length);\n\nconst options = {\n  changeLineTrailingSpaceColor: replaceSpacesWithMiddleDot,\n  commonLineTrailingSpaceColor: replaceSpacesWithMiddleDot,\n};\n```\n\nIf you need the TypeScript type of a Color option:\n\n```ts\nimport {DiffOptionsColor} from 'jest-diff';\n```\n\n### Example of options for no colors\n\nTo store the difference in a file without escape codes for colors, provide an identity function:\n\n```js\nconst noColor = string => string;\n\nconst options = {\n  aColor: noColor,\n  bColor: noColor,\n  changeColor: noColor,\n  commonColor: noColor,\n  patchColor: noColor,\n};\n```\n\n### Example of options for indicators\n\nFor consistency with the `diff` command, you might replace the indicators:\n\n```js\nconst options = {\n  aIndicator: '<',\n  bIndicator: '>',\n};\n```\n\nThe `jest-diff` package assumes (but does not enforce) that the 3 indicators have equal length.\n\n### Example of options to limit common lines\n\nBy default, the output includes all common lines.\n\nTo emphasize the changes, you might limit the number of common “context” lines:\n\n```js\nconst options = {\n  contextLines: 1,\n  expand: false,\n};\n```\n\nA patch mark like `@@ -12,7 +12,9 @@` accounts for omitted common lines.\n\n### Example of option for color of patch marks\n\nIf you want patch marks to have the same dim color as common lines:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  expand: false,\n  patchColor: chalk.dim,\n};\n```\n\n### Example of option to include change counts\n\nTo display the number of changed lines at the right of annotation lines:\n\n```js\nconst a = ['common', 'changed from'];\nconst b = ['common', 'changed to', 'insert'];\n\nconst options = {\n  includeChangeCounts: true,\n};\n\nconst difference = diffDefault(a, b, options);\n```\n\n```diff\n- Expected  - 1\n+ Received  + 2\n\n  Array [\n    \"common\",\n-   \"changed from\",\n+   \"changed to\",\n+   \"insert\",\n  ]\n```\n\n### Example of option to omit annotation lines\n\nTo display only the comparison lines:\n\n```js\nconst a = 'common\\nchanged from';\nconst b = 'common\\nchanged to';\n\nconst options = {\n  omitAnnotationLines: true,\n};\n\nconst difference = diffStringsUnified(a, b, options);\n```\n\n```diff\n  common\n- changed from\n+ changed to\n```\n\n### Example of option for empty first or last lines\n\nIf the **first** or **last** comparison line is **empty**, because the content is empty and the indicator is a space, you might not notice it.\n\nThe replacement option is a string whose default value is `''` empty string.\n\nBecause Jest trims the report when a matcher fails, it deletes an empty last line.\n\nTherefore, Jest uses as placeholder the downwards arrow with corner leftwards:\n\n```js\nconst options = {\n  emptyFirstOrLastLinePlaceholder: '↵', // U+21B5\n};\n```\n\nIf a content line is empty, then the corresponding comparison line is automatically trimmed to remove the margin space (represented as a middle dot below) for the default indicators:\n\n|         Indicator | untrimmed | trimmed |\n| ----------------: | :-------- | :------ |\n|      `aIndicator` | `'-·'`    | `'-'`   |\n|      `bIndicator` | `'+·'`    | `'+'`   |\n| `commonIndicator` | `' ·'`    | `''`    |\n","readmeFilename":"README.md","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@26.0.0-alpha.1","_nodeVersion":"12.16.3","_npmVersion":"lerna/3.20.2/node@v12.16.3+x64 (darwin)","dist":{"integrity":"sha512-BQovbHM28xvrn6hpSIBCQPKG2bQ2d2mXf4kcBZv9gK+n0uGXI1Il2CXjx86VpY6cXksWvEbiaDpYNxEpQhJStw==","shasum":"eff04bb7315d749085b47a7bfb53d04f67468858","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-26.0.0-alpha.1.tgz","fileCount":23,"unpackedSize":85199,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJerxHoCRA9TVsSAnZWagAABAIP/RlBpghqNLTAmPkQ8L05\nZiNOIqRVPIcy+AZGoqW8cYjwnVTgi/On07hCQFkDcDPNCCLZJPJanFyCh9mb\nd9/PC5GAqquUEmbp0jvR6LRac3HW2g0aBQXHOZ+rIbGRhCxyjniomFSpM7ir\nCvneqoWbF3EPeNEh6AS4GbOZiZs97ArxZvsdedlCoy0bR1g4UqD9dDCPKsFs\nrjGiZegRZMtfnQXJYDwa1cUy9Y5y3VprsIwByD83paOUDFDbaBX3bhUgDjIH\nr4jHaO3omzErnMJ04pumzbjht8royaEJUZj2oOBz24WdlHGa9l15/1gT/noR\nlx03THBjyoIgTJ9ywOf8D1QsFT76poElYyDwU60NOzM0CWyloC6MDIbupcIZ\nQqgOI9Mek/kyLFh0ollLpcKAUfDr/5JtxoHyxTWdaRm89R4Oh+tb8JSrR2l5\nI6VPOlhLvE2LNJzrfgxWQtzV7d2zrT8prO1kB0JvZ2PWLNQEGO3Y29Ko4Ua/\nhuo7V7PvLh4P3vrD58Z8JbzkKLEykYH8Faqc6Whkn11oeMtTTxal8qSesTzy\nWbID5XnBwN27PeEXHvf23HZEMKoiim7mw8v6XRvhkSeEzQwn7PGZjgt0ntRn\nuYPfZDug5QQ5C4HtiR8UqCrYeAItBHSQpAd0EKlh/oDYzLgawrdQr4kDpBVr\nPGel\r\n=Bbex\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCOE3ts2KFEduo5QSF6GSHA0b8guAlBliGRYu4WjNitmAIge88LTD4rolpuGEkF6DXISsJYcUdO6OCR3QsNYydcB0Q="}]},"maintainers":[{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"davidzilburg@gmail.com","name":"davidzilburg"},{"email":"opensource+npm@fb.com","name":"fb"},{"email":"rubennorte@gmail.com","name":"rubennorte"},{"email":"scott.hovestadt@gmail.com","name":"scotthovestadt"},{"email":"sbekkhus91@gmail.com","name":"simenb"}],"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_26.0.0-alpha.1_1588531687739_0.9991602839565314"},"_hasShrinkwrap":false},"26.0.0-alpha.2":{"name":"jest-diff","version":"26.0.0-alpha.2","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"build/index.js","types":"build/index.d.ts","dependencies":{"chalk":"^4.0.0","diff-sequences":"^26.0.0-alpha.0","jest-get-type":"^26.0.0-alpha.0","pretty-format":"^26.0.0-alpha.2"},"devDependencies":{"@jest/test-utils":"^26.0.0-alpha.1","strip-ansi":"^6.0.0"},"engines":{"node":">= 10.14.2"},"publishConfig":{"access":"public"},"gitHead":"68b65afc97688bd5b0b433f8f585da57dcd1d418","readme":"# jest-diff\n\nDisplay differences clearly so people can review changes confidently.\n\nThe default export serializes JavaScript **values**, compares them line-by-line, and returns a string which includes comparison lines.\n\nTwo named exports compare **strings** character-by-character:\n\n- `diffStringsUnified` returns a string.\n- `diffStringsRaw` returns an array of `Diff` objects.\n\nThree named exports compare **arrays of strings** line-by-line:\n\n- `diffLinesUnified` and `diffLinesUnified2` return a string.\n- `diffLinesRaw` returns an array of `Diff` objects.\n\n## Installation\n\nTo add this package as a dependency of a project, run either of the following commands:\n\n- `npm install jest-diff`\n- `yarn add jest-diff`\n\n## Usage of default export\n\nGiven JavaScript **values**, `diffDefault(a, b, options?)` does the following:\n\n1. **serialize** the values as strings using the `pretty-format` package\n2. **compare** the strings line-by-line using the `diff-sequences` package\n3. **format** the changed or common lines using the `chalk` package\n\nTo use this function, write either of the following:\n\n- `const diffDefault = require('jest-diff').default;` in CommonJS modules\n- `import diffDefault from 'jest-diff';` in ECMAScript modules\n\n### Example of default export\n\n```js\nconst a = ['delete', 'common', 'changed from'];\nconst b = ['common', 'changed to', 'insert'];\n\nconst difference = diffDefault(a, b);\n```\n\nThe returned **string** consists of:\n\n- annotation lines: describe the two change indicators with labels, and a blank line\n- comparison lines: similar to “unified” view on GitHub, but `Expected` lines are green, `Received` lines are red, and common lines are dim (by default, see Options)\n\n```diff\n- Expected\n+ Received\n\n  Array [\n-   \"delete\",\n    \"common\",\n-   \"changed from\",\n+   \"changed to\",\n+   \"insert\",\n  ]\n```\n\n### Edge cases of default export\n\nHere are edge cases for the return value:\n\n- `' Comparing two different types of values. …'` if the arguments have **different types** according to the `jest-get-type` package (instances of different classes have the same `'object'` type)\n- `'Compared values have no visual difference.'` if the arguments have either **referential identity** according to `Object.is` method or **same serialization** according to the `pretty-format` package\n- `null` if either argument is a so-called **asymmetric matcher** in Jasmine or Jest\n\n## Usage of diffStringsUnified\n\nGiven **strings**, `diffStringsUnified(a, b, options?)` does the following:\n\n1. **compare** the strings character-by-character using the `diff-sequences` package\n2. **clean up** small (often coincidental) common substrings, also known as chaff\n3. **format** the changed or common lines using the `chalk` package\n\nAlthough the function is mainly for **multiline** strings, it compares any strings.\n\nWrite either of the following:\n\n- `const {diffStringsUnified} = require('jest-diff');` in CommonJS modules\n- `import {diffStringsUnified} from 'jest-diff';` in ECMAScript modules\n\n### Example of diffStringsUnified\n\n```js\nconst a = 'common\\nchanged from';\nconst b = 'common\\nchanged to';\n\nconst difference = diffStringsUnified(a, b);\n```\n\nThe returned **string** consists of:\n\n- annotation lines: describe the two change indicators with labels, and a blank line\n- comparison lines: similar to “unified” view on GitHub, and **changed substrings** have **inverse** foreground and background colors (that is, `from` has white-on-green and `to` has white-on-red, which the following example does not show)\n\n```diff\n- Expected\n+ Received\n\n  common\n- changed from\n+ changed to\n```\n\n### Performance of diffStringsUnified\n\nTo get the benefit of **changed substrings** within the comparison lines, a character-by-character comparison has a higher computational cost (in time and space) than a line-by-line comparison.\n\nIf the input strings can have **arbitrary length**, we recommend that the calling code set a limit, beyond which splits the strings, and then calls `diffLinesUnified` instead. For example, Jest falls back to line-by-line comparison if either string has length greater than 20K characters.\n\n## Usage of diffLinesUnified\n\nGiven **arrays of strings**, `diffLinesUnified(aLines, bLines, options?)` does the following:\n\n1. **compare** the arrays line-by-line using the `diff-sequences` package\n2. **format** the changed or common lines using the `chalk` package\n\nYou might call this function when strings have been split into lines and you do not need to see changed substrings within lines.\n\n### Example of diffLinesUnified\n\n```js\nconst aLines = ['delete', 'common', 'changed from'];\nconst bLines = ['common', 'changed to', 'insert'];\n\nconst difference = diffLinesUnified(aLines, bLines);\n```\n\n```diff\n- Expected\n+ Received\n\n- delete\n  common\n- changed from\n+ changed to\n+ insert\n```\n\n### Edge cases of diffLinesUnified or diffStringsUnified\n\nHere are edge cases for arguments and return values:\n\n- both `a` and `b` are empty strings: no comparison lines\n- only `a` is empty string: all comparison lines have `bColor` and `bIndicator` (see Options)\n- only `b` is empty string: all comparison lines have `aColor` and `aIndicator` (see Options)\n- `a` and `b` are equal non-empty strings: all comparison lines have `commonColor` and `commonIndicator` (see Options)\n\n## Usage of diffLinesUnified2\n\nGiven two **pairs** of arrays of strings, `diffLinesUnified2(aLinesDisplay, bLinesDisplay, aLinesCompare, bLinesCompare, options?)` does the following:\n\n1. **compare** the pair of `Compare` arrays line-by-line using the `diff-sequences` package\n2. **format** the corresponding lines in the pair of `Display` arrays using the `chalk` package\n\nJest calls this function to consider lines as common instead of changed if the only difference is indentation.\n\nYou might call this function for case insensitive or Unicode equivalence comparison of lines.\n\n### Example of diffLinesUnified2\n\n```js\nimport format from 'pretty-format';\n\nconst a = {\n  text: 'Ignore indentation in serialized object',\n  time: '2019-09-19T12:34:56.000Z',\n  type: 'CREATE_ITEM',\n};\nconst b = {\n  payload: {\n    text: 'Ignore indentation in serialized object',\n    time: '2019-09-19T12:34:56.000Z',\n  },\n  type: 'CREATE_ITEM',\n};\n\nconst difference = diffLinesUnified2(\n  // serialize with indentation to display lines\n  format(a).split('\\n'),\n  format(b).split('\\n'),\n  // serialize without indentation to compare lines\n  format(a, {indent: 0}).split('\\n'),\n  format(b, {indent: 0}).split('\\n'),\n);\n```\n\nThe `text` and `time` properties are common, because their only difference is indentation:\n\n```diff\n- Expected\n+ Received\n\n  Object {\n+   payload: Object {\n      text: 'Ignore indentation in serialized object',\n      time: '2019-09-19T12:34:56.000Z',\n+   },\n    type: 'CREATE_ITEM',\n  }\n```\n\nThe preceding example illustrates why (at least for indentation) it seems more intuitive that the function returns the common line from the `bLinesDisplay` array instead of from the `aLinesDisplay` array.\n\n## Usage of diffStringsRaw\n\nGiven **strings** and a boolean option, `diffStringsRaw(a, b, cleanup)` does the following:\n\n1. **compare** the strings character-by-character using the `diff-sequences` package\n2. optionally **clean up** small (often coincidental) common substrings, also known as chaff\n\nBecause `diffStringsRaw` returns the difference as **data** instead of a string, you can format it as your application requires (for example, enclosed in HTML markup for browser instead of escape sequences for console).\n\nThe returned **array** describes substrings as instances of the `Diff` class, which calling code can access like array tuples:\n\nThe value at index `0` is one of the following:\n\n| value | named export  | description           |\n| ----: | :------------ | :-------------------- |\n|   `0` | `DIFF_EQUAL`  | in `a` and in `b`     |\n|  `-1` | `DIFF_DELETE` | in `a` but not in `b` |\n|   `1` | `DIFF_INSERT` | in `b` but not in `a` |\n\nThe value at index `1` is a substring of `a` or `b` or both.\n\n### Example of diffStringsRaw with cleanup\n\n```js\nconst diffs = diffStringsRaw('changed from', 'changed to', true);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `0` | `'changed '`  |\n| `1` |          `-1` | `'from'`      |\n| `2` |           `1` | `'to'`        |\n\n### Example of diffStringsRaw without cleanup\n\n```js\nconst diffs = diffStringsRaw('changed from', 'changed to', false);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `0` | `'changed '`  |\n| `1` |          `-1` | `'fr'`        |\n| `2` |           `1` | `'t'`         |\n| `3` |           `0` | `'o'`         |\n| `4` |          `-1` | `'m'`         |\n\n### Advanced import for diffStringsRaw\n\nHere are all the named imports that you might need for the `diffStringsRaw` function:\n\n- `const {DIFF_DELETE, DIFF_EQUAL, DIFF_INSERT, Diff, diffStringsRaw} = require('jest-diff');` in CommonJS modules\n- `import {DIFF_DELETE, DIFF_EQUAL, DIFF_INSERT, Diff, diffStringsRaw} from 'jest-diff';` in ECMAScript modules\n\nTo write a **formatting** function, you might need the named constants (and `Diff` in TypeScript annotations).\n\nIf you write an application-specific **cleanup** algorithm, then you might need to call the `Diff` constructor:\n\n```js\nconst diffCommon = new Diff(DIFF_EQUAL, 'changed ');\nconst diffDelete = new Diff(DIFF_DELETE, 'from');\nconst diffInsert = new Diff(DIFF_INSERT, 'to');\n```\n\n## Usage of diffLinesRaw\n\nGiven **arrays of strings**, `diffLinesRaw(aLines, bLines)` does the following:\n\n- **compare** the arrays line-by-line using the `diff-sequences` package\n\nBecause `diffLinesRaw` returns the difference as **data** instead of a string, you can format it as your application requires.\n\n### Example of diffLinesRaw\n\n```js\nconst aLines = ['delete', 'common', 'changed from'];\nconst bLines = ['common', 'changed to', 'insert'];\n\nconst diffs = diffLinesRaw(aLines, bLines);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]`    |\n| --: | ------------: | :--------------- |\n| `0` |          `-1` | `'delete'`       |\n| `1` |           `0` | `'common'`       |\n| `2` |          `-1` | `'changed from'` |\n| `3` |           `1` | `'changed to'`   |\n| `4` |           `1` | `'insert'`       |\n\n### Edge case of diffLinesRaw\n\nIf you call `string.split('\\n')` for an empty string:\n\n- the result is `['']` an array which contains an empty string\n- instead of `[]` an empty array\n\nDepending of your application, you might call `diffLinesRaw` with either array.\n\n### Example of split method\n\n```js\nimport {diffLinesRaw} from 'jest-diff';\n\nconst a = 'non-empty string';\nconst b = '';\n\nconst diffs = diffLinesRaw(a.split('\\n'), b.split('\\n'));\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]`        |\n| --: | ------------: | :------------------- |\n| `0` |          `-1` | `'non-empty string'` |\n| `1` |           `1` | `''`                 |\n\nWhich you might format as follows:\n\n```diff\n- Expected  - 1\n+ Received  + 1\n\n- non-empty string\n+\n```\n\n### Example of splitLines0 function\n\nFor edge case behavior like the `diffLinesUnified` function, you might define a `splitLines0` function, which given an empty string, returns `[]` an empty array:\n\n```js\nexport const splitLines0 = string =>\n  string.length === 0 ? [] : string.split('\\n');\n```\n\n```js\nimport {diffLinesRaw} from 'jest-diff';\n\nconst a = '';\nconst b = 'line 1\\nline 2\\nline 3';\n\nconst diffs = diffLinesRaw(a.split('\\n'), b.split('\\n'));\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `1` | `'line 1'`    |\n| `1` |           `1` | `'line 2'`    |\n| `2` |           `1` | `'line 3'`    |\n\nWhich you might format as follows:\n\n```diff\n- Expected  - 0\n+ Received  + 3\n\n+ line 1\n+ line 2\n+ line 3\n```\n\nIn contrast to the `diffLinesRaw` function, the `diffLinesUnified` and `diffLinesUnified2` functions **automatically** convert array arguments computed by string `split` method, so callers do **not** need a `splitLine0` function.\n\n## Options\n\nThe default options are for the report when an assertion fails from the `expect` package used by Jest.\n\nFor other applications, you can provide an options object as a third argument:\n\n- `diffDefault(a, b, options)`\n- `diffStringsUnified(a, b, options)`\n- `diffLinesUnified(aLines, bLines, options)`\n- `diffLinesUnified2(aLinesDisplay, bLinesDisplay, aLinesCompare, bLinesCompare, options)`\n\n### Properties of options object\n\n| name                              | default            |\n| :-------------------------------- | :----------------- |\n| `aAnnotation`                     | `'Expected'`       |\n| `aColor`                          | `chalk.green`      |\n| `aIndicator`                      | `'-'`              |\n| `bAnnotation`                     | `'Received'`       |\n| `bColor`                          | `chalk.red`        |\n| `bIndicator`                      | `'+'`              |\n| `changeColor`                     | `chalk.inverse`    |\n| `changeLineTrailingSpaceColor`    | `string => string` |\n| `commonColor`                     | `chalk.dim`        |\n| `commonIndicator`                 | `' '`              |\n| `commonLineTrailingSpaceColor`    | `string => string` |\n| `contextLines`                    | `5`                |\n| `emptyFirstOrLastLinePlaceholder` | `''`               |\n| `expand`                          | `true`             |\n| `includeChangeCounts`             | `false`            |\n| `omitAnnotationLines`             | `false`            |\n| `patchColor`                      | `chalk.yellow`     |\n\nFor more information about the options, see the following examples.\n\n### Example of options for labels\n\nIf the application is code modification, you might replace the labels:\n\n```js\nconst options = {\n  aAnnotation: 'Original',\n  bAnnotation: 'Modified',\n};\n```\n\n```diff\n- Original\n+ Modified\n\n  common\n- changed from\n+ changed to\n```\n\nThe `jest-diff` package does not assume that the 2 labels have equal length.\n\n### Example of options for colors of changed lines\n\nFor consistency with most diff tools, you might exchange the colors:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  aColor: chalk.red,\n  bColor: chalk.green,\n};\n```\n\n### Example of option for color of changed substrings\n\nAlthough the default inverse of foreground and background colors is hard to beat for changed substrings **within lines**, especially because it highlights spaces, if you want bold font weight on yellow background color:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  changeColor: chalk.bold.bgYellowBright,\n};\n```\n\n### Example of option to format trailing spaces\n\nBecause the default export does not display substring differences within lines, formatting can help you see when lines differ by the presence or absence of trailing spaces found by `/\\s+$/` regular expression.\n\n- If change lines have a background color, then you can see trailing spaces.\n- If common lines have default dim color, then you cannot see trailing spaces. You might want yellowish background color to see them.\n\n```js\nconst options = {\n  aColor: chalk.rgb(128, 0, 128).bgRgb(255, 215, 255), // magenta\n  bColor: chalk.rgb(0, 95, 0).bgRgb(215, 255, 215), // green\n  commonLineTrailingSpaceColor: chalk.bgYellow,\n};\n```\n\nThe value of a Color option is a function, which given a string, returns a string.\n\nIf you want to replace trailing spaces with middle dot characters:\n\n```js\nconst replaceSpacesWithMiddleDot = string => '·'.repeat(string.length);\n\nconst options = {\n  changeLineTrailingSpaceColor: replaceSpacesWithMiddleDot,\n  commonLineTrailingSpaceColor: replaceSpacesWithMiddleDot,\n};\n```\n\nIf you need the TypeScript type of a Color option:\n\n```ts\nimport {DiffOptionsColor} from 'jest-diff';\n```\n\n### Example of options for no colors\n\nTo store the difference in a file without escape codes for colors, provide an identity function:\n\n```js\nconst noColor = string => string;\n\nconst options = {\n  aColor: noColor,\n  bColor: noColor,\n  changeColor: noColor,\n  commonColor: noColor,\n  patchColor: noColor,\n};\n```\n\n### Example of options for indicators\n\nFor consistency with the `diff` command, you might replace the indicators:\n\n```js\nconst options = {\n  aIndicator: '<',\n  bIndicator: '>',\n};\n```\n\nThe `jest-diff` package assumes (but does not enforce) that the 3 indicators have equal length.\n\n### Example of options to limit common lines\n\nBy default, the output includes all common lines.\n\nTo emphasize the changes, you might limit the number of common “context” lines:\n\n```js\nconst options = {\n  contextLines: 1,\n  expand: false,\n};\n```\n\nA patch mark like `@@ -12,7 +12,9 @@` accounts for omitted common lines.\n\n### Example of option for color of patch marks\n\nIf you want patch marks to have the same dim color as common lines:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  expand: false,\n  patchColor: chalk.dim,\n};\n```\n\n### Example of option to include change counts\n\nTo display the number of changed lines at the right of annotation lines:\n\n```js\nconst a = ['common', 'changed from'];\nconst b = ['common', 'changed to', 'insert'];\n\nconst options = {\n  includeChangeCounts: true,\n};\n\nconst difference = diffDefault(a, b, options);\n```\n\n```diff\n- Expected  - 1\n+ Received  + 2\n\n  Array [\n    \"common\",\n-   \"changed from\",\n+   \"changed to\",\n+   \"insert\",\n  ]\n```\n\n### Example of option to omit annotation lines\n\nTo display only the comparison lines:\n\n```js\nconst a = 'common\\nchanged from';\nconst b = 'common\\nchanged to';\n\nconst options = {\n  omitAnnotationLines: true,\n};\n\nconst difference = diffStringsUnified(a, b, options);\n```\n\n```diff\n  common\n- changed from\n+ changed to\n```\n\n### Example of option for empty first or last lines\n\nIf the **first** or **last** comparison line is **empty**, because the content is empty and the indicator is a space, you might not notice it.\n\nThe replacement option is a string whose default value is `''` empty string.\n\nBecause Jest trims the report when a matcher fails, it deletes an empty last line.\n\nTherefore, Jest uses as placeholder the downwards arrow with corner leftwards:\n\n```js\nconst options = {\n  emptyFirstOrLastLinePlaceholder: '↵', // U+21B5\n};\n```\n\nIf a content line is empty, then the corresponding comparison line is automatically trimmed to remove the margin space (represented as a middle dot below) for the default indicators:\n\n|         Indicator | untrimmed | trimmed |\n| ----------------: | :-------- | :------ |\n|      `aIndicator` | `'-·'`    | `'-'`   |\n|      `bIndicator` | `'+·'`    | `'+'`   |\n| `commonIndicator` | `' ·'`    | `''`    |\n","readmeFilename":"README.md","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@26.0.0-alpha.2","_nodeVersion":"12.16.3","_npmVersion":"lerna/3.20.2/node@v12.16.3+x64 (darwin)","dist":{"integrity":"sha512-8ZVsnx15Wmay0E22xnKJFGwXcOvK/pbLzN88FdOxCJ5eEj1sX+tcPHmo6tEZwb75gnx0qYAju48GEhRof93RMw==","shasum":"30e5f4d8eb1659d18a11f435d78007eefac60f5e","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-26.0.0-alpha.2.tgz","fileCount":23,"unpackedSize":85199,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJesD1PCRA9TVsSAnZWagAA1fcP/ieMHN2mhGc7LPrq2H+o\nrZa7XP2UGSu+MhYcux8T/wX6DpHDosaAEAMO/Rv5ffv7oYFCIQpZu3ypn7P9\nW9+xHyCiqB08Y7KhF1rAuYpW2OR3lEKJ2b/S2l637fVOteJlELplkyXLT6/x\nLqFHcgf1pcDEMrcIyMSnTvaIGR6+WsfZ6ivpUeM4JMseL+hBdhNqBCOcyIuw\nbyqGwYljRg7mG/WPnbGMwciAjqHWhFlzmqtx7D2ufBvDQ6LNaSifhop2+z4q\nHCMRWF6/ovRkl7r8hxXfrVWFbD1yWOtpfnO+rcigm1OkrFmP+gJKxYGi+noK\nlzw8AYL6Jl9/e346SZur6FrDwyVGbWBhbQjNgoqdHqZLKwTy3m66RykIrcO+\nckh2ANJSO8EAL1ZJWRk8pN0cbDej/BmZJkwnRJ5thQffh7RNSu2fjfPeyQ8c\nHOXqZuMnC6QuHh7S40U1wxEFucXe9cvMb3ws8UeF6OPowcxC0/iAuyTWR6M/\nNfYJxBJhtoGi9FB8yLeiosxxCEBnvSNkTpdCNsWb/yVwPEjMV2oGDLDDWbsB\n4J09Ac1iGmQNP2t2MLdQjqeFnVFIlZ9tOQ4SGJh6wMWaawb8IqGfTkMYC3mM\nU09dYimhQdgPhRR41EgE/KlZAzmTiYEHQabg1lvQidRnLh8ta17m6u0NLABI\nCa1C\r\n=dM6X\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDp+XoovHwJVghZjLIEx7fELoriZzet0+iOal3toO52GAiB0/6HbMh/PBGoghDbpQyq+amDm5qEXp/hnxERoOHSbtw=="}]},"maintainers":[{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"davidzilburg@gmail.com","name":"davidzilburg"},{"email":"opensource+npm@fb.com","name":"fb"},{"email":"rubennorte@gmail.com","name":"rubennorte"},{"email":"scott.hovestadt@gmail.com","name":"scotthovestadt"},{"email":"sbekkhus91@gmail.com","name":"simenb"}],"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_26.0.0-alpha.2_1588608335523_0.4190090679590208"},"_hasShrinkwrap":false},"26.0.0":{"name":"jest-diff","version":"26.0.0","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"build/index.js","types":"build/index.d.ts","dependencies":{"chalk":"^4.0.0","diff-sequences":"^26.0.0","jest-get-type":"^26.0.0","pretty-format":"^26.0.0"},"devDependencies":{"@jest/test-utils":"^26.0.0","strip-ansi":"^6.0.0"},"engines":{"node":">= 10.14.2"},"publishConfig":{"access":"public"},"gitHead":"343532a21f640ac2709c4076eef57e52279542e1","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@26.0.0","_nodeVersion":"12.16.3","_npmVersion":"lerna/3.20.2/node@v12.16.3+x64 (darwin)","dist":{"integrity":"sha512-2HjXIaS9zLME8LnuT/StZAmjNfJjskWGaWtJEtU+U+AbCwy4m9wgLzefsShjwJqa1VjWtUD71bJ1OlmluSR8sA==","shasum":"d3b62cda35279521606bc33ce8e7012ebcd1b365","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-26.0.0.tgz","fileCount":23,"unpackedSize":85159,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJesFaICRA9TVsSAnZWagAAdUYQAKRLitXsU3f8Iw9Z0uO1\nejDpohUu/N7RK0TuNPrc5z951bWDCGtjZWIbVO2BkBuNOy5UzaC4kZD5dcif\nprZtvbH8wMb9L99Vce84xPOyZTukU12RyA6Z6JUHSNUpXt8z17iWZlewuBVp\nMNSYweM9obRxsaIjsEqk5+Uws9daNRi5urHxjTGLWTR5wQ3JC6639Fr1ljRs\nEHP24OdWS4K1qk5bzM5+s4S39wuaDBLbkwVVWcaw2BL540e5jT24jVtH1Opo\nfxnxx5YTpirAf2/rAKdpbksJGXKdL+x6qoE4whCPOdePJ81fBrLMz/y6nNvh\nSQNpwVqX3s1o2sD+w96yoBVATsaoyv7IKDattdp8TgqCibetYpOhbROInV4N\n3/FK5elqNfiXddbK55OMwm08jDowJ6EVC0jzry79M4XAT9TS9zqNOH9AQJ1y\nw1Lszmuio8GGi8EufhvuvRXmuBdxwOsC/pP0Lf+LgyXD3dRRg+6AY7OYIziU\nVjnlREJsOoiY65cwLl1MiO6s09GDzxA32xQanmb2na7YUc79YybwhNqEUCcL\njKpkWbG1vZC6PQNETMAa7/Ayw5yTS7mRI3Ui2GNt6GY6/Zp/2T7Cb5voKgU5\noOujp5Yi0dgqQgU141HQGOK4TJluw301Yr73kCkK+a4Tz0Mz5U4o8IUc/p9w\n1pD5\r\n=ou2X\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFu0VYH6v6u4AqPvfkhnaXXPhKbtqqzM/gw64O5Nxv7cAiBDm1v/xTTqRwcQMy5+GV+mUab2DrxnAdpJSoiTpHlyIw=="}]},"maintainers":[{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"davidzilburg@gmail.com","name":"davidzilburg"},{"email":"opensource+npm@fb.com","name":"fb"},{"email":"rubennorte@gmail.com","name":"rubennorte"},{"email":"scott.hovestadt@gmail.com","name":"scotthovestadt"},{"email":"sbekkhus91@gmail.com","name":"simenb"}],"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_26.0.0_1588614791553_0.39100695594654833"},"_hasShrinkwrap":false},"26.0.1-alpha.0":{"name":"jest-diff","version":"26.0.1-alpha.0","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"build/index.js","types":"build/index.d.ts","dependencies":{"chalk":"^4.0.0","diff-sequences":"^26.0.0","jest-get-type":"^26.0.0","pretty-format":"^26.0.1-alpha.0"},"devDependencies":{"@jest/test-utils":"^26.0.0","strip-ansi":"^6.0.0"},"engines":{"node":">= 10.14.2"},"publishConfig":{"access":"public"},"gitHead":"fb04716adb223ce2da1e6bb2b4ce7c011bad1807","readme":"# jest-diff\n\nDisplay differences clearly so people can review changes confidently.\n\nThe default export serializes JavaScript **values**, compares them line-by-line, and returns a string which includes comparison lines.\n\nTwo named exports compare **strings** character-by-character:\n\n- `diffStringsUnified` returns a string.\n- `diffStringsRaw` returns an array of `Diff` objects.\n\nThree named exports compare **arrays of strings** line-by-line:\n\n- `diffLinesUnified` and `diffLinesUnified2` return a string.\n- `diffLinesRaw` returns an array of `Diff` objects.\n\n## Installation\n\nTo add this package as a dependency of a project, run either of the following commands:\n\n- `npm install jest-diff`\n- `yarn add jest-diff`\n\n## Usage of default export\n\nGiven JavaScript **values**, `diffDefault(a, b, options?)` does the following:\n\n1. **serialize** the values as strings using the `pretty-format` package\n2. **compare** the strings line-by-line using the `diff-sequences` package\n3. **format** the changed or common lines using the `chalk` package\n\nTo use this function, write either of the following:\n\n- `const diffDefault = require('jest-diff').default;` in CommonJS modules\n- `import diffDefault from 'jest-diff';` in ECMAScript modules\n\n### Example of default export\n\n```js\nconst a = ['delete', 'common', 'changed from'];\nconst b = ['common', 'changed to', 'insert'];\n\nconst difference = diffDefault(a, b);\n```\n\nThe returned **string** consists of:\n\n- annotation lines: describe the two change indicators with labels, and a blank line\n- comparison lines: similar to “unified” view on GitHub, but `Expected` lines are green, `Received` lines are red, and common lines are dim (by default, see Options)\n\n```diff\n- Expected\n+ Received\n\n  Array [\n-   \"delete\",\n    \"common\",\n-   \"changed from\",\n+   \"changed to\",\n+   \"insert\",\n  ]\n```\n\n### Edge cases of default export\n\nHere are edge cases for the return value:\n\n- `' Comparing two different types of values. …'` if the arguments have **different types** according to the `jest-get-type` package (instances of different classes have the same `'object'` type)\n- `'Compared values have no visual difference.'` if the arguments have either **referential identity** according to `Object.is` method or **same serialization** according to the `pretty-format` package\n- `null` if either argument is a so-called **asymmetric matcher** in Jasmine or Jest\n\n## Usage of diffStringsUnified\n\nGiven **strings**, `diffStringsUnified(a, b, options?)` does the following:\n\n1. **compare** the strings character-by-character using the `diff-sequences` package\n2. **clean up** small (often coincidental) common substrings, also known as chaff\n3. **format** the changed or common lines using the `chalk` package\n\nAlthough the function is mainly for **multiline** strings, it compares any strings.\n\nWrite either of the following:\n\n- `const {diffStringsUnified} = require('jest-diff');` in CommonJS modules\n- `import {diffStringsUnified} from 'jest-diff';` in ECMAScript modules\n\n### Example of diffStringsUnified\n\n```js\nconst a = 'common\\nchanged from';\nconst b = 'common\\nchanged to';\n\nconst difference = diffStringsUnified(a, b);\n```\n\nThe returned **string** consists of:\n\n- annotation lines: describe the two change indicators with labels, and a blank line\n- comparison lines: similar to “unified” view on GitHub, and **changed substrings** have **inverse** foreground and background colors (that is, `from` has white-on-green and `to` has white-on-red, which the following example does not show)\n\n```diff\n- Expected\n+ Received\n\n  common\n- changed from\n+ changed to\n```\n\n### Performance of diffStringsUnified\n\nTo get the benefit of **changed substrings** within the comparison lines, a character-by-character comparison has a higher computational cost (in time and space) than a line-by-line comparison.\n\nIf the input strings can have **arbitrary length**, we recommend that the calling code set a limit, beyond which splits the strings, and then calls `diffLinesUnified` instead. For example, Jest falls back to line-by-line comparison if either string has length greater than 20K characters.\n\n## Usage of diffLinesUnified\n\nGiven **arrays of strings**, `diffLinesUnified(aLines, bLines, options?)` does the following:\n\n1. **compare** the arrays line-by-line using the `diff-sequences` package\n2. **format** the changed or common lines using the `chalk` package\n\nYou might call this function when strings have been split into lines and you do not need to see changed substrings within lines.\n\n### Example of diffLinesUnified\n\n```js\nconst aLines = ['delete', 'common', 'changed from'];\nconst bLines = ['common', 'changed to', 'insert'];\n\nconst difference = diffLinesUnified(aLines, bLines);\n```\n\n```diff\n- Expected\n+ Received\n\n- delete\n  common\n- changed from\n+ changed to\n+ insert\n```\n\n### Edge cases of diffLinesUnified or diffStringsUnified\n\nHere are edge cases for arguments and return values:\n\n- both `a` and `b` are empty strings: no comparison lines\n- only `a` is empty string: all comparison lines have `bColor` and `bIndicator` (see Options)\n- only `b` is empty string: all comparison lines have `aColor` and `aIndicator` (see Options)\n- `a` and `b` are equal non-empty strings: all comparison lines have `commonColor` and `commonIndicator` (see Options)\n\n## Usage of diffLinesUnified2\n\nGiven two **pairs** of arrays of strings, `diffLinesUnified2(aLinesDisplay, bLinesDisplay, aLinesCompare, bLinesCompare, options?)` does the following:\n\n1. **compare** the pair of `Compare` arrays line-by-line using the `diff-sequences` package\n2. **format** the corresponding lines in the pair of `Display` arrays using the `chalk` package\n\nJest calls this function to consider lines as common instead of changed if the only difference is indentation.\n\nYou might call this function for case insensitive or Unicode equivalence comparison of lines.\n\n### Example of diffLinesUnified2\n\n```js\nimport format from 'pretty-format';\n\nconst a = {\n  text: 'Ignore indentation in serialized object',\n  time: '2019-09-19T12:34:56.000Z',\n  type: 'CREATE_ITEM',\n};\nconst b = {\n  payload: {\n    text: 'Ignore indentation in serialized object',\n    time: '2019-09-19T12:34:56.000Z',\n  },\n  type: 'CREATE_ITEM',\n};\n\nconst difference = diffLinesUnified2(\n  // serialize with indentation to display lines\n  format(a).split('\\n'),\n  format(b).split('\\n'),\n  // serialize without indentation to compare lines\n  format(a, {indent: 0}).split('\\n'),\n  format(b, {indent: 0}).split('\\n'),\n);\n```\n\nThe `text` and `time` properties are common, because their only difference is indentation:\n\n```diff\n- Expected\n+ Received\n\n  Object {\n+   payload: Object {\n      text: 'Ignore indentation in serialized object',\n      time: '2019-09-19T12:34:56.000Z',\n+   },\n    type: 'CREATE_ITEM',\n  }\n```\n\nThe preceding example illustrates why (at least for indentation) it seems more intuitive that the function returns the common line from the `bLinesDisplay` array instead of from the `aLinesDisplay` array.\n\n## Usage of diffStringsRaw\n\nGiven **strings** and a boolean option, `diffStringsRaw(a, b, cleanup)` does the following:\n\n1. **compare** the strings character-by-character using the `diff-sequences` package\n2. optionally **clean up** small (often coincidental) common substrings, also known as chaff\n\nBecause `diffStringsRaw` returns the difference as **data** instead of a string, you can format it as your application requires (for example, enclosed in HTML markup for browser instead of escape sequences for console).\n\nThe returned **array** describes substrings as instances of the `Diff` class, which calling code can access like array tuples:\n\nThe value at index `0` is one of the following:\n\n| value | named export  | description           |\n| ----: | :------------ | :-------------------- |\n|   `0` | `DIFF_EQUAL`  | in `a` and in `b`     |\n|  `-1` | `DIFF_DELETE` | in `a` but not in `b` |\n|   `1` | `DIFF_INSERT` | in `b` but not in `a` |\n\nThe value at index `1` is a substring of `a` or `b` or both.\n\n### Example of diffStringsRaw with cleanup\n\n```js\nconst diffs = diffStringsRaw('changed from', 'changed to', true);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `0` | `'changed '`  |\n| `1` |          `-1` | `'from'`      |\n| `2` |           `1` | `'to'`        |\n\n### Example of diffStringsRaw without cleanup\n\n```js\nconst diffs = diffStringsRaw('changed from', 'changed to', false);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `0` | `'changed '`  |\n| `1` |          `-1` | `'fr'`        |\n| `2` |           `1` | `'t'`         |\n| `3` |           `0` | `'o'`         |\n| `4` |          `-1` | `'m'`         |\n\n### Advanced import for diffStringsRaw\n\nHere are all the named imports that you might need for the `diffStringsRaw` function:\n\n- `const {DIFF_DELETE, DIFF_EQUAL, DIFF_INSERT, Diff, diffStringsRaw} = require('jest-diff');` in CommonJS modules\n- `import {DIFF_DELETE, DIFF_EQUAL, DIFF_INSERT, Diff, diffStringsRaw} from 'jest-diff';` in ECMAScript modules\n\nTo write a **formatting** function, you might need the named constants (and `Diff` in TypeScript annotations).\n\nIf you write an application-specific **cleanup** algorithm, then you might need to call the `Diff` constructor:\n\n```js\nconst diffCommon = new Diff(DIFF_EQUAL, 'changed ');\nconst diffDelete = new Diff(DIFF_DELETE, 'from');\nconst diffInsert = new Diff(DIFF_INSERT, 'to');\n```\n\n## Usage of diffLinesRaw\n\nGiven **arrays of strings**, `diffLinesRaw(aLines, bLines)` does the following:\n\n- **compare** the arrays line-by-line using the `diff-sequences` package\n\nBecause `diffLinesRaw` returns the difference as **data** instead of a string, you can format it as your application requires.\n\n### Example of diffLinesRaw\n\n```js\nconst aLines = ['delete', 'common', 'changed from'];\nconst bLines = ['common', 'changed to', 'insert'];\n\nconst diffs = diffLinesRaw(aLines, bLines);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]`    |\n| --: | ------------: | :--------------- |\n| `0` |          `-1` | `'delete'`       |\n| `1` |           `0` | `'common'`       |\n| `2` |          `-1` | `'changed from'` |\n| `3` |           `1` | `'changed to'`   |\n| `4` |           `1` | `'insert'`       |\n\n### Edge case of diffLinesRaw\n\nIf you call `string.split('\\n')` for an empty string:\n\n- the result is `['']` an array which contains an empty string\n- instead of `[]` an empty array\n\nDepending of your application, you might call `diffLinesRaw` with either array.\n\n### Example of split method\n\n```js\nimport {diffLinesRaw} from 'jest-diff';\n\nconst a = 'non-empty string';\nconst b = '';\n\nconst diffs = diffLinesRaw(a.split('\\n'), b.split('\\n'));\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]`        |\n| --: | ------------: | :------------------- |\n| `0` |          `-1` | `'non-empty string'` |\n| `1` |           `1` | `''`                 |\n\nWhich you might format as follows:\n\n```diff\n- Expected  - 1\n+ Received  + 1\n\n- non-empty string\n+\n```\n\n### Example of splitLines0 function\n\nFor edge case behavior like the `diffLinesUnified` function, you might define a `splitLines0` function, which given an empty string, returns `[]` an empty array:\n\n```js\nexport const splitLines0 = string =>\n  string.length === 0 ? [] : string.split('\\n');\n```\n\n```js\nimport {diffLinesRaw} from 'jest-diff';\n\nconst a = '';\nconst b = 'line 1\\nline 2\\nline 3';\n\nconst diffs = diffLinesRaw(a.split('\\n'), b.split('\\n'));\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `1` | `'line 1'`    |\n| `1` |           `1` | `'line 2'`    |\n| `2` |           `1` | `'line 3'`    |\n\nWhich you might format as follows:\n\n```diff\n- Expected  - 0\n+ Received  + 3\n\n+ line 1\n+ line 2\n+ line 3\n```\n\nIn contrast to the `diffLinesRaw` function, the `diffLinesUnified` and `diffLinesUnified2` functions **automatically** convert array arguments computed by string `split` method, so callers do **not** need a `splitLine0` function.\n\n## Options\n\nThe default options are for the report when an assertion fails from the `expect` package used by Jest.\n\nFor other applications, you can provide an options object as a third argument:\n\n- `diffDefault(a, b, options)`\n- `diffStringsUnified(a, b, options)`\n- `diffLinesUnified(aLines, bLines, options)`\n- `diffLinesUnified2(aLinesDisplay, bLinesDisplay, aLinesCompare, bLinesCompare, options)`\n\n### Properties of options object\n\n| name                              | default            |\n| :-------------------------------- | :----------------- |\n| `aAnnotation`                     | `'Expected'`       |\n| `aColor`                          | `chalk.green`      |\n| `aIndicator`                      | `'-'`              |\n| `bAnnotation`                     | `'Received'`       |\n| `bColor`                          | `chalk.red`        |\n| `bIndicator`                      | `'+'`              |\n| `changeColor`                     | `chalk.inverse`    |\n| `changeLineTrailingSpaceColor`    | `string => string` |\n| `commonColor`                     | `chalk.dim`        |\n| `commonIndicator`                 | `' '`              |\n| `commonLineTrailingSpaceColor`    | `string => string` |\n| `contextLines`                    | `5`                |\n| `emptyFirstOrLastLinePlaceholder` | `''`               |\n| `expand`                          | `true`             |\n| `includeChangeCounts`             | `false`            |\n| `omitAnnotationLines`             | `false`            |\n| `patchColor`                      | `chalk.yellow`     |\n\nFor more information about the options, see the following examples.\n\n### Example of options for labels\n\nIf the application is code modification, you might replace the labels:\n\n```js\nconst options = {\n  aAnnotation: 'Original',\n  bAnnotation: 'Modified',\n};\n```\n\n```diff\n- Original\n+ Modified\n\n  common\n- changed from\n+ changed to\n```\n\nThe `jest-diff` package does not assume that the 2 labels have equal length.\n\n### Example of options for colors of changed lines\n\nFor consistency with most diff tools, you might exchange the colors:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  aColor: chalk.red,\n  bColor: chalk.green,\n};\n```\n\n### Example of option for color of changed substrings\n\nAlthough the default inverse of foreground and background colors is hard to beat for changed substrings **within lines**, especially because it highlights spaces, if you want bold font weight on yellow background color:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  changeColor: chalk.bold.bgYellowBright,\n};\n```\n\n### Example of option to format trailing spaces\n\nBecause the default export does not display substring differences within lines, formatting can help you see when lines differ by the presence or absence of trailing spaces found by `/\\s+$/` regular expression.\n\n- If change lines have a background color, then you can see trailing spaces.\n- If common lines have default dim color, then you cannot see trailing spaces. You might want yellowish background color to see them.\n\n```js\nconst options = {\n  aColor: chalk.rgb(128, 0, 128).bgRgb(255, 215, 255), // magenta\n  bColor: chalk.rgb(0, 95, 0).bgRgb(215, 255, 215), // green\n  commonLineTrailingSpaceColor: chalk.bgYellow,\n};\n```\n\nThe value of a Color option is a function, which given a string, returns a string.\n\nIf you want to replace trailing spaces with middle dot characters:\n\n```js\nconst replaceSpacesWithMiddleDot = string => '·'.repeat(string.length);\n\nconst options = {\n  changeLineTrailingSpaceColor: replaceSpacesWithMiddleDot,\n  commonLineTrailingSpaceColor: replaceSpacesWithMiddleDot,\n};\n```\n\nIf you need the TypeScript type of a Color option:\n\n```ts\nimport {DiffOptionsColor} from 'jest-diff';\n```\n\n### Example of options for no colors\n\nTo store the difference in a file without escape codes for colors, provide an identity function:\n\n```js\nconst noColor = string => string;\n\nconst options = {\n  aColor: noColor,\n  bColor: noColor,\n  changeColor: noColor,\n  commonColor: noColor,\n  patchColor: noColor,\n};\n```\n\n### Example of options for indicators\n\nFor consistency with the `diff` command, you might replace the indicators:\n\n```js\nconst options = {\n  aIndicator: '<',\n  bIndicator: '>',\n};\n```\n\nThe `jest-diff` package assumes (but does not enforce) that the 3 indicators have equal length.\n\n### Example of options to limit common lines\n\nBy default, the output includes all common lines.\n\nTo emphasize the changes, you might limit the number of common “context” lines:\n\n```js\nconst options = {\n  contextLines: 1,\n  expand: false,\n};\n```\n\nA patch mark like `@@ -12,7 +12,9 @@` accounts for omitted common lines.\n\n### Example of option for color of patch marks\n\nIf you want patch marks to have the same dim color as common lines:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  expand: false,\n  patchColor: chalk.dim,\n};\n```\n\n### Example of option to include change counts\n\nTo display the number of changed lines at the right of annotation lines:\n\n```js\nconst a = ['common', 'changed from'];\nconst b = ['common', 'changed to', 'insert'];\n\nconst options = {\n  includeChangeCounts: true,\n};\n\nconst difference = diffDefault(a, b, options);\n```\n\n```diff\n- Expected  - 1\n+ Received  + 2\n\n  Array [\n    \"common\",\n-   \"changed from\",\n+   \"changed to\",\n+   \"insert\",\n  ]\n```\n\n### Example of option to omit annotation lines\n\nTo display only the comparison lines:\n\n```js\nconst a = 'common\\nchanged from';\nconst b = 'common\\nchanged to';\n\nconst options = {\n  omitAnnotationLines: true,\n};\n\nconst difference = diffStringsUnified(a, b, options);\n```\n\n```diff\n  common\n- changed from\n+ changed to\n```\n\n### Example of option for empty first or last lines\n\nIf the **first** or **last** comparison line is **empty**, because the content is empty and the indicator is a space, you might not notice it.\n\nThe replacement option is a string whose default value is `''` empty string.\n\nBecause Jest trims the report when a matcher fails, it deletes an empty last line.\n\nTherefore, Jest uses as placeholder the downwards arrow with corner leftwards:\n\n```js\nconst options = {\n  emptyFirstOrLastLinePlaceholder: '↵', // U+21B5\n};\n```\n\nIf a content line is empty, then the corresponding comparison line is automatically trimmed to remove the margin space (represented as a middle dot below) for the default indicators:\n\n|         Indicator | untrimmed | trimmed |\n| ----------------: | :-------- | :------ |\n|      `aIndicator` | `'-·'`    | `'-'`   |\n|      `bIndicator` | `'+·'`    | `'+'`   |\n| `commonIndicator` | `' ·'`    | `''`    |\n","readmeFilename":"README.md","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@26.0.1-alpha.0","_nodeVersion":"12.16.3","_npmVersion":"lerna/3.20.2/node@v12.16.3+x64 (darwin)","dist":{"integrity":"sha512-2pVJwplMfuHy7DCZ5TL3+Cyf/ULtZ+pGey1fMzFfw7UZPttKyRqDIB5ayfYlAAyoazmRzpOM5DhfpBtCxJKBeg==","shasum":"2acf1c5279be3578cbee09505a7fa465d4814be9","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-26.0.1-alpha.0.tgz","fileCount":23,"unpackedSize":85175,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJesJQkCRA9TVsSAnZWagAAC/cQAJcLruEa0ZGdiDCgxhAf\nHe5+zv4c9im5NoWWV0RGytOSqdbaOX35A64F/CBGrc1RMXfEeg6eF+tHE6D+\n1GCM1khmQEf+tybt3qN3Ttv0zUAR8TVQcWMVbuSDrVztGxFsWKOzE4aG6Y1A\nrJp3fWZPRO3h93M0omixtS4Uhe6g1+LVegsEXUSHKLDLhCKU13BNXmvvG+kp\nu4YXt9Vb8NfDnNvfz8t9as3dDusbWsZYD+62a2+pmr5DEvrlPDdajPm2k4QS\niLGRYrwFY6xLDyUGIvREC/3VjCvsGI6/hDQSWX2Uvc4KVGr2xPUQfql9Df4n\n3H/V6a5LAS8CBOuDw8PN0xAOKaxyfkijA5HkeGlM1HZEX0EpVVdTBWDU6G7L\nCa31CEj5F4rwGOd0zOA4uhXEwx4gS3Y2/sw0ukbQWhvd2U+V+tM+1zqBbGYj\n/aVfoRT58EvseUFEJ/3arYkm1qDCpJIl//8kPK0IS8iKcmycKj/94FDNbN6p\nLldLamLHUM1WriRmgM7Zaptb2scqeCgNtlaQYRsuQ1Ppxb+ggdx9Sj0tqSD5\nD9zI9W25pG2uXraCkimuXBjWwCqkxyKrZRc6P0LXZDtR0QVqJB0LdGw9zo6h\neLn+HJ4Od8Cu7UR/90yHtNafkTAqQNf+Bgjc7QYiSXXnPA9Q2tIN5Q5Vvhtq\noNBu\r\n=hDvu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD69igCL1pJ5mQR+j+KBzMAGq4kBiUlo+E3tRLByO8zQgIhAOp12AEO+wd+i0fI1j52XeO9qtN+gqrVooXJVu9/BOJe"}]},"maintainers":[{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"davidzilburg@gmail.com","name":"davidzilburg"},{"email":"opensource+npm@fb.com","name":"fb"},{"email":"rubennorte@gmail.com","name":"rubennorte"},{"email":"scott.hovestadt@gmail.com","name":"scotthovestadt"},{"email":"sbekkhus91@gmail.com","name":"simenb"}],"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_26.0.1-alpha.0_1588630564131_0.30490108402146876"},"_hasShrinkwrap":false},"26.0.1":{"name":"jest-diff","version":"26.0.1","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"build/index.js","types":"build/index.d.ts","dependencies":{"chalk":"^4.0.0","diff-sequences":"^26.0.0","jest-get-type":"^26.0.0","pretty-format":"^26.0.1"},"devDependencies":{"@jest/test-utils":"^26.0.0","strip-ansi":"^6.0.0"},"engines":{"node":">= 10.14.2"},"publishConfig":{"access":"public"},"gitHead":"40b8e1e157c9981dda5a68d73fff647e80fc9f5c","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@26.0.1","_nodeVersion":"12.16.3","_npmVersion":"lerna/3.20.2/node@v12.16.3+x64 (darwin)","dist":{"integrity":"sha512-odTcHyl5X+U+QsczJmOjWw5tPvww+y9Yim5xzqxVl/R1j4z71+fHW4g8qu1ugMmKdFdxw+AtQgs5mupPnzcIBQ==","shasum":"c44ab3cdd5977d466de69c46929e0e57f89aa1de","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-26.0.1.tgz","fileCount":23,"unpackedSize":85159,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJesUK1CRA9TVsSAnZWagAAW1AP/2X4y5Fq0TJCLXdqtGsc\n2JL6di9goLljysqA0ESax76vJByHc7LqlLqcEIs1oRGJO8FaotckDXN7g6a8\nwY7pHmCOeQDRzX15rMVsuUqepF4g2jX+EdvgcN88FmdJo51glJEKJi0Y2g9p\n1bm4RGMUYF7LOJPEkmD4+fAm9hefkAfVpIwwmWhLpKLkPAkX/ektb5/h0+nG\nyaZ/mDjv/4hI4oNhM4sUNwLosnihVrSK3dfuvGZAH+6Dx6dQJDZgh4f1E/vf\nn52+v16hRBfvxYexnJVtqwJ3H/tjxibGyBlOUOzsrrc02fFOpM/E2l6XhNPP\nfV9nJNUcJ+McYSj8ekDP9Cd1hV0SMZlsbc6IkocqnCd5uNLr+a5+wJ94Ft1S\nhoKoMsv+h2cdpe6h7YHmeCCIM/p2XnvPx7Yj1x3q2PPG+xPkxAngwys1vHh+\n3gdIIm6GShi0Qv5TWccNjIrZbNmyh+ms3t7wTEs6l4L51609Th88Aa3C9KNK\nV/G7JDihPoqqc427oYKYHHsPiS6onlbZHi7Hr+qQn32ootiQ0vclZu3rBPfP\nkkjEoTIJaOSzewTrj78P4HAMkYoduaC/eGIamVPecZ+bGMbh8diIMHjPvxcd\nWdWHUzjaJs1SehN6Q7eEENg8m6yiBKfIeIsLkjnE3vOFpv7M901APTX3dJ9y\nqyBX\r\n=Xyrn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICXhdY6ar9p2KN4W47pwoaEtQiqdOlhQBGgyWHo/nK9qAiAg0qT7fqulZnB04GwfRwaqD3KxmO5LIWyFPLbNfGVYZA=="}]},"maintainers":[{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"davidzilburg@gmail.com","name":"davidzilburg"},{"email":"opensource+npm@fb.com","name":"fb"},{"email":"rubennorte@gmail.com","name":"rubennorte"},{"email":"scott.hovestadt@gmail.com","name":"scotthovestadt"},{"email":"sbekkhus91@gmail.com","name":"simenb"}],"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_26.0.1_1588675253445_0.3923183343960974"},"_hasShrinkwrap":false},"26.1.0":{"name":"jest-diff","version":"26.1.0","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"build/index.js","types":"build/index.d.ts","dependencies":{"chalk":"^4.0.0","diff-sequences":"^26.0.0","jest-get-type":"^26.0.0","pretty-format":"^26.1.0"},"devDependencies":{"@jest/test-utils":"^26.0.0","strip-ansi":"^6.0.0"},"engines":{"node":">= 10.14.2"},"publishConfig":{"access":"public"},"gitHead":"817d8b6aca845dd4fcfd7f8316293e69f3a116c5","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@26.1.0","_nodeVersion":"12.18.1","_npmVersion":"lerna/3.20.2/node@v12.18.1+x64 (darwin)","dist":{"integrity":"sha512-GZpIcom339y0OXznsEKjtkfKxNdg7bVbEofK8Q6MnevTIiR1jNhDWKhRX6X0SDXJlwn3dy59nZ1z55fLkAqPWg==","shasum":"00a549bdc936c9691eb4dc25d1fbd78bf456abb2","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-26.1.0.tgz","fileCount":23,"unpackedSize":85460,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe8hyNCRA9TVsSAnZWagAAfeMQAIsmf2hwTLEE6wVECViH\nkn76zE2axO3NWsDe5Oi8K9dDy3bMrqEFnm88H71FTHiWoMmyZcmmGeKO/LPj\nFLsmEbtaN/fadvwRbD6m9UQE/v1VPvm43LqJhuR+vU7jD7xoQR+mRWCBAEh6\n1D9a+iY5ikzpNK7LKLUhiFwhsGLevkQZyPHTRRddy7/P+muvHFYeh+ZinaaE\n8bGCKHSx1/WTvzOjPkz/ShHqaW6KR1Ap1uBbVysTjPuYr1c5ocqGPsELiSf5\nt71VFyrd8ehu5dxa0jsvSHF3ZjLDDZF+Bfm2k44lYbb73Gj4qOLqVGPYT4VH\nO8eQjEPKSxFFzymU20342qiCnYMbDa8QhkH2naUYsdhWPU7Pa+JLn3iejZ2C\ndbZRSxP5Do6OWnga8OzCSAXhltZUTi36oa4G/AXJshpQpe4JRpUOOlAbaP2R\nmhKsjjtZRMCHORoBnBiVkSnWTUO6H0oyljl0h5kC7zqMyBGmEkVrXg/yBQlM\nTI0Je8vIZ7AStlPpbo7ygC5Cu7AMwmvcqBRKcmFz+g32Xngn/Z/+1BttFkmb\nP6zbSkTepKQ6IxcR5Bq+HWPm1+/3j7eMwQPq5YFKeUs8ZoTJJJs6OvZdTBmh\nM98DiWDmxeawhfcbl3SCYgKJSJXZXPAYLUP/Jt0hxuR2Xcflq4nlL0gl2tij\ntnmZ\r\n=xYW0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBs6QYmJ5iqlg2WnAnAHU+dYZwJXTqT+awegbZ7lX1eUAiBk0/zuamOsEXjdsPzzcNapmkEzUroVNTnyola0phtL6w=="}]},"maintainers":[{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"davidzilburg@gmail.com","name":"davidzilburg"},{"email":"opensource+npm@fb.com","name":"fb"},{"email":"rubennorte@gmail.com","name":"rubennorte"},{"email":"scott.hovestadt@gmail.com","name":"scotthovestadt"},{"email":"sbekkhus91@gmail.com","name":"simenb"}],"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_26.1.0_1592925324654_0.28317980436263857"},"_hasShrinkwrap":false},"26.2.0":{"name":"jest-diff","version":"26.2.0","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"build/index.js","types":"build/index.d.ts","dependencies":{"chalk":"^4.0.0","diff-sequences":"^26.0.0","jest-get-type":"^26.0.0","pretty-format":"^26.2.0"},"devDependencies":{"@jest/test-utils":"^26.0.0","strip-ansi":"^6.0.0"},"engines":{"node":">= 10.14.2"},"publishConfig":{"access":"public"},"gitHead":"4a716811a309dae135b780a87dc1647b285800eb","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@26.2.0","_nodeVersion":"12.18.1","_npmVersion":"lerna/3.20.2/node@v12.18.1+x64 (darwin)","dist":{"integrity":"sha512-Wu4Aopi2nzCsHWLBlD48TgRy3Z7OsxlwvHNd1YSnHc7q1NJfrmyCPoUXrTIrydQOG5ApaYpsAsdfnMbJqV1/wQ==","shasum":"dee62c771adbb23ae585f3f1bd289a6e8ef4f298","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-26.2.0.tgz","fileCount":23,"unpackedSize":85460,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfIpznCRA9TVsSAnZWagAAKuMP/jlsAw4AGJoNkCQXcA1m\nv1OOOt1Z5tkvP9NwQxmw9YIzlNo98EHoCa4tHFIOkC23OAJuWF5FQSKXK9kz\n6UapLHoVo8bx19ix3e0Qwgt/5vzX/Kx98MjlMmLRsC/hj9VWMkuLki2sqKqA\nK9J8yu6sN+Nj2Hccdn6ue8g6jX4f8G08yh+fl+mItEaiAJ3usnlyaZsBA0UR\nYjuD2GZuQtTeIAR0ShJToze/Oe2wF+62RPNYIWiwtX7GS2EzOJKddKNZZ+EN\nUz8S1Zm3KphMAfxvIUHffRrxhSbFBJuTNo2/0h9nDeDXtQEoUB9OuNwgjx39\na9zyGPEnTQNVX5BYb838vl1Ptln61J+TW8Xhdxr75Lsz3IdTn6z9uajOaQ+a\nbsFnph0k39gJ4nTC8yRk+TPWIoOMJnu1r+Cs4OIwPXrY2HRGAUmlM1sLHNQO\naLuSjCvzk5LISCp+Ma0SjOJEp0wGSKaywrK5Zmv2dfsqP2uap+vAfULgBtWo\n0Rl6YjXnERaJZQYEqoX0tI93+djMvyHhBG9DqW22J0Vl/XKuZSNu8IjTRY6/\nqDsEeAciDqhUX7WzNpa+rG7td7gSVteecQ/MEOQIedYnSiudG0BkzCl/iJbb\nWcW4qX+wLyRzXj2x4HyzEb7/IqC/Eo6hnt6FXHNoXI6KxO+kBWO5IP1mbzJU\np8NY\r\n=4adv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDNEZnU+GzOFcuyLSpQo0BnwKdILy5lDa67FMoOiFbXpAiEAzryL+bhAIit2umE9b2P4ZPQlM6XXNR6B4qUWRkLkqlQ="}]},"maintainers":[{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"davidzilburg@gmail.com","name":"davidzilburg"},{"email":"opensource+npm@fb.com","name":"fb"},{"email":"rubennorte@gmail.com","name":"rubennorte"},{"email":"scott.hovestadt@gmail.com","name":"scotthovestadt"},{"email":"sbekkhus91@gmail.com","name":"simenb"}],"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_26.2.0_1596103910730_0.29571426223445685"},"_hasShrinkwrap":false},"26.3.0":{"name":"jest-diff","version":"26.3.0","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"build/index.js","types":"build/index.d.ts","dependencies":{"chalk":"^4.0.0","diff-sequences":"^26.3.0","jest-get-type":"^26.3.0","pretty-format":"^26.3.0"},"devDependencies":{"@jest/test-utils":"^26.3.0","strip-ansi":"^6.0.0"},"engines":{"node":">= 10.14.2"},"publishConfig":{"access":"public"},"gitHead":"3a7e06fe855515a848241bb06a6f6e117847443d","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@26.3.0","_nodeVersion":"12.18.1","_npmVersion":"lerna/3.22.1/node@v12.18.1+x64 (darwin)","dist":{"integrity":"sha512-q5OZAtnr5CbHzrhjANzc3wvROk7+rcjCUI5uqM4cjOjtscNKfbJKBs3YhsWWhsdsIZzI3gc6wOpm49r6S61beg==","shasum":"485eea87b7003d34628c960c6c625ffe4de8ab04","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-26.3.0.tgz","fileCount":23,"unpackedSize":85456,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfMTAsCRA9TVsSAnZWagAA6oQP/Amltemzy1NKwsjpwhqJ\nBxDBLcYsbb5wGurFXpSiFU+ovrgNudzzFSXQAJsO4qJEXg2PhVKwFEVf6jXg\n2LRcwJBuSa8ILLJwNZhOiyKn9pqGB5b8sdW58IW8H4Mm/rc2whWK1RFP5jZ5\nMrKrJSTIDdvuYp+40j/UU4ABkeq2t5kn16ERoGB680c8PEpmLfcZ9BkFLTsH\nCrb1TNceBeNAO5xBYV13n1QpW0aXbr/OWylZRNWN6ib8BTqmPgdK4NjUFtn0\ngFUX/mwjdKBkNHEU+KIbhPEHJHR8IzGI1StZ1h1xRn+2+gkT5AyUmTU6OXS+\neAIPNFMthzSZqrHoFqe8azw5y1C8XRK91EfeMHopR+5MyULOdM4wcnr6nCEm\nAWQHpSF+u558ngMqCtQmGrCN4iUpCm9NIQWBLOQ+7V88xL2nPeLFg7zF9iOe\nxhN529oTsMhiDfoFcrCTva8HUa929pHhvC75BmcTmrD4h8lolOonZMRQWlx4\n0SHIozvjRBQtNtuvi7Z+K9FJVy27w63fpylU4GLusAg4r98ui7gtev7owTZs\nyYlH5Q00vL78z990n9R9JWjGISb/DQWkx0U3Dara34CjkMYD1qihRzxdWS6j\ny6P7pZgIj1Seyq3mVR3Jcw66VGs4l2BHx+KzwCRCIkwAapUMjJOTaaGqCkf4\niF2L\r\n=5JBR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICOMm/bUXAbIzAvECvIJSlAMPZbLjHOPDB05IBxTKfANAiEA0BuVy+vOP84fmwb4I/DH/Pjvfb/ARZNFjoX1hM6wVlA="}]},"maintainers":[{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"davidzilburg@gmail.com","name":"davidzilburg"},{"email":"opensource+npm@fb.com","name":"fb"},{"email":"rubennorte@gmail.com","name":"rubennorte"},{"email":"scott.hovestadt@gmail.com","name":"scotthovestadt"},{"email":"sbekkhus91@gmail.com","name":"simenb"}],"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_26.3.0_1597059115801_0.7268552246640263"},"_hasShrinkwrap":false},"26.4.0":{"name":"jest-diff","version":"26.4.0","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"build/index.js","types":"build/index.d.ts","dependencies":{"chalk":"^4.0.0","diff-sequences":"^26.3.0","jest-get-type":"^26.3.0","pretty-format":"^26.4.0"},"devDependencies":{"@jest/test-utils":"^26.3.0","strip-ansi":"^6.0.0"},"engines":{"node":">= 10.14.2"},"publishConfig":{"access":"public"},"gitHead":"0b1e41d1d93ce4d15646f4a39fd5a7ffae5f43c3","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@26.4.0","_nodeVersion":"12.18.1","_npmVersion":"lerna/3.22.1/node@v12.18.1+x64 (darwin)","dist":{"integrity":"sha512-wwC38HlOW+iTq6j5tkj/ZamHn6/nrdcEOc/fKaVILNtN2NLWGdkfRaHWwfNYr5ehaLvuoG2LfCZIcWByVj0gjg==","shasum":"d073a0a11952b5bd9f1ff39bb9ad24304a0c55f7","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-26.4.0.tgz","fileCount":23,"unpackedSize":85456,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfNFhnCRA9TVsSAnZWagAAJFwP/j8C53F1erjZtNTjJ2QE\nbhpusaM1XJ8Ufc77wI+OrhyC/JNZ4k+gOeO6Cuygj3GeAbexb9rUQ+Tk7ikg\n2NHj+ixXRGKCRSWn/GngDhpSU5mliauGhyhyseeoi/70VPn9bFb0oLlZvjhS\nPtsjlFLSbUYrYBbd04keGNJqxdPOhWaj+wL7ZHpAWeGDjwHDm4gCLjuhkjzZ\nadxqIFyN0vwC8q/rufcvECYdzyF3iuY3z76O/RVZa83+2YHWDe/REkBxuR1+\nZuFmsoKJ3/huJimmPSotHoZmYTrGdeL898ZpJwLY5FHObtDjA0UNvcVYdeUE\nbVdSN5Pip31YdeqfTXbTUyOci32ydDMA4M2AFoCHyvRojNC0JeOA2RnREJ2q\nTod92nNmbY5TtXmB51RHf6+7dPaNWXwSUxk/y6rmKFKVC76XOY6nKytoIE4X\nspXJ8W+uANAffVb15MfUA5LLgH2478uz73b8YBOZz2/+OSR2PsIP1VnrkSMD\nwihk+axjAmctg1+goZ4fD3WRidEYQC+m8Dbv+XfOD1iZL0u92DIBaw0t6erw\nPELymGVRsxPbbz4cddcrRvZptx6DID6nvnfOyR/x6lxRmLETkmJ0igxu/muZ\nFBoGXyKKR5xelwQEeWLPhK4Ni01TQdAEeMhuuBv0BJAEehIkbo3pAGrpSkSt\n/Yj5\r\n=CVpZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBjXsKELDolmg2OPsmqyklMoYLHtF9twMc6O6Ykcijr5AiB+J551cGOf4wMZZRrgcZ/zr2T/WWbBjiCHb89WHRHE2g=="}]},"maintainers":[{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"davidzilburg@gmail.com","name":"davidzilburg"},{"email":"opensource+npm@fb.com","name":"fb"},{"email":"rubennorte@gmail.com","name":"rubennorte"},{"email":"scott.hovestadt@gmail.com","name":"scotthovestadt"},{"email":"sbekkhus91@gmail.com","name":"simenb"}],"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_26.4.0_1597266022780_0.10171898449600802"},"_hasShrinkwrap":false},"26.4.2":{"name":"jest-diff","version":"26.4.2","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"build/index.js","types":"build/index.d.ts","dependencies":{"chalk":"^4.0.0","diff-sequences":"^26.3.0","jest-get-type":"^26.3.0","pretty-format":"^26.4.2"},"devDependencies":{"@jest/test-utils":"^26.3.0","strip-ansi":"^6.0.0"},"engines":{"node":">= 10.14.2"},"publishConfig":{"access":"public"},"gitHead":"2586a798260886c28b6d28256cdfe354e039d5d1","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@26.4.2","_nodeVersion":"12.18.1","_npmVersion":"lerna/3.22.1/node@v12.18.1+x64 (darwin)","dist":{"integrity":"sha512-6T1XQY8U28WH0Z5rGpQ+VqZSZz8EN8rZcBtfvXaOkbwxIEeRre6qnuZQlbY1AJ4MKDxQF8EkrCvK+hL/VkyYLQ==","shasum":"a1b7b303bcc534aabdb3bd4a7caf594ac059f5aa","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-26.4.2.tgz","fileCount":23,"unpackedSize":85456,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfQQsZCRA9TVsSAnZWagAAXpAP/iy0ZXjOeILxxGNzwWHX\nUNaypyFTqbaS6q1zeQj81l3CpMmV1FawjZJtD+02Z0mIuM/Y5+CDz74Xzr7O\neT6bLMVt2VPLoLFX1NlBUBPpi5nJ4WKS6s/WjMki4XoMelDSMIpdp51oPJ2R\n1sEesI/6PsRAKqwXMGbKjQIV3db/rk38KdmfSFNToAPS9tHU/F6ECAS42Qft\neaEHgWCNctDSdNYM0cYvHiZK19FdQHXwhkMHEe28OdUfD9aMseWFS43OnhqU\nla318ryDO4DVCmlRgiFZ4w2eTHk9kPNwh3eZ2AcH46Qz4gC6+GtTwSlpHTie\nW4xqMOOaYN7Cs7/vVJcSXYVFJwbeld/6cpmnz7V2ElsgULd7v94iCzFGR/QW\nn6HmesFlngQZarGHBxxGijywq1ZKvLQAEmDU2nQ1HKDKpOo8hfuLwdMC6/Jc\ndnvLebXCD7Fa5z19aYfBkP0LGqjPVzf4Oxg+6RvahOh8asJPqJoPYcRoYTPe\nPL+66kwluapsvPeC6myEYZ32RmEqVxkmanI7d6rLiSQSP4kZtA+VU3Jfp66e\n6btNWNC7Gab1AjWfSzeyJzVYewjiYfiigvVvTWIDxaswhdt3C1po6Ta5uxi4\nSsGzMBbF/RGnhEtJ7lWvAXwhDqKZhD5dGljfcZ9LHVLa3XGV0gs8wHqOl4mr\nXSQ8\r\n=YI3g\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHbkv+OQlH3zbZSmne7oiMYRLoQ17/r3ROB6Zmd1EAtaAiEA14CnPwNaxi4OaAnBL63Lab5NvpysAvkBCUjcgxqI7ss="}]},"maintainers":[{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"davidzilburg@gmail.com","name":"davidzilburg"},{"email":"opensource+npm@fb.com","name":"fb"},{"email":"rubennorte@gmail.com","name":"rubennorte"},{"email":"scott.hovestadt@gmail.com","name":"scotthovestadt"},{"email":"sbekkhus91@gmail.com","name":"simenb"}],"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_26.4.2_1598098200773_0.1461454389665573"},"_hasShrinkwrap":false},"26.5.0":{"name":"jest-diff","version":"26.5.0","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"build/index.js","types":"build/index.d.ts","dependencies":{"chalk":"^4.0.0","diff-sequences":"^26.5.0","jest-get-type":"^26.3.0","pretty-format":"^26.5.0"},"devDependencies":{"@jest/test-utils":"^26.5.0","strip-ansi":"^6.0.0"},"engines":{"node":">= 10.14.2"},"publishConfig":{"access":"public"},"gitHead":"68d1b1b638bc7464c2794a957c1b894de7da2ee3","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@26.5.0","_nodeVersion":"12.18.1","_npmVersion":"lerna/3.22.1/node@v12.18.1+x64 (darwin)","dist":{"integrity":"sha512-CmDMMPkVMxrrh0Dv/4M9kh1tsYsZnYTQMMTvIFpePBSk9wMVfcyfg30TCq+oR9AzGbw8vsI50Gk1HmlMMlhoJg==","shasum":"bd01cef2d00b2668a0207ef47ab8eb1e33613253","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-26.5.0.tgz","fileCount":23,"unpackedSize":85456,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfeuc1CRA9TVsSAnZWagAAxS8QAIVA8UsKr3D2t/X1x20i\nH61iSsVWv55p8PMGuo0ixHrMqvjDLsJAf4RIDUPcWP6XlW1iLKR4bm0m7ldw\naVGdIILOsQesU5Z27AbO9hB5s4WZtIpfamkBIQiH9ozq8jsEBkRBXKmDqBrG\nYbCnKIR4jmX0k0B1iEdcUbOtaPPnno0B39ExQnDTKwHjbAPHYHu85mn4bcpF\n6s2+Jx9DHxzzazSbyadnW4P6V1DcueSuW5pUHtc8gDsWQszRT8N/BxeJ9am4\nlHej6cjmNBLVo8Uqp/Uq0wR+25EEZy5n/5IpFFPuJoZURXfabpocyBpCyyVc\n19c2Z5TX28fyIdQQZyLjBfaIyKCH8gUjIUflpa4ubvSvFyEYQIcE/2FShWZo\nIRfZuvNYDPfEiL6n2+d0iSXgjVYv7xSG/POsDm9MhLrOUOTQ07MyMTQyqsRv\nXIKuKecVR8f0dqXBSAfjoiUEedHdA1/AL1XV6AwW6YyhmmefA2pMyg9zdFEk\nkz/8ojARRXs4xz+qNd/RSmerDmbFwVd4i6/Sa0UA5ZnR46JOZGXC7APT/NKR\nBO7EuAkky9UNZNKp5QCcr3FI2JaKz7Cvgb0V21qYs0e/T7v/cPD9HBYzGK1V\n1WtVWh1v6J1joNr28KRB92rxKhigqj3NSlVUbrN2XItpZOaWH0JQUr3waOFe\np3WG\r\n=Vdba\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCXHq/AcG+7HCPK0kJpZTbSftFi+UcMWTcIebSv4txDdAIgWu5PkOxoQzWRU3BgMVpO3LAifZbeDyjyk9pO5WEjQzc="}]},"maintainers":[{"name":"scotthovestadt","email":"scott.hovestadt@gmail.com"},{"name":"rubennorte","email":"rubennorte@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"cpojer","email":"christoph.pojer@gmail.com"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"aaronabramov","email":"aaron@abramov.io"},{"name":"davidzilburg","email":"davidzilburg@gmail.com"}],"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_26.5.0_1601890101072_0.2790384906819141"},"_hasShrinkwrap":false},"26.5.2":{"name":"jest-diff","version":"26.5.2","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"build/index.js","types":"build/index.d.ts","dependencies":{"chalk":"^4.0.0","diff-sequences":"^26.5.0","jest-get-type":"^26.3.0","pretty-format":"^26.5.2"},"devDependencies":{"@jest/test-utils":"^26.5.0","strip-ansi":"^6.0.0"},"engines":{"node":">= 10.14.2"},"publishConfig":{"access":"public"},"gitHead":"d2bacceb51e7f05c9cb6d764d5cd886a2fd71267","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@26.5.2","_nodeVersion":"12.18.1","_npmVersion":"lerna/3.22.1/node@v12.18.1+x64 (darwin)","dist":{"integrity":"sha512-HCSWDUGwsov5oTlGzrRM+UPJI/Dpqi9jzeV0fdRNi3Ch5bnoXhnyJMmVg2juv9081zLIy3HGPI5mcuGgXM2xRA==","shasum":"8e26cb32dc598e8b8a1b9deff55316f8313c8053","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-26.5.2.tgz","fileCount":23,"unpackedSize":85456,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJffEyHCRA9TVsSAnZWagAA084P/Arfp69wOXUb0ulHa/iq\n4nFWRGZs0WQpMDXoEdRkIro3cRND3LmDqd9Fvr0jilv/EAHqyTMnhsmiFI3n\ndoCf8h6N7rPf115IohFWFwprkZnKxDlriVWRysgh8DCtXorVg/ex9dJEPhSP\nP7XvhAUcgvx9egg+QS5tagCAn/5MHHbYY1rDi4KYmICCyCFDiJsz/K/JIXq1\nj/U6OsGvZLnCuzVKLCB1a90ePP9i6vkpaQctEVUC/CFdvIv/N9QE88nWyXci\n5OB6GH3wg7Nmjyz149yHaB2DWS0RhIOetX9V3qQLc/R/L/NbPi25Ix3Eq16L\nYPDmdftIl8xuOWhiy3GdJJGsqj2iXD5ASRKqu0uPzwk4Nvpv9kYAXq3LGiW1\n4vDXfLNtQLYMfcM2gEISOEIlXY0ZsA85A41+CEqO+cOQL9vZ1T04qGj5Wp1/\ndjrWFX5GxBHKM1LUpupXzZfGbjZwGwcala6MeN8QMN2s6vybVVCkgSdCylRj\nihGMYbxKMvL1pFo1qTNpxAF81+3dvKadfqxCfqbrQPFq+g9ACsnbDkAGRTIA\nqSx+z89pcvRc629w1Ew9gF0ur9L7i8x0c8JA6zIn5vz3iaf72vsxPWheG+l4\nOnwT+SH5AMyt9jybU3H2/cGs+ali/Dtm5qF8OPL43kwxsxn6P90oxOFrgoOc\nWhFa\r\n=e0ct\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDjiMFyT8CafAjh4CmJb47fJeRDSCIeA1LL0LSUy25NtAiB1jM5ggrJCAisks38Ve8cmAVUCLZEHupUmyGYtaA9AEA=="}]},"maintainers":[{"name":"scotthovestadt","email":"scott.hovestadt@gmail.com"},{"name":"rubennorte","email":"rubennorte@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"cpojer","email":"christoph.pojer@gmail.com"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"aaronabramov","email":"aaron@abramov.io"},{"name":"davidzilburg","email":"davidzilburg@gmail.com"}],"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_26.5.2_1601981575338_0.8305364151767962"},"_hasShrinkwrap":false},"26.6.0":{"name":"jest-diff","version":"26.6.0","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"build/index.js","types":"build/index.d.ts","dependencies":{"chalk":"^4.0.0","diff-sequences":"^26.5.0","jest-get-type":"^26.3.0","pretty-format":"^26.6.0"},"devDependencies":{"@jest/test-utils":"^26.5.0","strip-ansi":"^6.0.0"},"engines":{"node":">= 10.14.2"},"publishConfig":{"access":"public"},"gitHead":"b254fd82fdedcba200e1c7eddeaab83a09bdaaef","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@26.6.0","_nodeVersion":"12.19.0","_npmVersion":"lerna/3.22.1/node@v12.19.0+x64 (darwin)","dist":{"integrity":"sha512-IH09rKsdWY8YEY7ii2BHlSq59oXyF2pK3GoK+hOK9eD/x6009eNB5Jv1shLMKgxekodPzLlV7eZP1jPFQYds8w==","shasum":"5e5bbbaf93ec5017fae2b3ef12fc895e29988379","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-26.6.0.tgz","fileCount":23,"unpackedSize":85456,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfjX90CRA9TVsSAnZWagAATocP/06MC3acZbrikSRzoG+m\navpZvN8+II/R4ytRdCnXY+glEz63qKxCUcYd/tNo9F/sJbJsTxyQPH/7o3Ea\nZ0r144ar+9ZGlxf/DpskS/ATuIbcQKoasHRjSNr25Wm/jY9tOM7DtMBDvQL5\nA9vk+m3d/3+Y1WNNbnf2xP8GZi2DN/lf57GQ+0AHvuj770fjOz6L4aBARGy/\nK/d2JrhKyh5pMfPZ7YUyY4s4on05xwvVQgxW4sG1HfojF1cM0TOGtzB2qP9l\n0VY9wXx0KOT37O1/Sj25fPSZxk0zQK1DYnM9ID90nLwUC/0dL0ZjzaorYI5+\nSTpVhlNU6JmB3XU2pUQH75fkUsAX/mEBVL+60CJkgn0HZaPTcajVgx3NPFhM\n8iYV5yeQ7/ZUiwi1Lyy0XgSZdKaoZMzn69SYjATDNCG/VJNgpgjztAm8hbzT\nGPu/nW7LAWd9vvKmi3TOzMT6ZIpzseUFVNezLIS/mZeTBNZSNR+Q3We86hw0\nlk7u636bTzcuDdYBBOAShnZMggQU+OFPr3gN9E+buwGNkXCECN1/8JyQ3nfO\nxZMUax5vCL5N6R+PpLPrYY/oix/yNOJL4MIfFIx+TG/JPZK0gxYcq44imTA+\noa86HexBe32BsFR05ItLdZwpivc5xBk89aRJ4PoMm1lFwqde/wMoHupNPnT7\ndzkZ\r\n=7vgH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC4F9GlKNYA/PjLyHK/a8nzIKCTbzmDCZVhiIfGIarhuAiEA5E38pPX/kgqHtw0wbkMb4zPNmkNwPPjbSrfRvG1ctEQ="}]},"maintainers":[{"name":"scotthovestadt","email":"scott.hovestadt@gmail.com"},{"name":"rubennorte","email":"rubennorte@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"cpojer","email":"christoph.pojer@gmail.com"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"aaronabramov","email":"aaron@abramov.io"},{"name":"davidzilburg","email":"davidzilburg@gmail.com"}],"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_26.6.0_1603108723731_0.35693880879228823"},"_hasShrinkwrap":false},"26.6.1":{"name":"jest-diff","version":"26.6.1","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"build/index.js","types":"build/index.d.ts","dependencies":{"chalk":"^4.0.0","diff-sequences":"^26.5.0","jest-get-type":"^26.3.0","pretty-format":"^26.6.1"},"devDependencies":{"@jest/test-utils":"^26.5.0","strip-ansi":"^6.0.0"},"engines":{"node":">= 10.14.2"},"publishConfig":{"access":"public"},"gitHead":"f6366db60e32f1763e612288bf3984bcfa7a0a15","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@26.6.1","_nodeVersion":"12.19.0","_npmVersion":"lerna/3.22.1/node@v12.19.0+x64 (darwin)","dist":{"integrity":"sha512-BBNy/zin2m4kG5In126O8chOBxLLS/XMTuuM2+YhgyHk87ewPzKTuTJcqj3lOWOi03NNgrl+DkMeV/exdvG9gg==","shasum":"38aa194979f454619bb39bdee299fb64ede5300c","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-26.6.1.tgz","fileCount":23,"unpackedSize":85456,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfkp0QCRA9TVsSAnZWagAATTcP/RjoPUrquR5F/81y/fnt\nzT0Zc7lpUSzczN5P2nm2PYID3NET3Y9v0231rOEYDjupgwyuEUk4+uDJdrt/\nZsSzLOjJC1ZrjqdPFNCzddIe4iG3PVrHvkvFaAh8WORtLVgHi2K9YEFEJ6bl\n9l5yNCj0YEGp071PsrFejbiodluUdppCht6aUOjp9Vpbgq59Al8D++n/beYc\nSmaNrP1VfqBh773LY8VOyhg9zwnSJr0KQtnsTeAw9TyIVZUbqILkGWJvj909\npIrKLk4PlXEKLgmBKqsOO89HrjozSNJ+EviB0EBljQTlTS6WTdEH3Rydnrqo\nyyWAOC48TxLKPy/Sk1N98cwlNz46lDCpURz/xT6YmkZmpK1qJ+b9xiHuxoCa\nHN9JWBQMhgcprN54qB91lu1G3CYTp7UCDKXmczYDyZ/zhBOfb3gwfthNfefJ\nncA3L+Nri0xQJpsV99uYqIIQ6LKi1eDgSUyy6XrgY0K3ltH1U3SZgeuZ19Vu\nmL9aDgPsnyqsraro2oWP0HQMeoqGyEgr50s+1/3OoKTQJfWTvk7bHn0uUs6t\nggTPqqNh65mgE8BVaLpeC/mNSddD/Jbz6cmwta5yKB7wGJpW65pS/23dThma\n03VolBd1l3duyaQnEOe3pAKqeTkZdq9o2UaLketeYVB5dFv7ClnuJkJxKjTz\nCySB\r\n=umZn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCU/TK0U5VtoBjj1CfrCcJurGcoA3LQVDp3J+6to1QYMwIhAJSs0+ImKnIUSVr4knt9cYSMl+cYduu8hqmhqG726qQr"}]},"maintainers":[{"name":"scotthovestadt","email":"scott.hovestadt@gmail.com"},{"name":"rubennorte","email":"rubennorte@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"cpojer","email":"christoph.pojer@gmail.com"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"aaronabramov","email":"aaron@abramov.io"},{"name":"davidzilburg","email":"davidzilburg@gmail.com"}],"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_26.6.1_1603443983980_0.08914144289878956"},"_hasShrinkwrap":false},"26.6.2":{"name":"jest-diff","version":"26.6.2","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"build/index.js","types":"build/index.d.ts","dependencies":{"chalk":"^4.0.0","diff-sequences":"^26.6.2","jest-get-type":"^26.3.0","pretty-format":"^26.6.2"},"devDependencies":{"@jest/test-utils":"^26.6.2","strip-ansi":"^6.0.0"},"engines":{"node":">= 10.14.2"},"publishConfig":{"access":"public"},"gitHead":"4c46930615602cbf983fb7e8e82884c282a624d5","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@26.6.2","_nodeVersion":"14.15.0","_npmVersion":"lerna/3.22.1/node@v14.15.0+x64 (darwin)","dist":{"integrity":"sha512-6m+9Z3Gv9wN0WFVasqjCL/06+EFCMTqDEUl/b87HYK2rAPTyfz4ZIuSlPhY51PIQRWx5TaxeF1qmXKe9gfN3sA==","shasum":"1aa7468b52c3a68d7d5c5fdcdfcd5e49bd164394","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-26.6.2.tgz","fileCount":23,"unpackedSize":85456,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfoADZCRA9TVsSAnZWagAAMzkP/RriHilhADSkXcg/HECR\nP272kpHP7CsDG+VLuwyw6Cn7uhSHEXxuzv00sMCuR1qjMNaOdKjLManGvKWn\nHmR2T6Mn9fHWMm9VUYHeVijtpzteaHXqikQIZjTIZ2WUpXtktmgyK4ezCD99\nPCoT2aqzsQkITA+xNP7s0cYRBOYAtTeXvmTWJhEcnyenWDCq9cn1+NxvYdqZ\nHbcU/5HoSDGW4hZ9uIUS14TCf5IKXtblL3ZHV8rxIFEwmbxlkJy+Fro8IkSL\njvdBnE/8cQzJnUvgcKYcCyRALSrPdiHSb1jwDc1OOZ5+6vULKUvLufqJ0ju0\njxSa2BC5o72EUEWMCLLfmncQYwS9JipRtgDLMt0YOlTSF+x3/z3VLpDlNTrm\ny8kt7Z2qd1iJ9JTWZbSyPIIOULQd0Ff9XP8dTyIJNZp3+ZpCpJosQWGMAy3n\nhSpV0SHOSTfFWt2uD3Nwte6XF9daUAlu/ZMDOEqKc1JK5xvwK3cR4zmjvefn\namqAdf1C7eXwxQcEZOa6ieDcLrKt7ohN2FPLBd6givnyY1UDPKqS7VourLS6\ncB9l9QeyRA9PizRkT7ss8iIneDydjnluvbSw/0he07QBJvmnG5Tucg59xJjk\nMrkFs4tEe1y+pjKOaNneUduHJhCk3WE2JilKwXxydIrjclyAYczTWuyhX/pV\nkmg6\r\n=GFBo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFu3/vc6uWS2azS0stVxDY4FZy3fSzGYt4GqZE3SVc9vAiEAy4vY1TX579ylumHIkXgOuqnPArh9+9usFD637EqwvJo="}]},"maintainers":[{"name":"scotthovestadt","email":"scott.hovestadt@gmail.com"},{"name":"rubennorte","email":"rubennorte@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"cpojer","email":"christoph.pojer@gmail.com"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"aaronabramov","email":"aaron@abramov.io"},{"name":"davidzilburg","email":"davidzilburg@gmail.com"}],"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_26.6.2_1604321497333_0.814126634686209"},"_hasShrinkwrap":false},"27.0.0-next.0":{"name":"jest-diff","version":"27.0.0-next.0","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"./build/index.js","types":"./build/index.d.ts","exports":{".":"./build/index.js","./package.json":"./package.json"},"dependencies":{"chalk":"^4.0.0","diff-sequences":"^27.0.0-next.0","jest-get-type":"^27.0.0-next.0","pretty-format":"^27.0.0-next.0"},"devDependencies":{"@jest/test-utils":"^27.0.0-next.0","strip-ansi":"^6.0.0"},"engines":{"node":"^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0"},"publishConfig":{"access":"public"},"gitHead":"4f77c70602cab8419794f10fa39510f13baafef8","readme":"# jest-diff\n\nDisplay differences clearly so people can review changes confidently.\n\nThe default export serializes JavaScript **values**, compares them line-by-line, and returns a string which includes comparison lines.\n\nTwo named exports compare **strings** character-by-character:\n\n- `diffStringsUnified` returns a string.\n- `diffStringsRaw` returns an array of `Diff` objects.\n\nThree named exports compare **arrays of strings** line-by-line:\n\n- `diffLinesUnified` and `diffLinesUnified2` return a string.\n- `diffLinesRaw` returns an array of `Diff` objects.\n\n## Installation\n\nTo add this package as a dependency of a project, run either of the following commands:\n\n- `npm install jest-diff`\n- `yarn add jest-diff`\n\n## Usage of default export\n\nGiven JavaScript **values**, `diffDefault(a, b, options?)` does the following:\n\n1. **serialize** the values as strings using the `pretty-format` package\n2. **compare** the strings line-by-line using the `diff-sequences` package\n3. **format** the changed or common lines using the `chalk` package\n\nTo use this function, write either of the following:\n\n- `const diffDefault = require('jest-diff').default;` in CommonJS modules\n- `import diffDefault from 'jest-diff';` in ECMAScript modules\n\n### Example of default export\n\n```js\nconst a = ['delete', 'common', 'changed from'];\nconst b = ['common', 'changed to', 'insert'];\n\nconst difference = diffDefault(a, b);\n```\n\nThe returned **string** consists of:\n\n- annotation lines: describe the two change indicators with labels, and a blank line\n- comparison lines: similar to “unified” view on GitHub, but `Expected` lines are green, `Received` lines are red, and common lines are dim (by default, see Options)\n\n```diff\n- Expected\n+ Received\n\n  Array [\n-   \"delete\",\n    \"common\",\n-   \"changed from\",\n+   \"changed to\",\n+   \"insert\",\n  ]\n```\n\n### Edge cases of default export\n\nHere are edge cases for the return value:\n\n- `' Comparing two different types of values. …'` if the arguments have **different types** according to the `jest-get-type` package (instances of different classes have the same `'object'` type)\n- `'Compared values have no visual difference.'` if the arguments have either **referential identity** according to `Object.is` method or **same serialization** according to the `pretty-format` package\n- `null` if either argument is a so-called **asymmetric matcher** in Jasmine or Jest\n\n## Usage of diffStringsUnified\n\nGiven **strings**, `diffStringsUnified(a, b, options?)` does the following:\n\n1. **compare** the strings character-by-character using the `diff-sequences` package\n2. **clean up** small (often coincidental) common substrings, also known as chaff\n3. **format** the changed or common lines using the `chalk` package\n\nAlthough the function is mainly for **multiline** strings, it compares any strings.\n\nWrite either of the following:\n\n- `const {diffStringsUnified} = require('jest-diff');` in CommonJS modules\n- `import {diffStringsUnified} from 'jest-diff';` in ECMAScript modules\n\n### Example of diffStringsUnified\n\n```js\nconst a = 'common\\nchanged from';\nconst b = 'common\\nchanged to';\n\nconst difference = diffStringsUnified(a, b);\n```\n\nThe returned **string** consists of:\n\n- annotation lines: describe the two change indicators with labels, and a blank line\n- comparison lines: similar to “unified” view on GitHub, and **changed substrings** have **inverse** foreground and background colors (that is, `from` has white-on-green and `to` has white-on-red, which the following example does not show)\n\n```diff\n- Expected\n+ Received\n\n  common\n- changed from\n+ changed to\n```\n\n### Performance of diffStringsUnified\n\nTo get the benefit of **changed substrings** within the comparison lines, a character-by-character comparison has a higher computational cost (in time and space) than a line-by-line comparison.\n\nIf the input strings can have **arbitrary length**, we recommend that the calling code set a limit, beyond which splits the strings, and then calls `diffLinesUnified` instead. For example, Jest falls back to line-by-line comparison if either string has length greater than 20K characters.\n\n## Usage of diffLinesUnified\n\nGiven **arrays of strings**, `diffLinesUnified(aLines, bLines, options?)` does the following:\n\n1. **compare** the arrays line-by-line using the `diff-sequences` package\n2. **format** the changed or common lines using the `chalk` package\n\nYou might call this function when strings have been split into lines and you do not need to see changed substrings within lines.\n\n### Example of diffLinesUnified\n\n```js\nconst aLines = ['delete', 'common', 'changed from'];\nconst bLines = ['common', 'changed to', 'insert'];\n\nconst difference = diffLinesUnified(aLines, bLines);\n```\n\n```diff\n- Expected\n+ Received\n\n- delete\n  common\n- changed from\n+ changed to\n+ insert\n```\n\n### Edge cases of diffLinesUnified or diffStringsUnified\n\nHere are edge cases for arguments and return values:\n\n- both `a` and `b` are empty strings: no comparison lines\n- only `a` is empty string: all comparison lines have `bColor` and `bIndicator` (see Options)\n- only `b` is empty string: all comparison lines have `aColor` and `aIndicator` (see Options)\n- `a` and `b` are equal non-empty strings: all comparison lines have `commonColor` and `commonIndicator` (see Options)\n\n## Usage of diffLinesUnified2\n\nGiven two **pairs** of arrays of strings, `diffLinesUnified2(aLinesDisplay, bLinesDisplay, aLinesCompare, bLinesCompare, options?)` does the following:\n\n1. **compare** the pair of `Compare` arrays line-by-line using the `diff-sequences` package\n2. **format** the corresponding lines in the pair of `Display` arrays using the `chalk` package\n\nJest calls this function to consider lines as common instead of changed if the only difference is indentation.\n\nYou might call this function for case insensitive or Unicode equivalence comparison of lines.\n\n### Example of diffLinesUnified2\n\n```js\nimport {format} from 'pretty-format';\n\nconst a = {\n  text: 'Ignore indentation in serialized object',\n  time: '2019-09-19T12:34:56.000Z',\n  type: 'CREATE_ITEM',\n};\nconst b = {\n  payload: {\n    text: 'Ignore indentation in serialized object',\n    time: '2019-09-19T12:34:56.000Z',\n  },\n  type: 'CREATE_ITEM',\n};\n\nconst difference = diffLinesUnified2(\n  // serialize with indentation to display lines\n  format(a).split('\\n'),\n  format(b).split('\\n'),\n  // serialize without indentation to compare lines\n  format(a, {indent: 0}).split('\\n'),\n  format(b, {indent: 0}).split('\\n'),\n);\n```\n\nThe `text` and `time` properties are common, because their only difference is indentation:\n\n```diff\n- Expected\n+ Received\n\n  Object {\n+   payload: Object {\n      text: 'Ignore indentation in serialized object',\n      time: '2019-09-19T12:34:56.000Z',\n+   },\n    type: 'CREATE_ITEM',\n  }\n```\n\nThe preceding example illustrates why (at least for indentation) it seems more intuitive that the function returns the common line from the `bLinesDisplay` array instead of from the `aLinesDisplay` array.\n\n## Usage of diffStringsRaw\n\nGiven **strings** and a boolean option, `diffStringsRaw(a, b, cleanup)` does the following:\n\n1. **compare** the strings character-by-character using the `diff-sequences` package\n2. optionally **clean up** small (often coincidental) common substrings, also known as chaff\n\nBecause `diffStringsRaw` returns the difference as **data** instead of a string, you can format it as your application requires (for example, enclosed in HTML markup for browser instead of escape sequences for console).\n\nThe returned **array** describes substrings as instances of the `Diff` class, which calling code can access like array tuples:\n\nThe value at index `0` is one of the following:\n\n| value | named export  | description           |\n| ----: | :------------ | :-------------------- |\n|   `0` | `DIFF_EQUAL`  | in `a` and in `b`     |\n|  `-1` | `DIFF_DELETE` | in `a` but not in `b` |\n|   `1` | `DIFF_INSERT` | in `b` but not in `a` |\n\nThe value at index `1` is a substring of `a` or `b` or both.\n\n### Example of diffStringsRaw with cleanup\n\n```js\nconst diffs = diffStringsRaw('changed from', 'changed to', true);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `0` | `'changed '`  |\n| `1` |          `-1` | `'from'`      |\n| `2` |           `1` | `'to'`        |\n\n### Example of diffStringsRaw without cleanup\n\n```js\nconst diffs = diffStringsRaw('changed from', 'changed to', false);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `0` | `'changed '`  |\n| `1` |          `-1` | `'fr'`        |\n| `2` |           `1` | `'t'`         |\n| `3` |           `0` | `'o'`         |\n| `4` |          `-1` | `'m'`         |\n\n### Advanced import for diffStringsRaw\n\nHere are all the named imports that you might need for the `diffStringsRaw` function:\n\n- `const {DIFF_DELETE, DIFF_EQUAL, DIFF_INSERT, Diff, diffStringsRaw} = require('jest-diff');` in CommonJS modules\n- `import {DIFF_DELETE, DIFF_EQUAL, DIFF_INSERT, Diff, diffStringsRaw} from 'jest-diff';` in ECMAScript modules\n\nTo write a **formatting** function, you might need the named constants (and `Diff` in TypeScript annotations).\n\nIf you write an application-specific **cleanup** algorithm, then you might need to call the `Diff` constructor:\n\n```js\nconst diffCommon = new Diff(DIFF_EQUAL, 'changed ');\nconst diffDelete = new Diff(DIFF_DELETE, 'from');\nconst diffInsert = new Diff(DIFF_INSERT, 'to');\n```\n\n## Usage of diffLinesRaw\n\nGiven **arrays of strings**, `diffLinesRaw(aLines, bLines)` does the following:\n\n- **compare** the arrays line-by-line using the `diff-sequences` package\n\nBecause `diffLinesRaw` returns the difference as **data** instead of a string, you can format it as your application requires.\n\n### Example of diffLinesRaw\n\n```js\nconst aLines = ['delete', 'common', 'changed from'];\nconst bLines = ['common', 'changed to', 'insert'];\n\nconst diffs = diffLinesRaw(aLines, bLines);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]`    |\n| --: | ------------: | :--------------- |\n| `0` |          `-1` | `'delete'`       |\n| `1` |           `0` | `'common'`       |\n| `2` |          `-1` | `'changed from'` |\n| `3` |           `1` | `'changed to'`   |\n| `4` |           `1` | `'insert'`       |\n\n### Edge case of diffLinesRaw\n\nIf you call `string.split('\\n')` for an empty string:\n\n- the result is `['']` an array which contains an empty string\n- instead of `[]` an empty array\n\nDepending of your application, you might call `diffLinesRaw` with either array.\n\n### Example of split method\n\n```js\nimport {diffLinesRaw} from 'jest-diff';\n\nconst a = 'non-empty string';\nconst b = '';\n\nconst diffs = diffLinesRaw(a.split('\\n'), b.split('\\n'));\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]`        |\n| --: | ------------: | :------------------- |\n| `0` |          `-1` | `'non-empty string'` |\n| `1` |           `1` | `''`                 |\n\nWhich you might format as follows:\n\n```diff\n- Expected  - 1\n+ Received  + 1\n\n- non-empty string\n+\n```\n\n### Example of splitLines0 function\n\nFor edge case behavior like the `diffLinesUnified` function, you might define a `splitLines0` function, which given an empty string, returns `[]` an empty array:\n\n```js\nexport const splitLines0 = string =>\n  string.length === 0 ? [] : string.split('\\n');\n```\n\n```js\nimport {diffLinesRaw} from 'jest-diff';\n\nconst a = '';\nconst b = 'line 1\\nline 2\\nline 3';\n\nconst diffs = diffLinesRaw(a.split('\\n'), b.split('\\n'));\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `1` | `'line 1'`    |\n| `1` |           `1` | `'line 2'`    |\n| `2` |           `1` | `'line 3'`    |\n\nWhich you might format as follows:\n\n```diff\n- Expected  - 0\n+ Received  + 3\n\n+ line 1\n+ line 2\n+ line 3\n```\n\nIn contrast to the `diffLinesRaw` function, the `diffLinesUnified` and `diffLinesUnified2` functions **automatically** convert array arguments computed by string `split` method, so callers do **not** need a `splitLine0` function.\n\n## Options\n\nThe default options are for the report when an assertion fails from the `expect` package used by Jest.\n\nFor other applications, you can provide an options object as a third argument:\n\n- `diffDefault(a, b, options)`\n- `diffStringsUnified(a, b, options)`\n- `diffLinesUnified(aLines, bLines, options)`\n- `diffLinesUnified2(aLinesDisplay, bLinesDisplay, aLinesCompare, bLinesCompare, options)`\n\n### Properties of options object\n\n| name                              | default            |\n| :-------------------------------- | :----------------- |\n| `aAnnotation`                     | `'Expected'`       |\n| `aColor`                          | `chalk.green`      |\n| `aIndicator`                      | `'-'`              |\n| `bAnnotation`                     | `'Received'`       |\n| `bColor`                          | `chalk.red`        |\n| `bIndicator`                      | `'+'`              |\n| `changeColor`                     | `chalk.inverse`    |\n| `changeLineTrailingSpaceColor`    | `string => string` |\n| `commonColor`                     | `chalk.dim`        |\n| `commonIndicator`                 | `' '`              |\n| `commonLineTrailingSpaceColor`    | `string => string` |\n| `contextLines`                    | `5`                |\n| `emptyFirstOrLastLinePlaceholder` | `''`               |\n| `expand`                          | `true`             |\n| `includeChangeCounts`             | `false`            |\n| `omitAnnotationLines`             | `false`            |\n| `patchColor`                      | `chalk.yellow`     |\n\nFor more information about the options, see the following examples.\n\n### Example of options for labels\n\nIf the application is code modification, you might replace the labels:\n\n```js\nconst options = {\n  aAnnotation: 'Original',\n  bAnnotation: 'Modified',\n};\n```\n\n```diff\n- Original\n+ Modified\n\n  common\n- changed from\n+ changed to\n```\n\nThe `jest-diff` package does not assume that the 2 labels have equal length.\n\n### Example of options for colors of changed lines\n\nFor consistency with most diff tools, you might exchange the colors:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  aColor: chalk.red,\n  bColor: chalk.green,\n};\n```\n\n### Example of option for color of changed substrings\n\nAlthough the default inverse of foreground and background colors is hard to beat for changed substrings **within lines**, especially because it highlights spaces, if you want bold font weight on yellow background color:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  changeColor: chalk.bold.bgYellowBright,\n};\n```\n\n### Example of option to format trailing spaces\n\nBecause the default export does not display substring differences within lines, formatting can help you see when lines differ by the presence or absence of trailing spaces found by `/\\s+$/` regular expression.\n\n- If change lines have a background color, then you can see trailing spaces.\n- If common lines have default dim color, then you cannot see trailing spaces. You might want yellowish background color to see them.\n\n```js\nconst options = {\n  aColor: chalk.rgb(128, 0, 128).bgRgb(255, 215, 255), // magenta\n  bColor: chalk.rgb(0, 95, 0).bgRgb(215, 255, 215), // green\n  commonLineTrailingSpaceColor: chalk.bgYellow,\n};\n```\n\nThe value of a Color option is a function, which given a string, returns a string.\n\nIf you want to replace trailing spaces with middle dot characters:\n\n```js\nconst replaceSpacesWithMiddleDot = string => '·'.repeat(string.length);\n\nconst options = {\n  changeLineTrailingSpaceColor: replaceSpacesWithMiddleDot,\n  commonLineTrailingSpaceColor: replaceSpacesWithMiddleDot,\n};\n```\n\nIf you need the TypeScript type of a Color option:\n\n```ts\nimport {DiffOptionsColor} from 'jest-diff';\n```\n\n### Example of options for no colors\n\nTo store the difference in a file without escape codes for colors, provide an identity function:\n\n```js\nconst noColor = string => string;\n\nconst options = {\n  aColor: noColor,\n  bColor: noColor,\n  changeColor: noColor,\n  commonColor: noColor,\n  patchColor: noColor,\n};\n```\n\n### Example of options for indicators\n\nFor consistency with the `diff` command, you might replace the indicators:\n\n```js\nconst options = {\n  aIndicator: '<',\n  bIndicator: '>',\n};\n```\n\nThe `jest-diff` package assumes (but does not enforce) that the 3 indicators have equal length.\n\n### Example of options to limit common lines\n\nBy default, the output includes all common lines.\n\nTo emphasize the changes, you might limit the number of common “context” lines:\n\n```js\nconst options = {\n  contextLines: 1,\n  expand: false,\n};\n```\n\nA patch mark like `@@ -12,7 +12,9 @@` accounts for omitted common lines.\n\n### Example of option for color of patch marks\n\nIf you want patch marks to have the same dim color as common lines:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  expand: false,\n  patchColor: chalk.dim,\n};\n```\n\n### Example of option to include change counts\n\nTo display the number of changed lines at the right of annotation lines:\n\n```js\nconst a = ['common', 'changed from'];\nconst b = ['common', 'changed to', 'insert'];\n\nconst options = {\n  includeChangeCounts: true,\n};\n\nconst difference = diffDefault(a, b, options);\n```\n\n```diff\n- Expected  - 1\n+ Received  + 2\n\n  Array [\n    \"common\",\n-   \"changed from\",\n+   \"changed to\",\n+   \"insert\",\n  ]\n```\n\n### Example of option to omit annotation lines\n\nTo display only the comparison lines:\n\n```js\nconst a = 'common\\nchanged from';\nconst b = 'common\\nchanged to';\n\nconst options = {\n  omitAnnotationLines: true,\n};\n\nconst difference = diffStringsUnified(a, b, options);\n```\n\n```diff\n  common\n- changed from\n+ changed to\n```\n\n### Example of option for empty first or last lines\n\nIf the **first** or **last** comparison line is **empty**, because the content is empty and the indicator is a space, you might not notice it.\n\nThe replacement option is a string whose default value is `''` empty string.\n\nBecause Jest trims the report when a matcher fails, it deletes an empty last line.\n\nTherefore, Jest uses as placeholder the downwards arrow with corner leftwards:\n\n```js\nconst options = {\n  emptyFirstOrLastLinePlaceholder: '↵', // U+21B5\n};\n```\n\nIf a content line is empty, then the corresponding comparison line is automatically trimmed to remove the margin space (represented as a middle dot below) for the default indicators:\n\n|         Indicator | untrimmed | trimmed |\n| ----------------: | :-------- | :------ |\n|      `aIndicator` | `'-·'`    | `'-'`   |\n|      `bIndicator` | `'+·'`    | `'+'`   |\n| `commonIndicator` | `' ·'`    | `''`    |\n","readmeFilename":"README.md","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@27.0.0-next.0","_nodeVersion":"14.15.0","_npmVersion":"lerna/3.22.1/node@v14.15.0+x64 (darwin)","dist":{"integrity":"sha512-hRbv1QZAK7BZZwhYxe5qv85kzY8sL8OVHagbX3XsXsyQFhTwN96hKXz5qkxEGjweLXJOlLlUmlKhNiQkmQwQig==","shasum":"654341c2552ba9f5a97b0188705fb7191637b3d0","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-27.0.0-next.0.tgz","fileCount":23,"unpackedSize":86673,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfy8KBCRA9TVsSAnZWagAAdu0P/jTS+oOcGlr1LrEMnoyw\nAIU9xDEbFpxRQk4TuI7NXCyCDXcwKvZc19ewhB/+Cv/D5WS07uKzWinLFBxz\nzULg3z5eAhngaPhatodmAcY9b2pYoItNzLagwqLNALjLZspBz/yhLZQC6g3Z\nU7NHZ0U9/ru/IRsmc8zzC3Ti/7k48wK54+2yUuxaPi7ynhBmo+EY9NPcv91x\n54a/4en6u6RwGCwHEjv/PMYD1JNQ6aIT1keD6sjQIQf/3aCO0ttCx883SnjX\np3u3Jv8uHjVWQIObSYAgFK4KTuyBPXD6jSyCrx6HREPEVraSC2IKqeCa5QE0\nRH44QFvvuM2pF6+OPqRBhkhvvKEEc4+eFyctx4add21dvT9ptzRAfM2Euvcq\nDqWdOyHGH43owpMqUwJoSElEVJXn52j0L+v1vlu7PVlH48NZGsDRgYRl+VM0\nuC9YdLOQUco66FtpC8hKr2sboXlI0ujXZFXKp/a2dB1WHoszBqBbxYNQXUEV\nCn4NvbAr1WqsQNGtWiSOO0F5mjFWFJiFLFWmn72AbT0ppvUgldZfcCopquKf\nP8Asv8PcYFXgd2rRbb7yGW0uCfPgg8+vtotGhSf1Ff0+DhYzdhXAr8vt/okE\njy0qL5MrKg+Cit6sL+81T1L+UrkCEOmf/IYUDmKio8NqoXO65Sk8/uEkuVB1\nrf79\r\n=Lqwt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEaBwUCAtLyL2ZCkmp79MXS/KgjpS6xA08iyqzUxxwlLAiAYf/bCieRXEUXR9Q0mtNup2crl4BshL5kUetrQtUlbaw=="}]},"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"maintainers":[{"name":"scotthovestadt","email":"scott.hovestadt@gmail.com"},{"name":"rubennorte","email":"rubennorte@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"cpojer","email":"christoph.pojer@gmail.com"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"aaronabramov","email":"aaron@abramov.io"},{"name":"davidzilburg","email":"davidzilburg@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_27.0.0-next.0_1607189121326_0.9978590792959892"},"_hasShrinkwrap":false},"27.0.0-next.1":{"name":"jest-diff","version":"27.0.0-next.1","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"./build/index.js","types":"./build/index.d.ts","exports":{".":"./build/index.js","./package.json":"./package.json"},"dependencies":{"chalk":"^4.0.0","diff-sequences":"^27.0.0-next.0","jest-get-type":"^27.0.0-next.0","pretty-format":"^27.0.0-next.1"},"devDependencies":{"@jest/test-utils":"^27.0.0-next.1","strip-ansi":"^6.0.0"},"engines":{"node":"^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0"},"publishConfig":{"access":"public"},"gitHead":"774c1898bbb078c20fa53906d535335babc6585d","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@27.0.0-next.1","_nodeVersion":"14.15.0","_npmVersion":"lerna/3.22.1/node@v14.15.0+x64 (darwin)","dist":{"integrity":"sha512-VYvy46N/SHICtaf0RnFiN/3smMqYAfCOzGlTYmnARsQO36QjApKZg36G4Mljz64un+3O+vzT3+v0T8c348QDpw==","shasum":"c4d3f60414c71a96ae7faaa9108670ef71d9ba3e","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-27.0.0-next.1.tgz","fileCount":23,"unpackedSize":86673,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfziNxCRA9TVsSAnZWagAA+vUQAIbXnMsnFch0/CR20Xp9\nH13oWMp8LzEkouUqOb/epmfDqAWSEofY/UveMbPXrhSrRm0wLFt2HxyLGK8B\nXEKiHd8/VoiX5VPVGm0JzeVhgZ0RG0GVIlyVLWhE736eda9h3+b0iFT4kNjU\n6tOjyXhydnglCEsnVZmQEI4DNhCt9xrOAM+g/0/I0JATsJWEmH6fz89hjWuj\nLWpOs/YkFb7wnt08Ove9wxp6/zXGqhoio0IB7nB/zubpF0CNfP4PkP4ezMUj\nRJemPP2UB5CGO6OyDIkC6klFQn1GOuLjT4wETfnN8/h1N2zcetjj0QpMpQdA\nljzEE3cwuPuqSREldkqk0TAKJ4DeXrEjQdXumL/e3QE3tnmhfk2Oe4XqlowV\nDT4xwlCR9DRovQkKcVRYvwsNU+E46U3ylVg6m/d3F2JSZ4tf3VshP6yay/2/\nVUu3HmIxUAvNk7gXnJpcEnIWQB4K0wyOsS/VW4fTF6THO/ZI5zFPeXcr0NGg\n9ebJdrgLAj1Y2C+aft4QOV7dZjsNSQgB8h2kJsH8/NX79RtfrcFkd+AIaVv9\nwooGWboLkhSqI0ypPNz0GJiM2G1+IdfYJe4woyf62mZLKG3rxNpuxnt+nj+z\nZmPIKNnva8tjUvkKSf/IblWZSzThKBFM4eV3/2hUdleBo1Jj415Sgip54nhh\njLZD\r\n=FvOd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDYhVSA5LyVNYBROogQz6s5F2I+QyTEO5akjMeKXDCWjAIgATMgHsiNo0fMbqQKw0hiMNysBj0TtTeQIaszdKeaH84="}]},"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"maintainers":[{"name":"scotthovestadt","email":"scott.hovestadt@gmail.com"},{"name":"rubennorte","email":"rubennorte@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"cpojer","email":"christoph.pojer@gmail.com"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"aaronabramov","email":"aaron@abramov.io"},{"name":"davidzilburg","email":"davidzilburg@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_27.0.0-next.1_1607345009225_0.141140844479136"},"_hasShrinkwrap":false},"27.0.0-next.3":{"name":"jest-diff","version":"27.0.0-next.3","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"./build/index.js","types":"./build/index.d.ts","exports":{".":"./build/index.js","./package.json":"./package.json"},"dependencies":{"chalk":"^4.0.0","diff-sequences":"^27.0.0-next.0","jest-get-type":"^27.0.0-next.0","pretty-format":"^27.0.0-next.3"},"devDependencies":{"@jest/test-utils":"^27.0.0-next.3","strip-ansi":"^6.0.0"},"engines":{"node":"^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0"},"publishConfig":{"access":"public"},"gitHead":"2e34f2cfaf9b6864c3ad4bdca05d3097d3108a41","readme":"# jest-diff\n\nDisplay differences clearly so people can review changes confidently.\n\nThe default export serializes JavaScript **values**, compares them line-by-line, and returns a string which includes comparison lines.\n\nTwo named exports compare **strings** character-by-character:\n\n- `diffStringsUnified` returns a string.\n- `diffStringsRaw` returns an array of `Diff` objects.\n\nThree named exports compare **arrays of strings** line-by-line:\n\n- `diffLinesUnified` and `diffLinesUnified2` return a string.\n- `diffLinesRaw` returns an array of `Diff` objects.\n\n## Installation\n\nTo add this package as a dependency of a project, run either of the following commands:\n\n- `npm install jest-diff`\n- `yarn add jest-diff`\n\n## Usage of default export\n\nGiven JavaScript **values**, `diffDefault(a, b, options?)` does the following:\n\n1. **serialize** the values as strings using the `pretty-format` package\n2. **compare** the strings line-by-line using the `diff-sequences` package\n3. **format** the changed or common lines using the `chalk` package\n\nTo use this function, write either of the following:\n\n- `const diffDefault = require('jest-diff').default;` in CommonJS modules\n- `import diffDefault from 'jest-diff';` in ECMAScript modules\n\n### Example of default export\n\n```js\nconst a = ['delete', 'common', 'changed from'];\nconst b = ['common', 'changed to', 'insert'];\n\nconst difference = diffDefault(a, b);\n```\n\nThe returned **string** consists of:\n\n- annotation lines: describe the two change indicators with labels, and a blank line\n- comparison lines: similar to “unified” view on GitHub, but `Expected` lines are green, `Received` lines are red, and common lines are dim (by default, see Options)\n\n```diff\n- Expected\n+ Received\n\n  Array [\n-   \"delete\",\n    \"common\",\n-   \"changed from\",\n+   \"changed to\",\n+   \"insert\",\n  ]\n```\n\n### Edge cases of default export\n\nHere are edge cases for the return value:\n\n- `' Comparing two different types of values. …'` if the arguments have **different types** according to the `jest-get-type` package (instances of different classes have the same `'object'` type)\n- `'Compared values have no visual difference.'` if the arguments have either **referential identity** according to `Object.is` method or **same serialization** according to the `pretty-format` package\n- `null` if either argument is a so-called **asymmetric matcher** in Jasmine or Jest\n\n## Usage of diffStringsUnified\n\nGiven **strings**, `diffStringsUnified(a, b, options?)` does the following:\n\n1. **compare** the strings character-by-character using the `diff-sequences` package\n2. **clean up** small (often coincidental) common substrings, also known as chaff\n3. **format** the changed or common lines using the `chalk` package\n\nAlthough the function is mainly for **multiline** strings, it compares any strings.\n\nWrite either of the following:\n\n- `const {diffStringsUnified} = require('jest-diff');` in CommonJS modules\n- `import {diffStringsUnified} from 'jest-diff';` in ECMAScript modules\n\n### Example of diffStringsUnified\n\n```js\nconst a = 'common\\nchanged from';\nconst b = 'common\\nchanged to';\n\nconst difference = diffStringsUnified(a, b);\n```\n\nThe returned **string** consists of:\n\n- annotation lines: describe the two change indicators with labels, and a blank line\n- comparison lines: similar to “unified” view on GitHub, and **changed substrings** have **inverse** foreground and background colors (that is, `from` has white-on-green and `to` has white-on-red, which the following example does not show)\n\n```diff\n- Expected\n+ Received\n\n  common\n- changed from\n+ changed to\n```\n\n### Performance of diffStringsUnified\n\nTo get the benefit of **changed substrings** within the comparison lines, a character-by-character comparison has a higher computational cost (in time and space) than a line-by-line comparison.\n\nIf the input strings can have **arbitrary length**, we recommend that the calling code set a limit, beyond which splits the strings, and then calls `diffLinesUnified` instead. For example, Jest falls back to line-by-line comparison if either string has length greater than 20K characters.\n\n## Usage of diffLinesUnified\n\nGiven **arrays of strings**, `diffLinesUnified(aLines, bLines, options?)` does the following:\n\n1. **compare** the arrays line-by-line using the `diff-sequences` package\n2. **format** the changed or common lines using the `chalk` package\n\nYou might call this function when strings have been split into lines and you do not need to see changed substrings within lines.\n\n### Example of diffLinesUnified\n\n```js\nconst aLines = ['delete', 'common', 'changed from'];\nconst bLines = ['common', 'changed to', 'insert'];\n\nconst difference = diffLinesUnified(aLines, bLines);\n```\n\n```diff\n- Expected\n+ Received\n\n- delete\n  common\n- changed from\n+ changed to\n+ insert\n```\n\n### Edge cases of diffLinesUnified or diffStringsUnified\n\nHere are edge cases for arguments and return values:\n\n- both `a` and `b` are empty strings: no comparison lines\n- only `a` is empty string: all comparison lines have `bColor` and `bIndicator` (see Options)\n- only `b` is empty string: all comparison lines have `aColor` and `aIndicator` (see Options)\n- `a` and `b` are equal non-empty strings: all comparison lines have `commonColor` and `commonIndicator` (see Options)\n\n## Usage of diffLinesUnified2\n\nGiven two **pairs** of arrays of strings, `diffLinesUnified2(aLinesDisplay, bLinesDisplay, aLinesCompare, bLinesCompare, options?)` does the following:\n\n1. **compare** the pair of `Compare` arrays line-by-line using the `diff-sequences` package\n2. **format** the corresponding lines in the pair of `Display` arrays using the `chalk` package\n\nJest calls this function to consider lines as common instead of changed if the only difference is indentation.\n\nYou might call this function for case insensitive or Unicode equivalence comparison of lines.\n\n### Example of diffLinesUnified2\n\n```js\nimport {format} from 'pretty-format';\n\nconst a = {\n  text: 'Ignore indentation in serialized object',\n  time: '2019-09-19T12:34:56.000Z',\n  type: 'CREATE_ITEM',\n};\nconst b = {\n  payload: {\n    text: 'Ignore indentation in serialized object',\n    time: '2019-09-19T12:34:56.000Z',\n  },\n  type: 'CREATE_ITEM',\n};\n\nconst difference = diffLinesUnified2(\n  // serialize with indentation to display lines\n  format(a).split('\\n'),\n  format(b).split('\\n'),\n  // serialize without indentation to compare lines\n  format(a, {indent: 0}).split('\\n'),\n  format(b, {indent: 0}).split('\\n'),\n);\n```\n\nThe `text` and `time` properties are common, because their only difference is indentation:\n\n```diff\n- Expected\n+ Received\n\n  Object {\n+   payload: Object {\n      text: 'Ignore indentation in serialized object',\n      time: '2019-09-19T12:34:56.000Z',\n+   },\n    type: 'CREATE_ITEM',\n  }\n```\n\nThe preceding example illustrates why (at least for indentation) it seems more intuitive that the function returns the common line from the `bLinesDisplay` array instead of from the `aLinesDisplay` array.\n\n## Usage of diffStringsRaw\n\nGiven **strings** and a boolean option, `diffStringsRaw(a, b, cleanup)` does the following:\n\n1. **compare** the strings character-by-character using the `diff-sequences` package\n2. optionally **clean up** small (often coincidental) common substrings, also known as chaff\n\nBecause `diffStringsRaw` returns the difference as **data** instead of a string, you can format it as your application requires (for example, enclosed in HTML markup for browser instead of escape sequences for console).\n\nThe returned **array** describes substrings as instances of the `Diff` class, which calling code can access like array tuples:\n\nThe value at index `0` is one of the following:\n\n| value | named export  | description           |\n| ----: | :------------ | :-------------------- |\n|   `0` | `DIFF_EQUAL`  | in `a` and in `b`     |\n|  `-1` | `DIFF_DELETE` | in `a` but not in `b` |\n|   `1` | `DIFF_INSERT` | in `b` but not in `a` |\n\nThe value at index `1` is a substring of `a` or `b` or both.\n\n### Example of diffStringsRaw with cleanup\n\n```js\nconst diffs = diffStringsRaw('changed from', 'changed to', true);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `0` | `'changed '`  |\n| `1` |          `-1` | `'from'`      |\n| `2` |           `1` | `'to'`        |\n\n### Example of diffStringsRaw without cleanup\n\n```js\nconst diffs = diffStringsRaw('changed from', 'changed to', false);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `0` | `'changed '`  |\n| `1` |          `-1` | `'fr'`        |\n| `2` |           `1` | `'t'`         |\n| `3` |           `0` | `'o'`         |\n| `4` |          `-1` | `'m'`         |\n\n### Advanced import for diffStringsRaw\n\nHere are all the named imports that you might need for the `diffStringsRaw` function:\n\n- `const {DIFF_DELETE, DIFF_EQUAL, DIFF_INSERT, Diff, diffStringsRaw} = require('jest-diff');` in CommonJS modules\n- `import {DIFF_DELETE, DIFF_EQUAL, DIFF_INSERT, Diff, diffStringsRaw} from 'jest-diff';` in ECMAScript modules\n\nTo write a **formatting** function, you might need the named constants (and `Diff` in TypeScript annotations).\n\nIf you write an application-specific **cleanup** algorithm, then you might need to call the `Diff` constructor:\n\n```js\nconst diffCommon = new Diff(DIFF_EQUAL, 'changed ');\nconst diffDelete = new Diff(DIFF_DELETE, 'from');\nconst diffInsert = new Diff(DIFF_INSERT, 'to');\n```\n\n## Usage of diffLinesRaw\n\nGiven **arrays of strings**, `diffLinesRaw(aLines, bLines)` does the following:\n\n- **compare** the arrays line-by-line using the `diff-sequences` package\n\nBecause `diffLinesRaw` returns the difference as **data** instead of a string, you can format it as your application requires.\n\n### Example of diffLinesRaw\n\n```js\nconst aLines = ['delete', 'common', 'changed from'];\nconst bLines = ['common', 'changed to', 'insert'];\n\nconst diffs = diffLinesRaw(aLines, bLines);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]`    |\n| --: | ------------: | :--------------- |\n| `0` |          `-1` | `'delete'`       |\n| `1` |           `0` | `'common'`       |\n| `2` |          `-1` | `'changed from'` |\n| `3` |           `1` | `'changed to'`   |\n| `4` |           `1` | `'insert'`       |\n\n### Edge case of diffLinesRaw\n\nIf you call `string.split('\\n')` for an empty string:\n\n- the result is `['']` an array which contains an empty string\n- instead of `[]` an empty array\n\nDepending of your application, you might call `diffLinesRaw` with either array.\n\n### Example of split method\n\n```js\nimport {diffLinesRaw} from 'jest-diff';\n\nconst a = 'non-empty string';\nconst b = '';\n\nconst diffs = diffLinesRaw(a.split('\\n'), b.split('\\n'));\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]`        |\n| --: | ------------: | :------------------- |\n| `0` |          `-1` | `'non-empty string'` |\n| `1` |           `1` | `''`                 |\n\nWhich you might format as follows:\n\n```diff\n- Expected  - 1\n+ Received  + 1\n\n- non-empty string\n+\n```\n\n### Example of splitLines0 function\n\nFor edge case behavior like the `diffLinesUnified` function, you might define a `splitLines0` function, which given an empty string, returns `[]` an empty array:\n\n```js\nexport const splitLines0 = string =>\n  string.length === 0 ? [] : string.split('\\n');\n```\n\n```js\nimport {diffLinesRaw} from 'jest-diff';\n\nconst a = '';\nconst b = 'line 1\\nline 2\\nline 3';\n\nconst diffs = diffLinesRaw(a.split('\\n'), b.split('\\n'));\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `1` | `'line 1'`    |\n| `1` |           `1` | `'line 2'`    |\n| `2` |           `1` | `'line 3'`    |\n\nWhich you might format as follows:\n\n```diff\n- Expected  - 0\n+ Received  + 3\n\n+ line 1\n+ line 2\n+ line 3\n```\n\nIn contrast to the `diffLinesRaw` function, the `diffLinesUnified` and `diffLinesUnified2` functions **automatically** convert array arguments computed by string `split` method, so callers do **not** need a `splitLine0` function.\n\n## Options\n\nThe default options are for the report when an assertion fails from the `expect` package used by Jest.\n\nFor other applications, you can provide an options object as a third argument:\n\n- `diffDefault(a, b, options)`\n- `diffStringsUnified(a, b, options)`\n- `diffLinesUnified(aLines, bLines, options)`\n- `diffLinesUnified2(aLinesDisplay, bLinesDisplay, aLinesCompare, bLinesCompare, options)`\n\n### Properties of options object\n\n| name                              | default            |\n| :-------------------------------- | :----------------- |\n| `aAnnotation`                     | `'Expected'`       |\n| `aColor`                          | `chalk.green`      |\n| `aIndicator`                      | `'-'`              |\n| `bAnnotation`                     | `'Received'`       |\n| `bColor`                          | `chalk.red`        |\n| `bIndicator`                      | `'+'`              |\n| `changeColor`                     | `chalk.inverse`    |\n| `changeLineTrailingSpaceColor`    | `string => string` |\n| `commonColor`                     | `chalk.dim`        |\n| `commonIndicator`                 | `' '`              |\n| `commonLineTrailingSpaceColor`    | `string => string` |\n| `contextLines`                    | `5`                |\n| `emptyFirstOrLastLinePlaceholder` | `''`               |\n| `expand`                          | `true`             |\n| `includeChangeCounts`             | `false`            |\n| `omitAnnotationLines`             | `false`            |\n| `patchColor`                      | `chalk.yellow`     |\n\nFor more information about the options, see the following examples.\n\n### Example of options for labels\n\nIf the application is code modification, you might replace the labels:\n\n```js\nconst options = {\n  aAnnotation: 'Original',\n  bAnnotation: 'Modified',\n};\n```\n\n```diff\n- Original\n+ Modified\n\n  common\n- changed from\n+ changed to\n```\n\nThe `jest-diff` package does not assume that the 2 labels have equal length.\n\n### Example of options for colors of changed lines\n\nFor consistency with most diff tools, you might exchange the colors:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  aColor: chalk.red,\n  bColor: chalk.green,\n};\n```\n\n### Example of option for color of changed substrings\n\nAlthough the default inverse of foreground and background colors is hard to beat for changed substrings **within lines**, especially because it highlights spaces, if you want bold font weight on yellow background color:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  changeColor: chalk.bold.bgYellowBright,\n};\n```\n\n### Example of option to format trailing spaces\n\nBecause the default export does not display substring differences within lines, formatting can help you see when lines differ by the presence or absence of trailing spaces found by `/\\s+$/` regular expression.\n\n- If change lines have a background color, then you can see trailing spaces.\n- If common lines have default dim color, then you cannot see trailing spaces. You might want yellowish background color to see them.\n\n```js\nconst options = {\n  aColor: chalk.rgb(128, 0, 128).bgRgb(255, 215, 255), // magenta\n  bColor: chalk.rgb(0, 95, 0).bgRgb(215, 255, 215), // green\n  commonLineTrailingSpaceColor: chalk.bgYellow,\n};\n```\n\nThe value of a Color option is a function, which given a string, returns a string.\n\nIf you want to replace trailing spaces with middle dot characters:\n\n```js\nconst replaceSpacesWithMiddleDot = string => '·'.repeat(string.length);\n\nconst options = {\n  changeLineTrailingSpaceColor: replaceSpacesWithMiddleDot,\n  commonLineTrailingSpaceColor: replaceSpacesWithMiddleDot,\n};\n```\n\nIf you need the TypeScript type of a Color option:\n\n```ts\nimport {DiffOptionsColor} from 'jest-diff';\n```\n\n### Example of options for no colors\n\nTo store the difference in a file without escape codes for colors, provide an identity function:\n\n```js\nconst noColor = string => string;\n\nconst options = {\n  aColor: noColor,\n  bColor: noColor,\n  changeColor: noColor,\n  commonColor: noColor,\n  patchColor: noColor,\n};\n```\n\n### Example of options for indicators\n\nFor consistency with the `diff` command, you might replace the indicators:\n\n```js\nconst options = {\n  aIndicator: '<',\n  bIndicator: '>',\n};\n```\n\nThe `jest-diff` package assumes (but does not enforce) that the 3 indicators have equal length.\n\n### Example of options to limit common lines\n\nBy default, the output includes all common lines.\n\nTo emphasize the changes, you might limit the number of common “context” lines:\n\n```js\nconst options = {\n  contextLines: 1,\n  expand: false,\n};\n```\n\nA patch mark like `@@ -12,7 +12,9 @@` accounts for omitted common lines.\n\n### Example of option for color of patch marks\n\nIf you want patch marks to have the same dim color as common lines:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  expand: false,\n  patchColor: chalk.dim,\n};\n```\n\n### Example of option to include change counts\n\nTo display the number of changed lines at the right of annotation lines:\n\n```js\nconst a = ['common', 'changed from'];\nconst b = ['common', 'changed to', 'insert'];\n\nconst options = {\n  includeChangeCounts: true,\n};\n\nconst difference = diffDefault(a, b, options);\n```\n\n```diff\n- Expected  - 1\n+ Received  + 2\n\n  Array [\n    \"common\",\n-   \"changed from\",\n+   \"changed to\",\n+   \"insert\",\n  ]\n```\n\n### Example of option to omit annotation lines\n\nTo display only the comparison lines:\n\n```js\nconst a = 'common\\nchanged from';\nconst b = 'common\\nchanged to';\n\nconst options = {\n  omitAnnotationLines: true,\n};\n\nconst difference = diffStringsUnified(a, b, options);\n```\n\n```diff\n  common\n- changed from\n+ changed to\n```\n\n### Example of option for empty first or last lines\n\nIf the **first** or **last** comparison line is **empty**, because the content is empty and the indicator is a space, you might not notice it.\n\nThe replacement option is a string whose default value is `''` empty string.\n\nBecause Jest trims the report when a matcher fails, it deletes an empty last line.\n\nTherefore, Jest uses as placeholder the downwards arrow with corner leftwards:\n\n```js\nconst options = {\n  emptyFirstOrLastLinePlaceholder: '↵', // U+21B5\n};\n```\n\nIf a content line is empty, then the corresponding comparison line is automatically trimmed to remove the margin space (represented as a middle dot below) for the default indicators:\n\n|         Indicator | untrimmed | trimmed |\n| ----------------: | :-------- | :------ |\n|      `aIndicator` | `'-·'`    | `'-'`   |\n|      `bIndicator` | `'+·'`    | `'+'`   |\n| `commonIndicator` | `' ·'`    | `''`    |\n","readmeFilename":"README.md","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@27.0.0-next.3","_nodeVersion":"14.15.3","_npmVersion":"lerna/3.22.1/node@v14.15.3+x64 (darwin)","dist":{"integrity":"sha512-2rhsTT7gtOnGy2as2DMUwfTDPrNNjDAf0PdSNeJWPprSWkOB3CbbuNibH+DkJ6FVp3evpRHcP7+HgcUcTbcv7w==","shasum":"1bc41f88fb4e05e98dfab2166993942e41c23437","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-27.0.0-next.3.tgz","fileCount":23,"unpackedSize":86673,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgLuW0CRA9TVsSAnZWagAAYQcQAJd+Bkym9WpwxcWsp27X\nHnY/Dq375Kp22cMrhcy17lE1ktsAllHhGEBBuvENAoAvfbhlXNatNv290U7l\nsmY8l2kUzE0jDoBVDXRgm7ddC/J68G+Dfu5IZDaYNtMh99rRn/p01lM7tiy/\nfNhAeR8DpjKkYx5ClFCuaUyrsgAD6iZkk5ZgDa04NkAyKyiQa/rGt6HZ9zW2\nsNeaeRJ5KxelNgnEJ2E+SIEWtJ9OWp/C7LwqN8BG1TAcJluv0xkg3wvqZCOa\np1t0EqiUuYaH5L5AcTYQGDU7ulWMCw+UIe5X9euFfEeT0gfE2sk5C7GPIrAD\nZ/5KbFSX4k4h+lJ0dFTr66+uxAjPjUk7xDUBIwHlKwNEqQ1egNoIBe9JsPia\nuOh24lL8zUTk7/bGgzcNNuxmGG8k032FolRRWEmilbcmnmGrW+b0dz3odhuR\nri1zqGqKbrI0GMfTTb+vO/BX+oYzy8f6tXEUeZrrhMmm1mYMlxlx3SQJgZk1\n6PpQHv95QO7zKpiB11EyTLZ8BuNjnwFup7E17htDjd9W4YItSYzdMnC6U6Yk\nvS6no26oU4ZHSZW0UBwTRxhpcv3XF0cdEn9gLaDO+muaKdRXrgB5vmCgbfGW\n26FK0T23+KREM9yqhG4dGS0dnPO3UXuwFb+wUuZ/X6dbzJFFxIa05UptdrC8\n7PyM\r\n=X189\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEH9Og2CQBUb0QWauLFK4falVQI63I9v2fcfXdTrgutOAiEAqGTZLRCYxge4JSmOFjTPVdUalo/VfIflEbGgcO5UG84="}]},"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"maintainers":[{"name":"scotthovestadt","email":"scott.hovestadt@gmail.com"},{"name":"rubennorte","email":"rubennorte@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"cpojer","email":"christoph.pojer@gmail.com"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"aaronabramov","email":"aaron@abramov.io"},{"name":"davidzilburg","email":"davidzilburg@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_27.0.0-next.3_1613686195896_0.5649420354273988"},"_hasShrinkwrap":false},"27.0.0-next.5":{"name":"jest-diff","version":"27.0.0-next.5","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"./build/index.js","types":"./build/index.d.ts","exports":{".":"./build/index.js","./package.json":"./package.json"},"dependencies":{"chalk":"^4.0.0","diff-sequences":"^27.0.0-next.0","jest-get-type":"^27.0.0-next.0","pretty-format":"^27.0.0-next.5"},"devDependencies":{"@jest/test-utils":"^27.0.0-next.5","strip-ansi":"^6.0.0"},"engines":{"node":"^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0"},"publishConfig":{"access":"public"},"gitHead":"0a2b94282170b6d4cc26c2d2003cc04ffebe5e3f","readme":"# jest-diff\n\nDisplay differences clearly so people can review changes confidently.\n\nThe default export serializes JavaScript **values**, compares them line-by-line, and returns a string which includes comparison lines.\n\nTwo named exports compare **strings** character-by-character:\n\n- `diffStringsUnified` returns a string.\n- `diffStringsRaw` returns an array of `Diff` objects.\n\nThree named exports compare **arrays of strings** line-by-line:\n\n- `diffLinesUnified` and `diffLinesUnified2` return a string.\n- `diffLinesRaw` returns an array of `Diff` objects.\n\n## Installation\n\nTo add this package as a dependency of a project, run either of the following commands:\n\n- `npm install jest-diff`\n- `yarn add jest-diff`\n\n## Usage of default export\n\nGiven JavaScript **values**, `diffDefault(a, b, options?)` does the following:\n\n1. **serialize** the values as strings using the `pretty-format` package\n2. **compare** the strings line-by-line using the `diff-sequences` package\n3. **format** the changed or common lines using the `chalk` package\n\nTo use this function, write either of the following:\n\n- `const diffDefault = require('jest-diff').default;` in CommonJS modules\n- `import diffDefault from 'jest-diff';` in ECMAScript modules\n\n### Example of default export\n\n```js\nconst a = ['delete', 'common', 'changed from'];\nconst b = ['common', 'changed to', 'insert'];\n\nconst difference = diffDefault(a, b);\n```\n\nThe returned **string** consists of:\n\n- annotation lines: describe the two change indicators with labels, and a blank line\n- comparison lines: similar to “unified” view on GitHub, but `Expected` lines are green, `Received` lines are red, and common lines are dim (by default, see Options)\n\n```diff\n- Expected\n+ Received\n\n  Array [\n-   \"delete\",\n    \"common\",\n-   \"changed from\",\n+   \"changed to\",\n+   \"insert\",\n  ]\n```\n\n### Edge cases of default export\n\nHere are edge cases for the return value:\n\n- `' Comparing two different types of values. …'` if the arguments have **different types** according to the `jest-get-type` package (instances of different classes have the same `'object'` type)\n- `'Compared values have no visual difference.'` if the arguments have either **referential identity** according to `Object.is` method or **same serialization** according to the `pretty-format` package\n- `null` if either argument is a so-called **asymmetric matcher** in Jasmine or Jest\n\n## Usage of diffStringsUnified\n\nGiven **strings**, `diffStringsUnified(a, b, options?)` does the following:\n\n1. **compare** the strings character-by-character using the `diff-sequences` package\n2. **clean up** small (often coincidental) common substrings, also known as chaff\n3. **format** the changed or common lines using the `chalk` package\n\nAlthough the function is mainly for **multiline** strings, it compares any strings.\n\nWrite either of the following:\n\n- `const {diffStringsUnified} = require('jest-diff');` in CommonJS modules\n- `import {diffStringsUnified} from 'jest-diff';` in ECMAScript modules\n\n### Example of diffStringsUnified\n\n```js\nconst a = 'common\\nchanged from';\nconst b = 'common\\nchanged to';\n\nconst difference = diffStringsUnified(a, b);\n```\n\nThe returned **string** consists of:\n\n- annotation lines: describe the two change indicators with labels, and a blank line\n- comparison lines: similar to “unified” view on GitHub, and **changed substrings** have **inverse** foreground and background colors (that is, `from` has white-on-green and `to` has white-on-red, which the following example does not show)\n\n```diff\n- Expected\n+ Received\n\n  common\n- changed from\n+ changed to\n```\n\n### Performance of diffStringsUnified\n\nTo get the benefit of **changed substrings** within the comparison lines, a character-by-character comparison has a higher computational cost (in time and space) than a line-by-line comparison.\n\nIf the input strings can have **arbitrary length**, we recommend that the calling code set a limit, beyond which splits the strings, and then calls `diffLinesUnified` instead. For example, Jest falls back to line-by-line comparison if either string has length greater than 20K characters.\n\n## Usage of diffLinesUnified\n\nGiven **arrays of strings**, `diffLinesUnified(aLines, bLines, options?)` does the following:\n\n1. **compare** the arrays line-by-line using the `diff-sequences` package\n2. **format** the changed or common lines using the `chalk` package\n\nYou might call this function when strings have been split into lines and you do not need to see changed substrings within lines.\n\n### Example of diffLinesUnified\n\n```js\nconst aLines = ['delete', 'common', 'changed from'];\nconst bLines = ['common', 'changed to', 'insert'];\n\nconst difference = diffLinesUnified(aLines, bLines);\n```\n\n```diff\n- Expected\n+ Received\n\n- delete\n  common\n- changed from\n+ changed to\n+ insert\n```\n\n### Edge cases of diffLinesUnified or diffStringsUnified\n\nHere are edge cases for arguments and return values:\n\n- both `a` and `b` are empty strings: no comparison lines\n- only `a` is empty string: all comparison lines have `bColor` and `bIndicator` (see Options)\n- only `b` is empty string: all comparison lines have `aColor` and `aIndicator` (see Options)\n- `a` and `b` are equal non-empty strings: all comparison lines have `commonColor` and `commonIndicator` (see Options)\n\n## Usage of diffLinesUnified2\n\nGiven two **pairs** of arrays of strings, `diffLinesUnified2(aLinesDisplay, bLinesDisplay, aLinesCompare, bLinesCompare, options?)` does the following:\n\n1. **compare** the pair of `Compare` arrays line-by-line using the `diff-sequences` package\n2. **format** the corresponding lines in the pair of `Display` arrays using the `chalk` package\n\nJest calls this function to consider lines as common instead of changed if the only difference is indentation.\n\nYou might call this function for case insensitive or Unicode equivalence comparison of lines.\n\n### Example of diffLinesUnified2\n\n```js\nimport {format} from 'pretty-format';\n\nconst a = {\n  text: 'Ignore indentation in serialized object',\n  time: '2019-09-19T12:34:56.000Z',\n  type: 'CREATE_ITEM',\n};\nconst b = {\n  payload: {\n    text: 'Ignore indentation in serialized object',\n    time: '2019-09-19T12:34:56.000Z',\n  },\n  type: 'CREATE_ITEM',\n};\n\nconst difference = diffLinesUnified2(\n  // serialize with indentation to display lines\n  format(a).split('\\n'),\n  format(b).split('\\n'),\n  // serialize without indentation to compare lines\n  format(a, {indent: 0}).split('\\n'),\n  format(b, {indent: 0}).split('\\n'),\n);\n```\n\nThe `text` and `time` properties are common, because their only difference is indentation:\n\n```diff\n- Expected\n+ Received\n\n  Object {\n+   payload: Object {\n      text: 'Ignore indentation in serialized object',\n      time: '2019-09-19T12:34:56.000Z',\n+   },\n    type: 'CREATE_ITEM',\n  }\n```\n\nThe preceding example illustrates why (at least for indentation) it seems more intuitive that the function returns the common line from the `bLinesDisplay` array instead of from the `aLinesDisplay` array.\n\n## Usage of diffStringsRaw\n\nGiven **strings** and a boolean option, `diffStringsRaw(a, b, cleanup)` does the following:\n\n1. **compare** the strings character-by-character using the `diff-sequences` package\n2. optionally **clean up** small (often coincidental) common substrings, also known as chaff\n\nBecause `diffStringsRaw` returns the difference as **data** instead of a string, you can format it as your application requires (for example, enclosed in HTML markup for browser instead of escape sequences for console).\n\nThe returned **array** describes substrings as instances of the `Diff` class, which calling code can access like array tuples:\n\nThe value at index `0` is one of the following:\n\n| value | named export  | description           |\n| ----: | :------------ | :-------------------- |\n|   `0` | `DIFF_EQUAL`  | in `a` and in `b`     |\n|  `-1` | `DIFF_DELETE` | in `a` but not in `b` |\n|   `1` | `DIFF_INSERT` | in `b` but not in `a` |\n\nThe value at index `1` is a substring of `a` or `b` or both.\n\n### Example of diffStringsRaw with cleanup\n\n```js\nconst diffs = diffStringsRaw('changed from', 'changed to', true);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `0` | `'changed '`  |\n| `1` |          `-1` | `'from'`      |\n| `2` |           `1` | `'to'`        |\n\n### Example of diffStringsRaw without cleanup\n\n```js\nconst diffs = diffStringsRaw('changed from', 'changed to', false);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `0` | `'changed '`  |\n| `1` |          `-1` | `'fr'`        |\n| `2` |           `1` | `'t'`         |\n| `3` |           `0` | `'o'`         |\n| `4` |          `-1` | `'m'`         |\n\n### Advanced import for diffStringsRaw\n\nHere are all the named imports that you might need for the `diffStringsRaw` function:\n\n- `const {DIFF_DELETE, DIFF_EQUAL, DIFF_INSERT, Diff, diffStringsRaw} = require('jest-diff');` in CommonJS modules\n- `import {DIFF_DELETE, DIFF_EQUAL, DIFF_INSERT, Diff, diffStringsRaw} from 'jest-diff';` in ECMAScript modules\n\nTo write a **formatting** function, you might need the named constants (and `Diff` in TypeScript annotations).\n\nIf you write an application-specific **cleanup** algorithm, then you might need to call the `Diff` constructor:\n\n```js\nconst diffCommon = new Diff(DIFF_EQUAL, 'changed ');\nconst diffDelete = new Diff(DIFF_DELETE, 'from');\nconst diffInsert = new Diff(DIFF_INSERT, 'to');\n```\n\n## Usage of diffLinesRaw\n\nGiven **arrays of strings**, `diffLinesRaw(aLines, bLines)` does the following:\n\n- **compare** the arrays line-by-line using the `diff-sequences` package\n\nBecause `diffLinesRaw` returns the difference as **data** instead of a string, you can format it as your application requires.\n\n### Example of diffLinesRaw\n\n```js\nconst aLines = ['delete', 'common', 'changed from'];\nconst bLines = ['common', 'changed to', 'insert'];\n\nconst diffs = diffLinesRaw(aLines, bLines);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]`    |\n| --: | ------------: | :--------------- |\n| `0` |          `-1` | `'delete'`       |\n| `1` |           `0` | `'common'`       |\n| `2` |          `-1` | `'changed from'` |\n| `3` |           `1` | `'changed to'`   |\n| `4` |           `1` | `'insert'`       |\n\n### Edge case of diffLinesRaw\n\nIf you call `string.split('\\n')` for an empty string:\n\n- the result is `['']` an array which contains an empty string\n- instead of `[]` an empty array\n\nDepending of your application, you might call `diffLinesRaw` with either array.\n\n### Example of split method\n\n```js\nimport {diffLinesRaw} from 'jest-diff';\n\nconst a = 'non-empty string';\nconst b = '';\n\nconst diffs = diffLinesRaw(a.split('\\n'), b.split('\\n'));\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]`        |\n| --: | ------------: | :------------------- |\n| `0` |          `-1` | `'non-empty string'` |\n| `1` |           `1` | `''`                 |\n\nWhich you might format as follows:\n\n```diff\n- Expected  - 1\n+ Received  + 1\n\n- non-empty string\n+\n```\n\n### Example of splitLines0 function\n\nFor edge case behavior like the `diffLinesUnified` function, you might define a `splitLines0` function, which given an empty string, returns `[]` an empty array:\n\n```js\nexport const splitLines0 = string =>\n  string.length === 0 ? [] : string.split('\\n');\n```\n\n```js\nimport {diffLinesRaw} from 'jest-diff';\n\nconst a = '';\nconst b = 'line 1\\nline 2\\nline 3';\n\nconst diffs = diffLinesRaw(a.split('\\n'), b.split('\\n'));\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `1` | `'line 1'`    |\n| `1` |           `1` | `'line 2'`    |\n| `2` |           `1` | `'line 3'`    |\n\nWhich you might format as follows:\n\n```diff\n- Expected  - 0\n+ Received  + 3\n\n+ line 1\n+ line 2\n+ line 3\n```\n\nIn contrast to the `diffLinesRaw` function, the `diffLinesUnified` and `diffLinesUnified2` functions **automatically** convert array arguments computed by string `split` method, so callers do **not** need a `splitLine0` function.\n\n## Options\n\nThe default options are for the report when an assertion fails from the `expect` package used by Jest.\n\nFor other applications, you can provide an options object as a third argument:\n\n- `diffDefault(a, b, options)`\n- `diffStringsUnified(a, b, options)`\n- `diffLinesUnified(aLines, bLines, options)`\n- `diffLinesUnified2(aLinesDisplay, bLinesDisplay, aLinesCompare, bLinesCompare, options)`\n\n### Properties of options object\n\n| name                              | default            |\n| :-------------------------------- | :----------------- |\n| `aAnnotation`                     | `'Expected'`       |\n| `aColor`                          | `chalk.green`      |\n| `aIndicator`                      | `'-'`              |\n| `bAnnotation`                     | `'Received'`       |\n| `bColor`                          | `chalk.red`        |\n| `bIndicator`                      | `'+'`              |\n| `changeColor`                     | `chalk.inverse`    |\n| `changeLineTrailingSpaceColor`    | `string => string` |\n| `commonColor`                     | `chalk.dim`        |\n| `commonIndicator`                 | `' '`              |\n| `commonLineTrailingSpaceColor`    | `string => string` |\n| `contextLines`                    | `5`                |\n| `emptyFirstOrLastLinePlaceholder` | `''`               |\n| `expand`                          | `true`             |\n| `includeChangeCounts`             | `false`            |\n| `omitAnnotationLines`             | `false`            |\n| `patchColor`                      | `chalk.yellow`     |\n\nFor more information about the options, see the following examples.\n\n### Example of options for labels\n\nIf the application is code modification, you might replace the labels:\n\n```js\nconst options = {\n  aAnnotation: 'Original',\n  bAnnotation: 'Modified',\n};\n```\n\n```diff\n- Original\n+ Modified\n\n  common\n- changed from\n+ changed to\n```\n\nThe `jest-diff` package does not assume that the 2 labels have equal length.\n\n### Example of options for colors of changed lines\n\nFor consistency with most diff tools, you might exchange the colors:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  aColor: chalk.red,\n  bColor: chalk.green,\n};\n```\n\n### Example of option for color of changed substrings\n\nAlthough the default inverse of foreground and background colors is hard to beat for changed substrings **within lines**, especially because it highlights spaces, if you want bold font weight on yellow background color:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  changeColor: chalk.bold.bgYellowBright,\n};\n```\n\n### Example of option to format trailing spaces\n\nBecause the default export does not display substring differences within lines, formatting can help you see when lines differ by the presence or absence of trailing spaces found by `/\\s+$/` regular expression.\n\n- If change lines have a background color, then you can see trailing spaces.\n- If common lines have default dim color, then you cannot see trailing spaces. You might want yellowish background color to see them.\n\n```js\nconst options = {\n  aColor: chalk.rgb(128, 0, 128).bgRgb(255, 215, 255), // magenta\n  bColor: chalk.rgb(0, 95, 0).bgRgb(215, 255, 215), // green\n  commonLineTrailingSpaceColor: chalk.bgYellow,\n};\n```\n\nThe value of a Color option is a function, which given a string, returns a string.\n\nIf you want to replace trailing spaces with middle dot characters:\n\n```js\nconst replaceSpacesWithMiddleDot = string => '·'.repeat(string.length);\n\nconst options = {\n  changeLineTrailingSpaceColor: replaceSpacesWithMiddleDot,\n  commonLineTrailingSpaceColor: replaceSpacesWithMiddleDot,\n};\n```\n\nIf you need the TypeScript type of a Color option:\n\n```ts\nimport {DiffOptionsColor} from 'jest-diff';\n```\n\n### Example of options for no colors\n\nTo store the difference in a file without escape codes for colors, provide an identity function:\n\n```js\nconst noColor = string => string;\n\nconst options = {\n  aColor: noColor,\n  bColor: noColor,\n  changeColor: noColor,\n  commonColor: noColor,\n  patchColor: noColor,\n};\n```\n\n### Example of options for indicators\n\nFor consistency with the `diff` command, you might replace the indicators:\n\n```js\nconst options = {\n  aIndicator: '<',\n  bIndicator: '>',\n};\n```\n\nThe `jest-diff` package assumes (but does not enforce) that the 3 indicators have equal length.\n\n### Example of options to limit common lines\n\nBy default, the output includes all common lines.\n\nTo emphasize the changes, you might limit the number of common “context” lines:\n\n```js\nconst options = {\n  contextLines: 1,\n  expand: false,\n};\n```\n\nA patch mark like `@@ -12,7 +12,9 @@` accounts for omitted common lines.\n\n### Example of option for color of patch marks\n\nIf you want patch marks to have the same dim color as common lines:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  expand: false,\n  patchColor: chalk.dim,\n};\n```\n\n### Example of option to include change counts\n\nTo display the number of changed lines at the right of annotation lines:\n\n```js\nconst a = ['common', 'changed from'];\nconst b = ['common', 'changed to', 'insert'];\n\nconst options = {\n  includeChangeCounts: true,\n};\n\nconst difference = diffDefault(a, b, options);\n```\n\n```diff\n- Expected  - 1\n+ Received  + 2\n\n  Array [\n    \"common\",\n-   \"changed from\",\n+   \"changed to\",\n+   \"insert\",\n  ]\n```\n\n### Example of option to omit annotation lines\n\nTo display only the comparison lines:\n\n```js\nconst a = 'common\\nchanged from';\nconst b = 'common\\nchanged to';\n\nconst options = {\n  omitAnnotationLines: true,\n};\n\nconst difference = diffStringsUnified(a, b, options);\n```\n\n```diff\n  common\n- changed from\n+ changed to\n```\n\n### Example of option for empty first or last lines\n\nIf the **first** or **last** comparison line is **empty**, because the content is empty and the indicator is a space, you might not notice it.\n\nThe replacement option is a string whose default value is `''` empty string.\n\nBecause Jest trims the report when a matcher fails, it deletes an empty last line.\n\nTherefore, Jest uses as placeholder the downwards arrow with corner leftwards:\n\n```js\nconst options = {\n  emptyFirstOrLastLinePlaceholder: '↵', // U+21B5\n};\n```\n\nIf a content line is empty, then the corresponding comparison line is automatically trimmed to remove the margin space (represented as a middle dot below) for the default indicators:\n\n|         Indicator | untrimmed | trimmed |\n| ----------------: | :-------- | :------ |\n|      `aIndicator` | `'-·'`    | `'-'`   |\n|      `bIndicator` | `'+·'`    | `'+'`   |\n| `commonIndicator` | `' ·'`    | `''`    |\n","readmeFilename":"README.md","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@27.0.0-next.5","_nodeVersion":"14.15.3","_npmVersion":"lerna/4.0.0/node@v14.15.3+x64 (darwin)","dist":{"integrity":"sha512-8iE5mMGblay9Q22j7J+qfjoj8IGGWcnX5fVHzt/o0FeCYT/6OSeYqj5VzCEUdzJspHOjUhMbFVn7qnquQOhoMw==","shasum":"2daaaf331a3b54de73b067a873f0272509bb72d0","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-27.0.0-next.5.tgz","fileCount":23,"unpackedSize":86673,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgT1sbCRA9TVsSAnZWagAAsUkP/1QbUDuzap8t/UI3HATK\nAK9ZGKSq0qjAZrPwZV5/WefA3tp2k8osHxENrhidyWHPLN4f2HMziwaxx1se\nNQ3mtjCxksfHlkTlq7LAweVRKLcDW2awWzwKYZNLhbl3yGsnJGRMb1UroK96\nxPeqYelxOgWHS/yye+vfKJlyFNANgRdvmYVudlg5c64+8hI8lR4RbiAZIbWc\nZNF5BsY0vmcIiC62BQK8B+4r47J9RD1e99eEBKQ+xyWvwyEdRrpPMRgs1j/p\nMiMIXXBhqbwHdDlaMUTql9S370KHNW3Pet6RW5XYlJLh0BMQUrjAyF+ffzlK\nMuNa9JHlpseHC1qLtZQIRtYoAENCOe0ro6Z6TRiAag40HB3jOtu/MqSVvJ2q\n0nuftVu+Iw6mqnkn8J+jlk1eVd9FuAqqTg//0SCTSg8tGCkfuVDZcCUMxGf7\nrXE80zETyFwrSq+be/KVinMz14I3eFeD1gwuyn1qYG1lCgt/AAMvkXsIiyTj\n+d9sR7fgqdJNWtDE3ZDgVKezZuCx9JmoTvnE34RiFIM6M7zSeQvztQBUKOQ9\nn94bwko6c2w4nLF2+k/OSL6Rvag7BqdHaawaMM6AaEpXt6xidIWSn3wcj+aC\nQbH5NyeZeG99IWB7TBZSx543iI2MHO2Pw7XVYAIXFcYJHjl7949FR3NMLM1J\nWfTb\r\n=cWgC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAyMsxbYSgp+YmmS93eAuhzll8QNI67j1Od3oMnbrRsIAiBGmfOweNLMVTpwOxrpOsEpgYixNgTaRM3bxMgxK9Ut1Q=="}]},"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"maintainers":[{"name":"scotthovestadt","email":"scott.hovestadt@gmail.com"},{"name":"rubennorte","email":"rubennorte@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"cpojer","email":"christoph.pojer@gmail.com"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"aaronabramov","email":"aaron@abramov.io"},{"name":"davidzilburg","email":"davidzilburg@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_27.0.0-next.5_1615813403367_0.5096435308965497"},"_hasShrinkwrap":false},"27.0.0-next.6":{"name":"jest-diff","version":"27.0.0-next.6","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"./build/index.js","types":"./build/index.d.ts","exports":{".":"./build/index.js","./package.json":"./package.json"},"dependencies":{"chalk":"^4.0.0","diff-sequences":"^27.0.0-next.0","jest-get-type":"^27.0.0-next.0","pretty-format":"^27.0.0-next.6"},"devDependencies":{"@jest/test-utils":"^27.0.0-next.6","strip-ansi":"^6.0.0"},"engines":{"node":"^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0"},"publishConfig":{"access":"public"},"gitHead":"974d2f22b7deeb4f683fb38dd1ee3a0e984916df","readme":"# jest-diff\n\nDisplay differences clearly so people can review changes confidently.\n\nThe default export serializes JavaScript **values**, compares them line-by-line, and returns a string which includes comparison lines.\n\nTwo named exports compare **strings** character-by-character:\n\n- `diffStringsUnified` returns a string.\n- `diffStringsRaw` returns an array of `Diff` objects.\n\nThree named exports compare **arrays of strings** line-by-line:\n\n- `diffLinesUnified` and `diffLinesUnified2` return a string.\n- `diffLinesRaw` returns an array of `Diff` objects.\n\n## Installation\n\nTo add this package as a dependency of a project, run either of the following commands:\n\n- `npm install jest-diff`\n- `yarn add jest-diff`\n\n## Usage of default export\n\nGiven JavaScript **values**, `diffDefault(a, b, options?)` does the following:\n\n1. **serialize** the values as strings using the `pretty-format` package\n2. **compare** the strings line-by-line using the `diff-sequences` package\n3. **format** the changed or common lines using the `chalk` package\n\nTo use this function, write either of the following:\n\n- `const diffDefault = require('jest-diff').default;` in CommonJS modules\n- `import diffDefault from 'jest-diff';` in ECMAScript modules\n\n### Example of default export\n\n```js\nconst a = ['delete', 'common', 'changed from'];\nconst b = ['common', 'changed to', 'insert'];\n\nconst difference = diffDefault(a, b);\n```\n\nThe returned **string** consists of:\n\n- annotation lines: describe the two change indicators with labels, and a blank line\n- comparison lines: similar to “unified” view on GitHub, but `Expected` lines are green, `Received` lines are red, and common lines are dim (by default, see Options)\n\n```diff\n- Expected\n+ Received\n\n  Array [\n-   \"delete\",\n    \"common\",\n-   \"changed from\",\n+   \"changed to\",\n+   \"insert\",\n  ]\n```\n\n### Edge cases of default export\n\nHere are edge cases for the return value:\n\n- `' Comparing two different types of values. …'` if the arguments have **different types** according to the `jest-get-type` package (instances of different classes have the same `'object'` type)\n- `'Compared values have no visual difference.'` if the arguments have either **referential identity** according to `Object.is` method or **same serialization** according to the `pretty-format` package\n- `null` if either argument is a so-called **asymmetric matcher** in Jasmine or Jest\n\n## Usage of diffStringsUnified\n\nGiven **strings**, `diffStringsUnified(a, b, options?)` does the following:\n\n1. **compare** the strings character-by-character using the `diff-sequences` package\n2. **clean up** small (often coincidental) common substrings, also known as chaff\n3. **format** the changed or common lines using the `chalk` package\n\nAlthough the function is mainly for **multiline** strings, it compares any strings.\n\nWrite either of the following:\n\n- `const {diffStringsUnified} = require('jest-diff');` in CommonJS modules\n- `import {diffStringsUnified} from 'jest-diff';` in ECMAScript modules\n\n### Example of diffStringsUnified\n\n```js\nconst a = 'common\\nchanged from';\nconst b = 'common\\nchanged to';\n\nconst difference = diffStringsUnified(a, b);\n```\n\nThe returned **string** consists of:\n\n- annotation lines: describe the two change indicators with labels, and a blank line\n- comparison lines: similar to “unified” view on GitHub, and **changed substrings** have **inverse** foreground and background colors (that is, `from` has white-on-green and `to` has white-on-red, which the following example does not show)\n\n```diff\n- Expected\n+ Received\n\n  common\n- changed from\n+ changed to\n```\n\n### Performance of diffStringsUnified\n\nTo get the benefit of **changed substrings** within the comparison lines, a character-by-character comparison has a higher computational cost (in time and space) than a line-by-line comparison.\n\nIf the input strings can have **arbitrary length**, we recommend that the calling code set a limit, beyond which splits the strings, and then calls `diffLinesUnified` instead. For example, Jest falls back to line-by-line comparison if either string has length greater than 20K characters.\n\n## Usage of diffLinesUnified\n\nGiven **arrays of strings**, `diffLinesUnified(aLines, bLines, options?)` does the following:\n\n1. **compare** the arrays line-by-line using the `diff-sequences` package\n2. **format** the changed or common lines using the `chalk` package\n\nYou might call this function when strings have been split into lines and you do not need to see changed substrings within lines.\n\n### Example of diffLinesUnified\n\n```js\nconst aLines = ['delete', 'common', 'changed from'];\nconst bLines = ['common', 'changed to', 'insert'];\n\nconst difference = diffLinesUnified(aLines, bLines);\n```\n\n```diff\n- Expected\n+ Received\n\n- delete\n  common\n- changed from\n+ changed to\n+ insert\n```\n\n### Edge cases of diffLinesUnified or diffStringsUnified\n\nHere are edge cases for arguments and return values:\n\n- both `a` and `b` are empty strings: no comparison lines\n- only `a` is empty string: all comparison lines have `bColor` and `bIndicator` (see Options)\n- only `b` is empty string: all comparison lines have `aColor` and `aIndicator` (see Options)\n- `a` and `b` are equal non-empty strings: all comparison lines have `commonColor` and `commonIndicator` (see Options)\n\n## Usage of diffLinesUnified2\n\nGiven two **pairs** of arrays of strings, `diffLinesUnified2(aLinesDisplay, bLinesDisplay, aLinesCompare, bLinesCompare, options?)` does the following:\n\n1. **compare** the pair of `Compare` arrays line-by-line using the `diff-sequences` package\n2. **format** the corresponding lines in the pair of `Display` arrays using the `chalk` package\n\nJest calls this function to consider lines as common instead of changed if the only difference is indentation.\n\nYou might call this function for case insensitive or Unicode equivalence comparison of lines.\n\n### Example of diffLinesUnified2\n\n```js\nimport {format} from 'pretty-format';\n\nconst a = {\n  text: 'Ignore indentation in serialized object',\n  time: '2019-09-19T12:34:56.000Z',\n  type: 'CREATE_ITEM',\n};\nconst b = {\n  payload: {\n    text: 'Ignore indentation in serialized object',\n    time: '2019-09-19T12:34:56.000Z',\n  },\n  type: 'CREATE_ITEM',\n};\n\nconst difference = diffLinesUnified2(\n  // serialize with indentation to display lines\n  format(a).split('\\n'),\n  format(b).split('\\n'),\n  // serialize without indentation to compare lines\n  format(a, {indent: 0}).split('\\n'),\n  format(b, {indent: 0}).split('\\n'),\n);\n```\n\nThe `text` and `time` properties are common, because their only difference is indentation:\n\n```diff\n- Expected\n+ Received\n\n  Object {\n+   payload: Object {\n      text: 'Ignore indentation in serialized object',\n      time: '2019-09-19T12:34:56.000Z',\n+   },\n    type: 'CREATE_ITEM',\n  }\n```\n\nThe preceding example illustrates why (at least for indentation) it seems more intuitive that the function returns the common line from the `bLinesDisplay` array instead of from the `aLinesDisplay` array.\n\n## Usage of diffStringsRaw\n\nGiven **strings** and a boolean option, `diffStringsRaw(a, b, cleanup)` does the following:\n\n1. **compare** the strings character-by-character using the `diff-sequences` package\n2. optionally **clean up** small (often coincidental) common substrings, also known as chaff\n\nBecause `diffStringsRaw` returns the difference as **data** instead of a string, you can format it as your application requires (for example, enclosed in HTML markup for browser instead of escape sequences for console).\n\nThe returned **array** describes substrings as instances of the `Diff` class, which calling code can access like array tuples:\n\nThe value at index `0` is one of the following:\n\n| value | named export  | description           |\n| ----: | :------------ | :-------------------- |\n|   `0` | `DIFF_EQUAL`  | in `a` and in `b`     |\n|  `-1` | `DIFF_DELETE` | in `a` but not in `b` |\n|   `1` | `DIFF_INSERT` | in `b` but not in `a` |\n\nThe value at index `1` is a substring of `a` or `b` or both.\n\n### Example of diffStringsRaw with cleanup\n\n```js\nconst diffs = diffStringsRaw('changed from', 'changed to', true);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `0` | `'changed '`  |\n| `1` |          `-1` | `'from'`      |\n| `2` |           `1` | `'to'`        |\n\n### Example of diffStringsRaw without cleanup\n\n```js\nconst diffs = diffStringsRaw('changed from', 'changed to', false);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `0` | `'changed '`  |\n| `1` |          `-1` | `'fr'`        |\n| `2` |           `1` | `'t'`         |\n| `3` |           `0` | `'o'`         |\n| `4` |          `-1` | `'m'`         |\n\n### Advanced import for diffStringsRaw\n\nHere are all the named imports that you might need for the `diffStringsRaw` function:\n\n- `const {DIFF_DELETE, DIFF_EQUAL, DIFF_INSERT, Diff, diffStringsRaw} = require('jest-diff');` in CommonJS modules\n- `import {DIFF_DELETE, DIFF_EQUAL, DIFF_INSERT, Diff, diffStringsRaw} from 'jest-diff';` in ECMAScript modules\n\nTo write a **formatting** function, you might need the named constants (and `Diff` in TypeScript annotations).\n\nIf you write an application-specific **cleanup** algorithm, then you might need to call the `Diff` constructor:\n\n```js\nconst diffCommon = new Diff(DIFF_EQUAL, 'changed ');\nconst diffDelete = new Diff(DIFF_DELETE, 'from');\nconst diffInsert = new Diff(DIFF_INSERT, 'to');\n```\n\n## Usage of diffLinesRaw\n\nGiven **arrays of strings**, `diffLinesRaw(aLines, bLines)` does the following:\n\n- **compare** the arrays line-by-line using the `diff-sequences` package\n\nBecause `diffLinesRaw` returns the difference as **data** instead of a string, you can format it as your application requires.\n\n### Example of diffLinesRaw\n\n```js\nconst aLines = ['delete', 'common', 'changed from'];\nconst bLines = ['common', 'changed to', 'insert'];\n\nconst diffs = diffLinesRaw(aLines, bLines);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]`    |\n| --: | ------------: | :--------------- |\n| `0` |          `-1` | `'delete'`       |\n| `1` |           `0` | `'common'`       |\n| `2` |          `-1` | `'changed from'` |\n| `3` |           `1` | `'changed to'`   |\n| `4` |           `1` | `'insert'`       |\n\n### Edge case of diffLinesRaw\n\nIf you call `string.split('\\n')` for an empty string:\n\n- the result is `['']` an array which contains an empty string\n- instead of `[]` an empty array\n\nDepending of your application, you might call `diffLinesRaw` with either array.\n\n### Example of split method\n\n```js\nimport {diffLinesRaw} from 'jest-diff';\n\nconst a = 'non-empty string';\nconst b = '';\n\nconst diffs = diffLinesRaw(a.split('\\n'), b.split('\\n'));\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]`        |\n| --: | ------------: | :------------------- |\n| `0` |          `-1` | `'non-empty string'` |\n| `1` |           `1` | `''`                 |\n\nWhich you might format as follows:\n\n```diff\n- Expected  - 1\n+ Received  + 1\n\n- non-empty string\n+\n```\n\n### Example of splitLines0 function\n\nFor edge case behavior like the `diffLinesUnified` function, you might define a `splitLines0` function, which given an empty string, returns `[]` an empty array:\n\n```js\nexport const splitLines0 = string =>\n  string.length === 0 ? [] : string.split('\\n');\n```\n\n```js\nimport {diffLinesRaw} from 'jest-diff';\n\nconst a = '';\nconst b = 'line 1\\nline 2\\nline 3';\n\nconst diffs = diffLinesRaw(a.split('\\n'), b.split('\\n'));\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `1` | `'line 1'`    |\n| `1` |           `1` | `'line 2'`    |\n| `2` |           `1` | `'line 3'`    |\n\nWhich you might format as follows:\n\n```diff\n- Expected  - 0\n+ Received  + 3\n\n+ line 1\n+ line 2\n+ line 3\n```\n\nIn contrast to the `diffLinesRaw` function, the `diffLinesUnified` and `diffLinesUnified2` functions **automatically** convert array arguments computed by string `split` method, so callers do **not** need a `splitLine0` function.\n\n## Options\n\nThe default options are for the report when an assertion fails from the `expect` package used by Jest.\n\nFor other applications, you can provide an options object as a third argument:\n\n- `diffDefault(a, b, options)`\n- `diffStringsUnified(a, b, options)`\n- `diffLinesUnified(aLines, bLines, options)`\n- `diffLinesUnified2(aLinesDisplay, bLinesDisplay, aLinesCompare, bLinesCompare, options)`\n\n### Properties of options object\n\n| name                              | default            |\n| :-------------------------------- | :----------------- |\n| `aAnnotation`                     | `'Expected'`       |\n| `aColor`                          | `chalk.green`      |\n| `aIndicator`                      | `'-'`              |\n| `bAnnotation`                     | `'Received'`       |\n| `bColor`                          | `chalk.red`        |\n| `bIndicator`                      | `'+'`              |\n| `changeColor`                     | `chalk.inverse`    |\n| `changeLineTrailingSpaceColor`    | `string => string` |\n| `commonColor`                     | `chalk.dim`        |\n| `commonIndicator`                 | `' '`              |\n| `commonLineTrailingSpaceColor`    | `string => string` |\n| `contextLines`                    | `5`                |\n| `emptyFirstOrLastLinePlaceholder` | `''`               |\n| `expand`                          | `true`             |\n| `includeChangeCounts`             | `false`            |\n| `omitAnnotationLines`             | `false`            |\n| `patchColor`                      | `chalk.yellow`     |\n\nFor more information about the options, see the following examples.\n\n### Example of options for labels\n\nIf the application is code modification, you might replace the labels:\n\n```js\nconst options = {\n  aAnnotation: 'Original',\n  bAnnotation: 'Modified',\n};\n```\n\n```diff\n- Original\n+ Modified\n\n  common\n- changed from\n+ changed to\n```\n\nThe `jest-diff` package does not assume that the 2 labels have equal length.\n\n### Example of options for colors of changed lines\n\nFor consistency with most diff tools, you might exchange the colors:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  aColor: chalk.red,\n  bColor: chalk.green,\n};\n```\n\n### Example of option for color of changed substrings\n\nAlthough the default inverse of foreground and background colors is hard to beat for changed substrings **within lines**, especially because it highlights spaces, if you want bold font weight on yellow background color:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  changeColor: chalk.bold.bgYellowBright,\n};\n```\n\n### Example of option to format trailing spaces\n\nBecause the default export does not display substring differences within lines, formatting can help you see when lines differ by the presence or absence of trailing spaces found by `/\\s+$/` regular expression.\n\n- If change lines have a background color, then you can see trailing spaces.\n- If common lines have default dim color, then you cannot see trailing spaces. You might want yellowish background color to see them.\n\n```js\nconst options = {\n  aColor: chalk.rgb(128, 0, 128).bgRgb(255, 215, 255), // magenta\n  bColor: chalk.rgb(0, 95, 0).bgRgb(215, 255, 215), // green\n  commonLineTrailingSpaceColor: chalk.bgYellow,\n};\n```\n\nThe value of a Color option is a function, which given a string, returns a string.\n\nIf you want to replace trailing spaces with middle dot characters:\n\n```js\nconst replaceSpacesWithMiddleDot = string => '·'.repeat(string.length);\n\nconst options = {\n  changeLineTrailingSpaceColor: replaceSpacesWithMiddleDot,\n  commonLineTrailingSpaceColor: replaceSpacesWithMiddleDot,\n};\n```\n\nIf you need the TypeScript type of a Color option:\n\n```ts\nimport {DiffOptionsColor} from 'jest-diff';\n```\n\n### Example of options for no colors\n\nTo store the difference in a file without escape codes for colors, provide an identity function:\n\n```js\nconst noColor = string => string;\n\nconst options = {\n  aColor: noColor,\n  bColor: noColor,\n  changeColor: noColor,\n  commonColor: noColor,\n  patchColor: noColor,\n};\n```\n\n### Example of options for indicators\n\nFor consistency with the `diff` command, you might replace the indicators:\n\n```js\nconst options = {\n  aIndicator: '<',\n  bIndicator: '>',\n};\n```\n\nThe `jest-diff` package assumes (but does not enforce) that the 3 indicators have equal length.\n\n### Example of options to limit common lines\n\nBy default, the output includes all common lines.\n\nTo emphasize the changes, you might limit the number of common “context” lines:\n\n```js\nconst options = {\n  contextLines: 1,\n  expand: false,\n};\n```\n\nA patch mark like `@@ -12,7 +12,9 @@` accounts for omitted common lines.\n\n### Example of option for color of patch marks\n\nIf you want patch marks to have the same dim color as common lines:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  expand: false,\n  patchColor: chalk.dim,\n};\n```\n\n### Example of option to include change counts\n\nTo display the number of changed lines at the right of annotation lines:\n\n```js\nconst a = ['common', 'changed from'];\nconst b = ['common', 'changed to', 'insert'];\n\nconst options = {\n  includeChangeCounts: true,\n};\n\nconst difference = diffDefault(a, b, options);\n```\n\n```diff\n- Expected  - 1\n+ Received  + 2\n\n  Array [\n    \"common\",\n-   \"changed from\",\n+   \"changed to\",\n+   \"insert\",\n  ]\n```\n\n### Example of option to omit annotation lines\n\nTo display only the comparison lines:\n\n```js\nconst a = 'common\\nchanged from';\nconst b = 'common\\nchanged to';\n\nconst options = {\n  omitAnnotationLines: true,\n};\n\nconst difference = diffStringsUnified(a, b, options);\n```\n\n```diff\n  common\n- changed from\n+ changed to\n```\n\n### Example of option for empty first or last lines\n\nIf the **first** or **last** comparison line is **empty**, because the content is empty and the indicator is a space, you might not notice it.\n\nThe replacement option is a string whose default value is `''` empty string.\n\nBecause Jest trims the report when a matcher fails, it deletes an empty last line.\n\nTherefore, Jest uses as placeholder the downwards arrow with corner leftwards:\n\n```js\nconst options = {\n  emptyFirstOrLastLinePlaceholder: '↵', // U+21B5\n};\n```\n\nIf a content line is empty, then the corresponding comparison line is automatically trimmed to remove the margin space (represented as a middle dot below) for the default indicators:\n\n|         Indicator | untrimmed | trimmed |\n| ----------------: | :-------- | :------ |\n|      `aIndicator` | `'-·'`    | `'-'`   |\n|      `bIndicator` | `'+·'`    | `'+'`   |\n| `commonIndicator` | `' ·'`    | `''`    |\n","readmeFilename":"README.md","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@27.0.0-next.6","_nodeVersion":"14.15.3","_npmVersion":"lerna/4.0.0/node@v14.15.3+x64 (darwin)","dist":{"integrity":"sha512-wF/HBRSQ1Ysk7znYU6V4uzre0DDlS+IFsRFxgG1E47GR0miTxXov+ymS+dpnfdYB+knTFTmGnb7T20Pt1ffvrw==","shasum":"89274b38d504ade4ed058b094b230c2c8f199773","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-27.0.0-next.6.tgz","fileCount":23,"unpackedSize":86673,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgXOcTCRA9TVsSAnZWagAAglsP/2cwQEcq7K+N4ogtlaw4\nhYVy1j1ptbaxYkWli2EU0xap+a+d19K/LlkA+WH+ohhOc/3K925W9D3SROEH\nwDvK0JgQ5E+2dqhGZoE4CgjkfbKaAN9d3X+IZMw+C1LCd+eJMr3m5NTF2bkh\n+GJ9wGBUHyeFYowrlIsEq6NF3i09y0Re5do9dciJkcb57x/k3wA7vAmUR3uw\n5A9RLN7XNOb9PTkyzTCqVytHfoKuLFuNGaM4ppFZED+GaDdokzaCxes1hc8j\nDGNQjZbgKGW0hgDIUDDcc83vUoqqoldDw+NnwX7QArArJ5iuYklGcATF6wrW\nLgb+UNIul7bwlpvBVyAVjePMIneJCveV4XWLIPYOx5TRFAQGsnAwJ5wkOSY9\nqVv8UdF5GF+JJSptFphj0HuvkXQB9Kj/cQ/KTZMhuDzraWGv3Uu3bnsz8iQD\nJjHquGx61xf8ue+Yh/XCNnAL8viA9dlj1MatJK8LqxzXOJrusTlOQ1f+hKLZ\n+FFCXmph/DxIn7fUUhwY39G4bXxdZU8CVPy2K57m5DnTwmmhEwWMA13d90N+\nd0mjlpbREFATy6ftDSG79PIyysJgzl3y8Nyqrfi8w1haDJoxqKbml0EQ1QxJ\nPsAXE4e+oQUxaXQ79X2DIRw3VSOVvOYU6Q7ACrbZStAsNSvCtvf0TQtZtZtW\ney2r\r\n=NtvZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGfmsJYKL1/zgVNnnitjhQ/CaIL7yYlQkU/jbn/8mDFcAiEA5vknlzq8oqlaZ7pKM6LAIdlMlcyU0lBP/LGHUiSc0IY="}]},"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"maintainers":[{"name":"scotthovestadt","email":"scott.hovestadt@gmail.com"},{"name":"rubennorte","email":"rubennorte@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"cpojer","email":"christoph.pojer@gmail.com"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"aaronabramov","email":"aaron@abramov.io"},{"name":"davidzilburg","email":"davidzilburg@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_27.0.0-next.6_1616701202897_0.8570834544954837"},"_hasShrinkwrap":false},"27.0.0-next.7":{"name":"jest-diff","version":"27.0.0-next.7","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"./build/index.js","types":"./build/index.d.ts","exports":{".":"./build/index.js","./package.json":"./package.json"},"dependencies":{"chalk":"^4.0.0","diff-sequences":"^27.0.0-next.0","jest-get-type":"^27.0.0-next.0","pretty-format":"^27.0.0-next.7"},"devDependencies":{"@jest/test-utils":"^27.0.0-next.7","strip-ansi":"^6.0.0"},"engines":{"node":"^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0"},"publishConfig":{"access":"public"},"gitHead":"28c763e6be8f57bda89238b95dc801460c2d6601","readme":"# jest-diff\n\nDisplay differences clearly so people can review changes confidently.\n\nThe default export serializes JavaScript **values**, compares them line-by-line, and returns a string which includes comparison lines.\n\nTwo named exports compare **strings** character-by-character:\n\n- `diffStringsUnified` returns a string.\n- `diffStringsRaw` returns an array of `Diff` objects.\n\nThree named exports compare **arrays of strings** line-by-line:\n\n- `diffLinesUnified` and `diffLinesUnified2` return a string.\n- `diffLinesRaw` returns an array of `Diff` objects.\n\n## Installation\n\nTo add this package as a dependency of a project, run either of the following commands:\n\n- `npm install jest-diff`\n- `yarn add jest-diff`\n\n## Usage of default export\n\nGiven JavaScript **values**, `diffDefault(a, b, options?)` does the following:\n\n1. **serialize** the values as strings using the `pretty-format` package\n2. **compare** the strings line-by-line using the `diff-sequences` package\n3. **format** the changed or common lines using the `chalk` package\n\nTo use this function, write either of the following:\n\n- `const diffDefault = require('jest-diff').default;` in CommonJS modules\n- `import diffDefault from 'jest-diff';` in ECMAScript modules\n\n### Example of default export\n\n```js\nconst a = ['delete', 'common', 'changed from'];\nconst b = ['common', 'changed to', 'insert'];\n\nconst difference = diffDefault(a, b);\n```\n\nThe returned **string** consists of:\n\n- annotation lines: describe the two change indicators with labels, and a blank line\n- comparison lines: similar to “unified” view on GitHub, but `Expected` lines are green, `Received` lines are red, and common lines are dim (by default, see Options)\n\n```diff\n- Expected\n+ Received\n\n  Array [\n-   \"delete\",\n    \"common\",\n-   \"changed from\",\n+   \"changed to\",\n+   \"insert\",\n  ]\n```\n\n### Edge cases of default export\n\nHere are edge cases for the return value:\n\n- `' Comparing two different types of values. …'` if the arguments have **different types** according to the `jest-get-type` package (instances of different classes have the same `'object'` type)\n- `'Compared values have no visual difference.'` if the arguments have either **referential identity** according to `Object.is` method or **same serialization** according to the `pretty-format` package\n- `null` if either argument is a so-called **asymmetric matcher** in Jasmine or Jest\n\n## Usage of diffStringsUnified\n\nGiven **strings**, `diffStringsUnified(a, b, options?)` does the following:\n\n1. **compare** the strings character-by-character using the `diff-sequences` package\n2. **clean up** small (often coincidental) common substrings, also known as chaff\n3. **format** the changed or common lines using the `chalk` package\n\nAlthough the function is mainly for **multiline** strings, it compares any strings.\n\nWrite either of the following:\n\n- `const {diffStringsUnified} = require('jest-diff');` in CommonJS modules\n- `import {diffStringsUnified} from 'jest-diff';` in ECMAScript modules\n\n### Example of diffStringsUnified\n\n```js\nconst a = 'common\\nchanged from';\nconst b = 'common\\nchanged to';\n\nconst difference = diffStringsUnified(a, b);\n```\n\nThe returned **string** consists of:\n\n- annotation lines: describe the two change indicators with labels, and a blank line\n- comparison lines: similar to “unified” view on GitHub, and **changed substrings** have **inverse** foreground and background colors (that is, `from` has white-on-green and `to` has white-on-red, which the following example does not show)\n\n```diff\n- Expected\n+ Received\n\n  common\n- changed from\n+ changed to\n```\n\n### Performance of diffStringsUnified\n\nTo get the benefit of **changed substrings** within the comparison lines, a character-by-character comparison has a higher computational cost (in time and space) than a line-by-line comparison.\n\nIf the input strings can have **arbitrary length**, we recommend that the calling code set a limit, beyond which splits the strings, and then calls `diffLinesUnified` instead. For example, Jest falls back to line-by-line comparison if either string has length greater than 20K characters.\n\n## Usage of diffLinesUnified\n\nGiven **arrays of strings**, `diffLinesUnified(aLines, bLines, options?)` does the following:\n\n1. **compare** the arrays line-by-line using the `diff-sequences` package\n2. **format** the changed or common lines using the `chalk` package\n\nYou might call this function when strings have been split into lines and you do not need to see changed substrings within lines.\n\n### Example of diffLinesUnified\n\n```js\nconst aLines = ['delete', 'common', 'changed from'];\nconst bLines = ['common', 'changed to', 'insert'];\n\nconst difference = diffLinesUnified(aLines, bLines);\n```\n\n```diff\n- Expected\n+ Received\n\n- delete\n  common\n- changed from\n+ changed to\n+ insert\n```\n\n### Edge cases of diffLinesUnified or diffStringsUnified\n\nHere are edge cases for arguments and return values:\n\n- both `a` and `b` are empty strings: no comparison lines\n- only `a` is empty string: all comparison lines have `bColor` and `bIndicator` (see Options)\n- only `b` is empty string: all comparison lines have `aColor` and `aIndicator` (see Options)\n- `a` and `b` are equal non-empty strings: all comparison lines have `commonColor` and `commonIndicator` (see Options)\n\n## Usage of diffLinesUnified2\n\nGiven two **pairs** of arrays of strings, `diffLinesUnified2(aLinesDisplay, bLinesDisplay, aLinesCompare, bLinesCompare, options?)` does the following:\n\n1. **compare** the pair of `Compare` arrays line-by-line using the `diff-sequences` package\n2. **format** the corresponding lines in the pair of `Display` arrays using the `chalk` package\n\nJest calls this function to consider lines as common instead of changed if the only difference is indentation.\n\nYou might call this function for case insensitive or Unicode equivalence comparison of lines.\n\n### Example of diffLinesUnified2\n\n```js\nimport {format} from 'pretty-format';\n\nconst a = {\n  text: 'Ignore indentation in serialized object',\n  time: '2019-09-19T12:34:56.000Z',\n  type: 'CREATE_ITEM',\n};\nconst b = {\n  payload: {\n    text: 'Ignore indentation in serialized object',\n    time: '2019-09-19T12:34:56.000Z',\n  },\n  type: 'CREATE_ITEM',\n};\n\nconst difference = diffLinesUnified2(\n  // serialize with indentation to display lines\n  format(a).split('\\n'),\n  format(b).split('\\n'),\n  // serialize without indentation to compare lines\n  format(a, {indent: 0}).split('\\n'),\n  format(b, {indent: 0}).split('\\n'),\n);\n```\n\nThe `text` and `time` properties are common, because their only difference is indentation:\n\n```diff\n- Expected\n+ Received\n\n  Object {\n+   payload: Object {\n      text: 'Ignore indentation in serialized object',\n      time: '2019-09-19T12:34:56.000Z',\n+   },\n    type: 'CREATE_ITEM',\n  }\n```\n\nThe preceding example illustrates why (at least for indentation) it seems more intuitive that the function returns the common line from the `bLinesDisplay` array instead of from the `aLinesDisplay` array.\n\n## Usage of diffStringsRaw\n\nGiven **strings** and a boolean option, `diffStringsRaw(a, b, cleanup)` does the following:\n\n1. **compare** the strings character-by-character using the `diff-sequences` package\n2. optionally **clean up** small (often coincidental) common substrings, also known as chaff\n\nBecause `diffStringsRaw` returns the difference as **data** instead of a string, you can format it as your application requires (for example, enclosed in HTML markup for browser instead of escape sequences for console).\n\nThe returned **array** describes substrings as instances of the `Diff` class, which calling code can access like array tuples:\n\nThe value at index `0` is one of the following:\n\n| value | named export  | description           |\n| ----: | :------------ | :-------------------- |\n|   `0` | `DIFF_EQUAL`  | in `a` and in `b`     |\n|  `-1` | `DIFF_DELETE` | in `a` but not in `b` |\n|   `1` | `DIFF_INSERT` | in `b` but not in `a` |\n\nThe value at index `1` is a substring of `a` or `b` or both.\n\n### Example of diffStringsRaw with cleanup\n\n```js\nconst diffs = diffStringsRaw('changed from', 'changed to', true);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `0` | `'changed '`  |\n| `1` |          `-1` | `'from'`      |\n| `2` |           `1` | `'to'`        |\n\n### Example of diffStringsRaw without cleanup\n\n```js\nconst diffs = diffStringsRaw('changed from', 'changed to', false);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `0` | `'changed '`  |\n| `1` |          `-1` | `'fr'`        |\n| `2` |           `1` | `'t'`         |\n| `3` |           `0` | `'o'`         |\n| `4` |          `-1` | `'m'`         |\n\n### Advanced import for diffStringsRaw\n\nHere are all the named imports that you might need for the `diffStringsRaw` function:\n\n- `const {DIFF_DELETE, DIFF_EQUAL, DIFF_INSERT, Diff, diffStringsRaw} = require('jest-diff');` in CommonJS modules\n- `import {DIFF_DELETE, DIFF_EQUAL, DIFF_INSERT, Diff, diffStringsRaw} from 'jest-diff';` in ECMAScript modules\n\nTo write a **formatting** function, you might need the named constants (and `Diff` in TypeScript annotations).\n\nIf you write an application-specific **cleanup** algorithm, then you might need to call the `Diff` constructor:\n\n```js\nconst diffCommon = new Diff(DIFF_EQUAL, 'changed ');\nconst diffDelete = new Diff(DIFF_DELETE, 'from');\nconst diffInsert = new Diff(DIFF_INSERT, 'to');\n```\n\n## Usage of diffLinesRaw\n\nGiven **arrays of strings**, `diffLinesRaw(aLines, bLines)` does the following:\n\n- **compare** the arrays line-by-line using the `diff-sequences` package\n\nBecause `diffLinesRaw` returns the difference as **data** instead of a string, you can format it as your application requires.\n\n### Example of diffLinesRaw\n\n```js\nconst aLines = ['delete', 'common', 'changed from'];\nconst bLines = ['common', 'changed to', 'insert'];\n\nconst diffs = diffLinesRaw(aLines, bLines);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]`    |\n| --: | ------------: | :--------------- |\n| `0` |          `-1` | `'delete'`       |\n| `1` |           `0` | `'common'`       |\n| `2` |          `-1` | `'changed from'` |\n| `3` |           `1` | `'changed to'`   |\n| `4` |           `1` | `'insert'`       |\n\n### Edge case of diffLinesRaw\n\nIf you call `string.split('\\n')` for an empty string:\n\n- the result is `['']` an array which contains an empty string\n- instead of `[]` an empty array\n\nDepending of your application, you might call `diffLinesRaw` with either array.\n\n### Example of split method\n\n```js\nimport {diffLinesRaw} from 'jest-diff';\n\nconst a = 'non-empty string';\nconst b = '';\n\nconst diffs = diffLinesRaw(a.split('\\n'), b.split('\\n'));\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]`        |\n| --: | ------------: | :------------------- |\n| `0` |          `-1` | `'non-empty string'` |\n| `1` |           `1` | `''`                 |\n\nWhich you might format as follows:\n\n```diff\n- Expected  - 1\n+ Received  + 1\n\n- non-empty string\n+\n```\n\n### Example of splitLines0 function\n\nFor edge case behavior like the `diffLinesUnified` function, you might define a `splitLines0` function, which given an empty string, returns `[]` an empty array:\n\n```js\nexport const splitLines0 = string =>\n  string.length === 0 ? [] : string.split('\\n');\n```\n\n```js\nimport {diffLinesRaw} from 'jest-diff';\n\nconst a = '';\nconst b = 'line 1\\nline 2\\nline 3';\n\nconst diffs = diffLinesRaw(a.split('\\n'), b.split('\\n'));\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `1` | `'line 1'`    |\n| `1` |           `1` | `'line 2'`    |\n| `2` |           `1` | `'line 3'`    |\n\nWhich you might format as follows:\n\n```diff\n- Expected  - 0\n+ Received  + 3\n\n+ line 1\n+ line 2\n+ line 3\n```\n\nIn contrast to the `diffLinesRaw` function, the `diffLinesUnified` and `diffLinesUnified2` functions **automatically** convert array arguments computed by string `split` method, so callers do **not** need a `splitLine0` function.\n\n## Options\n\nThe default options are for the report when an assertion fails from the `expect` package used by Jest.\n\nFor other applications, you can provide an options object as a third argument:\n\n- `diffDefault(a, b, options)`\n- `diffStringsUnified(a, b, options)`\n- `diffLinesUnified(aLines, bLines, options)`\n- `diffLinesUnified2(aLinesDisplay, bLinesDisplay, aLinesCompare, bLinesCompare, options)`\n\n### Properties of options object\n\n| name                              | default            |\n| :-------------------------------- | :----------------- |\n| `aAnnotation`                     | `'Expected'`       |\n| `aColor`                          | `chalk.green`      |\n| `aIndicator`                      | `'-'`              |\n| `bAnnotation`                     | `'Received'`       |\n| `bColor`                          | `chalk.red`        |\n| `bIndicator`                      | `'+'`              |\n| `changeColor`                     | `chalk.inverse`    |\n| `changeLineTrailingSpaceColor`    | `string => string` |\n| `commonColor`                     | `chalk.dim`        |\n| `commonIndicator`                 | `' '`              |\n| `commonLineTrailingSpaceColor`    | `string => string` |\n| `contextLines`                    | `5`                |\n| `emptyFirstOrLastLinePlaceholder` | `''`               |\n| `expand`                          | `true`             |\n| `includeChangeCounts`             | `false`            |\n| `omitAnnotationLines`             | `false`            |\n| `patchColor`                      | `chalk.yellow`     |\n\nFor more information about the options, see the following examples.\n\n### Example of options for labels\n\nIf the application is code modification, you might replace the labels:\n\n```js\nconst options = {\n  aAnnotation: 'Original',\n  bAnnotation: 'Modified',\n};\n```\n\n```diff\n- Original\n+ Modified\n\n  common\n- changed from\n+ changed to\n```\n\nThe `jest-diff` package does not assume that the 2 labels have equal length.\n\n### Example of options for colors of changed lines\n\nFor consistency with most diff tools, you might exchange the colors:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  aColor: chalk.red,\n  bColor: chalk.green,\n};\n```\n\n### Example of option for color of changed substrings\n\nAlthough the default inverse of foreground and background colors is hard to beat for changed substrings **within lines**, especially because it highlights spaces, if you want bold font weight on yellow background color:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  changeColor: chalk.bold.bgYellowBright,\n};\n```\n\n### Example of option to format trailing spaces\n\nBecause the default export does not display substring differences within lines, formatting can help you see when lines differ by the presence or absence of trailing spaces found by `/\\s+$/` regular expression.\n\n- If change lines have a background color, then you can see trailing spaces.\n- If common lines have default dim color, then you cannot see trailing spaces. You might want yellowish background color to see them.\n\n```js\nconst options = {\n  aColor: chalk.rgb(128, 0, 128).bgRgb(255, 215, 255), // magenta\n  bColor: chalk.rgb(0, 95, 0).bgRgb(215, 255, 215), // green\n  commonLineTrailingSpaceColor: chalk.bgYellow,\n};\n```\n\nThe value of a Color option is a function, which given a string, returns a string.\n\nIf you want to replace trailing spaces with middle dot characters:\n\n```js\nconst replaceSpacesWithMiddleDot = string => '·'.repeat(string.length);\n\nconst options = {\n  changeLineTrailingSpaceColor: replaceSpacesWithMiddleDot,\n  commonLineTrailingSpaceColor: replaceSpacesWithMiddleDot,\n};\n```\n\nIf you need the TypeScript type of a Color option:\n\n```ts\nimport {DiffOptionsColor} from 'jest-diff';\n```\n\n### Example of options for no colors\n\nTo store the difference in a file without escape codes for colors, provide an identity function:\n\n```js\nconst noColor = string => string;\n\nconst options = {\n  aColor: noColor,\n  bColor: noColor,\n  changeColor: noColor,\n  commonColor: noColor,\n  patchColor: noColor,\n};\n```\n\n### Example of options for indicators\n\nFor consistency with the `diff` command, you might replace the indicators:\n\n```js\nconst options = {\n  aIndicator: '<',\n  bIndicator: '>',\n};\n```\n\nThe `jest-diff` package assumes (but does not enforce) that the 3 indicators have equal length.\n\n### Example of options to limit common lines\n\nBy default, the output includes all common lines.\n\nTo emphasize the changes, you might limit the number of common “context” lines:\n\n```js\nconst options = {\n  contextLines: 1,\n  expand: false,\n};\n```\n\nA patch mark like `@@ -12,7 +12,9 @@` accounts for omitted common lines.\n\n### Example of option for color of patch marks\n\nIf you want patch marks to have the same dim color as common lines:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  expand: false,\n  patchColor: chalk.dim,\n};\n```\n\n### Example of option to include change counts\n\nTo display the number of changed lines at the right of annotation lines:\n\n```js\nconst a = ['common', 'changed from'];\nconst b = ['common', 'changed to', 'insert'];\n\nconst options = {\n  includeChangeCounts: true,\n};\n\nconst difference = diffDefault(a, b, options);\n```\n\n```diff\n- Expected  - 1\n+ Received  + 2\n\n  Array [\n    \"common\",\n-   \"changed from\",\n+   \"changed to\",\n+   \"insert\",\n  ]\n```\n\n### Example of option to omit annotation lines\n\nTo display only the comparison lines:\n\n```js\nconst a = 'common\\nchanged from';\nconst b = 'common\\nchanged to';\n\nconst options = {\n  omitAnnotationLines: true,\n};\n\nconst difference = diffStringsUnified(a, b, options);\n```\n\n```diff\n  common\n- changed from\n+ changed to\n```\n\n### Example of option for empty first or last lines\n\nIf the **first** or **last** comparison line is **empty**, because the content is empty and the indicator is a space, you might not notice it.\n\nThe replacement option is a string whose default value is `''` empty string.\n\nBecause Jest trims the report when a matcher fails, it deletes an empty last line.\n\nTherefore, Jest uses as placeholder the downwards arrow with corner leftwards:\n\n```js\nconst options = {\n  emptyFirstOrLastLinePlaceholder: '↵', // U+21B5\n};\n```\n\nIf a content line is empty, then the corresponding comparison line is automatically trimmed to remove the margin space (represented as a middle dot below) for the default indicators:\n\n|         Indicator | untrimmed | trimmed |\n| ----------------: | :-------- | :------ |\n|      `aIndicator` | `'-·'`    | `'-'`   |\n|      `bIndicator` | `'+·'`    | `'+'`   |\n| `commonIndicator` | `' ·'`    | `''`    |\n","readmeFilename":"README.md","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@27.0.0-next.7","_nodeVersion":"14.15.3","_npmVersion":"lerna/4.0.0/node@v14.15.3+x64 (darwin)","dist":{"integrity":"sha512-NDJgJhQlUTuV17bXfbZGSOrRJ5pVXG/VMvYYk290M5zcwRdYWVuloAhNZnhTcDq+ZsDwV/jJcy6aKj55tz+g8Q==","shasum":"cd1e20c4a9ef686b58ae3e6d72d3c305a6b77b2d","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-27.0.0-next.7.tgz","fileCount":23,"unpackedSize":86673,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgZyCQCRA9TVsSAnZWagAAohUP+QH1kRrpEuWFzZ5uPGmI\nD1Gq4X746tIYaGZd7psvUYP6w3rqm61M/dMGwn4idgJbQt8cmng9EhNJAr2e\nC5KWOQLSPYBRLNo4uVKWdT+tk8b/Ov3iSnG1fcVdaQHQ2DjfWyRKDb444Sa0\nGLim+t2/fwXJG2P/DUhTd8qKCXspT0E/GZHTNHnSaGZyo47dU8F5U5V5JBp3\nJcx52GukWW/DHqgrCKv7TpMMTwgTi5uGbmjsUcrhc/Drzv4eugye0YU7hQx5\nNFUu0ZvHp4WJoQ5xGbLrDoDmTM2JOLoCj7jFST95MOUHr1zl+uUCkLIQ976K\n0eYjtPVWzCeAHkYM9cYNN3s9ZzHTeH50Zjv2BCM4LNkJSl3pVQoiX63uKeHb\nHoiSrzNFw1sPj2hMhhtGg/hKizXZ5JDLpQECXAL7T/b3SZZJi51E0bY5gfY9\n7G63yxSQ0ipxyCjWdlKo5wvsdjfMRjXqUsq2Ax+Ymi9+stTrb9QSvSBN2ykS\ncVT7k1YkVPtud40AargajLFi5BM6dYJEWkEqNtDtXtASFIum/fAW/yjmT/Nt\n5EMA6NLbZAgi8IAnIYDy0eofAz0StgwbcnuFSj/RF4WnTM0O9d5qktSR3AyN\nQ4OxXVAlCnNXHWb2A1YEZs5oUnEnwudsMBEPjuq9oQ8CKTgOhlmus/TK0aBr\n+cw7\r\n=5TIa\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDHtx474TyAyxICzRcUhtJx5+s/mLwbaC5PvPpDxkdBGAIgCr2o4wt0DTCEH1ZuhUWS84819wlgqPQpOlt6G7utFp0="}]},"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"maintainers":[{"name":"scotthovestadt","email":"scott.hovestadt@gmail.com"},{"name":"rubennorte","email":"rubennorte@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"cpojer","email":"christoph.pojer@gmail.com"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"aaronabramov","email":"aaron@abramov.io"},{"name":"davidzilburg","email":"davidzilburg@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_27.0.0-next.7_1617371280039_0.19887408194398382"},"_hasShrinkwrap":false},"27.0.0-next.8":{"name":"jest-diff","version":"27.0.0-next.8","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"./build/index.js","types":"./build/index.d.ts","exports":{".":"./build/index.js","./package.json":"./package.json"},"dependencies":{"chalk":"^4.0.0","diff-sequences":"^27.0.0-next.0","jest-get-type":"^27.0.0-next.0","pretty-format":"^27.0.0-next.8"},"devDependencies":{"@jest/test-utils":"^27.0.0-next.8","strip-ansi":"^6.0.0"},"engines":{"node":"^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0"},"publishConfig":{"access":"public"},"gitHead":"d7ba5030e274b52f029179dfdb860349a36eea37","readme":"# jest-diff\n\nDisplay differences clearly so people can review changes confidently.\n\nThe default export serializes JavaScript **values**, compares them line-by-line, and returns a string which includes comparison lines.\n\nTwo named exports compare **strings** character-by-character:\n\n- `diffStringsUnified` returns a string.\n- `diffStringsRaw` returns an array of `Diff` objects.\n\nThree named exports compare **arrays of strings** line-by-line:\n\n- `diffLinesUnified` and `diffLinesUnified2` return a string.\n- `diffLinesRaw` returns an array of `Diff` objects.\n\n## Installation\n\nTo add this package as a dependency of a project, run either of the following commands:\n\n- `npm install jest-diff`\n- `yarn add jest-diff`\n\n## Usage of default export\n\nGiven JavaScript **values**, `diffDefault(a, b, options?)` does the following:\n\n1. **serialize** the values as strings using the `pretty-format` package\n2. **compare** the strings line-by-line using the `diff-sequences` package\n3. **format** the changed or common lines using the `chalk` package\n\nTo use this function, write either of the following:\n\n- `const diffDefault = require('jest-diff').default;` in CommonJS modules\n- `import diffDefault from 'jest-diff';` in ECMAScript modules\n\n### Example of default export\n\n```js\nconst a = ['delete', 'common', 'changed from'];\nconst b = ['common', 'changed to', 'insert'];\n\nconst difference = diffDefault(a, b);\n```\n\nThe returned **string** consists of:\n\n- annotation lines: describe the two change indicators with labels, and a blank line\n- comparison lines: similar to “unified” view on GitHub, but `Expected` lines are green, `Received` lines are red, and common lines are dim (by default, see Options)\n\n```diff\n- Expected\n+ Received\n\n  Array [\n-   \"delete\",\n    \"common\",\n-   \"changed from\",\n+   \"changed to\",\n+   \"insert\",\n  ]\n```\n\n### Edge cases of default export\n\nHere are edge cases for the return value:\n\n- `' Comparing two different types of values. …'` if the arguments have **different types** according to the `jest-get-type` package (instances of different classes have the same `'object'` type)\n- `'Compared values have no visual difference.'` if the arguments have either **referential identity** according to `Object.is` method or **same serialization** according to the `pretty-format` package\n- `null` if either argument is a so-called **asymmetric matcher** in Jasmine or Jest\n\n## Usage of diffStringsUnified\n\nGiven **strings**, `diffStringsUnified(a, b, options?)` does the following:\n\n1. **compare** the strings character-by-character using the `diff-sequences` package\n2. **clean up** small (often coincidental) common substrings, also known as chaff\n3. **format** the changed or common lines using the `chalk` package\n\nAlthough the function is mainly for **multiline** strings, it compares any strings.\n\nWrite either of the following:\n\n- `const {diffStringsUnified} = require('jest-diff');` in CommonJS modules\n- `import {diffStringsUnified} from 'jest-diff';` in ECMAScript modules\n\n### Example of diffStringsUnified\n\n```js\nconst a = 'common\\nchanged from';\nconst b = 'common\\nchanged to';\n\nconst difference = diffStringsUnified(a, b);\n```\n\nThe returned **string** consists of:\n\n- annotation lines: describe the two change indicators with labels, and a blank line\n- comparison lines: similar to “unified” view on GitHub, and **changed substrings** have **inverse** foreground and background colors (that is, `from` has white-on-green and `to` has white-on-red, which the following example does not show)\n\n```diff\n- Expected\n+ Received\n\n  common\n- changed from\n+ changed to\n```\n\n### Performance of diffStringsUnified\n\nTo get the benefit of **changed substrings** within the comparison lines, a character-by-character comparison has a higher computational cost (in time and space) than a line-by-line comparison.\n\nIf the input strings can have **arbitrary length**, we recommend that the calling code set a limit, beyond which splits the strings, and then calls `diffLinesUnified` instead. For example, Jest falls back to line-by-line comparison if either string has length greater than 20K characters.\n\n## Usage of diffLinesUnified\n\nGiven **arrays of strings**, `diffLinesUnified(aLines, bLines, options?)` does the following:\n\n1. **compare** the arrays line-by-line using the `diff-sequences` package\n2. **format** the changed or common lines using the `chalk` package\n\nYou might call this function when strings have been split into lines and you do not need to see changed substrings within lines.\n\n### Example of diffLinesUnified\n\n```js\nconst aLines = ['delete', 'common', 'changed from'];\nconst bLines = ['common', 'changed to', 'insert'];\n\nconst difference = diffLinesUnified(aLines, bLines);\n```\n\n```diff\n- Expected\n+ Received\n\n- delete\n  common\n- changed from\n+ changed to\n+ insert\n```\n\n### Edge cases of diffLinesUnified or diffStringsUnified\n\nHere are edge cases for arguments and return values:\n\n- both `a` and `b` are empty strings: no comparison lines\n- only `a` is empty string: all comparison lines have `bColor` and `bIndicator` (see Options)\n- only `b` is empty string: all comparison lines have `aColor` and `aIndicator` (see Options)\n- `a` and `b` are equal non-empty strings: all comparison lines have `commonColor` and `commonIndicator` (see Options)\n\n## Usage of diffLinesUnified2\n\nGiven two **pairs** of arrays of strings, `diffLinesUnified2(aLinesDisplay, bLinesDisplay, aLinesCompare, bLinesCompare, options?)` does the following:\n\n1. **compare** the pair of `Compare` arrays line-by-line using the `diff-sequences` package\n2. **format** the corresponding lines in the pair of `Display` arrays using the `chalk` package\n\nJest calls this function to consider lines as common instead of changed if the only difference is indentation.\n\nYou might call this function for case insensitive or Unicode equivalence comparison of lines.\n\n### Example of diffLinesUnified2\n\n```js\nimport {format} from 'pretty-format';\n\nconst a = {\n  text: 'Ignore indentation in serialized object',\n  time: '2019-09-19T12:34:56.000Z',\n  type: 'CREATE_ITEM',\n};\nconst b = {\n  payload: {\n    text: 'Ignore indentation in serialized object',\n    time: '2019-09-19T12:34:56.000Z',\n  },\n  type: 'CREATE_ITEM',\n};\n\nconst difference = diffLinesUnified2(\n  // serialize with indentation to display lines\n  format(a).split('\\n'),\n  format(b).split('\\n'),\n  // serialize without indentation to compare lines\n  format(a, {indent: 0}).split('\\n'),\n  format(b, {indent: 0}).split('\\n'),\n);\n```\n\nThe `text` and `time` properties are common, because their only difference is indentation:\n\n```diff\n- Expected\n+ Received\n\n  Object {\n+   payload: Object {\n      text: 'Ignore indentation in serialized object',\n      time: '2019-09-19T12:34:56.000Z',\n+   },\n    type: 'CREATE_ITEM',\n  }\n```\n\nThe preceding example illustrates why (at least for indentation) it seems more intuitive that the function returns the common line from the `bLinesDisplay` array instead of from the `aLinesDisplay` array.\n\n## Usage of diffStringsRaw\n\nGiven **strings** and a boolean option, `diffStringsRaw(a, b, cleanup)` does the following:\n\n1. **compare** the strings character-by-character using the `diff-sequences` package\n2. optionally **clean up** small (often coincidental) common substrings, also known as chaff\n\nBecause `diffStringsRaw` returns the difference as **data** instead of a string, you can format it as your application requires (for example, enclosed in HTML markup for browser instead of escape sequences for console).\n\nThe returned **array** describes substrings as instances of the `Diff` class, which calling code can access like array tuples:\n\nThe value at index `0` is one of the following:\n\n| value | named export  | description           |\n| ----: | :------------ | :-------------------- |\n|   `0` | `DIFF_EQUAL`  | in `a` and in `b`     |\n|  `-1` | `DIFF_DELETE` | in `a` but not in `b` |\n|   `1` | `DIFF_INSERT` | in `b` but not in `a` |\n\nThe value at index `1` is a substring of `a` or `b` or both.\n\n### Example of diffStringsRaw with cleanup\n\n```js\nconst diffs = diffStringsRaw('changed from', 'changed to', true);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `0` | `'changed '`  |\n| `1` |          `-1` | `'from'`      |\n| `2` |           `1` | `'to'`        |\n\n### Example of diffStringsRaw without cleanup\n\n```js\nconst diffs = diffStringsRaw('changed from', 'changed to', false);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `0` | `'changed '`  |\n| `1` |          `-1` | `'fr'`        |\n| `2` |           `1` | `'t'`         |\n| `3` |           `0` | `'o'`         |\n| `4` |          `-1` | `'m'`         |\n\n### Advanced import for diffStringsRaw\n\nHere are all the named imports that you might need for the `diffStringsRaw` function:\n\n- `const {DIFF_DELETE, DIFF_EQUAL, DIFF_INSERT, Diff, diffStringsRaw} = require('jest-diff');` in CommonJS modules\n- `import {DIFF_DELETE, DIFF_EQUAL, DIFF_INSERT, Diff, diffStringsRaw} from 'jest-diff';` in ECMAScript modules\n\nTo write a **formatting** function, you might need the named constants (and `Diff` in TypeScript annotations).\n\nIf you write an application-specific **cleanup** algorithm, then you might need to call the `Diff` constructor:\n\n```js\nconst diffCommon = new Diff(DIFF_EQUAL, 'changed ');\nconst diffDelete = new Diff(DIFF_DELETE, 'from');\nconst diffInsert = new Diff(DIFF_INSERT, 'to');\n```\n\n## Usage of diffLinesRaw\n\nGiven **arrays of strings**, `diffLinesRaw(aLines, bLines)` does the following:\n\n- **compare** the arrays line-by-line using the `diff-sequences` package\n\nBecause `diffLinesRaw` returns the difference as **data** instead of a string, you can format it as your application requires.\n\n### Example of diffLinesRaw\n\n```js\nconst aLines = ['delete', 'common', 'changed from'];\nconst bLines = ['common', 'changed to', 'insert'];\n\nconst diffs = diffLinesRaw(aLines, bLines);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]`    |\n| --: | ------------: | :--------------- |\n| `0` |          `-1` | `'delete'`       |\n| `1` |           `0` | `'common'`       |\n| `2` |          `-1` | `'changed from'` |\n| `3` |           `1` | `'changed to'`   |\n| `4` |           `1` | `'insert'`       |\n\n### Edge case of diffLinesRaw\n\nIf you call `string.split('\\n')` for an empty string:\n\n- the result is `['']` an array which contains an empty string\n- instead of `[]` an empty array\n\nDepending of your application, you might call `diffLinesRaw` with either array.\n\n### Example of split method\n\n```js\nimport {diffLinesRaw} from 'jest-diff';\n\nconst a = 'non-empty string';\nconst b = '';\n\nconst diffs = diffLinesRaw(a.split('\\n'), b.split('\\n'));\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]`        |\n| --: | ------------: | :------------------- |\n| `0` |          `-1` | `'non-empty string'` |\n| `1` |           `1` | `''`                 |\n\nWhich you might format as follows:\n\n```diff\n- Expected  - 1\n+ Received  + 1\n\n- non-empty string\n+\n```\n\n### Example of splitLines0 function\n\nFor edge case behavior like the `diffLinesUnified` function, you might define a `splitLines0` function, which given an empty string, returns `[]` an empty array:\n\n```js\nexport const splitLines0 = string =>\n  string.length === 0 ? [] : string.split('\\n');\n```\n\n```js\nimport {diffLinesRaw} from 'jest-diff';\n\nconst a = '';\nconst b = 'line 1\\nline 2\\nline 3';\n\nconst diffs = diffLinesRaw(a.split('\\n'), b.split('\\n'));\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `1` | `'line 1'`    |\n| `1` |           `1` | `'line 2'`    |\n| `2` |           `1` | `'line 3'`    |\n\nWhich you might format as follows:\n\n```diff\n- Expected  - 0\n+ Received  + 3\n\n+ line 1\n+ line 2\n+ line 3\n```\n\nIn contrast to the `diffLinesRaw` function, the `diffLinesUnified` and `diffLinesUnified2` functions **automatically** convert array arguments computed by string `split` method, so callers do **not** need a `splitLine0` function.\n\n## Options\n\nThe default options are for the report when an assertion fails from the `expect` package used by Jest.\n\nFor other applications, you can provide an options object as a third argument:\n\n- `diffDefault(a, b, options)`\n- `diffStringsUnified(a, b, options)`\n- `diffLinesUnified(aLines, bLines, options)`\n- `diffLinesUnified2(aLinesDisplay, bLinesDisplay, aLinesCompare, bLinesCompare, options)`\n\n### Properties of options object\n\n| name                              | default            |\n| :-------------------------------- | :----------------- |\n| `aAnnotation`                     | `'Expected'`       |\n| `aColor`                          | `chalk.green`      |\n| `aIndicator`                      | `'-'`              |\n| `bAnnotation`                     | `'Received'`       |\n| `bColor`                          | `chalk.red`        |\n| `bIndicator`                      | `'+'`              |\n| `changeColor`                     | `chalk.inverse`    |\n| `changeLineTrailingSpaceColor`    | `string => string` |\n| `commonColor`                     | `chalk.dim`        |\n| `commonIndicator`                 | `' '`              |\n| `commonLineTrailingSpaceColor`    | `string => string` |\n| `contextLines`                    | `5`                |\n| `emptyFirstOrLastLinePlaceholder` | `''`               |\n| `expand`                          | `true`             |\n| `includeChangeCounts`             | `false`            |\n| `omitAnnotationLines`             | `false`            |\n| `patchColor`                      | `chalk.yellow`     |\n\nFor more information about the options, see the following examples.\n\n### Example of options for labels\n\nIf the application is code modification, you might replace the labels:\n\n```js\nconst options = {\n  aAnnotation: 'Original',\n  bAnnotation: 'Modified',\n};\n```\n\n```diff\n- Original\n+ Modified\n\n  common\n- changed from\n+ changed to\n```\n\nThe `jest-diff` package does not assume that the 2 labels have equal length.\n\n### Example of options for colors of changed lines\n\nFor consistency with most diff tools, you might exchange the colors:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  aColor: chalk.red,\n  bColor: chalk.green,\n};\n```\n\n### Example of option for color of changed substrings\n\nAlthough the default inverse of foreground and background colors is hard to beat for changed substrings **within lines**, especially because it highlights spaces, if you want bold font weight on yellow background color:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  changeColor: chalk.bold.bgYellowBright,\n};\n```\n\n### Example of option to format trailing spaces\n\nBecause the default export does not display substring differences within lines, formatting can help you see when lines differ by the presence or absence of trailing spaces found by `/\\s+$/` regular expression.\n\n- If change lines have a background color, then you can see trailing spaces.\n- If common lines have default dim color, then you cannot see trailing spaces. You might want yellowish background color to see them.\n\n```js\nconst options = {\n  aColor: chalk.rgb(128, 0, 128).bgRgb(255, 215, 255), // magenta\n  bColor: chalk.rgb(0, 95, 0).bgRgb(215, 255, 215), // green\n  commonLineTrailingSpaceColor: chalk.bgYellow,\n};\n```\n\nThe value of a Color option is a function, which given a string, returns a string.\n\nIf you want to replace trailing spaces with middle dot characters:\n\n```js\nconst replaceSpacesWithMiddleDot = string => '·'.repeat(string.length);\n\nconst options = {\n  changeLineTrailingSpaceColor: replaceSpacesWithMiddleDot,\n  commonLineTrailingSpaceColor: replaceSpacesWithMiddleDot,\n};\n```\n\nIf you need the TypeScript type of a Color option:\n\n```ts\nimport {DiffOptionsColor} from 'jest-diff';\n```\n\n### Example of options for no colors\n\nTo store the difference in a file without escape codes for colors, provide an identity function:\n\n```js\nconst noColor = string => string;\n\nconst options = {\n  aColor: noColor,\n  bColor: noColor,\n  changeColor: noColor,\n  commonColor: noColor,\n  patchColor: noColor,\n};\n```\n\n### Example of options for indicators\n\nFor consistency with the `diff` command, you might replace the indicators:\n\n```js\nconst options = {\n  aIndicator: '<',\n  bIndicator: '>',\n};\n```\n\nThe `jest-diff` package assumes (but does not enforce) that the 3 indicators have equal length.\n\n### Example of options to limit common lines\n\nBy default, the output includes all common lines.\n\nTo emphasize the changes, you might limit the number of common “context” lines:\n\n```js\nconst options = {\n  contextLines: 1,\n  expand: false,\n};\n```\n\nA patch mark like `@@ -12,7 +12,9 @@` accounts for omitted common lines.\n\n### Example of option for color of patch marks\n\nIf you want patch marks to have the same dim color as common lines:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  expand: false,\n  patchColor: chalk.dim,\n};\n```\n\n### Example of option to include change counts\n\nTo display the number of changed lines at the right of annotation lines:\n\n```js\nconst a = ['common', 'changed from'];\nconst b = ['common', 'changed to', 'insert'];\n\nconst options = {\n  includeChangeCounts: true,\n};\n\nconst difference = diffDefault(a, b, options);\n```\n\n```diff\n- Expected  - 1\n+ Received  + 2\n\n  Array [\n    \"common\",\n-   \"changed from\",\n+   \"changed to\",\n+   \"insert\",\n  ]\n```\n\n### Example of option to omit annotation lines\n\nTo display only the comparison lines:\n\n```js\nconst a = 'common\\nchanged from';\nconst b = 'common\\nchanged to';\n\nconst options = {\n  omitAnnotationLines: true,\n};\n\nconst difference = diffStringsUnified(a, b, options);\n```\n\n```diff\n  common\n- changed from\n+ changed to\n```\n\n### Example of option for empty first or last lines\n\nIf the **first** or **last** comparison line is **empty**, because the content is empty and the indicator is a space, you might not notice it.\n\nThe replacement option is a string whose default value is `''` empty string.\n\nBecause Jest trims the report when a matcher fails, it deletes an empty last line.\n\nTherefore, Jest uses as placeholder the downwards arrow with corner leftwards:\n\n```js\nconst options = {\n  emptyFirstOrLastLinePlaceholder: '↵', // U+21B5\n};\n```\n\nIf a content line is empty, then the corresponding comparison line is automatically trimmed to remove the margin space (represented as a middle dot below) for the default indicators:\n\n|         Indicator | untrimmed | trimmed |\n| ----------------: | :-------- | :------ |\n|      `aIndicator` | `'-·'`    | `'-'`   |\n|      `bIndicator` | `'+·'`    | `'+'`   |\n| `commonIndicator` | `' ·'`    | `''`    |\n","readmeFilename":"README.md","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@27.0.0-next.8","_nodeVersion":"14.15.3","_npmVersion":"lerna/4.0.0/node@v14.15.3+x64 (darwin)","dist":{"integrity":"sha512-zjkNfBpWHkLznVqfdj26AQihpWH84RD3s9xZ7pP0kc999/olNtNNHRFmAFwAVfarpgp1rrX/24US/UbpX4zYYg==","shasum":"d3ab65fe9297ee21f67653d923648650f1840a3d","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-27.0.0-next.8.tgz","fileCount":23,"unpackedSize":86673,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgdMzZCRA9TVsSAnZWagAAzekP/30ZLZADoXT1VOB4L0dL\nF1o2XWu7d+GrBfw5eqM2RpNxd20tXj7O+xEUEsVl8XNIjHDvnK6VV2PocoZd\nEeyC+Dy+raQzDM0MEwB+EM4RTr0W/H6yemcXlAsRWyPPJdWEmGy/fbUcaF7Z\ngY5UGYJJGxRQfOQayYKxnJASbdW5WzmvjYb3eZuLZ0bRHOAzp50LzwQKb5kM\nz8w9sKaAxT4W25QeeHJ7St0rGM01aEKn544jYpBRE4IsYKuvhet+JeN1zZc/\ncadOOHkHyapO20zIpOcKjDp9kmmFNXWhcFPOcdEOehichRUD55uqG+6xRbnp\ncqYIg8xlp40Ccg74Ey/ZKBSIWC5PMcyc0NVrf7pW2rr0fSiY0bx6ByuiFWV0\nx4uHRuHK31W/bQcFFZ4IFRET/UmDJoW9JCnn9aLXJHLkpem0d7edNsyZxPR4\nNJ9oeCQ06r2AczcO9/VLi/UU4iV3nrUxHplHR4dW7ph5XKRtnkcWvjA/CsZc\nFkOjEFjzmhtIt++hHwhHW9I7e7ZTDWks4ox5ReUPK7k2pwAU1tP/mekDGR0m\nB6xIbyYJzn76NVQOzHbG3em8mIWE9j1fsY1OrQhDm67x9Cqh/MCqiiYuIaLp\nLogr+GzsJisup0v1JZBbHpK+ayM9oV8thr+3GAOfzcBW4tueNSzEoZh40VTY\n5hZ9\r\n=zsxK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCXQH3Gi2okLAUppe9Nn3ICrLsRLtUdA3kbh51ba71TmwIgeyffvua/KYZiDOnqFt2erPoxBFiyJ1e7i5Lk6T4fu30="}]},"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"maintainers":[{"name":"scotthovestadt","email":"scott.hovestadt@gmail.com"},{"name":"rubennorte","email":"rubennorte@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"aaronabramov","email":"aaron@abramov.io"},{"name":"davidzilburg","email":"davidzilburg@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_27.0.0-next.8_1618267353041_0.6136320149897874"},"_hasShrinkwrap":false},"27.0.0-next.9":{"name":"jest-diff","version":"27.0.0-next.9","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"./build/index.js","types":"./build/index.d.ts","exports":{".":"./build/index.js","./package.json":"./package.json"},"dependencies":{"chalk":"^4.0.0","diff-sequences":"^27.0.0-next.0","jest-get-type":"^27.0.0-next.9","pretty-format":"^27.0.0-next.9"},"devDependencies":{"@jest/test-utils":"^27.0.0-next.9","strip-ansi":"^6.0.0"},"engines":{"node":"^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0"},"publishConfig":{"access":"public"},"gitHead":"d836f33f98845794b4eae8149548a81ddcfc6521","readme":"# jest-diff\n\nDisplay differences clearly so people can review changes confidently.\n\nThe `diff` named export serializes JavaScript **values**, compares them line-by-line, and returns a string which includes comparison lines.\n\nTwo named exports compare **strings** character-by-character:\n\n- `diffStringsUnified` returns a string.\n- `diffStringsRaw` returns an array of `Diff` objects.\n\nThree named exports compare **arrays of strings** line-by-line:\n\n- `diffLinesUnified` and `diffLinesUnified2` return a string.\n- `diffLinesRaw` returns an array of `Diff` objects.\n\n## Installation\n\nTo add this package as a dependency of a project, run either of the following commands:\n\n- `npm install jest-diff`\n- `yarn add jest-diff`\n\n## Usage of `diff()`\n\nGiven JavaScript **values**, `diff(a, b, options?)` does the following:\n\n1. **serialize** the values as strings using the `pretty-format` package\n2. **compare** the strings line-by-line using the `diff-sequences` package\n3. **format** the changed or common lines using the `chalk` package\n\nTo use this function, write either of the following:\n\n- `const {diff} = require('jest-diff');` in CommonJS modules\n- `import {diff} from 'jest-diff';` in ECMAScript modules\n\n### Example of `diff()`\n\n```js\nconst a = ['delete', 'common', 'changed from'];\nconst b = ['common', 'changed to', 'insert'];\n\nconst difference = diff(a, b);\n```\n\nThe returned **string** consists of:\n\n- annotation lines: describe the two change indicators with labels, and a blank line\n- comparison lines: similar to “unified” view on GitHub, but `Expected` lines are green, `Received` lines are red, and common lines are dim (by default, see Options)\n\n```diff\n- Expected\n+ Received\n\n  Array [\n-   \"delete\",\n    \"common\",\n-   \"changed from\",\n+   \"changed to\",\n+   \"insert\",\n  ]\n```\n\n### Edge cases of `diff()`\n\nHere are edge cases for the return value:\n\n- `' Comparing two different types of values. …'` if the arguments have **different types** according to the `jest-get-type` package (instances of different classes have the same `'object'` type)\n- `'Compared values have no visual difference.'` if the arguments have either **referential identity** according to `Object.is` method or **same serialization** according to the `pretty-format` package\n- `null` if either argument is a so-called **asymmetric matcher** in Jasmine or Jest\n\n## Usage of diffStringsUnified\n\nGiven **strings**, `diffStringsUnified(a, b, options?)` does the following:\n\n1. **compare** the strings character-by-character using the `diff-sequences` package\n2. **clean up** small (often coincidental) common substrings, also known as chaff\n3. **format** the changed or common lines using the `chalk` package\n\nAlthough the function is mainly for **multiline** strings, it compares any strings.\n\nWrite either of the following:\n\n- `const {diffStringsUnified} = require('jest-diff');` in CommonJS modules\n- `import {diffStringsUnified} from 'jest-diff';` in ECMAScript modules\n\n### Example of diffStringsUnified\n\n```js\nconst a = 'common\\nchanged from';\nconst b = 'common\\nchanged to';\n\nconst difference = diffStringsUnified(a, b);\n```\n\nThe returned **string** consists of:\n\n- annotation lines: describe the two change indicators with labels, and a blank line\n- comparison lines: similar to “unified” view on GitHub, and **changed substrings** have **inverse** foreground and background colors (that is, `from` has white-on-green and `to` has white-on-red, which the following example does not show)\n\n```diff\n- Expected\n+ Received\n\n  common\n- changed from\n+ changed to\n```\n\n### Performance of diffStringsUnified\n\nTo get the benefit of **changed substrings** within the comparison lines, a character-by-character comparison has a higher computational cost (in time and space) than a line-by-line comparison.\n\nIf the input strings can have **arbitrary length**, we recommend that the calling code set a limit, beyond which splits the strings, and then calls `diffLinesUnified` instead. For example, Jest falls back to line-by-line comparison if either string has length greater than 20K characters.\n\n## Usage of diffLinesUnified\n\nGiven **arrays of strings**, `diffLinesUnified(aLines, bLines, options?)` does the following:\n\n1. **compare** the arrays line-by-line using the `diff-sequences` package\n2. **format** the changed or common lines using the `chalk` package\n\nYou might call this function when strings have been split into lines and you do not need to see changed substrings within lines.\n\n### Example of diffLinesUnified\n\n```js\nconst aLines = ['delete', 'common', 'changed from'];\nconst bLines = ['common', 'changed to', 'insert'];\n\nconst difference = diffLinesUnified(aLines, bLines);\n```\n\n```diff\n- Expected\n+ Received\n\n- delete\n  common\n- changed from\n+ changed to\n+ insert\n```\n\n### Edge cases of diffLinesUnified or diffStringsUnified\n\nHere are edge cases for arguments and return values:\n\n- both `a` and `b` are empty strings: no comparison lines\n- only `a` is empty string: all comparison lines have `bColor` and `bIndicator` (see Options)\n- only `b` is empty string: all comparison lines have `aColor` and `aIndicator` (see Options)\n- `a` and `b` are equal non-empty strings: all comparison lines have `commonColor` and `commonIndicator` (see Options)\n\n## Usage of diffLinesUnified2\n\nGiven two **pairs** of arrays of strings, `diffLinesUnified2(aLinesDisplay, bLinesDisplay, aLinesCompare, bLinesCompare, options?)` does the following:\n\n1. **compare** the pair of `Compare` arrays line-by-line using the `diff-sequences` package\n2. **format** the corresponding lines in the pair of `Display` arrays using the `chalk` package\n\nJest calls this function to consider lines as common instead of changed if the only difference is indentation.\n\nYou might call this function for case insensitive or Unicode equivalence comparison of lines.\n\n### Example of diffLinesUnified2\n\n```js\nimport {format} from 'pretty-format';\n\nconst a = {\n  text: 'Ignore indentation in serialized object',\n  time: '2019-09-19T12:34:56.000Z',\n  type: 'CREATE_ITEM',\n};\nconst b = {\n  payload: {\n    text: 'Ignore indentation in serialized object',\n    time: '2019-09-19T12:34:56.000Z',\n  },\n  type: 'CREATE_ITEM',\n};\n\nconst difference = diffLinesUnified2(\n  // serialize with indentation to display lines\n  format(a).split('\\n'),\n  format(b).split('\\n'),\n  // serialize without indentation to compare lines\n  format(a, {indent: 0}).split('\\n'),\n  format(b, {indent: 0}).split('\\n'),\n);\n```\n\nThe `text` and `time` properties are common, because their only difference is indentation:\n\n```diff\n- Expected\n+ Received\n\n  Object {\n+   payload: Object {\n      text: 'Ignore indentation in serialized object',\n      time: '2019-09-19T12:34:56.000Z',\n+   },\n    type: 'CREATE_ITEM',\n  }\n```\n\nThe preceding example illustrates why (at least for indentation) it seems more intuitive that the function returns the common line from the `bLinesDisplay` array instead of from the `aLinesDisplay` array.\n\n## Usage of diffStringsRaw\n\nGiven **strings** and a boolean option, `diffStringsRaw(a, b, cleanup)` does the following:\n\n1. **compare** the strings character-by-character using the `diff-sequences` package\n2. optionally **clean up** small (often coincidental) common substrings, also known as chaff\n\nBecause `diffStringsRaw` returns the difference as **data** instead of a string, you can format it as your application requires (for example, enclosed in HTML markup for browser instead of escape sequences for console).\n\nThe returned **array** describes substrings as instances of the `Diff` class, which calling code can access like array tuples:\n\nThe value at index `0` is one of the following:\n\n| value | named export  | description           |\n| ----: | :------------ | :-------------------- |\n|   `0` | `DIFF_EQUAL`  | in `a` and in `b`     |\n|  `-1` | `DIFF_DELETE` | in `a` but not in `b` |\n|   `1` | `DIFF_INSERT` | in `b` but not in `a` |\n\nThe value at index `1` is a substring of `a` or `b` or both.\n\n### Example of diffStringsRaw with cleanup\n\n```js\nconst diffs = diffStringsRaw('changed from', 'changed to', true);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `0` | `'changed '`  |\n| `1` |          `-1` | `'from'`      |\n| `2` |           `1` | `'to'`        |\n\n### Example of diffStringsRaw without cleanup\n\n```js\nconst diffs = diffStringsRaw('changed from', 'changed to', false);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `0` | `'changed '`  |\n| `1` |          `-1` | `'fr'`        |\n| `2` |           `1` | `'t'`         |\n| `3` |           `0` | `'o'`         |\n| `4` |          `-1` | `'m'`         |\n\n### Advanced import for diffStringsRaw\n\nHere are all the named imports that you might need for the `diffStringsRaw` function:\n\n- `const {DIFF_DELETE, DIFF_EQUAL, DIFF_INSERT, Diff, diffStringsRaw} = require('jest-diff');` in CommonJS modules\n- `import {DIFF_DELETE, DIFF_EQUAL, DIFF_INSERT, Diff, diffStringsRaw} from 'jest-diff';` in ECMAScript modules\n\nTo write a **formatting** function, you might need the named constants (and `Diff` in TypeScript annotations).\n\nIf you write an application-specific **cleanup** algorithm, then you might need to call the `Diff` constructor:\n\n```js\nconst diffCommon = new Diff(DIFF_EQUAL, 'changed ');\nconst diffDelete = new Diff(DIFF_DELETE, 'from');\nconst diffInsert = new Diff(DIFF_INSERT, 'to');\n```\n\n## Usage of diffLinesRaw\n\nGiven **arrays of strings**, `diffLinesRaw(aLines, bLines)` does the following:\n\n- **compare** the arrays line-by-line using the `diff-sequences` package\n\nBecause `diffLinesRaw` returns the difference as **data** instead of a string, you can format it as your application requires.\n\n### Example of diffLinesRaw\n\n```js\nconst aLines = ['delete', 'common', 'changed from'];\nconst bLines = ['common', 'changed to', 'insert'];\n\nconst diffs = diffLinesRaw(aLines, bLines);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]`    |\n| --: | ------------: | :--------------- |\n| `0` |          `-1` | `'delete'`       |\n| `1` |           `0` | `'common'`       |\n| `2` |          `-1` | `'changed from'` |\n| `3` |           `1` | `'changed to'`   |\n| `4` |           `1` | `'insert'`       |\n\n### Edge case of diffLinesRaw\n\nIf you call `string.split('\\n')` for an empty string:\n\n- the result is `['']` an array which contains an empty string\n- instead of `[]` an empty array\n\nDepending of your application, you might call `diffLinesRaw` with either array.\n\n### Example of split method\n\n```js\nimport {diffLinesRaw} from 'jest-diff';\n\nconst a = 'non-empty string';\nconst b = '';\n\nconst diffs = diffLinesRaw(a.split('\\n'), b.split('\\n'));\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]`        |\n| --: | ------------: | :------------------- |\n| `0` |          `-1` | `'non-empty string'` |\n| `1` |           `1` | `''`                 |\n\nWhich you might format as follows:\n\n```diff\n- Expected  - 1\n+ Received  + 1\n\n- non-empty string\n+\n```\n\n### Example of splitLines0 function\n\nFor edge case behavior like the `diffLinesUnified` function, you might define a `splitLines0` function, which given an empty string, returns `[]` an empty array:\n\n```js\nexport const splitLines0 = string =>\n  string.length === 0 ? [] : string.split('\\n');\n```\n\n```js\nimport {diffLinesRaw} from 'jest-diff';\n\nconst a = '';\nconst b = 'line 1\\nline 2\\nline 3';\n\nconst diffs = diffLinesRaw(a.split('\\n'), b.split('\\n'));\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `1` | `'line 1'`    |\n| `1` |           `1` | `'line 2'`    |\n| `2` |           `1` | `'line 3'`    |\n\nWhich you might format as follows:\n\n```diff\n- Expected  - 0\n+ Received  + 3\n\n+ line 1\n+ line 2\n+ line 3\n```\n\nIn contrast to the `diffLinesRaw` function, the `diffLinesUnified` and `diffLinesUnified2` functions **automatically** convert array arguments computed by string `split` method, so callers do **not** need a `splitLine0` function.\n\n## Options\n\nThe default options are for the report when an assertion fails from the `expect` package used by Jest.\n\nFor other applications, you can provide an options object as a third argument:\n\n- `diff(a, b, options)`\n- `diffStringsUnified(a, b, options)`\n- `diffLinesUnified(aLines, bLines, options)`\n- `diffLinesUnified2(aLinesDisplay, bLinesDisplay, aLinesCompare, bLinesCompare, options)`\n\n### Properties of options object\n\n| name                              | default            |\n| :-------------------------------- | :----------------- |\n| `aAnnotation`                     | `'Expected'`       |\n| `aColor`                          | `chalk.green`      |\n| `aIndicator`                      | `'-'`              |\n| `bAnnotation`                     | `'Received'`       |\n| `bColor`                          | `chalk.red`        |\n| `bIndicator`                      | `'+'`              |\n| `changeColor`                     | `chalk.inverse`    |\n| `changeLineTrailingSpaceColor`    | `string => string` |\n| `commonColor`                     | `chalk.dim`        |\n| `commonIndicator`                 | `' '`              |\n| `commonLineTrailingSpaceColor`    | `string => string` |\n| `contextLines`                    | `5`                |\n| `emptyFirstOrLastLinePlaceholder` | `''`               |\n| `expand`                          | `true`             |\n| `includeChangeCounts`             | `false`            |\n| `omitAnnotationLines`             | `false`            |\n| `patchColor`                      | `chalk.yellow`     |\n\nFor more information about the options, see the following examples.\n\n### Example of options for labels\n\nIf the application is code modification, you might replace the labels:\n\n```js\nconst options = {\n  aAnnotation: 'Original',\n  bAnnotation: 'Modified',\n};\n```\n\n```diff\n- Original\n+ Modified\n\n  common\n- changed from\n+ changed to\n```\n\nThe `jest-diff` package does not assume that the 2 labels have equal length.\n\n### Example of options for colors of changed lines\n\nFor consistency with most diff tools, you might exchange the colors:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  aColor: chalk.red,\n  bColor: chalk.green,\n};\n```\n\n### Example of option for color of changed substrings\n\nAlthough the default inverse of foreground and background colors is hard to beat for changed substrings **within lines**, especially because it highlights spaces, if you want bold font weight on yellow background color:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  changeColor: chalk.bold.bgYellowBright,\n};\n```\n\n### Example of option to format trailing spaces\n\nBecause `diff()` does not display substring differences within lines, formatting can help you see when lines differ by the presence or absence of trailing spaces found by `/\\s+$/` regular expression.\n\n- If change lines have a background color, then you can see trailing spaces.\n- If common lines have default dim color, then you cannot see trailing spaces. You might want yellowish background color to see them.\n\n```js\nconst options = {\n  aColor: chalk.rgb(128, 0, 128).bgRgb(255, 215, 255), // magenta\n  bColor: chalk.rgb(0, 95, 0).bgRgb(215, 255, 215), // green\n  commonLineTrailingSpaceColor: chalk.bgYellow,\n};\n```\n\nThe value of a Color option is a function, which given a string, returns a string.\n\nIf you want to replace trailing spaces with middle dot characters:\n\n```js\nconst replaceSpacesWithMiddleDot = string => '·'.repeat(string.length);\n\nconst options = {\n  changeLineTrailingSpaceColor: replaceSpacesWithMiddleDot,\n  commonLineTrailingSpaceColor: replaceSpacesWithMiddleDot,\n};\n```\n\nIf you need the TypeScript type of a Color option:\n\n```ts\nimport {DiffOptionsColor} from 'jest-diff';\n```\n\n### Example of options for no colors\n\nTo store the difference in a file without escape codes for colors, provide an identity function:\n\n```js\nconst noColor = string => string;\n\nconst options = {\n  aColor: noColor,\n  bColor: noColor,\n  changeColor: noColor,\n  commonColor: noColor,\n  patchColor: noColor,\n};\n```\n\n### Example of options for indicators\n\nFor consistency with the `diff` command, you might replace the indicators:\n\n```js\nconst options = {\n  aIndicator: '<',\n  bIndicator: '>',\n};\n```\n\nThe `jest-diff` package assumes (but does not enforce) that the 3 indicators have equal length.\n\n### Example of options to limit common lines\n\nBy default, the output includes all common lines.\n\nTo emphasize the changes, you might limit the number of common “context” lines:\n\n```js\nconst options = {\n  contextLines: 1,\n  expand: false,\n};\n```\n\nA patch mark like `@@ -12,7 +12,9 @@` accounts for omitted common lines.\n\n### Example of option for color of patch marks\n\nIf you want patch marks to have the same dim color as common lines:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  expand: false,\n  patchColor: chalk.dim,\n};\n```\n\n### Example of option to include change counts\n\nTo display the number of changed lines at the right of annotation lines:\n\n```js\nconst a = ['common', 'changed from'];\nconst b = ['common', 'changed to', 'insert'];\n\nconst options = {\n  includeChangeCounts: true,\n};\n\nconst difference = diff(a, b, options);\n```\n\n```diff\n- Expected  - 1\n+ Received  + 2\n\n  Array [\n    \"common\",\n-   \"changed from\",\n+   \"changed to\",\n+   \"insert\",\n  ]\n```\n\n### Example of option to omit annotation lines\n\nTo display only the comparison lines:\n\n```js\nconst a = 'common\\nchanged from';\nconst b = 'common\\nchanged to';\n\nconst options = {\n  omitAnnotationLines: true,\n};\n\nconst difference = diffStringsUnified(a, b, options);\n```\n\n```diff\n  common\n- changed from\n+ changed to\n```\n\n### Example of option for empty first or last lines\n\nIf the **first** or **last** comparison line is **empty**, because the content is empty and the indicator is a space, you might not notice it.\n\nThe replacement option is a string whose default value is `''` empty string.\n\nBecause Jest trims the report when a matcher fails, it deletes an empty last line.\n\nTherefore, Jest uses as placeholder the downwards arrow with corner leftwards:\n\n```js\nconst options = {\n  emptyFirstOrLastLinePlaceholder: '↵', // U+21B5\n};\n```\n\nIf a content line is empty, then the corresponding comparison line is automatically trimmed to remove the margin space (represented as a middle dot below) for the default indicators:\n\n|         Indicator | untrimmed | trimmed |\n| ----------------: | :-------- | :------ |\n|      `aIndicator` | `'-·'`    | `'-'`   |\n|      `bIndicator` | `'+·'`    | `'+'`   |\n| `commonIndicator` | `' ·'`    | `''`    |\n","readmeFilename":"README.md","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@27.0.0-next.9","_nodeVersion":"14.16.1","_npmVersion":"lerna/4.0.0/node@v14.16.1+x64 (darwin)","dist":{"integrity":"sha512-E/dpOuidmz8d0S8CsESvvyVnhJOkzc/qqg9cN6F83ccnklFHTAMMmcaqxw2jemZ6F5koHpYwe0D/Ndy7g5CVmQ==","shasum":"93299ace5a424c2bb81d77cb36fac3deed336bc2","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-27.0.0-next.9.tgz","fileCount":23,"unpackedSize":85415,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgkOjFCRA9TVsSAnZWagAAHKsP/i4W7xcbCORwO1CpBj5Z\nszepDuW6OvaJPSC7BLWP9iyYU5hV/FAEXq3Nx4KPSPaAsQiALrz164QM3Xp6\nDz/PoGD2soKDO0s4HWCNxjfcWbgzeYOhuo6tlz3PglqNzckGTQO7u6IR9Zwz\nfk2NShOqH7bAWrwvSap4RIVeaoMpdSorYhJlsCD/quyBVAdV7Tq8toKtcgw1\nSblGvgZLoddUqmbBKtrjMOlRine7Ft7zbEpDRXt0GrnBts5u5MpJV2CiMNsg\nSVvx9M6ZEowHCHZrERMwbKfWDjxidC2ZO/IESskY47M2JFAn6Gy1o5gNgkNM\nyB//xD6Frno72llXXN9qTDbyB4EC/HxuCTMeYtBKzZUkdoksclf7oCZvEzGr\n07GxuON6OL0TBczyydN9lGvZCPRp29LiTD7VvzUJK124jpL8RQhXqPy2ad+A\nukswmLtYU+nwEPWZGtfQog9dlfOMzJO/PCb4fbSmlMRMr1mOZxn/CuHA5+7p\nPmmn7RmCuITqyAK1pDN9Xk8GuU6fzqm04BBbZZ4hfUFodH4e4u27rJ5dxXcy\nKxqBwLdXsg5r/Cei3mwfLFCjpdiyi9Zd3Wrd8FedaMd1kX8hD4/sgPqk9B7F\njDMyU1OZLnj1Iv9l8XEnYR2Qh8vMPIsICn2+3G74YSoGCdJNcRvCmcpbMib3\nOtkg\r\n=lmha\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAPo8xY+g4NT76XMbQTQgdt9ahdkvvzWR8N7iPleMam8AiAvRRPR3PP8XMcZyQceaK0iJcidTBTw9+OJO52BbrYbwg=="}]},"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"maintainers":[{"name":"scotthovestadt","email":"scott.hovestadt@gmail.com"},{"name":"rubennorte","email":"rubennorte@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"aaronabramov","email":"aaron@abramov.io"},{"name":"davidzilburg","email":"davidzilburg@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_27.0.0-next.9_1620109508805_0.36862167686726144"},"_hasShrinkwrap":false},"27.0.0-next.10":{"name":"jest-diff","version":"27.0.0-next.10","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"./build/index.js","types":"./build/index.d.ts","exports":{".":"./build/index.js","./package.json":"./package.json"},"dependencies":{"chalk":"^4.0.0","diff-sequences":"^27.0.0-next.0","jest-get-type":"^27.0.0-next.9","pretty-format":"^27.0.0-next.10"},"devDependencies":{"@jest/test-utils":"^27.0.0-next.10","strip-ansi":"^6.0.0"},"engines":{"node":"^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0"},"publishConfig":{"access":"public"},"gitHead":"6f44529270310b7dbdf9a0b72b21b5cd50fda4b1","readme":"# jest-diff\n\nDisplay differences clearly so people can review changes confidently.\n\nThe `diff` named export serializes JavaScript **values**, compares them line-by-line, and returns a string which includes comparison lines.\n\nTwo named exports compare **strings** character-by-character:\n\n- `diffStringsUnified` returns a string.\n- `diffStringsRaw` returns an array of `Diff` objects.\n\nThree named exports compare **arrays of strings** line-by-line:\n\n- `diffLinesUnified` and `diffLinesUnified2` return a string.\n- `diffLinesRaw` returns an array of `Diff` objects.\n\n## Installation\n\nTo add this package as a dependency of a project, run either of the following commands:\n\n- `npm install jest-diff`\n- `yarn add jest-diff`\n\n## Usage of `diff()`\n\nGiven JavaScript **values**, `diff(a, b, options?)` does the following:\n\n1. **serialize** the values as strings using the `pretty-format` package\n2. **compare** the strings line-by-line using the `diff-sequences` package\n3. **format** the changed or common lines using the `chalk` package\n\nTo use this function, write either of the following:\n\n- `const {diff} = require('jest-diff');` in CommonJS modules\n- `import {diff} from 'jest-diff';` in ECMAScript modules\n\n### Example of `diff()`\n\n```js\nconst a = ['delete', 'common', 'changed from'];\nconst b = ['common', 'changed to', 'insert'];\n\nconst difference = diff(a, b);\n```\n\nThe returned **string** consists of:\n\n- annotation lines: describe the two change indicators with labels, and a blank line\n- comparison lines: similar to “unified” view on GitHub, but `Expected` lines are green, `Received` lines are red, and common lines are dim (by default, see Options)\n\n```diff\n- Expected\n+ Received\n\n  Array [\n-   \"delete\",\n    \"common\",\n-   \"changed from\",\n+   \"changed to\",\n+   \"insert\",\n  ]\n```\n\n### Edge cases of `diff()`\n\nHere are edge cases for the return value:\n\n- `' Comparing two different types of values. …'` if the arguments have **different types** according to the `jest-get-type` package (instances of different classes have the same `'object'` type)\n- `'Compared values have no visual difference.'` if the arguments have either **referential identity** according to `Object.is` method or **same serialization** according to the `pretty-format` package\n- `null` if either argument is a so-called **asymmetric matcher** in Jasmine or Jest\n\n## Usage of diffStringsUnified\n\nGiven **strings**, `diffStringsUnified(a, b, options?)` does the following:\n\n1. **compare** the strings character-by-character using the `diff-sequences` package\n2. **clean up** small (often coincidental) common substrings, also known as chaff\n3. **format** the changed or common lines using the `chalk` package\n\nAlthough the function is mainly for **multiline** strings, it compares any strings.\n\nWrite either of the following:\n\n- `const {diffStringsUnified} = require('jest-diff');` in CommonJS modules\n- `import {diffStringsUnified} from 'jest-diff';` in ECMAScript modules\n\n### Example of diffStringsUnified\n\n```js\nconst a = 'common\\nchanged from';\nconst b = 'common\\nchanged to';\n\nconst difference = diffStringsUnified(a, b);\n```\n\nThe returned **string** consists of:\n\n- annotation lines: describe the two change indicators with labels, and a blank line\n- comparison lines: similar to “unified” view on GitHub, and **changed substrings** have **inverse** foreground and background colors (that is, `from` has white-on-green and `to` has white-on-red, which the following example does not show)\n\n```diff\n- Expected\n+ Received\n\n  common\n- changed from\n+ changed to\n```\n\n### Performance of diffStringsUnified\n\nTo get the benefit of **changed substrings** within the comparison lines, a character-by-character comparison has a higher computational cost (in time and space) than a line-by-line comparison.\n\nIf the input strings can have **arbitrary length**, we recommend that the calling code set a limit, beyond which splits the strings, and then calls `diffLinesUnified` instead. For example, Jest falls back to line-by-line comparison if either string has length greater than 20K characters.\n\n## Usage of diffLinesUnified\n\nGiven **arrays of strings**, `diffLinesUnified(aLines, bLines, options?)` does the following:\n\n1. **compare** the arrays line-by-line using the `diff-sequences` package\n2. **format** the changed or common lines using the `chalk` package\n\nYou might call this function when strings have been split into lines and you do not need to see changed substrings within lines.\n\n### Example of diffLinesUnified\n\n```js\nconst aLines = ['delete', 'common', 'changed from'];\nconst bLines = ['common', 'changed to', 'insert'];\n\nconst difference = diffLinesUnified(aLines, bLines);\n```\n\n```diff\n- Expected\n+ Received\n\n- delete\n  common\n- changed from\n+ changed to\n+ insert\n```\n\n### Edge cases of diffLinesUnified or diffStringsUnified\n\nHere are edge cases for arguments and return values:\n\n- both `a` and `b` are empty strings: no comparison lines\n- only `a` is empty string: all comparison lines have `bColor` and `bIndicator` (see Options)\n- only `b` is empty string: all comparison lines have `aColor` and `aIndicator` (see Options)\n- `a` and `b` are equal non-empty strings: all comparison lines have `commonColor` and `commonIndicator` (see Options)\n\n## Usage of diffLinesUnified2\n\nGiven two **pairs** of arrays of strings, `diffLinesUnified2(aLinesDisplay, bLinesDisplay, aLinesCompare, bLinesCompare, options?)` does the following:\n\n1. **compare** the pair of `Compare` arrays line-by-line using the `diff-sequences` package\n2. **format** the corresponding lines in the pair of `Display` arrays using the `chalk` package\n\nJest calls this function to consider lines as common instead of changed if the only difference is indentation.\n\nYou might call this function for case insensitive or Unicode equivalence comparison of lines.\n\n### Example of diffLinesUnified2\n\n```js\nimport {format} from 'pretty-format';\n\nconst a = {\n  text: 'Ignore indentation in serialized object',\n  time: '2019-09-19T12:34:56.000Z',\n  type: 'CREATE_ITEM',\n};\nconst b = {\n  payload: {\n    text: 'Ignore indentation in serialized object',\n    time: '2019-09-19T12:34:56.000Z',\n  },\n  type: 'CREATE_ITEM',\n};\n\nconst difference = diffLinesUnified2(\n  // serialize with indentation to display lines\n  format(a).split('\\n'),\n  format(b).split('\\n'),\n  // serialize without indentation to compare lines\n  format(a, {indent: 0}).split('\\n'),\n  format(b, {indent: 0}).split('\\n'),\n);\n```\n\nThe `text` and `time` properties are common, because their only difference is indentation:\n\n```diff\n- Expected\n+ Received\n\n  Object {\n+   payload: Object {\n      text: 'Ignore indentation in serialized object',\n      time: '2019-09-19T12:34:56.000Z',\n+   },\n    type: 'CREATE_ITEM',\n  }\n```\n\nThe preceding example illustrates why (at least for indentation) it seems more intuitive that the function returns the common line from the `bLinesDisplay` array instead of from the `aLinesDisplay` array.\n\n## Usage of diffStringsRaw\n\nGiven **strings** and a boolean option, `diffStringsRaw(a, b, cleanup)` does the following:\n\n1. **compare** the strings character-by-character using the `diff-sequences` package\n2. optionally **clean up** small (often coincidental) common substrings, also known as chaff\n\nBecause `diffStringsRaw` returns the difference as **data** instead of a string, you can format it as your application requires (for example, enclosed in HTML markup for browser instead of escape sequences for console).\n\nThe returned **array** describes substrings as instances of the `Diff` class, which calling code can access like array tuples:\n\nThe value at index `0` is one of the following:\n\n| value | named export  | description           |\n| ----: | :------------ | :-------------------- |\n|   `0` | `DIFF_EQUAL`  | in `a` and in `b`     |\n|  `-1` | `DIFF_DELETE` | in `a` but not in `b` |\n|   `1` | `DIFF_INSERT` | in `b` but not in `a` |\n\nThe value at index `1` is a substring of `a` or `b` or both.\n\n### Example of diffStringsRaw with cleanup\n\n```js\nconst diffs = diffStringsRaw('changed from', 'changed to', true);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `0` | `'changed '`  |\n| `1` |          `-1` | `'from'`      |\n| `2` |           `1` | `'to'`        |\n\n### Example of diffStringsRaw without cleanup\n\n```js\nconst diffs = diffStringsRaw('changed from', 'changed to', false);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `0` | `'changed '`  |\n| `1` |          `-1` | `'fr'`        |\n| `2` |           `1` | `'t'`         |\n| `3` |           `0` | `'o'`         |\n| `4` |          `-1` | `'m'`         |\n\n### Advanced import for diffStringsRaw\n\nHere are all the named imports that you might need for the `diffStringsRaw` function:\n\n- `const {DIFF_DELETE, DIFF_EQUAL, DIFF_INSERT, Diff, diffStringsRaw} = require('jest-diff');` in CommonJS modules\n- `import {DIFF_DELETE, DIFF_EQUAL, DIFF_INSERT, Diff, diffStringsRaw} from 'jest-diff';` in ECMAScript modules\n\nTo write a **formatting** function, you might need the named constants (and `Diff` in TypeScript annotations).\n\nIf you write an application-specific **cleanup** algorithm, then you might need to call the `Diff` constructor:\n\n```js\nconst diffCommon = new Diff(DIFF_EQUAL, 'changed ');\nconst diffDelete = new Diff(DIFF_DELETE, 'from');\nconst diffInsert = new Diff(DIFF_INSERT, 'to');\n```\n\n## Usage of diffLinesRaw\n\nGiven **arrays of strings**, `diffLinesRaw(aLines, bLines)` does the following:\n\n- **compare** the arrays line-by-line using the `diff-sequences` package\n\nBecause `diffLinesRaw` returns the difference as **data** instead of a string, you can format it as your application requires.\n\n### Example of diffLinesRaw\n\n```js\nconst aLines = ['delete', 'common', 'changed from'];\nconst bLines = ['common', 'changed to', 'insert'];\n\nconst diffs = diffLinesRaw(aLines, bLines);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]`    |\n| --: | ------------: | :--------------- |\n| `0` |          `-1` | `'delete'`       |\n| `1` |           `0` | `'common'`       |\n| `2` |          `-1` | `'changed from'` |\n| `3` |           `1` | `'changed to'`   |\n| `4` |           `1` | `'insert'`       |\n\n### Edge case of diffLinesRaw\n\nIf you call `string.split('\\n')` for an empty string:\n\n- the result is `['']` an array which contains an empty string\n- instead of `[]` an empty array\n\nDepending of your application, you might call `diffLinesRaw` with either array.\n\n### Example of split method\n\n```js\nimport {diffLinesRaw} from 'jest-diff';\n\nconst a = 'non-empty string';\nconst b = '';\n\nconst diffs = diffLinesRaw(a.split('\\n'), b.split('\\n'));\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]`        |\n| --: | ------------: | :------------------- |\n| `0` |          `-1` | `'non-empty string'` |\n| `1` |           `1` | `''`                 |\n\nWhich you might format as follows:\n\n```diff\n- Expected  - 1\n+ Received  + 1\n\n- non-empty string\n+\n```\n\n### Example of splitLines0 function\n\nFor edge case behavior like the `diffLinesUnified` function, you might define a `splitLines0` function, which given an empty string, returns `[]` an empty array:\n\n```js\nexport const splitLines0 = string =>\n  string.length === 0 ? [] : string.split('\\n');\n```\n\n```js\nimport {diffLinesRaw} from 'jest-diff';\n\nconst a = '';\nconst b = 'line 1\\nline 2\\nline 3';\n\nconst diffs = diffLinesRaw(a.split('\\n'), b.split('\\n'));\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `1` | `'line 1'`    |\n| `1` |           `1` | `'line 2'`    |\n| `2` |           `1` | `'line 3'`    |\n\nWhich you might format as follows:\n\n```diff\n- Expected  - 0\n+ Received  + 3\n\n+ line 1\n+ line 2\n+ line 3\n```\n\nIn contrast to the `diffLinesRaw` function, the `diffLinesUnified` and `diffLinesUnified2` functions **automatically** convert array arguments computed by string `split` method, so callers do **not** need a `splitLine0` function.\n\n## Options\n\nThe default options are for the report when an assertion fails from the `expect` package used by Jest.\n\nFor other applications, you can provide an options object as a third argument:\n\n- `diff(a, b, options)`\n- `diffStringsUnified(a, b, options)`\n- `diffLinesUnified(aLines, bLines, options)`\n- `diffLinesUnified2(aLinesDisplay, bLinesDisplay, aLinesCompare, bLinesCompare, options)`\n\n### Properties of options object\n\n| name                              | default            |\n| :-------------------------------- | :----------------- |\n| `aAnnotation`                     | `'Expected'`       |\n| `aColor`                          | `chalk.green`      |\n| `aIndicator`                      | `'-'`              |\n| `bAnnotation`                     | `'Received'`       |\n| `bColor`                          | `chalk.red`        |\n| `bIndicator`                      | `'+'`              |\n| `changeColor`                     | `chalk.inverse`    |\n| `changeLineTrailingSpaceColor`    | `string => string` |\n| `commonColor`                     | `chalk.dim`        |\n| `commonIndicator`                 | `' '`              |\n| `commonLineTrailingSpaceColor`    | `string => string` |\n| `contextLines`                    | `5`                |\n| `emptyFirstOrLastLinePlaceholder` | `''`               |\n| `expand`                          | `true`             |\n| `includeChangeCounts`             | `false`            |\n| `omitAnnotationLines`             | `false`            |\n| `patchColor`                      | `chalk.yellow`     |\n\nFor more information about the options, see the following examples.\n\n### Example of options for labels\n\nIf the application is code modification, you might replace the labels:\n\n```js\nconst options = {\n  aAnnotation: 'Original',\n  bAnnotation: 'Modified',\n};\n```\n\n```diff\n- Original\n+ Modified\n\n  common\n- changed from\n+ changed to\n```\n\nThe `jest-diff` package does not assume that the 2 labels have equal length.\n\n### Example of options for colors of changed lines\n\nFor consistency with most diff tools, you might exchange the colors:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  aColor: chalk.red,\n  bColor: chalk.green,\n};\n```\n\n### Example of option for color of changed substrings\n\nAlthough the default inverse of foreground and background colors is hard to beat for changed substrings **within lines**, especially because it highlights spaces, if you want bold font weight on yellow background color:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  changeColor: chalk.bold.bgYellowBright,\n};\n```\n\n### Example of option to format trailing spaces\n\nBecause `diff()` does not display substring differences within lines, formatting can help you see when lines differ by the presence or absence of trailing spaces found by `/\\s+$/` regular expression.\n\n- If change lines have a background color, then you can see trailing spaces.\n- If common lines have default dim color, then you cannot see trailing spaces. You might want yellowish background color to see them.\n\n```js\nconst options = {\n  aColor: chalk.rgb(128, 0, 128).bgRgb(255, 215, 255), // magenta\n  bColor: chalk.rgb(0, 95, 0).bgRgb(215, 255, 215), // green\n  commonLineTrailingSpaceColor: chalk.bgYellow,\n};\n```\n\nThe value of a Color option is a function, which given a string, returns a string.\n\nIf you want to replace trailing spaces with middle dot characters:\n\n```js\nconst replaceSpacesWithMiddleDot = string => '·'.repeat(string.length);\n\nconst options = {\n  changeLineTrailingSpaceColor: replaceSpacesWithMiddleDot,\n  commonLineTrailingSpaceColor: replaceSpacesWithMiddleDot,\n};\n```\n\nIf you need the TypeScript type of a Color option:\n\n```ts\nimport {DiffOptionsColor} from 'jest-diff';\n```\n\n### Example of options for no colors\n\nTo store the difference in a file without escape codes for colors, provide an identity function:\n\n```js\nconst noColor = string => string;\n\nconst options = {\n  aColor: noColor,\n  bColor: noColor,\n  changeColor: noColor,\n  commonColor: noColor,\n  patchColor: noColor,\n};\n```\n\n### Example of options for indicators\n\nFor consistency with the `diff` command, you might replace the indicators:\n\n```js\nconst options = {\n  aIndicator: '<',\n  bIndicator: '>',\n};\n```\n\nThe `jest-diff` package assumes (but does not enforce) that the 3 indicators have equal length.\n\n### Example of options to limit common lines\n\nBy default, the output includes all common lines.\n\nTo emphasize the changes, you might limit the number of common “context” lines:\n\n```js\nconst options = {\n  contextLines: 1,\n  expand: false,\n};\n```\n\nA patch mark like `@@ -12,7 +12,9 @@` accounts for omitted common lines.\n\n### Example of option for color of patch marks\n\nIf you want patch marks to have the same dim color as common lines:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  expand: false,\n  patchColor: chalk.dim,\n};\n```\n\n### Example of option to include change counts\n\nTo display the number of changed lines at the right of annotation lines:\n\n```js\nconst a = ['common', 'changed from'];\nconst b = ['common', 'changed to', 'insert'];\n\nconst options = {\n  includeChangeCounts: true,\n};\n\nconst difference = diff(a, b, options);\n```\n\n```diff\n- Expected  - 1\n+ Received  + 2\n\n  Array [\n    \"common\",\n-   \"changed from\",\n+   \"changed to\",\n+   \"insert\",\n  ]\n```\n\n### Example of option to omit annotation lines\n\nTo display only the comparison lines:\n\n```js\nconst a = 'common\\nchanged from';\nconst b = 'common\\nchanged to';\n\nconst options = {\n  omitAnnotationLines: true,\n};\n\nconst difference = diffStringsUnified(a, b, options);\n```\n\n```diff\n  common\n- changed from\n+ changed to\n```\n\n### Example of option for empty first or last lines\n\nIf the **first** or **last** comparison line is **empty**, because the content is empty and the indicator is a space, you might not notice it.\n\nThe replacement option is a string whose default value is `''` empty string.\n\nBecause Jest trims the report when a matcher fails, it deletes an empty last line.\n\nTherefore, Jest uses as placeholder the downwards arrow with corner leftwards:\n\n```js\nconst options = {\n  emptyFirstOrLastLinePlaceholder: '↵', // U+21B5\n};\n```\n\nIf a content line is empty, then the corresponding comparison line is automatically trimmed to remove the margin space (represented as a middle dot below) for the default indicators:\n\n|         Indicator | untrimmed | trimmed |\n| ----------------: | :-------- | :------ |\n|      `aIndicator` | `'-·'`    | `'-'`   |\n|      `bIndicator` | `'+·'`    | `'+'`   |\n| `commonIndicator` | `' ·'`    | `''`    |\n","readmeFilename":"README.md","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@27.0.0-next.10","_nodeVersion":"14.17.0","_npmVersion":"lerna/4.0.0/node@v14.17.0+x64 (darwin)","dist":{"integrity":"sha512-QpjpKiLd/oC/PR3Uc16HHKDFxzZJXLJno0oIO5hDHF27xoe7JJmRxCe48ySA23k+gWxkVcyvloCA+BFilRH7EQ==","shasum":"e86f7cb96773bf11540f0c2b1c642724863a7ccc","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-27.0.0-next.10.tgz","fileCount":23,"unpackedSize":85442,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgpm4ICRA9TVsSAnZWagAAQKoP/RkEX34rcJ70Svh77pVe\nrbwHuX1ELahgo1WOV2zXnHMM2C/pHzBF7zo1GF3wALmGLBy6xFmjbwsew4eJ\nS2b1Bg3nEq/sdbxS5FtPUY16HGfTz5eX4DCIuKYaltIMfJJaTal1aHM8Qy/J\ny7u7vV1uR7NJeMKt3OAuGrEUWkz+765PP4ZvKyjf2l706FuErfS7awzDfqd6\nXfevlDtcc1juI6chzcBfcWBBDXM+J37gQshkY9KWrfVWWazS8cdz+TrXnN9w\nvca7F6QeK1j39vGfbFCm5LnZXIuhODtoJfZUrv7wVJOUta5ce7mmddIKRcIF\nqUbttrcUDvrWz129NqWw2UErKMu+mp7mjMPVPByV5Jeys8rxjLD13iIDFAMC\nKdBjGaF7KZ3jA1TDlP4rbZl9Nf+MOAc2BOeSpViCisQI4Jn8nI3KCvaRSJ6+\n0LQW83wQJBISfxIebCIqyUYqVo0qFwfm9nlW48NICm/lGlSnta70AduPe/8k\n0RtMyHsQ8T1BGPNCA9/Awj2ZRqEqc0iuay99ArWqFb7Lzr2ZX2HmZJDVov1W\ntQyhS0UrZeMP0Kjj3zKTYEJ3GHQiqF8PMKGmoHeF/WOehYnFtx5dd1opWqTY\nbv5zp5webxrO2viZJSNTYWqQzz7dWUlTF76XAHyM1rq/DSVza5DcjIuRwnnB\nD3/3\r\n=hcTU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCjynbHAXWru2ACv1ve4iNcLdjFnlU75keOFw4zStuxfAIgTtMWr1YMhhgm4Wp16GttFEBZ6FooleMm/KZuYUdDuPY="}]},"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"maintainers":[{"name":"scotthovestadt","email":"scott.hovestadt@gmail.com"},{"name":"rubennorte","email":"rubennorte@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"aaronabramov","email":"aaron@abramov.io"},{"name":"davidzilburg","email":"davidzilburg@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_27.0.0-next.10_1621519879879_0.9484049155442429"},"_hasShrinkwrap":false},"27.0.0-next.11":{"name":"jest-diff","version":"27.0.0-next.11","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"./build/index.js","types":"./build/index.d.ts","exports":{".":"./build/index.js","./package.json":"./package.json"},"dependencies":{"chalk":"^4.0.0","diff-sequences":"^27.0.0-next.0","jest-get-type":"^27.0.0-next.9","pretty-format":"^27.0.0-next.11"},"devDependencies":{"@jest/test-utils":"^27.0.0-next.11","strip-ansi":"^6.0.0"},"engines":{"node":"^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0"},"publishConfig":{"access":"public"},"gitHead":"e2eb9aeee8aacd441f1c8ac992c698ac4d303f60","readme":"# jest-diff\n\nDisplay differences clearly so people can review changes confidently.\n\nThe `diff` named export serializes JavaScript **values**, compares them line-by-line, and returns a string which includes comparison lines.\n\nTwo named exports compare **strings** character-by-character:\n\n- `diffStringsUnified` returns a string.\n- `diffStringsRaw` returns an array of `Diff` objects.\n\nThree named exports compare **arrays of strings** line-by-line:\n\n- `diffLinesUnified` and `diffLinesUnified2` return a string.\n- `diffLinesRaw` returns an array of `Diff` objects.\n\n## Installation\n\nTo add this package as a dependency of a project, run either of the following commands:\n\n- `npm install jest-diff`\n- `yarn add jest-diff`\n\n## Usage of `diff()`\n\nGiven JavaScript **values**, `diff(a, b, options?)` does the following:\n\n1. **serialize** the values as strings using the `pretty-format` package\n2. **compare** the strings line-by-line using the `diff-sequences` package\n3. **format** the changed or common lines using the `chalk` package\n\nTo use this function, write either of the following:\n\n- `const {diff} = require('jest-diff');` in CommonJS modules\n- `import {diff} from 'jest-diff';` in ECMAScript modules\n\n### Example of `diff()`\n\n```js\nconst a = ['delete', 'common', 'changed from'];\nconst b = ['common', 'changed to', 'insert'];\n\nconst difference = diff(a, b);\n```\n\nThe returned **string** consists of:\n\n- annotation lines: describe the two change indicators with labels, and a blank line\n- comparison lines: similar to “unified” view on GitHub, but `Expected` lines are green, `Received` lines are red, and common lines are dim (by default, see Options)\n\n```diff\n- Expected\n+ Received\n\n  Array [\n-   \"delete\",\n    \"common\",\n-   \"changed from\",\n+   \"changed to\",\n+   \"insert\",\n  ]\n```\n\n### Edge cases of `diff()`\n\nHere are edge cases for the return value:\n\n- `' Comparing two different types of values. …'` if the arguments have **different types** according to the `jest-get-type` package (instances of different classes have the same `'object'` type)\n- `'Compared values have no visual difference.'` if the arguments have either **referential identity** according to `Object.is` method or **same serialization** according to the `pretty-format` package\n- `null` if either argument is a so-called **asymmetric matcher** in Jasmine or Jest\n\n## Usage of diffStringsUnified\n\nGiven **strings**, `diffStringsUnified(a, b, options?)` does the following:\n\n1. **compare** the strings character-by-character using the `diff-sequences` package\n2. **clean up** small (often coincidental) common substrings, also known as chaff\n3. **format** the changed or common lines using the `chalk` package\n\nAlthough the function is mainly for **multiline** strings, it compares any strings.\n\nWrite either of the following:\n\n- `const {diffStringsUnified} = require('jest-diff');` in CommonJS modules\n- `import {diffStringsUnified} from 'jest-diff';` in ECMAScript modules\n\n### Example of diffStringsUnified\n\n```js\nconst a = 'common\\nchanged from';\nconst b = 'common\\nchanged to';\n\nconst difference = diffStringsUnified(a, b);\n```\n\nThe returned **string** consists of:\n\n- annotation lines: describe the two change indicators with labels, and a blank line\n- comparison lines: similar to “unified” view on GitHub, and **changed substrings** have **inverse** foreground and background colors (that is, `from` has white-on-green and `to` has white-on-red, which the following example does not show)\n\n```diff\n- Expected\n+ Received\n\n  common\n- changed from\n+ changed to\n```\n\n### Performance of diffStringsUnified\n\nTo get the benefit of **changed substrings** within the comparison lines, a character-by-character comparison has a higher computational cost (in time and space) than a line-by-line comparison.\n\nIf the input strings can have **arbitrary length**, we recommend that the calling code set a limit, beyond which splits the strings, and then calls `diffLinesUnified` instead. For example, Jest falls back to line-by-line comparison if either string has length greater than 20K characters.\n\n## Usage of diffLinesUnified\n\nGiven **arrays of strings**, `diffLinesUnified(aLines, bLines, options?)` does the following:\n\n1. **compare** the arrays line-by-line using the `diff-sequences` package\n2. **format** the changed or common lines using the `chalk` package\n\nYou might call this function when strings have been split into lines and you do not need to see changed substrings within lines.\n\n### Example of diffLinesUnified\n\n```js\nconst aLines = ['delete', 'common', 'changed from'];\nconst bLines = ['common', 'changed to', 'insert'];\n\nconst difference = diffLinesUnified(aLines, bLines);\n```\n\n```diff\n- Expected\n+ Received\n\n- delete\n  common\n- changed from\n+ changed to\n+ insert\n```\n\n### Edge cases of diffLinesUnified or diffStringsUnified\n\nHere are edge cases for arguments and return values:\n\n- both `a` and `b` are empty strings: no comparison lines\n- only `a` is empty string: all comparison lines have `bColor` and `bIndicator` (see Options)\n- only `b` is empty string: all comparison lines have `aColor` and `aIndicator` (see Options)\n- `a` and `b` are equal non-empty strings: all comparison lines have `commonColor` and `commonIndicator` (see Options)\n\n## Usage of diffLinesUnified2\n\nGiven two **pairs** of arrays of strings, `diffLinesUnified2(aLinesDisplay, bLinesDisplay, aLinesCompare, bLinesCompare, options?)` does the following:\n\n1. **compare** the pair of `Compare` arrays line-by-line using the `diff-sequences` package\n2. **format** the corresponding lines in the pair of `Display` arrays using the `chalk` package\n\nJest calls this function to consider lines as common instead of changed if the only difference is indentation.\n\nYou might call this function for case insensitive or Unicode equivalence comparison of lines.\n\n### Example of diffLinesUnified2\n\n```js\nimport {format} from 'pretty-format';\n\nconst a = {\n  text: 'Ignore indentation in serialized object',\n  time: '2019-09-19T12:34:56.000Z',\n  type: 'CREATE_ITEM',\n};\nconst b = {\n  payload: {\n    text: 'Ignore indentation in serialized object',\n    time: '2019-09-19T12:34:56.000Z',\n  },\n  type: 'CREATE_ITEM',\n};\n\nconst difference = diffLinesUnified2(\n  // serialize with indentation to display lines\n  format(a).split('\\n'),\n  format(b).split('\\n'),\n  // serialize without indentation to compare lines\n  format(a, {indent: 0}).split('\\n'),\n  format(b, {indent: 0}).split('\\n'),\n);\n```\n\nThe `text` and `time` properties are common, because their only difference is indentation:\n\n```diff\n- Expected\n+ Received\n\n  Object {\n+   payload: Object {\n      text: 'Ignore indentation in serialized object',\n      time: '2019-09-19T12:34:56.000Z',\n+   },\n    type: 'CREATE_ITEM',\n  }\n```\n\nThe preceding example illustrates why (at least for indentation) it seems more intuitive that the function returns the common line from the `bLinesDisplay` array instead of from the `aLinesDisplay` array.\n\n## Usage of diffStringsRaw\n\nGiven **strings** and a boolean option, `diffStringsRaw(a, b, cleanup)` does the following:\n\n1. **compare** the strings character-by-character using the `diff-sequences` package\n2. optionally **clean up** small (often coincidental) common substrings, also known as chaff\n\nBecause `diffStringsRaw` returns the difference as **data** instead of a string, you can format it as your application requires (for example, enclosed in HTML markup for browser instead of escape sequences for console).\n\nThe returned **array** describes substrings as instances of the `Diff` class, which calling code can access like array tuples:\n\nThe value at index `0` is one of the following:\n\n| value | named export  | description           |\n| ----: | :------------ | :-------------------- |\n|   `0` | `DIFF_EQUAL`  | in `a` and in `b`     |\n|  `-1` | `DIFF_DELETE` | in `a` but not in `b` |\n|   `1` | `DIFF_INSERT` | in `b` but not in `a` |\n\nThe value at index `1` is a substring of `a` or `b` or both.\n\n### Example of diffStringsRaw with cleanup\n\n```js\nconst diffs = diffStringsRaw('changed from', 'changed to', true);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `0` | `'changed '`  |\n| `1` |          `-1` | `'from'`      |\n| `2` |           `1` | `'to'`        |\n\n### Example of diffStringsRaw without cleanup\n\n```js\nconst diffs = diffStringsRaw('changed from', 'changed to', false);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `0` | `'changed '`  |\n| `1` |          `-1` | `'fr'`        |\n| `2` |           `1` | `'t'`         |\n| `3` |           `0` | `'o'`         |\n| `4` |          `-1` | `'m'`         |\n\n### Advanced import for diffStringsRaw\n\nHere are all the named imports that you might need for the `diffStringsRaw` function:\n\n- `const {DIFF_DELETE, DIFF_EQUAL, DIFF_INSERT, Diff, diffStringsRaw} = require('jest-diff');` in CommonJS modules\n- `import {DIFF_DELETE, DIFF_EQUAL, DIFF_INSERT, Diff, diffStringsRaw} from 'jest-diff';` in ECMAScript modules\n\nTo write a **formatting** function, you might need the named constants (and `Diff` in TypeScript annotations).\n\nIf you write an application-specific **cleanup** algorithm, then you might need to call the `Diff` constructor:\n\n```js\nconst diffCommon = new Diff(DIFF_EQUAL, 'changed ');\nconst diffDelete = new Diff(DIFF_DELETE, 'from');\nconst diffInsert = new Diff(DIFF_INSERT, 'to');\n```\n\n## Usage of diffLinesRaw\n\nGiven **arrays of strings**, `diffLinesRaw(aLines, bLines)` does the following:\n\n- **compare** the arrays line-by-line using the `diff-sequences` package\n\nBecause `diffLinesRaw` returns the difference as **data** instead of a string, you can format it as your application requires.\n\n### Example of diffLinesRaw\n\n```js\nconst aLines = ['delete', 'common', 'changed from'];\nconst bLines = ['common', 'changed to', 'insert'];\n\nconst diffs = diffLinesRaw(aLines, bLines);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]`    |\n| --: | ------------: | :--------------- |\n| `0` |          `-1` | `'delete'`       |\n| `1` |           `0` | `'common'`       |\n| `2` |          `-1` | `'changed from'` |\n| `3` |           `1` | `'changed to'`   |\n| `4` |           `1` | `'insert'`       |\n\n### Edge case of diffLinesRaw\n\nIf you call `string.split('\\n')` for an empty string:\n\n- the result is `['']` an array which contains an empty string\n- instead of `[]` an empty array\n\nDepending of your application, you might call `diffLinesRaw` with either array.\n\n### Example of split method\n\n```js\nimport {diffLinesRaw} from 'jest-diff';\n\nconst a = 'non-empty string';\nconst b = '';\n\nconst diffs = diffLinesRaw(a.split('\\n'), b.split('\\n'));\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]`        |\n| --: | ------------: | :------------------- |\n| `0` |          `-1` | `'non-empty string'` |\n| `1` |           `1` | `''`                 |\n\nWhich you might format as follows:\n\n```diff\n- Expected  - 1\n+ Received  + 1\n\n- non-empty string\n+\n```\n\n### Example of splitLines0 function\n\nFor edge case behavior like the `diffLinesUnified` function, you might define a `splitLines0` function, which given an empty string, returns `[]` an empty array:\n\n```js\nexport const splitLines0 = string =>\n  string.length === 0 ? [] : string.split('\\n');\n```\n\n```js\nimport {diffLinesRaw} from 'jest-diff';\n\nconst a = '';\nconst b = 'line 1\\nline 2\\nline 3';\n\nconst diffs = diffLinesRaw(a.split('\\n'), b.split('\\n'));\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `1` | `'line 1'`    |\n| `1` |           `1` | `'line 2'`    |\n| `2` |           `1` | `'line 3'`    |\n\nWhich you might format as follows:\n\n```diff\n- Expected  - 0\n+ Received  + 3\n\n+ line 1\n+ line 2\n+ line 3\n```\n\nIn contrast to the `diffLinesRaw` function, the `diffLinesUnified` and `diffLinesUnified2` functions **automatically** convert array arguments computed by string `split` method, so callers do **not** need a `splitLine0` function.\n\n## Options\n\nThe default options are for the report when an assertion fails from the `expect` package used by Jest.\n\nFor other applications, you can provide an options object as a third argument:\n\n- `diff(a, b, options)`\n- `diffStringsUnified(a, b, options)`\n- `diffLinesUnified(aLines, bLines, options)`\n- `diffLinesUnified2(aLinesDisplay, bLinesDisplay, aLinesCompare, bLinesCompare, options)`\n\n### Properties of options object\n\n| name                              | default            |\n| :-------------------------------- | :----------------- |\n| `aAnnotation`                     | `'Expected'`       |\n| `aColor`                          | `chalk.green`      |\n| `aIndicator`                      | `'-'`              |\n| `bAnnotation`                     | `'Received'`       |\n| `bColor`                          | `chalk.red`        |\n| `bIndicator`                      | `'+'`              |\n| `changeColor`                     | `chalk.inverse`    |\n| `changeLineTrailingSpaceColor`    | `string => string` |\n| `commonColor`                     | `chalk.dim`        |\n| `commonIndicator`                 | `' '`              |\n| `commonLineTrailingSpaceColor`    | `string => string` |\n| `contextLines`                    | `5`                |\n| `emptyFirstOrLastLinePlaceholder` | `''`               |\n| `expand`                          | `true`             |\n| `includeChangeCounts`             | `false`            |\n| `omitAnnotationLines`             | `false`            |\n| `patchColor`                      | `chalk.yellow`     |\n\nFor more information about the options, see the following examples.\n\n### Example of options for labels\n\nIf the application is code modification, you might replace the labels:\n\n```js\nconst options = {\n  aAnnotation: 'Original',\n  bAnnotation: 'Modified',\n};\n```\n\n```diff\n- Original\n+ Modified\n\n  common\n- changed from\n+ changed to\n```\n\nThe `jest-diff` package does not assume that the 2 labels have equal length.\n\n### Example of options for colors of changed lines\n\nFor consistency with most diff tools, you might exchange the colors:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  aColor: chalk.red,\n  bColor: chalk.green,\n};\n```\n\n### Example of option for color of changed substrings\n\nAlthough the default inverse of foreground and background colors is hard to beat for changed substrings **within lines**, especially because it highlights spaces, if you want bold font weight on yellow background color:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  changeColor: chalk.bold.bgYellowBright,\n};\n```\n\n### Example of option to format trailing spaces\n\nBecause `diff()` does not display substring differences within lines, formatting can help you see when lines differ by the presence or absence of trailing spaces found by `/\\s+$/` regular expression.\n\n- If change lines have a background color, then you can see trailing spaces.\n- If common lines have default dim color, then you cannot see trailing spaces. You might want yellowish background color to see them.\n\n```js\nconst options = {\n  aColor: chalk.rgb(128, 0, 128).bgRgb(255, 215, 255), // magenta\n  bColor: chalk.rgb(0, 95, 0).bgRgb(215, 255, 215), // green\n  commonLineTrailingSpaceColor: chalk.bgYellow,\n};\n```\n\nThe value of a Color option is a function, which given a string, returns a string.\n\nIf you want to replace trailing spaces with middle dot characters:\n\n```js\nconst replaceSpacesWithMiddleDot = string => '·'.repeat(string.length);\n\nconst options = {\n  changeLineTrailingSpaceColor: replaceSpacesWithMiddleDot,\n  commonLineTrailingSpaceColor: replaceSpacesWithMiddleDot,\n};\n```\n\nIf you need the TypeScript type of a Color option:\n\n```ts\nimport {DiffOptionsColor} from 'jest-diff';\n```\n\n### Example of options for no colors\n\nTo store the difference in a file without escape codes for colors, provide an identity function:\n\n```js\nconst noColor = string => string;\n\nconst options = {\n  aColor: noColor,\n  bColor: noColor,\n  changeColor: noColor,\n  commonColor: noColor,\n  patchColor: noColor,\n};\n```\n\n### Example of options for indicators\n\nFor consistency with the `diff` command, you might replace the indicators:\n\n```js\nconst options = {\n  aIndicator: '<',\n  bIndicator: '>',\n};\n```\n\nThe `jest-diff` package assumes (but does not enforce) that the 3 indicators have equal length.\n\n### Example of options to limit common lines\n\nBy default, the output includes all common lines.\n\nTo emphasize the changes, you might limit the number of common “context” lines:\n\n```js\nconst options = {\n  contextLines: 1,\n  expand: false,\n};\n```\n\nA patch mark like `@@ -12,7 +12,9 @@` accounts for omitted common lines.\n\n### Example of option for color of patch marks\n\nIf you want patch marks to have the same dim color as common lines:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  expand: false,\n  patchColor: chalk.dim,\n};\n```\n\n### Example of option to include change counts\n\nTo display the number of changed lines at the right of annotation lines:\n\n```js\nconst a = ['common', 'changed from'];\nconst b = ['common', 'changed to', 'insert'];\n\nconst options = {\n  includeChangeCounts: true,\n};\n\nconst difference = diff(a, b, options);\n```\n\n```diff\n- Expected  - 1\n+ Received  + 2\n\n  Array [\n    \"common\",\n-   \"changed from\",\n+   \"changed to\",\n+   \"insert\",\n  ]\n```\n\n### Example of option to omit annotation lines\n\nTo display only the comparison lines:\n\n```js\nconst a = 'common\\nchanged from';\nconst b = 'common\\nchanged to';\n\nconst options = {\n  omitAnnotationLines: true,\n};\n\nconst difference = diffStringsUnified(a, b, options);\n```\n\n```diff\n  common\n- changed from\n+ changed to\n```\n\n### Example of option for empty first or last lines\n\nIf the **first** or **last** comparison line is **empty**, because the content is empty and the indicator is a space, you might not notice it.\n\nThe replacement option is a string whose default value is `''` empty string.\n\nBecause Jest trims the report when a matcher fails, it deletes an empty last line.\n\nTherefore, Jest uses as placeholder the downwards arrow with corner leftwards:\n\n```js\nconst options = {\n  emptyFirstOrLastLinePlaceholder: '↵', // U+21B5\n};\n```\n\nIf a content line is empty, then the corresponding comparison line is automatically trimmed to remove the margin space (represented as a middle dot below) for the default indicators:\n\n|         Indicator | untrimmed | trimmed |\n| ----------------: | :-------- | :------ |\n|      `aIndicator` | `'-·'`    | `'-'`   |\n|      `bIndicator` | `'+·'`    | `'+'`   |\n| `commonIndicator` | `' ·'`    | `''`    |\n","readmeFilename":"README.md","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@27.0.0-next.11","_nodeVersion":"14.17.0","_npmVersion":"lerna/4.0.0/node@v14.17.0+x64 (darwin)","dist":{"integrity":"sha512-bVuRUuzzqnw8DkAogB8k8jznk2xW3qKm2vSMv7WTMIr8iE5MuqZ3eIwXv++bO2zMde+C4AnssOMVp82kRiA+Ew==","shasum":"f797d555c9bf30ecd792f4ed3d68f4fb29037d9c","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-27.0.0-next.11.tgz","fileCount":23,"unpackedSize":85442,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgpuKeCRA9TVsSAnZWagAADrsP/0fpDRSs7V9zdzmyRJQ+\nc0WnyYC78+PyDBHK0nQDJBsU9/7YFIXBPdzid7zgw2deLkLVUBjyVQlnvobn\nvE0k8ZugcNx4K6vh85JcyxXvyyMmTWYdvDteCh1SNI8jt8mZIMjpIa/xgPsP\nvMSuVQ1BDVpLOcwsPPY4apMD63yEc/Y4rauXOwqdbRvcX40jdawc3Qny/9uM\nX73M9bdNfE0Y+eR4h80yOlvVRXfAGw7z+uBhbf2IYB5WhpIoyucZp85eOBfP\nm2tD8je9DTnobqorvd9vNRzQWMJMZ2b/tZCFEabP7TgWW9wDS0bNuDlgIFsj\niGxzHPnWNB+RtTqyIFbnO6WpXIghffgIwqXIV+pX8O+Hol2KSp1vjFmMJv8c\nWJuJ28OPpKSzQEE6dw3qizCHy+XWzNsNz+4TtzZ1ls94ZM1RKjQrJR3FUffy\nCAJbk6t0CroFS424z8JqsTZ+jJnjF/FbzqD5fhOAzQGk2TIsphD/unt4Q3cO\newmilzQUmX52FQQc1Q04WPxgAhbq+roTpZfADanAopiU8+BZD8aoRwqtsCkU\nFxYvNlMxV/QKjxVx9Kjr4M1bVx/8LwZ+T5l4arO7lzdwG4IcZX6lW7gvJj5c\nexQJvugtY4StRRwNcREXK1yMqes58b+EindSv1A02+uc++qWlhOyvQTWenJD\n7RLU\r\n=Ri2D\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDm4jdx5/AUP4sTORGlKGSH/ryWmaR4+2chU96rcHAL8QIhAMBrqj5/dxZGdF9G/oSy1HAEO28OnCi4Mtv2kH11HlTN"}]},"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"maintainers":[{"name":"scotthovestadt","email":"scott.hovestadt@gmail.com"},{"name":"rubennorte","email":"rubennorte@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"aaronabramov","email":"aaron@abramov.io"},{"name":"davidzilburg","email":"davidzilburg@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_27.0.0-next.11_1621549726402_0.43667468177027824"},"_hasShrinkwrap":false},"27.0.0":{"name":"jest-diff","version":"27.0.0","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"./build/index.js","types":"./build/index.d.ts","exports":{".":"./build/index.js","./package.json":"./package.json"},"dependencies":{"chalk":"^4.0.0","diff-sequences":"^27.0.0-next.0","jest-get-type":"^27.0.0-next.9","pretty-format":"^27.0.0"},"devDependencies":{"@jest/test-utils":"^27.0.0","strip-ansi":"^6.0.0"},"engines":{"node":"^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0"},"publishConfig":{"access":"public"},"gitHead":"be16e47afcc9f64653b9a47782cb48a5ca243e65","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@27.0.0","_nodeVersion":"14.17.0","_npmVersion":"lerna/4.0.0/node@v14.17.0+x64 (darwin)","dist":{"integrity":"sha512-kMn0k0sY5Gk2w7KiapTn9l7ZR2gIRhovv/Q3xHOU986Dlozahj2G2v+mwz139x11h0k7dBod79wT9OfDHBDn8w==","shasum":"273159b425249753bc502dd583b908a3b7334107","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-27.0.0.tgz","fileCount":23,"unpackedSize":85418,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgrLISCRA9TVsSAnZWagAA9K0P/ijP5S+dJ5QbbulvDKBA\nWm27pn3mhfpS2cKAyUqu2PH83K358yZ+rB4AUoD6HcBeo/OCxqVKyHKEgcUC\nJXspZfDAOks1HNFojzsGXhFV+x4UikVJPCbPk+HQzPYGexNMiNGxH8fyhomI\nz8iClICM/g+MaDcMvYsbmkdk85k5o6QFNE0y5S6X5txZUizLiHi7eWO0rqbu\njuk8seriMUwUtv0pM9g8gnKb1X1ZLprpR7ygbziEWcI98RBG27+UWdtB2fuj\nYnLbB+0+9tD99L9RBz2YI/kCLaczOVBGWV4d1f4PszHojbllR8p7owpagP4c\ni1Ruivp3gyYQMAsbCnuSj514djevTV5wClY0r1bEQRxK1xhjvpDA3BBlyoYG\nmg+psiwezChI2FK2Kso3+62ddQrm+VUkM7tSordaGO6uLbTUW4mNhDneRTvQ\nqzsv1WmQ4dv+vPT69Qs5+NNDK+rxahwwtl1OFLwxkbjWErvOursHbD2xhIS1\nsDrN5jkPY+GDVZocWzKrpxO2nn5RJC7Xn/0W0LRwjnbrcUv2Ug8co3SPHyRS\nT1OQgd2adcCGFTZ3YcXMCTSzZJG1f+xDFOpsZTSIeGfU/9YGTuLoMAyXmI8l\nyFpzSWVRQb6FO0t9cVp6PeEqnCby5dz8zjgkbhe6E2tV4JDXfQMLNE+Lb5WY\n71xJ\r\n=0Qz2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDJc6YqPiBfv3QJcn/T69h84JbtjSK+B9jEm+xUUYPsYgIhAIwMoX6qqj92r7vpBM5LOTW25DlVp3e2+sCHUONd8/ei"}]},"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"maintainers":[{"name":"scotthovestadt","email":"scott.hovestadt@gmail.com"},{"name":"rubennorte","email":"rubennorte@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"aaronabramov","email":"aaron@abramov.io"},{"name":"davidzilburg","email":"davidzilburg@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_27.0.0_1621930513991_0.9930201343862177"},"_hasShrinkwrap":false},"27.0.1":{"name":"jest-diff","version":"27.0.1","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"./build/index.js","types":"./build/index.d.ts","exports":{".":"./build/index.js","./package.json":"./package.json"},"dependencies":{"chalk":"^4.0.0","diff-sequences":"^27.0.1","jest-get-type":"^27.0.1","pretty-format":"^27.0.1"},"devDependencies":{"@jest/test-utils":"^27.0.1","strip-ansi":"^6.0.0"},"engines":{"node":"^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0"},"publishConfig":{"access":"public"},"gitHead":"2cb20e945a26b2c9867b30b787e81f6317e59aa1","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@27.0.1","_nodeVersion":"14.17.0","_npmVersion":"lerna/4.0.0/node@v14.17.0+x64 (darwin)","dist":{"integrity":"sha512-DQ3OgfJgoGWVTYo4qnYW/Jg5mpYFS2QW9BLxA8bs12ZRN1K8QPZtWeYvUPohQFs3CHX3JLTndGg3jyxdL5THFQ==","shasum":"021beb29fe9f07e83c809a4f7a1ce807b229c4ab","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-27.0.1.tgz","fileCount":23,"unpackedSize":85404,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgrMwrCRA9TVsSAnZWagAAkCoP/AvfDynfHRnQw6ZJQ8f9\nZzJR+4G6pX+zQSGgv5OwGlCD6xyJKnDmWktrHQbX/2TsPPbJyQORSw70WGBi\nf3la2YrivkxFSs9EmD3CmPz7rB8v0wT3Ccj1gnVuGE5b1Ag2OuslClwVcVOy\nk58hd9qqcLBuBj68P7vhuZZU04eipiECiQeI5s7ViRgc6LNkfNmXYGzeX0z+\nukoQU9OT7/TbxwZpgzfr1fNHRZFZWn8e4KaA4pqTrp/YUNfmUaezRY/A0vtY\nxAuW6ctrPjzru6jzqYmFTgOhg/kgPFRm1wrYjVxO2yMEGjuptgqYVZc0umAw\nysk0AUZM2zXIX5/02tM9uGVWNPQwFAXuFAu3y0W6/kvTjYrRlkrsQ6Ufo7Lo\na1ZsgjwhqOTmX4f4LwUJrTaCAIKlsjAy9qrNCKCcZjk6/+Odg95rQeRsbomA\nSYz0D4dZfmrj0GpPZGDCcLntzUeHIDafmUS0VA+p+DdJSfTL6R7WcCUaF3eO\n652VGpmShnuWo4V9kMnatCm9tzSsd8uVW7tZwcUq/tEaN+slFWtxpNdWBR5C\n6ugDwfVG9KU1mIUicC4Ejap88UR+AbuLNSWeETzBYGatx3XzKlJwWxPvLP8Y\n9P42T1cqZ1PIB60MOoIu9909KE0jT9ZyVP6zHAH1VJidrGTsAiBojIkopswk\nniGq\r\n=ON5X\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDrMMdRRG2EpjAfY3QQEyBPKKBHBeCT84AVi0a/6Wx4xgIhAJcUMVpwqlD6ar08O99J9m0jh/XwZ6UniGwnU56YPYPe"}]},"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"maintainers":[{"name":"scotthovestadt","email":"scott.hovestadt@gmail.com"},{"name":"rubennorte","email":"rubennorte@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"aaronabramov","email":"aaron@abramov.io"},{"name":"davidzilburg","email":"davidzilburg@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_27.0.1_1621937195237_0.20880096349100352"},"_hasShrinkwrap":false},"27.0.2":{"name":"jest-diff","version":"27.0.2","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"./build/index.js","types":"./build/index.d.ts","exports":{".":"./build/index.js","./package.json":"./package.json"},"dependencies":{"chalk":"^4.0.0","diff-sequences":"^27.0.1","jest-get-type":"^27.0.1","pretty-format":"^27.0.2"},"devDependencies":{"@jest/test-utils":"^27.0.2","strip-ansi":"^6.0.0"},"engines":{"node":"^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0"},"publishConfig":{"access":"public"},"gitHead":"7ca8a22b8453e95c63842ee6aa4d8d8d8b4f9612","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@27.0.2","_nodeVersion":"14.17.0","_npmVersion":"lerna/4.0.0/node@v14.17.0+x64 (darwin)","dist":{"integrity":"sha512-BFIdRb0LqfV1hBt8crQmw6gGQHVDhM87SpMIZ45FPYKReZYG5er1+5pIn2zKqvrJp6WNox0ylR8571Iwk2Dmgw==","shasum":"f315b87cee5dc134cf42c2708ab27375cc3f5a7e","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-27.0.2.tgz","fileCount":23,"unpackedSize":85404,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgsi53CRA9TVsSAnZWagAAUCwP/RZ2Cq2R2veR+PFtYLfN\naMq2k5HDDl/mHwo5zlj6rPEpvCFXdC18GXWMX5ghR+4gq3xdcgpmUUlLXz5+\nug8CBqCsf+uDtRWoKw4GKn7+B64sJknfl36Xw/vdjtMCCw8UHm2rt3eD1oXd\nbC9FtMzZuoD4d5Xbj+x8gCiCtZjymFN8R3YOiMCJGB43/sFT2EizYU1lnopd\nikSRN/bd6gGXFsrR3PKatcjLkuvK3Rnfgh1ETJOU601oEnfrbDhYrS3UbDQZ\nMSPbDTOlp+Ukx6szHMSZLxMHuXX1E0PdyN2KWAgAdpbRn3pQF2FD+JqzG86t\n23is7Gt7Iok05WdLDM9gVWBq/+qvdLJ8nBvSz8/h4/G4Yw61W2/qlj0SX62y\nX9YdQ30Dq8DBt/FYiGvJ2/nYcb9TanfHkH5+/RjmpPkuYACEMA7qXu5Za+gl\ncmlwQgP9sjh8siCePbFXSsbBdr2YFybpP8fTdNpCSTCX2F81qmm/urTAKPYM\n5ts2wgy/7AUFRFJJpLrukUGp5ULkPcFpyUivkTRE0YNU4YJuV59HpZsbsi0k\nM75RKTiJTwAD4oy0GpHoYV8lNNYXPzgvDGPBaXtCmW7lXo8ICmC2BK6WAq/t\nKmqLayBEKNruSX4gsBap9nY73IWD0tsWnB/m5XbiYE1MUUGwDLYuVHpzMdmU\ntfKR\r\n=odJK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAxCPwkiaeNig7ur2ZLe+mo18p6hg3YNRcocmRdjIsJbAiEA/Ttwx8RMcpgGuUzE7WBACOe/3vqEW0yZ/ZA8qbEOC2A="}]},"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"maintainers":[{"name":"scotthovestadt","email":"scott.hovestadt@gmail.com"},{"name":"rubennorte","email":"rubennorte@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"aaronabramov","email":"aaron@abramov.io"},{"name":"davidzilburg","email":"davidzilburg@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_27.0.2_1622290039197_0.14272831774673"},"_hasShrinkwrap":false},"27.0.6":{"name":"jest-diff","version":"27.0.6","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"./build/index.js","types":"./build/index.d.ts","exports":{".":"./build/index.js","./package.json":"./package.json"},"dependencies":{"chalk":"^4.0.0","diff-sequences":"^27.0.6","jest-get-type":"^27.0.6","pretty-format":"^27.0.6"},"devDependencies":{"@jest/test-utils":"^27.0.6","strip-ansi":"^6.0.0"},"engines":{"node":"^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0"},"publishConfig":{"access":"public"},"gitHead":"d257d1c44ba62079bd4307ae78ba226d47c56ac9","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@27.0.6","_nodeVersion":"14.17.1","_npmVersion":"lerna/4.0.0/node@v14.17.1+x64 (darwin)","dist":{"integrity":"sha512-Z1mqgkTCSYaFgwTlP/NUiRzdqgxmmhzHY1Tq17zL94morOHfHu3K4bgSgl+CR4GLhpV8VxkuOYuIWnQ9LnFqmg==","shasum":"4a7a19ee6f04ad70e0e3388f35829394a44c7b5e","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-27.0.6.tgz","fileCount":23,"unpackedSize":85749,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg2gFnCRA9TVsSAnZWagAAGroP/j7X/dTULkJmO/2jjrM3\n90/GtG7pQPWg/d5HOINXjSHVxOq2ckchw8y7krHtIyzRioPCrPPT9Ul1ImZz\nQ6avBq+il54nQBTbU/FRyoWkhOkBAfCxznW/j5lZfmkv6cdTommDy2mqotJ/\nCmp0S/NK2HN/Pw0uShOqPxFjg35s5XMvsErPQmz4I8SM56WdWXZtEFfe/Dn2\nU3YiPbJ85tCXLG7uWxIQsAW47qrM9LGlAG6qu0ioFkzwQYnEqdHfELvnJs2K\nYFvxz6oo3H2skXeXLAtDqlowGkjh+Ttm7AbqKUJK+/ty40LtG57YUUblrNFV\nuBP0nNfS3Xk0Z+IYGA7bNI7giWsB7B4ZsmLN8IL7oA568f0a+JN/NY6neJkJ\nW7OQfg6WLIqyOakfFsSZZ0/ZX/jKWoU8h69O3upV1UhaCm3Iuh5TgtXFNkPk\nrCEa/GWpJgo9Qm6SzSJFWuCp3mtS2rq9R0zHBTUqc8ljq+LipNqd/3MlKwkS\nTKUOlCqTDN95DG1Y8FeABpeTrToz4UqM/G3EV4H5j0y1u0y/PGHWfjFsByjh\n/f70V4M/ti4zLri7yv37hJZlcnJrWvtv+6l1KQXF/Rl1fcPXQ/qqo5sW7xOM\nc3+kCp1XfI6mHvxTKGQSYySkHvo3WvXFAoXRdZGWHNQacanGe2wxK00h6tjX\nsIC4\r\n=Dq4i\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF9EgZwHtAOpLnteB4ksXRwLZBKgEo0Lt0+VItoCliOQAiEAjBd1ZhC3C5i3d3Y4J1pT+Gk7iugDZxwuBIsSTlOaPOE="}]},"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"maintainers":[{"name":"scotthovestadt","email":"scott.hovestadt@gmail.com"},{"name":"rubennorte","email":"rubennorte@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"aaronabramov","email":"aaron@abramov.io"},{"name":"davidzilburg","email":"davidzilburg@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_27.0.6_1624899942611_0.49340070922310075"},"_hasShrinkwrap":false},"27.1.0":{"name":"jest-diff","version":"27.1.0","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"./build/index.js","types":"./build/index.d.ts","exports":{".":"./build/index.js","./package.json":"./package.json"},"dependencies":{"chalk":"^4.0.0","diff-sequences":"^27.0.6","jest-get-type":"^27.0.6","pretty-format":"^27.1.0"},"devDependencies":{"@jest/test-utils":"^27.1.0","strip-ansi":"^6.0.0"},"engines":{"node":"^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0"},"publishConfig":{"access":"public"},"gitHead":"5ef792e957e83428d868a18618b8629e32719993","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@27.1.0","_nodeVersion":"14.17.5","_npmVersion":"lerna/4.0.0/node@v14.17.5+x64 (darwin)","dist":{"integrity":"sha512-rjfopEYl58g/SZTsQFmspBODvMSytL16I+cirnScWTLkQVXYVZfxm78DFfdIIXc05RCYuGjxJqrdyG4PIFzcJg==","shasum":"c7033f25add95e2218f3c7f4c3d7b634ab6b3cd2","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-27.1.0.tgz","fileCount":23,"unpackedSize":85749,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhKLeMCRA9TVsSAnZWagAAM7sP/jc/hYR92xTgA1PB4Lj+\ndkld5+MTVjoj7VscuAzyfQk5V6IIZDAr1v6B2qBkPLqOkAogN6sKEUPy4Zkh\nWELegmZeS25EDeA8JPtgyn1rM6mf5n4VLgQiH5c9g1xKWfFxKhS+jQZ0x6WQ\nT+WmziykIAlkObPgCKDGZggUNTsL/6bmQ85mEt2PvuOWQq3pXoR3NoBiM/1T\nIYzuRhDTfhz6YvvQirI1KVztnYOKiweBajruVeRBmdFYIzRoh3xvo4MRQCsB\n6XlngfNhpiAPmv6wJlPIfrzWtEJgOhYw9P4A49zWP+cVB6HNQl7LlTjjB7td\nE30cYJdn5EhGcKHqH/VkDNFnNqAmrAdhWt87jJ0NKXMpgYJbYxdgOzMymxsl\nXS9UxwAsLlhu+HG6QJfsQEZS7Fen6ebdEKUicAp1fYVW3F73qC+HjASto0WO\n1DU+CaSLLlHYxbJe+LYbuZdWTaRsqwwpJQkTEPQ6+T89wxYlt4MNar4lkKPV\nlh6rm9G2boPb9JXrLxUF3AWalrHEcEGA4f4I0/RiOWAhKwz5Kib5Sp0hQcs/\n3vaekviFuvbPYiKV0oOcaWpwlOzcAPE8eZzBXgxZ2VHHXUUe58s4SwB2eS0T\n5XZxtTBMOHkXTGClL8ei7KkgHCXh3i+i8MJ98FXEz+mmzngAregAzRCg91+H\n9CQw\r\n=MIIk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDTDu6YaA7cKGBrVfMaWjKz/Q61VV5MdwuEwAASzIV1KgIhAN9q148/ccXv+NPUsDvPHYT1qxvPI/gJ05iHE4vtYCss"}]},"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"maintainers":[{"name":"scotthovestadt","email":"scott.hovestadt@gmail.com"},{"name":"rubennorte","email":"rubennorte@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"aaronabramov","email":"aaron@abramov.io"},{"name":"davidzilburg","email":"davidzilburg@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_27.1.0_1630058380736_0.23786114817746684"},"_hasShrinkwrap":false},"27.1.1":{"name":"jest-diff","version":"27.1.1","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"./build/index.js","types":"./build/index.d.ts","exports":{".":"./build/index.js","./package.json":"./package.json"},"dependencies":{"chalk":"^4.0.0","diff-sequences":"^27.0.6","jest-get-type":"^27.0.6","pretty-format":"^27.1.1"},"devDependencies":{"@jest/test-utils":"^27.1.1","strip-ansi":"^6.0.0"},"engines":{"node":"^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0"},"publishConfig":{"access":"public"},"gitHead":"111198b62dbfc3a730f7b1693e311608e834fe1d","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@27.1.1","_nodeVersion":"14.17.5","_npmVersion":"lerna/4.0.0/node@v14.17.5+x64 (darwin)","dist":{"integrity":"sha512-m/6n5158rqEriTazqHtBpOa2B/gGgXJijX6nsEgZfbJ/3pxQcdpVXBe+FP39b1dxWHyLVVmuVXddmAwtqFO4Lg==","shasum":"1d1629ca2e3933b10cb27dc260e28e3dba182684","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-27.1.1.tgz","fileCount":23,"unpackedSize":85749,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhOIx/CRA9TVsSAnZWagAASokP/jvk0fjUJubR30/7aJph\nXMylib4cuxzschoHxcFuUaAdsw/oTbGTS6hp/HW6i7S0sVSz5J4hA+fjcAoi\nZWCFr0A1oVaNe4pdXyuWcGiWVtFXgCGYb5iY0x18RLwyoKosDuTq+dmz5uPs\neuxm8IGbQnS6t6GzAkRKYwJ39iKl1/ezo0SD6k0qf9AzhPrbzGIERzinmTO8\nKKnJeI+nXaO7OQMpCTHvMr8reeIrKd65eV235m/CoVxDk9lIAlrFMEHmEMY4\nYHoLeMmw2AtgpoJTQ8dNr+CCAyXpe1wpL6WGQAhpwApJPmya6ENPpccc2SX0\nJCFXDEEImn4su4JtPJCMJ28PAZtHnTwfXD8tp8FbnVItXCl1Gpp2WrBpa3x+\nZxelG00oA3YZQPTeuJw222zcoj7sgPmnOnmXS8+VVKQNvXNf7DqRIFCAFBdS\nDOfIioXV9u8ef9vVXyyS82bfmfPc2pq90jnrs0wGzZhrZaPe6NJeZmIE9Qsp\n/3AjyNL58jwcJ0VBszWJRu2IVrXAZOaEvP/J7a3/+KszqHVHpcEZMGYsM+eK\nu+tl0wkvHJ3WCuzrozwAHnfw1ITZaXo4pq05OIvQJtv4eYHhIfLIus/sW4R1\nR/7yxHect/z//SD6WQbU2UW+vqo0tUkCqmtEXMa/U+H6k/QFXfpDbB/goSHO\nPoKS\r\n=P26v\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD3WaScWJ9QW+jlYLiSsIh0ChqhvrtwK/+Iexx4XsKeHgIgcym1soV8MkDkJ6BYnQn9bDi6EV8QlJERHgpNK+RcO4k="}]},"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"maintainers":[{"name":"scotthovestadt","email":"scott.hovestadt@gmail.com"},{"name":"rubennorte","email":"rubennorte@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"aaronabramov","email":"aaron@abramov.io"},{"name":"davidzilburg","email":"davidzilburg@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_27.1.1_1631095935517_0.45621722117822094"},"_hasShrinkwrap":false},"27.2.0":{"name":"jest-diff","version":"27.2.0","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"./build/index.js","types":"./build/index.d.ts","exports":{".":"./build/index.js","./package.json":"./package.json"},"dependencies":{"chalk":"^4.0.0","diff-sequences":"^27.0.6","jest-get-type":"^27.0.6","pretty-format":"^27.2.0"},"devDependencies":{"@jest/test-utils":"^27.2.0","strip-ansi":"^6.0.0"},"engines":{"node":"^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0"},"publishConfig":{"access":"public"},"gitHead":"b05635c539f8f673dfed5bf05ea727a8d5d7bbe2","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@27.2.0","_nodeVersion":"14.17.5","_npmVersion":"lerna/4.0.0/node@v14.17.5+x64 (darwin)","dist":{"integrity":"sha512-QSO9WC6btFYWtRJ3Hac0sRrkspf7B01mGrrQEiCW6TobtViJ9RWL0EmOs/WnBsZDsI/Y2IoSHZA2x6offu0sYw==","shasum":"bda761c360f751bab1e7a2fe2fc2b0a35ce8518c","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-27.2.0.tgz","fileCount":23,"unpackedSize":85749,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhPwaSCRA9TVsSAnZWagAA7kcP/Ai/Qaq2Nrt2WZ4QPOPv\nDr3b7nYPLB8mjvRcY8twsCa5S2509zaGzOchDmkFpk4Sx9IiDkDa1WuoGozG\nmcC2zgCEHU7YODDaN0APkOaDUqssdRXihI1kvJ2HFbUhtomhywoQTBtoT5qC\nctS0jk6MaydGVPkjbhWTujnHac3mVrRWy1Vxc0JQ5g6sdi2r22+svApt0Ywx\niKimK25l5ZfiBRw4V+j81d3CgcTW0qO/CSgmCU92Sbdoo3c/OC5XlAxtt2qn\nAdzAobKCgH61d01gdRidLIDbcD8zh8WEKJ4+uLjueSqTH4K8tOqBilGXi5Fj\ncBjtJzUNNYbIpCtrCEHFx/J9kOLIYxcbuEvUhj4NZKFhhR5UCG5Oa/tXk2kK\n0FyOt+kb0MQFZdkQHppYx7auBLukU86EEZ2lD+iGRBozgQ3xXLd7K3KMePSB\nfmvB3fGbjNZrLj5Yhg8mb20bQekPKRVLETnoGuB9ihtPoHSfllu9UgzqbtjV\n1AA47isZ0CAXd/IO6u9h3CSwp9jQeE9KPWMHcMvpJa1e9yIWEJTgrUGBSxCZ\nL3s6sS1G31WYGIrzNHxK0rp7m8HF8GQxcHsAftWpvvqwM3myQersFk6ncRpP\nwO4zxtXhcqWl+gEvFsD38JJ8Alp7QKHjLhAoyAW7X1lQZ3qIhnTj5wvMk1M4\n+JKk\r\n=XxVZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIApoN4t5QomdcWEugedHLsyoHGjwdXgKsyepqjBQ5dEbAiEAxbcwmRxb8KhPo5NrVux8EDzorDYpi0LAueKr+UpnHXc="}]},"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"maintainers":[{"name":"scotthovestadt","email":"scott.hovestadt@gmail.com"},{"name":"rubennorte","email":"rubennorte@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"aaronabramov","email":"aaron@abramov.io"},{"name":"davidzilburg","email":"davidzilburg@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_27.2.0_1631520402141_0.9202056875030113"},"_hasShrinkwrap":false},"27.2.2":{"name":"jest-diff","version":"27.2.2","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"./build/index.js","types":"./build/index.d.ts","exports":{".":"./build/index.js","./package.json":"./package.json"},"dependencies":{"chalk":"^4.0.0","diff-sequences":"^27.0.6","jest-get-type":"^27.0.6","pretty-format":"^27.2.2"},"devDependencies":{"@jest/test-utils":"^27.2.2","strip-ansi":"^6.0.0"},"engines":{"node":"^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0"},"publishConfig":{"access":"public"},"gitHead":"f54d96fec55518640b900d6994b2c4153316d1ed","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@27.2.2","_nodeVersion":"14.17.6","_npmVersion":"lerna/4.0.0/node@v14.17.6+x64 (darwin)","dist":{"integrity":"sha512-o3LaDbQDSaMJif4yztJAULI4xVatxbBasbKLbEw3K8CiRdDdbxMrLArS9EKDHQFYh6Tgfrm1PC2mIYR1xhu0hQ==","shasum":"3992fe5f55f209676c5d3fd956e3f3d4145f76b8","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-27.2.2.tgz","fileCount":23,"unpackedSize":85749,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDUINPQYJdFnq+/Cz6i+M4FdAZUQIFXIFuCr96QVzZ4ZwIgT2h3VIV7facfe5GOSRLQthvX6Fct+ZnqYkGxoqQjeD8="}]},"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"maintainers":[{"name":"scotthovestadt","email":"scott.hovestadt@gmail.com"},{"name":"rubennorte","email":"rubennorte@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"aaronabramov","email":"aaron@abramov.io"},{"name":"davidzilburg","email":"davidzilburg@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_27.2.2_1632576908339_0.27959900610317234"},"_hasShrinkwrap":false},"27.2.3":{"name":"jest-diff","version":"27.2.3","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"./build/index.js","types":"./build/index.d.ts","exports":{".":"./build/index.js","./package.json":"./package.json"},"dependencies":{"chalk":"^4.0.0","diff-sequences":"^27.0.6","jest-get-type":"^27.0.6","pretty-format":"^27.2.3"},"devDependencies":{"@jest/test-utils":"^27.2.3","strip-ansi":"^6.0.0"},"engines":{"node":"^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0"},"publishConfig":{"access":"public"},"gitHead":"ae53efe274dee5464d11f1b574d2d825685cd031","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@27.2.3","_nodeVersion":"14.17.6","_npmVersion":"lerna/4.0.0/node@v14.17.6+x64 (darwin)","dist":{"integrity":"sha512-ihRKT1mbm/Lw+vaB1un4BEof3WdfYIXT0VLvEyLUTU3XbIUgyiljis3YzFf2RFn+ECFAeyilqJa35DeeRV2NeQ==","shasum":"4298ecc53f7476571d0625e8fda3ade13607a864","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-27.2.3.tgz","fileCount":23,"unpackedSize":85749,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC/FtjNBgU+ulCt5DEJTQu/Juo9USUfdzX5WvqqKUshdAiEA2nFhm+chDHLeQfazlEGTap8ulrNpGW1oZNEk4aMTOg4="}]},"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"maintainers":[{"name":"scotthovestadt","email":"scott.hovestadt@gmail.com"},{"name":"rubennorte","email":"rubennorte@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"aaronabramov","email":"aaron@abramov.io"},{"name":"davidzilburg","email":"davidzilburg@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_27.2.3_1632823882573_0.09129907663307413"},"_hasShrinkwrap":false},"27.2.4":{"name":"jest-diff","version":"27.2.4","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"./build/index.js","types":"./build/index.d.ts","exports":{".":"./build/index.js","./package.json":"./package.json"},"dependencies":{"chalk":"^4.0.0","diff-sequences":"^27.0.6","jest-get-type":"^27.0.6","pretty-format":"^27.2.4"},"devDependencies":{"@jest/test-utils":"^27.2.4","strip-ansi":"^6.0.0"},"engines":{"node":"^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0"},"publishConfig":{"access":"public"},"gitHead":"5886f6c4d681aa9fc9bfc2517efd2b7f6035a4cd","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@27.2.4","_nodeVersion":"14.17.6","_npmVersion":"lerna/4.0.0/node@v14.17.6+x64 (darwin)","dist":{"integrity":"sha512-bLAVlDSCR3gqUPGv+4nzVpEXGsHh98HjUL7Vb2hVyyuBDoQmja8eJb0imUABsuxBeUVmf47taJSAd9nDrwWKEg==","shasum":"171c51d3d2c105c457100fee6e7bf7cee51c8d8c","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-27.2.4.tgz","fileCount":23,"unpackedSize":85749,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFge9q15bAlR8bpfQT50zFdWrwgUPtDE1m+AWFJvsFxzAiEA+EbU2GB1yHUOGrzuMPQCpBcyXthi7I1uxozsHxVMdbI="}]},"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"maintainers":[{"name":"scotthovestadt","email":"scott.hovestadt@gmail.com"},{"name":"rubennorte","email":"rubennorte@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"aaronabramov","email":"aaron@abramov.io"},{"name":"davidzilburg","email":"davidzilburg@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_27.2.4_1632924289172_0.48860961486951915"},"_hasShrinkwrap":false},"27.2.5":{"name":"jest-diff","version":"27.2.5","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"./build/index.js","types":"./build/index.d.ts","exports":{".":"./build/index.js","./package.json":"./package.json"},"dependencies":{"chalk":"^4.0.0","diff-sequences":"^27.0.6","jest-get-type":"^27.0.6","pretty-format":"^27.2.5"},"devDependencies":{"@jest/test-utils":"^27.2.5","strip-ansi":"^6.0.0"},"engines":{"node":"^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0"},"publishConfig":{"access":"public"},"gitHead":"251b8014e8e3ac8da2fca88b5a1bc401f3b92326","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@27.2.5","_nodeVersion":"14.17.6","_npmVersion":"lerna/4.0.0/node@v14.17.6+x64 (darwin)","dist":{"integrity":"sha512-7gfwwyYkeslOOVQY4tVq5TaQa92mWfC9COsVYMNVYyJTOYAqbIkoD3twi5A+h+tAPtAelRxkqY6/xu+jwTr0dA==","shasum":"908f7a6aca5653824516ad30e0a9fd9767e53623","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-27.2.5.tgz","fileCount":23,"unpackedSize":85749,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE5NmEgBYz63QyW5BxHmItCf5RmJn7F5K9RH8MPLexsBAiEAwlBLEHxeWFkWcKvGjFBeCnax7TNc6SK5q/OvSk0Q9BY="}]},"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"maintainers":[{"name":"scotthovestadt","email":"scott.hovestadt@gmail.com"},{"name":"rubennorte","email":"rubennorte@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"aaronabramov","email":"aaron@abramov.io"},{"name":"davidzilburg","email":"davidzilburg@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_27.2.5_1633700362617_0.16406771786759733"},"_hasShrinkwrap":false},"27.3.0":{"name":"jest-diff","version":"27.3.0","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"./build/index.js","types":"./build/index.d.ts","exports":{".":"./build/index.js","./package.json":"./package.json"},"dependencies":{"chalk":"^4.0.0","diff-sequences":"^27.0.6","jest-get-type":"^27.0.6","pretty-format":"^27.3.0"},"devDependencies":{"@jest/test-utils":"^27.3.0","strip-ansi":"^6.0.0"},"engines":{"node":"^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0"},"publishConfig":{"access":"public"},"gitHead":"14b0c2c1d6f81b64adf8b827649ece80a4448cfc","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@27.3.0","_nodeVersion":"14.17.6","_npmVersion":"lerna/4.0.0/node@v14.17.6+x64 (darwin)","dist":{"integrity":"sha512-Nl2rE58B2ye+RvPcU4hN+6wBCHxX7aWz6RMTMFxe9jAg8ZueMj5QQ+T/nmHRutbBc5BEjrbbEWOrRzp9rUEsYA==","shasum":"4d6f6f9d34f7e2a359b3c7eb142bba4de1e37695","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-27.3.0.tgz","fileCount":23,"unpackedSize":85749,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB6oT9sqH7ElQOtEAlp/jnBqNOz2LCImQD8Rqaby+YvsAiAXOm4QpvSNhPRM1dd0vkvyJoNFseUFa4mm/f1QPf5vcA=="}]},"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"maintainers":[{"name":"scotthovestadt","email":"scott.hovestadt@gmail.com"},{"name":"rubennorte","email":"rubennorte@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"aaronabramov","email":"aaron@abramov.io"},{"name":"davidzilburg","email":"davidzilburg@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_27.3.0_1634495687214_0.6136262588167589"},"_hasShrinkwrap":false},"27.3.1":{"name":"jest-diff","version":"27.3.1","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"./build/index.js","types":"./build/index.d.ts","exports":{".":"./build/index.js","./package.json":"./package.json"},"dependencies":{"chalk":"^4.0.0","diff-sequences":"^27.0.6","jest-get-type":"^27.3.1","pretty-format":"^27.3.1"},"devDependencies":{"@jest/test-utils":"^27.3.1","strip-ansi":"^6.0.0"},"engines":{"node":"^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0"},"publishConfig":{"access":"public"},"gitHead":"4f3328f3227aa0668486f819b3353af5b6cc797b","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@27.3.1","_nodeVersion":"14.17.6","_npmVersion":"lerna/4.0.0/node@v14.17.6+x64 (darwin)","dist":{"integrity":"sha512-PCeuAH4AWUo2O5+ksW4pL9v5xJAcIKPUPfIhZBcG1RKv/0+dvaWTQK1Nrau8d67dp65fOqbeMdoil+6PedyEPQ==","shasum":"d2775fea15411f5f5aeda2a5e02c2f36440f6d55","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-27.3.1.tgz","fileCount":23,"unpackedSize":85749,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDLJlrIhWQi6myiCGcfbLdVUzQ1nJWoxQggiDg7CDco7QIgeDJRblPtKaMmN0SFVf1oZcrzEFmcHe1Z6ale/zFZxyM="}]},"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"maintainers":[{"name":"scotthovestadt","email":"scott.hovestadt@gmail.com"},{"name":"rubennorte","email":"rubennorte@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"aaronabramov","email":"aaron@abramov.io"},{"name":"davidzilburg","email":"davidzilburg@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_27.3.1_1634626653647_0.1610863912677054"},"_hasShrinkwrap":false},"27.4.0":{"name":"jest-diff","version":"27.4.0","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"./build/index.js","types":"./build/index.d.ts","exports":{".":{"types":"./build/index.d.ts","default":"./build/index.js"},"./package.json":"./package.json"},"dependencies":{"chalk":"^4.0.0","diff-sequences":"^27.4.0","jest-get-type":"^27.4.0","pretty-format":"^27.4.0"},"devDependencies":{"@jest/test-utils":"^27.4.0","strip-ansi":"^6.0.0"},"engines":{"node":"^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0"},"publishConfig":{"access":"public"},"gitHead":"0dc6dde296550370ade2574d6665748fed37f9c9","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@27.4.0","_nodeVersion":"16.13.0","_npmVersion":"lerna/4.0.0/node@v16.13.0+x64 (darwin)","dist":{"integrity":"sha512-fdXgpnyQH4LNSnYgRfHN/g413bqbPspWIAZPlXrdNISehDih1VNDtuRvlzGQJ4Go+fur1HKB2IyI25t6cWi5EA==","shasum":"d31269e4c070cd794cff756e39ecb4a4010be5cb","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-27.4.0.tgz","fileCount":23,"unpackedSize":85165,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhpNeCCRA9TVsSAnZWagAAZHcP/3VO2T3uBeyGFrmtmG9a\nciDXBqqsTci6yIbn31m/wba4cyNJ50cH36NuftoZ2bsYUv/g4ihl8TPbVXP1\n0AzUB3AsGKVn0kK82ONxkube6Sy8BM+vaPGgYY3FdYo9By5nXB8vZ4qnnlok\nf5r9LhBihathFxJTaGI+4oLuywKQc8D557yDoROh+h959JUL/J+iUH+r6T1S\nwYkM7s4lBib60kfUNIWKbTRq3ReZJ5q7ST0Pn3Dvh3cR/YyRW5WuURxfP2jG\ndF/1+LfU9yVOkUB6twZ502fkRCBe3/xs3vBDppIp8Xw2bSp2hg2VIKFTTXFv\nBQjvU18q1Y5jMMXpTuR1NIpVIWfB33fUtRr9Usz46fvbG3Djq4o7Ikn+EW/L\nfpX6bKtNGaivCjE38rSBrhImG/wNOP/hiNQdLVDBgt143mmaMjJNmfNgFzsd\nVxwGKZDNBblQZE8IauVoxnogOkPMnSQCxQB7Ab942YfpAPtGWkYgZLsWuNn2\nLpUVgZ9bb76gHXqhZwNW1RCjcSh2KwlNE8aDR0HD5bM8L19pBQtPVLWYrtpv\nWSjrX2EChx9b96BBWiIdqBylJ1X3w8kTdg+TDjI913SxwE1jQHUGMLDFZsbg\nIr1wU+42bWKyD3a89yjhDuj4bYr3zhzMLWn9DYaz4UjyaDe9kxAIbEE6Upoy\np508\r\n=P2LK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQClfNcYEE2NDDOi4ravYTbLCAq+rUJLCx46+jzuynnx8AIgfdENw0OrYzmJkHw2Lh6Qwx8LUAtaj4Rqa2sjq1WRJmA="}]},"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"maintainers":[{"name":"scotthovestadt","email":"scott.hovestadt@gmail.com"},{"name":"rubennorte","email":"rubennorte@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"aaronabramov","email":"aaron@abramov.io"},{"name":"davidzilburg","email":"davidzilburg@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_27.4.0_1638193026322_0.5712649872370092"},"_hasShrinkwrap":false},"27.4.1":{"name":"jest-diff","version":"27.4.1","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"./build/index.js","types":"./build/index.d.ts","exports":{".":{"types":"./build/index.d.ts","default":"./build/index.js"},"./package.json":"./package.json"},"dependencies":{"chalk":"^4.0.0","diff-sequences":"^27.4.0","jest-get-type":"^27.4.0","pretty-format":"^27.4.1"},"devDependencies":{"@jest/test-utils":"^27.4.1","strip-ansi":"^6.0.0"},"engines":{"node":"^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0"},"publishConfig":{"access":"public"},"gitHead":"fa4a3982766b107ff604ba54081d9e4378f318a9","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@27.4.1","_nodeVersion":"16.13.0","_npmVersion":"lerna/4.0.0/node@v16.13.0+x64 (darwin)","dist":{"integrity":"sha512-bkDaDwdausD1tai7/7+WLBsI8lX0JnaL+2FwWOxyfbKR2G1iu+OX/R1YQPk4Xe2jwYI/hOAGxkqhGgAAT7/lsw==","shasum":"83900a79e6753ad10fdff92ffbc4d948e59d3aa8","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-27.4.1.tgz","fileCount":23,"unpackedSize":85165,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhpeK2CRA9TVsSAnZWagAAQmAP/RlaSMypryorfKTMcQ6W\nRJCjWB1VUUtHnTyDGCk4PEY9L9zMUS4ftqUwKIbnovxyCiJVpY+TxiVXKzx8\nOpyGB90t+lUcNBoHOj/mnzHNTcgx5ODdhzUiUZAKQvORvMK5AE2AXs/I3Dwd\nxUqANmhBZVTCjXVMvxeQN9JIFnORUwaeAcPlcOxyOQSKOte56decWVty1ZkX\n5tavRhntbEq7rXGIXNr+dm5+/c2ptL2pa3J/HYJps/fvuaYqtwJ7uFof9E/R\nXVtOYRXd8esE+37eipjnOe0MJyru5uNanSuKkrY7ne4DCXgDSOQhaz4YFDGx\nOj8WGxxvhLbEiA8fyztS7hlB346PpJHzwYE0saqvNXrEmf8cxSiWuc53y2Xp\nNZb4RokBHF+DsWEmEKKLuHqGpma18qGtaLYGkGrmyZj9EHOhwTNZT2M1J4e2\nU8EidouJ5yn/Z++NC7Rn0hJup7GrMbvTtPGIIJ13eHkCCmWZnGU12RP43leN\ne/X75EK0mqMm3Usou6MdXx6gBlIe77XIgsb7qYgid4Guz7RD2ZJZjdUBVkk4\n7b7paII2ZxFULYtT13qv6rjPngCa9X/yZuaAonb6kbz2Uokcs7CONT3RTZxI\ndHWD3TbsjY3VVgIiUTQ8lo9ddVZvO763SuqjzvIDhhqWiElSYOTcwJc3Z6s7\n3XUE\r\n=RN64\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCnHl4uCw3kwHRWd04nlhwuMvMzZm+QHCVijADRN+MG5QIgRR+fo5oPOLBFQF9h0h1RgG06BmQ2mnB4bVeZne3TNVs="}]},"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"maintainers":[{"name":"scotthovestadt","email":"scott.hovestadt@gmail.com"},{"name":"rubennorte","email":"rubennorte@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"aaronabramov","email":"aaron@abramov.io"},{"name":"davidzilburg","email":"davidzilburg@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_27.4.1_1638261430524_0.8385068026220861"},"_hasShrinkwrap":false},"27.4.2":{"name":"jest-diff","version":"27.4.2","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"./build/index.js","types":"./build/index.d.ts","exports":{".":{"types":"./build/index.d.ts","default":"./build/index.js"},"./package.json":"./package.json"},"dependencies":{"chalk":"^4.0.0","diff-sequences":"^27.4.0","jest-get-type":"^27.4.0","pretty-format":"^27.4.2"},"devDependencies":{"@jest/test-utils":"^27.4.2","strip-ansi":"^6.0.0"},"engines":{"node":"^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0"},"publishConfig":{"access":"public"},"gitHead":"7965591f785e936ada194f9d58f852735b50ab1c","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@27.4.2","_nodeVersion":"16.13.0","_npmVersion":"lerna/4.0.0/node@v16.13.0+x64 (darwin)","dist":{"integrity":"sha512-ujc9ToyUZDh9KcqvQDkk/gkbf6zSaeEg9AiBxtttXW59H/AcqEYp1ciXAtJp+jXWva5nAf/ePtSsgWwE5mqp4Q==","shasum":"786b2a5211d854f848e2dcc1e324448e9481f36f","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-27.4.2.tgz","fileCount":23,"unpackedSize":85165,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhphDFCRA9TVsSAnZWagAArfwP/2twv2hBKklMRxXp+q9d\nvXACkXNVzNBqnLW2EadvYTCD4qT2cecawCXaBVw7Twqc+WpC0M4udMYeNcco\nrk1nBMlDeSdfvJVbIV56sfPP5GlDAocBgyi6nKqdRm9Hr156cP9o0Yv+qACT\nL52MLAeEI5cUUniR+B03f4yDyUvcfiL/rFUBtmqJ5o6SmW3Dc8A3gcflnTyg\nyefZZqsljC1yPFm2EDEk6GUuzRcxm8hZWvTqZwKPcSsQ8VnWzjYZDS/zAgqs\ngkxz9+QUlIqN5Mn/Kk+Km3MIG1zSGcpCzBXv/pNKuBIhvxRg3KhXYk6EXk4+\n73BATHpLSkMKEJflh3xSx3DJN6A/S5rMvUbdeqmuUMSH4Axbaz3K3JBRXj8z\nVVb4PO5oeyffgwtQic+e6Sgizosh6m95NyJm4ppo6ThCbQt/rJ/nRpTBSW1o\nLfWtO7dBeyEZ19xMIPGhQaDqpzsmEz5xdpSjp7fBCjoLLLloG+zQx46kh5IY\nB1TOfoMriHFnYZSDr6J3cxNOo3k+K3jGqvRaUk0VBFa/r6Gm1D46AZyilmBq\n3AKL4p3ifBNnwjTaZtG4gsWdFZFhng5PFLZpa4nLLyqD4bi9otGfKxLT/LAD\nvZABLDZUEa9HMO1MPZuw5JeL8fGUBJgnHPlMZ64CkxXtQuOrrUXHTsoRB2oD\nUzm0\r\n=D7jn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHc2xA/szt9Sw2lyZLQQO7m601ziQzDSV9jZ9LM/8XSaAiA09j1BcZcNxfF1iKisKskNboXWbYrKzwoN2dlgxWd4KQ=="}]},"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"maintainers":[{"name":"scotthovestadt","email":"scott.hovestadt@gmail.com"},{"name":"rubennorte","email":"rubennorte@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"aaronabramov","email":"aaron@abramov.io"},{"name":"davidzilburg","email":"davidzilburg@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_27.4.2_1638273221764_0.3912256847978579"},"_hasShrinkwrap":false},"27.4.6":{"name":"jest-diff","version":"27.4.6","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"./build/index.js","types":"./build/index.d.ts","exports":{".":{"types":"./build/index.d.ts","default":"./build/index.js"},"./package.json":"./package.json"},"dependencies":{"chalk":"^4.0.0","diff-sequences":"^27.4.0","jest-get-type":"^27.4.0","pretty-format":"^27.4.6"},"devDependencies":{"@jest/test-utils":"^27.4.6","strip-ansi":"^6.0.0"},"engines":{"node":"^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0"},"publishConfig":{"access":"public"},"gitHead":"644d2d3e53536b0d67e395c0f35f8555a67beb1e","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@27.4.6","_nodeVersion":"16.13.0","_npmVersion":"lerna/4.0.0/node@v16.13.0+x64 (darwin)","dist":{"integrity":"sha512-zjaB0sh0Lb13VyPsd92V7HkqF6yKRH9vm33rwBt7rPYrpQvS1nCvlIy2pICbKta+ZjWngYLNn4cCK4nyZkjS/w==","shasum":"93815774d2012a2cbb6cf23f84d48c7a2618f98d","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-27.4.6.tgz","fileCount":23,"unpackedSize":85165,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh1NJHCRA9TVsSAnZWagAAuZUP+wTrfKSyRSj63DmLDYiQ\nET48d6n4VXFUPc7HEJIXMQNnFXSt88n3gEOwguwNXFCrpJJpu70gaFQZVImw\nuRE4q/oTnnb/Ps+CChphJdkYGDWPLJ45bJQk7G9iuqTZjXJMmaZSeJXA9SNz\nCLgBZUDEbcAJYecawUChpVXuje4fGIFrjsqZvQLvan5KzGHqxV3JWXN8GUOH\n8pvCwUXUyFJveEnuDu3QrdlvhopYG8l2pILGg0ldT5cwZiyq02uADSYRgkRi\nOJwADanfxIeqlLRR9w3JjQfkghJ/TI3r42qRJ1OXb2xlbEUwZtzakMA5Tdr7\nMrJfnizzzQPci7GFVbS6QPCy+m4RQ+hHpRccbk9qmQX+1usPGty/jk+KBYne\n3YYKRhQkg/j9ZXU8wo0IVBpmHML7lDkrUdiWMxFn7sAwLwGRxbvy+HQ81DOP\nFnMCDtV0BqXUOgJVstRWbW9+6LeVv5BpJi7LDda8SJ/16fdj3iBi9a02HElW\nfGRmtKDZSWbswS3aVPCCWVgGNj3sSigST0Rb648KkRZhHGTr+nhCoyZ64CqR\n5afNXkixxDmEjlD08Xve5Qdyu1F1Yk6AQvR0CSnlNJHtHiKMDAXPVrku+ewB\nhJzp+o3Uv7pwVCmp/hrin1T5CLIg6t+169F/WRzMD6jk9fLTGSG2gKkQ9UBE\nYU7B\r\n=TrgJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC/YCL3axDRsdEGjR0KEvdeyIq2vzJncLTNeFuDyC5QvAiEAnsCWpQfX66oHJ0NwH7fQHB/DBGwIoZtjmg7eKfA0KNk="}]},"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"maintainers":[{"name":"scotthovestadt","email":"scott.hovestadt@gmail.com"},{"name":"rubennorte","email":"rubennorte@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"aaronabramov","email":"aaron@abramov.io"},{"name":"davidzilburg","email":"davidzilburg@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_27.4.6_1641337415556_0.8154523296585707"},"_hasShrinkwrap":false},"27.5.0":{"name":"jest-diff","version":"27.5.0","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"./build/index.js","types":"./build/index.d.ts","exports":{".":{"types":"./build/index.d.ts","default":"./build/index.js"},"./package.json":"./package.json"},"dependencies":{"chalk":"^4.0.0","diff-sequences":"^27.5.0","jest-get-type":"^27.5.0","pretty-format":"^27.5.0"},"devDependencies":{"@jest/test-utils":"^27.5.0","strip-ansi":"^6.0.0"},"engines":{"node":"^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0"},"publishConfig":{"access":"public"},"gitHead":"247cbe6026a590deaf0d23edecc7b2779a4aace9","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@27.5.0","_nodeVersion":"16.13.2","_npmVersion":"lerna/4.0.0/node@v16.13.2+x64 (darwin)","dist":{"integrity":"sha512-zztvHDCq/QcAVv+o6rts0reupSOxyrX+KLQEOMWCW2trZgcBFgp/oTK7hJCGpXvEIqKrQzyQlaPKn9W04+IMQg==","shasum":"34dc608a3b9159df178dd480b6d835b5e6b92082","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-27.5.0.tgz","fileCount":23,"unpackedSize":85165,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh/kp6CRA9TVsSAnZWagAA6OAP/04nm1em2VNZRbVAu7FK\n3tQQKSiQPDiUtmBH1I2BoqwTSU31CAd8SC6QGnTI2y8PCVVe6sTarkV8DDju\ntIjBFitEl2ilT86vp2e2nzMrWvC9fveVUnmrPhEpLsnbw7YPggz3mswHjZxg\n9E/iOIm222dnVDwMNjZJbhZCxGKqMF6qT5z8g1aluVxC5LtsZMu6HPQhqvAP\nxV5/dcFIYnmt9Ww0/FsorL7FlIimstZDAYadbz7lSww3uG7InhTReljokfPI\nwiJGFp1MizAENkn/bkNZubFRV4jnqQbREU7H1s8BTczPFrtn5JZCF4urJoeN\niuvQLAF4u30x3JDe8wwm2XuiMJ/E7hUL6A5QBOb62DFua+iRSKebb3AOg5rz\nJFgHtr0Hps30fCKSaej9T71EJ7v+LkqcnnQEsaWoYUE5Kt/LaT1tsj+UQkWp\n8/V59mR3mAzjN3L7O8Zq0LVTgF00lG85feoTrxGPJbWe2G/Y2w8vgx2Xds92\ntcBJFZLqitNuoUiuhSMEDMBixRtR6PmRPrp8z3DQ7skDhAK67RIsiL4L2V91\nF4PHExrdWow+Uq18CPlr0iK/Dh1WVhNeb21//9d/UWZSVL3iIgjN/Zr1/Vc1\nPvNfuhLGuyFbTnXxSF4qlRv2F1ZGvikChSadP3kXYh0gL+hG5Kn0vFG9BHrH\nSiqv\r\n=TsWU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA0pW9AFylnOCqf1Z9FBIJmhzAU3xAdm0Py2SH2oKEYlAiEA+HMFwLjqKbtM7iLjqZzfe+HYorns/nV+JsFjtl6PD2M="}]},"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"maintainers":[{"name":"scotthovestadt","email":"scott.hovestadt@gmail.com"},{"name":"rubennorte","email":"rubennorte@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"aaronabramov","email":"aaron@abramov.io"},{"name":"davidzilburg","email":"davidzilburg@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_27.5.0_1644055162249_0.8903204564015361"},"_hasShrinkwrap":false},"27.5.1":{"name":"jest-diff","version":"27.5.1","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"./build/index.js","types":"./build/index.d.ts","exports":{".":{"types":"./build/index.d.ts","default":"./build/index.js"},"./package.json":"./package.json"},"dependencies":{"chalk":"^4.0.0","diff-sequences":"^27.5.1","jest-get-type":"^27.5.1","pretty-format":"^27.5.1"},"devDependencies":{"@jest/test-utils":"^27.5.1","strip-ansi":"^6.0.0"},"engines":{"node":"^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0"},"publishConfig":{"access":"public"},"gitHead":"67c1aa20c5fec31366d733e901fee2b981cb1850","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@27.5.1","_nodeVersion":"16.13.2","_npmVersion":"lerna/4.0.0/node@v16.13.2+x64 (darwin)","dist":{"integrity":"sha512-m0NvkX55LDt9T4mctTEgnZk3fmEg3NRYutvMPWM/0iPnkFj2wIeF45O1718cMSOFO1vINkqmxqD8vE37uTEbqw==","shasum":"a07f5011ac9e6643cf8a95a462b7b1ecf6680def","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-27.5.1.tgz","fileCount":23,"unpackedSize":85165,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiAktiCRA9TVsSAnZWagAATWcP+wTrO9JgQfWOwXzb0DHK\nSvR65xMzrWaPUP1Lps7rOhnPXOKInTWIpksbvVytl2Ut0dApZN3a3EP3sKnu\nNQJViuwyyfsW0eS/PdJlFFZqCRHSXODGYlhIUPE6yqXMic8Htgk/WMhHATL7\n+Ns5MLA+cix8eLM8ZWZa2QwhkWq1m9j9P2xJ84Xoo5axO5EKMHNmwdW6H4Ld\nkSSsKgfg31zlQ3C++ra5Duwmr7lPpJaKFJDhjTtYM/2PqZBMXvzrWAN1XFSu\nMWcLxBwz/BA0XgXa1n6OeQgZ4z8dZGzt3eRA6kDOGymfsjoZMQ2vWgV6++/w\nyBtMrLMotfPXUE7YjVm7M7Z78A7KUEOfCnsO68L+snBvppwjbuMpzErL6ab+\njDTA/jElKTkAPvFWn8a5vMWst421rpEgPaSMXQT4kTz+TQocKF0fotrMwEjm\n71bQ8JVmJISVwtRxAp2wwAYvvfxL0/Th4pPt2QmK4eY3/PHpgz6PFd46Tsxy\nYtDts48mWVlcP4HJKpstkVdwwHsfKlji36uIQzebbv/B9d5K0ANYTeP1+XlZ\n7TRFp4USCYXUQTUWn9B+l4UFZR7292I5Cw5gRI/XpLk7fH8t8clbX/dJNp4v\no5d7tU+x37zoAxmSHQ4XrynBUqBVKoGj1p2RlzYpeRd0qn7UkRtPR2aLU6Cp\nb8Ah\r\n=1oMa\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCKm3v6pzC8uwnzTOxlx1q+XWmr8ogW3MY4XSI1Vm6BuQIhAKxx8R7+f9mCEp0moVxhpgXMKiRNpQ3mHBg7L1SgoWu/"}]},"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"maintainers":[{"name":"scotthovestadt","email":"scott.hovestadt@gmail.com"},{"name":"rubennorte","email":"rubennorte@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"aaronabramov","email":"aaron@abramov.io"},{"name":"davidzilburg","email":"davidzilburg@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_27.5.1_1644317538483_0.4484408931693029"},"_hasShrinkwrap":false},"28.0.0-alpha.0":{"name":"jest-diff","version":"28.0.0-alpha.0","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"./build/index.js","types":"./build/index.d.ts","exports":{".":{"types":"./build/index.d.ts","default":"./build/index.js"},"./package.json":"./package.json"},"dependencies":{"chalk":"^4.0.0","diff-sequences":"^28.0.0-alpha.0","jest-get-type":"^28.0.0-alpha.0","pretty-format":"^28.0.0-alpha.0"},"devDependencies":{"@jest/test-utils":"^28.0.0-alpha.0","strip-ansi":"^6.0.0"},"engines":{"node":"^12.13.0 || ^14.15.0 || ^16.13.0 || >=17.0.0"},"publishConfig":{"access":"public"},"gitHead":"89275b08977065d98e42ad71fcf223f4ad169f09","readme":"# jest-diff\n\nDisplay differences clearly so people can review changes confidently.\n\nThe `diff` named export serializes JavaScript **values**, compares them line-by-line, and returns a string which includes comparison lines.\n\nTwo named exports compare **strings** character-by-character:\n\n- `diffStringsUnified` returns a string.\n- `diffStringsRaw` returns an array of `Diff` objects.\n\nThree named exports compare **arrays of strings** line-by-line:\n\n- `diffLinesUnified` and `diffLinesUnified2` return a string.\n- `diffLinesRaw` returns an array of `Diff` objects.\n\n## Installation\n\nTo add this package as a dependency of a project, run either of the following commands:\n\n- `npm install jest-diff`\n- `yarn add jest-diff`\n\n## Usage of `diff()`\n\nGiven JavaScript **values**, `diff(a, b, options?)` does the following:\n\n1. **serialize** the values as strings using the `pretty-format` package\n2. **compare** the strings line-by-line using the `diff-sequences` package\n3. **format** the changed or common lines using the `chalk` package\n\nTo use this function, write either of the following:\n\n- `const {diff} = require('jest-diff');` in CommonJS modules\n- `import {diff} from 'jest-diff';` in ECMAScript modules\n\n### Example of `diff()`\n\n```js\nconst a = ['delete', 'common', 'changed from'];\nconst b = ['common', 'changed to', 'insert'];\n\nconst difference = diff(a, b);\n```\n\nThe returned **string** consists of:\n\n- annotation lines: describe the two change indicators with labels, and a blank line\n- comparison lines: similar to “unified” view on GitHub, but `Expected` lines are green, `Received` lines are red, and common lines are dim (by default, see Options)\n\n```diff\n- Expected\n+ Received\n\n  Array [\n-   \"delete\",\n    \"common\",\n-   \"changed from\",\n+   \"changed to\",\n+   \"insert\",\n  ]\n```\n\n### Edge cases of `diff()`\n\nHere are edge cases for the return value:\n\n- `' Comparing two different types of values. …'` if the arguments have **different types** according to the `jest-get-type` package (instances of different classes have the same `'object'` type)\n- `'Compared values have no visual difference.'` if the arguments have either **referential identity** according to `Object.is` method or **same serialization** according to the `pretty-format` package\n- `null` if either argument is a so-called **asymmetric matcher** in Jasmine or Jest\n\n## Usage of diffStringsUnified\n\nGiven **strings**, `diffStringsUnified(a, b, options?)` does the following:\n\n1. **compare** the strings character-by-character using the `diff-sequences` package\n2. **clean up** small (often coincidental) common substrings, also known as chaff\n3. **format** the changed or common lines using the `chalk` package\n\nAlthough the function is mainly for **multiline** strings, it compares any strings.\n\nWrite either of the following:\n\n- `const {diffStringsUnified} = require('jest-diff');` in CommonJS modules\n- `import {diffStringsUnified} from 'jest-diff';` in ECMAScript modules\n\n### Example of diffStringsUnified\n\n```js\nconst a = 'common\\nchanged from';\nconst b = 'common\\nchanged to';\n\nconst difference = diffStringsUnified(a, b);\n```\n\nThe returned **string** consists of:\n\n- annotation lines: describe the two change indicators with labels, and a blank line\n- comparison lines: similar to “unified” view on GitHub, and **changed substrings** have **inverse** foreground and background colors (that is, `from` has white-on-green and `to` has white-on-red, which the following example does not show)\n\n```diff\n- Expected\n+ Received\n\n  common\n- changed from\n+ changed to\n```\n\n### Performance of diffStringsUnified\n\nTo get the benefit of **changed substrings** within the comparison lines, a character-by-character comparison has a higher computational cost (in time and space) than a line-by-line comparison.\n\nIf the input strings can have **arbitrary length**, we recommend that the calling code set a limit, beyond which splits the strings, and then calls `diffLinesUnified` instead. For example, Jest falls back to line-by-line comparison if either string has length greater than 20K characters.\n\n## Usage of diffLinesUnified\n\nGiven **arrays of strings**, `diffLinesUnified(aLines, bLines, options?)` does the following:\n\n1. **compare** the arrays line-by-line using the `diff-sequences` package\n2. **format** the changed or common lines using the `chalk` package\n\nYou might call this function when strings have been split into lines and you do not need to see changed substrings within lines.\n\n### Example of diffLinesUnified\n\n```js\nconst aLines = ['delete', 'common', 'changed from'];\nconst bLines = ['common', 'changed to', 'insert'];\n\nconst difference = diffLinesUnified(aLines, bLines);\n```\n\n```diff\n- Expected\n+ Received\n\n- delete\n  common\n- changed from\n+ changed to\n+ insert\n```\n\n### Edge cases of diffLinesUnified or diffStringsUnified\n\nHere are edge cases for arguments and return values:\n\n- both `a` and `b` are empty strings: no comparison lines\n- only `a` is empty string: all comparison lines have `bColor` and `bIndicator` (see Options)\n- only `b` is empty string: all comparison lines have `aColor` and `aIndicator` (see Options)\n- `a` and `b` are equal non-empty strings: all comparison lines have `commonColor` and `commonIndicator` (see Options)\n\n## Usage of diffLinesUnified2\n\nGiven two **pairs** of arrays of strings, `diffLinesUnified2(aLinesDisplay, bLinesDisplay, aLinesCompare, bLinesCompare, options?)` does the following:\n\n1. **compare** the pair of `Compare` arrays line-by-line using the `diff-sequences` package\n2. **format** the corresponding lines in the pair of `Display` arrays using the `chalk` package\n\nJest calls this function to consider lines as common instead of changed if the only difference is indentation.\n\nYou might call this function for case insensitive or Unicode equivalence comparison of lines.\n\n### Example of diffLinesUnified2\n\n```js\nimport {format} from 'pretty-format';\n\nconst a = {\n  text: 'Ignore indentation in serialized object',\n  time: '2019-09-19T12:34:56.000Z',\n  type: 'CREATE_ITEM',\n};\nconst b = {\n  payload: {\n    text: 'Ignore indentation in serialized object',\n    time: '2019-09-19T12:34:56.000Z',\n  },\n  type: 'CREATE_ITEM',\n};\n\nconst difference = diffLinesUnified2(\n  // serialize with indentation to display lines\n  format(a).split('\\n'),\n  format(b).split('\\n'),\n  // serialize without indentation to compare lines\n  format(a, {indent: 0}).split('\\n'),\n  format(b, {indent: 0}).split('\\n'),\n);\n```\n\nThe `text` and `time` properties are common, because their only difference is indentation:\n\n```diff\n- Expected\n+ Received\n\n  Object {\n+   payload: Object {\n      text: 'Ignore indentation in serialized object',\n      time: '2019-09-19T12:34:56.000Z',\n+   },\n    type: 'CREATE_ITEM',\n  }\n```\n\nThe preceding example illustrates why (at least for indentation) it seems more intuitive that the function returns the common line from the `bLinesDisplay` array instead of from the `aLinesDisplay` array.\n\n## Usage of diffStringsRaw\n\nGiven **strings** and a boolean option, `diffStringsRaw(a, b, cleanup)` does the following:\n\n1. **compare** the strings character-by-character using the `diff-sequences` package\n2. optionally **clean up** small (often coincidental) common substrings, also known as chaff\n\nBecause `diffStringsRaw` returns the difference as **data** instead of a string, you can format it as your application requires (for example, enclosed in HTML markup for browser instead of escape sequences for console).\n\nThe returned **array** describes substrings as instances of the `Diff` class, which calling code can access like array tuples:\n\nThe value at index `0` is one of the following:\n\n| value | named export  | description           |\n| ----: | :------------ | :-------------------- |\n|   `0` | `DIFF_EQUAL`  | in `a` and in `b`     |\n|  `-1` | `DIFF_DELETE` | in `a` but not in `b` |\n|   `1` | `DIFF_INSERT` | in `b` but not in `a` |\n\nThe value at index `1` is a substring of `a` or `b` or both.\n\n### Example of diffStringsRaw with cleanup\n\n```js\nconst diffs = diffStringsRaw('changed from', 'changed to', true);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `0` | `'changed '`  |\n| `1` |          `-1` | `'from'`      |\n| `2` |           `1` | `'to'`        |\n\n### Example of diffStringsRaw without cleanup\n\n```js\nconst diffs = diffStringsRaw('changed from', 'changed to', false);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `0` | `'changed '`  |\n| `1` |          `-1` | `'fr'`        |\n| `2` |           `1` | `'t'`         |\n| `3` |           `0` | `'o'`         |\n| `4` |          `-1` | `'m'`         |\n\n### Advanced import for diffStringsRaw\n\nHere are all the named imports that you might need for the `diffStringsRaw` function:\n\n- `const {DIFF_DELETE, DIFF_EQUAL, DIFF_INSERT, Diff, diffStringsRaw} = require('jest-diff');` in CommonJS modules\n- `import {DIFF_DELETE, DIFF_EQUAL, DIFF_INSERT, Diff, diffStringsRaw} from 'jest-diff';` in ECMAScript modules\n\nTo write a **formatting** function, you might need the named constants (and `Diff` in TypeScript annotations).\n\nIf you write an application-specific **cleanup** algorithm, then you might need to call the `Diff` constructor:\n\n```js\nconst diffCommon = new Diff(DIFF_EQUAL, 'changed ');\nconst diffDelete = new Diff(DIFF_DELETE, 'from');\nconst diffInsert = new Diff(DIFF_INSERT, 'to');\n```\n\n## Usage of diffLinesRaw\n\nGiven **arrays of strings**, `diffLinesRaw(aLines, bLines)` does the following:\n\n- **compare** the arrays line-by-line using the `diff-sequences` package\n\nBecause `diffLinesRaw` returns the difference as **data** instead of a string, you can format it as your application requires.\n\n### Example of diffLinesRaw\n\n```js\nconst aLines = ['delete', 'common', 'changed from'];\nconst bLines = ['common', 'changed to', 'insert'];\n\nconst diffs = diffLinesRaw(aLines, bLines);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]`    |\n| --: | ------------: | :--------------- |\n| `0` |          `-1` | `'delete'`       |\n| `1` |           `0` | `'common'`       |\n| `2` |          `-1` | `'changed from'` |\n| `3` |           `1` | `'changed to'`   |\n| `4` |           `1` | `'insert'`       |\n\n### Edge case of diffLinesRaw\n\nIf you call `string.split('\\n')` for an empty string:\n\n- the result is `['']` an array which contains an empty string\n- instead of `[]` an empty array\n\nDepending of your application, you might call `diffLinesRaw` with either array.\n\n### Example of split method\n\n```js\nimport {diffLinesRaw} from 'jest-diff';\n\nconst a = 'non-empty string';\nconst b = '';\n\nconst diffs = diffLinesRaw(a.split('\\n'), b.split('\\n'));\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]`        |\n| --: | ------------: | :------------------- |\n| `0` |          `-1` | `'non-empty string'` |\n| `1` |           `1` | `''`                 |\n\nWhich you might format as follows:\n\n```diff\n- Expected  - 1\n+ Received  + 1\n\n- non-empty string\n+\n```\n\n### Example of splitLines0 function\n\nFor edge case behavior like the `diffLinesUnified` function, you might define a `splitLines0` function, which given an empty string, returns `[]` an empty array:\n\n```js\nexport const splitLines0 = string =>\n  string.length === 0 ? [] : string.split('\\n');\n```\n\n```js\nimport {diffLinesRaw} from 'jest-diff';\n\nconst a = '';\nconst b = 'line 1\\nline 2\\nline 3';\n\nconst diffs = diffLinesRaw(a.split('\\n'), b.split('\\n'));\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `1` | `'line 1'`    |\n| `1` |           `1` | `'line 2'`    |\n| `2` |           `1` | `'line 3'`    |\n\nWhich you might format as follows:\n\n```diff\n- Expected  - 0\n+ Received  + 3\n\n+ line 1\n+ line 2\n+ line 3\n```\n\nIn contrast to the `diffLinesRaw` function, the `diffLinesUnified` and `diffLinesUnified2` functions **automatically** convert array arguments computed by string `split` method, so callers do **not** need a `splitLine0` function.\n\n## Options\n\nThe default options are for the report when an assertion fails from the `expect` package used by Jest.\n\nFor other applications, you can provide an options object as a third argument:\n\n- `diff(a, b, options)`\n- `diffStringsUnified(a, b, options)`\n- `diffLinesUnified(aLines, bLines, options)`\n- `diffLinesUnified2(aLinesDisplay, bLinesDisplay, aLinesCompare, bLinesCompare, options)`\n\n### Properties of options object\n\n| name                              | default            |\n| :-------------------------------- | :----------------- |\n| `aAnnotation`                     | `'Expected'`       |\n| `aColor`                          | `chalk.green`      |\n| `aIndicator`                      | `'-'`              |\n| `bAnnotation`                     | `'Received'`       |\n| `bColor`                          | `chalk.red`        |\n| `bIndicator`                      | `'+'`              |\n| `changeColor`                     | `chalk.inverse`    |\n| `changeLineTrailingSpaceColor`    | `string => string` |\n| `commonColor`                     | `chalk.dim`        |\n| `commonIndicator`                 | `' '`              |\n| `commonLineTrailingSpaceColor`    | `string => string` |\n| `compareKeys`                     | `undefined`        |\n| `contextLines`                    | `5`                |\n| `emptyFirstOrLastLinePlaceholder` | `''`               |\n| `expand`                          | `true`             |\n| `includeChangeCounts`             | `false`            |\n| `omitAnnotationLines`             | `false`            |\n| `patchColor`                      | `chalk.yellow`     |\n\nFor more information about the options, see the following examples.\n\n### Example of options for labels\n\nIf the application is code modification, you might replace the labels:\n\n```js\nconst options = {\n  aAnnotation: 'Original',\n  bAnnotation: 'Modified',\n};\n```\n\n```diff\n- Original\n+ Modified\n\n  common\n- changed from\n+ changed to\n```\n\nThe `jest-diff` package does not assume that the 2 labels have equal length.\n\n### Example of options for colors of changed lines\n\nFor consistency with most diff tools, you might exchange the colors:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  aColor: chalk.red,\n  bColor: chalk.green,\n};\n```\n\n### Example of option for color of changed substrings\n\nAlthough the default inverse of foreground and background colors is hard to beat for changed substrings **within lines**, especially because it highlights spaces, if you want bold font weight on yellow background color:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  changeColor: chalk.bold.bgYellowBright,\n};\n```\n\n### Example of option to format trailing spaces\n\nBecause `diff()` does not display substring differences within lines, formatting can help you see when lines differ by the presence or absence of trailing spaces found by `/\\s+$/` regular expression.\n\n- If change lines have a background color, then you can see trailing spaces.\n- If common lines have default dim color, then you cannot see trailing spaces. You might want yellowish background color to see them.\n\n```js\nconst options = {\n  aColor: chalk.rgb(128, 0, 128).bgRgb(255, 215, 255), // magenta\n  bColor: chalk.rgb(0, 95, 0).bgRgb(215, 255, 215), // green\n  commonLineTrailingSpaceColor: chalk.bgYellow,\n};\n```\n\nThe value of a Color option is a function, which given a string, returns a string.\n\nIf you want to replace trailing spaces with middle dot characters:\n\n```js\nconst replaceSpacesWithMiddleDot = string => '·'.repeat(string.length);\n\nconst options = {\n  changeLineTrailingSpaceColor: replaceSpacesWithMiddleDot,\n  commonLineTrailingSpaceColor: replaceSpacesWithMiddleDot,\n};\n```\n\nIf you need the TypeScript type of a Color option:\n\n```ts\nimport {DiffOptionsColor} from 'jest-diff';\n```\n\n### Example of options for no colors\n\nTo store the difference in a file without escape codes for colors, provide an identity function:\n\n```js\nconst noColor = string => string;\n\nconst options = {\n  aColor: noColor,\n  bColor: noColor,\n  changeColor: noColor,\n  commonColor: noColor,\n  patchColor: noColor,\n};\n```\n\n### Example of options for indicators\n\nFor consistency with the `diff` command, you might replace the indicators:\n\n```js\nconst options = {\n  aIndicator: '<',\n  bIndicator: '>',\n};\n```\n\nThe `jest-diff` package assumes (but does not enforce) that the 3 indicators have equal length.\n\n### Example of options to limit common lines\n\nBy default, the output includes all common lines.\n\nTo emphasize the changes, you might limit the number of common “context” lines:\n\n```js\nconst options = {\n  contextLines: 1,\n  expand: false,\n};\n```\n\nA patch mark like `@@ -12,7 +12,9 @@` accounts for omitted common lines.\n\n### Example of option for color of patch marks\n\nIf you want patch marks to have the same dim color as common lines:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  expand: false,\n  patchColor: chalk.dim,\n};\n```\n\n### Example of option to include change counts\n\nTo display the number of changed lines at the right of annotation lines:\n\n```js\nconst a = ['common', 'changed from'];\nconst b = ['common', 'changed to', 'insert'];\n\nconst options = {\n  includeChangeCounts: true,\n};\n\nconst difference = diff(a, b, options);\n```\n\n```diff\n- Expected  - 1\n+ Received  + 2\n\n  Array [\n    \"common\",\n-   \"changed from\",\n+   \"changed to\",\n+   \"insert\",\n  ]\n```\n\n### Example of option to omit annotation lines\n\nTo display only the comparison lines:\n\n```js\nconst a = 'common\\nchanged from';\nconst b = 'common\\nchanged to';\n\nconst options = {\n  omitAnnotationLines: true,\n};\n\nconst difference = diffStringsUnified(a, b, options);\n```\n\n```diff\n  common\n- changed from\n+ changed to\n```\n\n### Example of option for empty first or last lines\n\nIf the **first** or **last** comparison line is **empty**, because the content is empty and the indicator is a space, you might not notice it.\n\nThe replacement option is a string whose default value is `''` empty string.\n\nBecause Jest trims the report when a matcher fails, it deletes an empty last line.\n\nTherefore, Jest uses as placeholder the downwards arrow with corner leftwards:\n\n```js\nconst options = {\n  emptyFirstOrLastLinePlaceholder: '↵', // U+21B5\n};\n```\n\nIf a content line is empty, then the corresponding comparison line is automatically trimmed to remove the margin space (represented as a middle dot below) for the default indicators:\n\n|         Indicator | untrimmed | trimmed |\n| ----------------: | :-------- | :------ |\n|      `aIndicator` | `'-·'`    | `'-'`   |\n|      `bIndicator` | `'+·'`    | `'+'`   |\n| `commonIndicator` | `' ·'`    | `''`    |\n\n### Example of option for sorting object keys\n\nWhen two objects are compared their keys are printed in alphabetical order by default. If this was not the original order of the keys the diff becomes harder to read as the keys are not in their original position.\n\nUse `compareKeys` to pass a function which will be used when sorting the object keys.\n\n```js\nconst a = {c: 'c', b: 'b1', a: 'a'};\nconst b = {c: 'c', b: 'b2', a: 'a'};\n\nconst options = {\n  // The keys will be in their original order\n  compareKeys: () => 0,\n};\n\nconst difference = diff(a, b, options);\n```\n\n```diff\n- Expected\n+ Received\n\n  Object {\n    \"c\": \"c\",\n-   \"b\": \"b1\",\n+   \"b\": \"b2\",\n    \"a\": \"a\",\n  }\n```\n\nDepending on the implementation of `compareKeys` any sort order can be used.\n\n```js\nconst a = {c: 'c', b: 'b1', a: 'a'};\nconst b = {c: 'c', b: 'b2', a: 'a'};\n\nconst options = {\n  // The keys will be in reverse order\n  compareKeys: (a, b) => (a > b ? -1 : 1),\n};\n\nconst difference = diff(a, b, options);\n```\n\n```diff\n- Expected\n+ Received\n\n  Object {\n    \"a\": \"a\",\n-   \"b\": \"b1\",\n+   \"b\": \"b2\",\n    \"c\": \"c\",\n  }\n```\n","readmeFilename":"README.md","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@28.0.0-alpha.0","_nodeVersion":"16.14.0","_npmVersion":"lerna/4.0.0/node@v16.14.0+x64 (darwin)","dist":{"integrity":"sha512-uD8R5q8FzVWQvrEBgp61/ESkZdwHqocWA7qlLr3qx2cihcZ7F037GEQ56o1kHolpryySi/+vDHpyw77yj/HUug==","shasum":"3b625b9cda4e12fa0167e0e23ceb4f9c79e3039e","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-28.0.0-alpha.0.tgz","fileCount":14,"unpackedSize":78984,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiBVa9CRA9TVsSAnZWagAAh+oP/RjtRWS7K9D8YrmQglG/\nnBza8bCkrEv+LDRXlyqsZB5SbDKIkXRUOioskVTHun6bPxsCgi/6JCGtrW04\nflnCFgsFtuUKczmQysM0kPF4CHy8SZGqllbEOvkNFZ0CC6VfBLQXloEAI3ts\n14JY1XMgD2AbzaTUBl4Y2ebdH0xQH8/HgsxTp/CjhWSFyPkbJtzAqIpT8mdY\nWla/mv7H76KNI8QH1NBTHUtGU+j+RuUXxPtVMKj2F0yEV+5PddxRvNknJqBV\nBRplZ/w/CeQ5sAQZDFnhvGsuHxwvP4LRWFW25aHXc9KOPDt5empgf/2ITQdj\nxLz1/XqSwW+DU3MdD9oXxKM65cywkrP4H2R2EEf1pVHX5isc5Gi4kv5S6n/u\nF2s/evL6vpO3gZldgBIqgSZW8eN2axSMsu24omB6D0ZxL9YgIyIUPb2zUeTO\nRS/ovpKR++n/0JPb6d5lEitz26JLcEezLGP+Aae6l+sHN99erGEZJxbejZHZ\n7z7oQaSozYOKGMn/0I7+vmKYbpXrt3SX9QJMXLvL27ofHgp0wd+POtx1lQtf\nQ7kB5MRk9woOruKs8RTX5CwvscHu8ho/ghy/w4FaMk00kwg6O2FBfex/AP9y\nDIhsKR2WRod+ESvrqL5BSO7apMQyXGdGrTWT9uxj1T0JZT1JC9cHRpmEdonN\nRUK5\r\n=+slB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFTtOHgiTMxj3g/y8xG8iKZUg3yYKjc6fonm0jp59IRmAiBGxr1I/lcLFlaP/CRoDhnKBq+5tfOwXhGKJsGtdrp9jA=="}]},"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"maintainers":[{"name":"scotthovestadt","email":"scott.hovestadt@gmail.com"},{"name":"rubennorte","email":"rubennorte@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"aaronabramov","email":"aaron@abramov.io"},{"name":"davidzilburg","email":"davidzilburg@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_28.0.0-alpha.0_1644517053526_0.8097853186407222"},"_hasShrinkwrap":false},"28.0.0-alpha.1":{"name":"jest-diff","version":"28.0.0-alpha.1","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"./build/index.js","types":"./build/index.d.ts","exports":{".":{"types":"./build/index.d.ts","default":"./build/index.js"},"./package.json":"./package.json"},"dependencies":{"chalk":"^4.0.0","diff-sequences":"^28.0.0-alpha.0","jest-get-type":"^28.0.0-alpha.0","pretty-format":"^28.0.0-alpha.1"},"devDependencies":{"@jest/test-utils":"^28.0.0-alpha.1","strip-ansi":"^6.0.0"},"engines":{"node":"^12.13.0 || ^14.15.0 || ^16.13.0 || >=17.0.0"},"publishConfig":{"access":"public"},"gitHead":"d30164dde1847166fa0faec98d20abffd85e6ffd","readme":"# jest-diff\n\nDisplay differences clearly so people can review changes confidently.\n\nThe `diff` named export serializes JavaScript **values**, compares them line-by-line, and returns a string which includes comparison lines.\n\nTwo named exports compare **strings** character-by-character:\n\n- `diffStringsUnified` returns a string.\n- `diffStringsRaw` returns an array of `Diff` objects.\n\nThree named exports compare **arrays of strings** line-by-line:\n\n- `diffLinesUnified` and `diffLinesUnified2` return a string.\n- `diffLinesRaw` returns an array of `Diff` objects.\n\n## Installation\n\nTo add this package as a dependency of a project, run either of the following commands:\n\n- `npm install jest-diff`\n- `yarn add jest-diff`\n\n## Usage of `diff()`\n\nGiven JavaScript **values**, `diff(a, b, options?)` does the following:\n\n1. **serialize** the values as strings using the `pretty-format` package\n2. **compare** the strings line-by-line using the `diff-sequences` package\n3. **format** the changed or common lines using the `chalk` package\n\nTo use this function, write either of the following:\n\n- `const {diff} = require('jest-diff');` in CommonJS modules\n- `import {diff} from 'jest-diff';` in ECMAScript modules\n\n### Example of `diff()`\n\n```js\nconst a = ['delete', 'common', 'changed from'];\nconst b = ['common', 'changed to', 'insert'];\n\nconst difference = diff(a, b);\n```\n\nThe returned **string** consists of:\n\n- annotation lines: describe the two change indicators with labels, and a blank line\n- comparison lines: similar to “unified” view on GitHub, but `Expected` lines are green, `Received` lines are red, and common lines are dim (by default, see Options)\n\n```diff\n- Expected\n+ Received\n\n  Array [\n-   \"delete\",\n    \"common\",\n-   \"changed from\",\n+   \"changed to\",\n+   \"insert\",\n  ]\n```\n\n### Edge cases of `diff()`\n\nHere are edge cases for the return value:\n\n- `' Comparing two different types of values. …'` if the arguments have **different types** according to the `jest-get-type` package (instances of different classes have the same `'object'` type)\n- `'Compared values have no visual difference.'` if the arguments have either **referential identity** according to `Object.is` method or **same serialization** according to the `pretty-format` package\n- `null` if either argument is a so-called **asymmetric matcher** in Jasmine or Jest\n\n## Usage of diffStringsUnified\n\nGiven **strings**, `diffStringsUnified(a, b, options?)` does the following:\n\n1. **compare** the strings character-by-character using the `diff-sequences` package\n2. **clean up** small (often coincidental) common substrings, also known as chaff\n3. **format** the changed or common lines using the `chalk` package\n\nAlthough the function is mainly for **multiline** strings, it compares any strings.\n\nWrite either of the following:\n\n- `const {diffStringsUnified} = require('jest-diff');` in CommonJS modules\n- `import {diffStringsUnified} from 'jest-diff';` in ECMAScript modules\n\n### Example of diffStringsUnified\n\n```js\nconst a = 'common\\nchanged from';\nconst b = 'common\\nchanged to';\n\nconst difference = diffStringsUnified(a, b);\n```\n\nThe returned **string** consists of:\n\n- annotation lines: describe the two change indicators with labels, and a blank line\n- comparison lines: similar to “unified” view on GitHub, and **changed substrings** have **inverse** foreground and background colors (that is, `from` has white-on-green and `to` has white-on-red, which the following example does not show)\n\n```diff\n- Expected\n+ Received\n\n  common\n- changed from\n+ changed to\n```\n\n### Performance of diffStringsUnified\n\nTo get the benefit of **changed substrings** within the comparison lines, a character-by-character comparison has a higher computational cost (in time and space) than a line-by-line comparison.\n\nIf the input strings can have **arbitrary length**, we recommend that the calling code set a limit, beyond which splits the strings, and then calls `diffLinesUnified` instead. For example, Jest falls back to line-by-line comparison if either string has length greater than 20K characters.\n\n## Usage of diffLinesUnified\n\nGiven **arrays of strings**, `diffLinesUnified(aLines, bLines, options?)` does the following:\n\n1. **compare** the arrays line-by-line using the `diff-sequences` package\n2. **format** the changed or common lines using the `chalk` package\n\nYou might call this function when strings have been split into lines and you do not need to see changed substrings within lines.\n\n### Example of diffLinesUnified\n\n```js\nconst aLines = ['delete', 'common', 'changed from'];\nconst bLines = ['common', 'changed to', 'insert'];\n\nconst difference = diffLinesUnified(aLines, bLines);\n```\n\n```diff\n- Expected\n+ Received\n\n- delete\n  common\n- changed from\n+ changed to\n+ insert\n```\n\n### Edge cases of diffLinesUnified or diffStringsUnified\n\nHere are edge cases for arguments and return values:\n\n- both `a` and `b` are empty strings: no comparison lines\n- only `a` is empty string: all comparison lines have `bColor` and `bIndicator` (see Options)\n- only `b` is empty string: all comparison lines have `aColor` and `aIndicator` (see Options)\n- `a` and `b` are equal non-empty strings: all comparison lines have `commonColor` and `commonIndicator` (see Options)\n\n## Usage of diffLinesUnified2\n\nGiven two **pairs** of arrays of strings, `diffLinesUnified2(aLinesDisplay, bLinesDisplay, aLinesCompare, bLinesCompare, options?)` does the following:\n\n1. **compare** the pair of `Compare` arrays line-by-line using the `diff-sequences` package\n2. **format** the corresponding lines in the pair of `Display` arrays using the `chalk` package\n\nJest calls this function to consider lines as common instead of changed if the only difference is indentation.\n\nYou might call this function for case insensitive or Unicode equivalence comparison of lines.\n\n### Example of diffLinesUnified2\n\n```js\nimport {format} from 'pretty-format';\n\nconst a = {\n  text: 'Ignore indentation in serialized object',\n  time: '2019-09-19T12:34:56.000Z',\n  type: 'CREATE_ITEM',\n};\nconst b = {\n  payload: {\n    text: 'Ignore indentation in serialized object',\n    time: '2019-09-19T12:34:56.000Z',\n  },\n  type: 'CREATE_ITEM',\n};\n\nconst difference = diffLinesUnified2(\n  // serialize with indentation to display lines\n  format(a).split('\\n'),\n  format(b).split('\\n'),\n  // serialize without indentation to compare lines\n  format(a, {indent: 0}).split('\\n'),\n  format(b, {indent: 0}).split('\\n'),\n);\n```\n\nThe `text` and `time` properties are common, because their only difference is indentation:\n\n```diff\n- Expected\n+ Received\n\n  Object {\n+   payload: Object {\n      text: 'Ignore indentation in serialized object',\n      time: '2019-09-19T12:34:56.000Z',\n+   },\n    type: 'CREATE_ITEM',\n  }\n```\n\nThe preceding example illustrates why (at least for indentation) it seems more intuitive that the function returns the common line from the `bLinesDisplay` array instead of from the `aLinesDisplay` array.\n\n## Usage of diffStringsRaw\n\nGiven **strings** and a boolean option, `diffStringsRaw(a, b, cleanup)` does the following:\n\n1. **compare** the strings character-by-character using the `diff-sequences` package\n2. optionally **clean up** small (often coincidental) common substrings, also known as chaff\n\nBecause `diffStringsRaw` returns the difference as **data** instead of a string, you can format it as your application requires (for example, enclosed in HTML markup for browser instead of escape sequences for console).\n\nThe returned **array** describes substrings as instances of the `Diff` class, which calling code can access like array tuples:\n\nThe value at index `0` is one of the following:\n\n| value | named export  | description           |\n| ----: | :------------ | :-------------------- |\n|   `0` | `DIFF_EQUAL`  | in `a` and in `b`     |\n|  `-1` | `DIFF_DELETE` | in `a` but not in `b` |\n|   `1` | `DIFF_INSERT` | in `b` but not in `a` |\n\nThe value at index `1` is a substring of `a` or `b` or both.\n\n### Example of diffStringsRaw with cleanup\n\n```js\nconst diffs = diffStringsRaw('changed from', 'changed to', true);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `0` | `'changed '`  |\n| `1` |          `-1` | `'from'`      |\n| `2` |           `1` | `'to'`        |\n\n### Example of diffStringsRaw without cleanup\n\n```js\nconst diffs = diffStringsRaw('changed from', 'changed to', false);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `0` | `'changed '`  |\n| `1` |          `-1` | `'fr'`        |\n| `2` |           `1` | `'t'`         |\n| `3` |           `0` | `'o'`         |\n| `4` |          `-1` | `'m'`         |\n\n### Advanced import for diffStringsRaw\n\nHere are all the named imports that you might need for the `diffStringsRaw` function:\n\n- `const {DIFF_DELETE, DIFF_EQUAL, DIFF_INSERT, Diff, diffStringsRaw} = require('jest-diff');` in CommonJS modules\n- `import {DIFF_DELETE, DIFF_EQUAL, DIFF_INSERT, Diff, diffStringsRaw} from 'jest-diff';` in ECMAScript modules\n\nTo write a **formatting** function, you might need the named constants (and `Diff` in TypeScript annotations).\n\nIf you write an application-specific **cleanup** algorithm, then you might need to call the `Diff` constructor:\n\n```js\nconst diffCommon = new Diff(DIFF_EQUAL, 'changed ');\nconst diffDelete = new Diff(DIFF_DELETE, 'from');\nconst diffInsert = new Diff(DIFF_INSERT, 'to');\n```\n\n## Usage of diffLinesRaw\n\nGiven **arrays of strings**, `diffLinesRaw(aLines, bLines)` does the following:\n\n- **compare** the arrays line-by-line using the `diff-sequences` package\n\nBecause `diffLinesRaw` returns the difference as **data** instead of a string, you can format it as your application requires.\n\n### Example of diffLinesRaw\n\n```js\nconst aLines = ['delete', 'common', 'changed from'];\nconst bLines = ['common', 'changed to', 'insert'];\n\nconst diffs = diffLinesRaw(aLines, bLines);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]`    |\n| --: | ------------: | :--------------- |\n| `0` |          `-1` | `'delete'`       |\n| `1` |           `0` | `'common'`       |\n| `2` |          `-1` | `'changed from'` |\n| `3` |           `1` | `'changed to'`   |\n| `4` |           `1` | `'insert'`       |\n\n### Edge case of diffLinesRaw\n\nIf you call `string.split('\\n')` for an empty string:\n\n- the result is `['']` an array which contains an empty string\n- instead of `[]` an empty array\n\nDepending of your application, you might call `diffLinesRaw` with either array.\n\n### Example of split method\n\n```js\nimport {diffLinesRaw} from 'jest-diff';\n\nconst a = 'non-empty string';\nconst b = '';\n\nconst diffs = diffLinesRaw(a.split('\\n'), b.split('\\n'));\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]`        |\n| --: | ------------: | :------------------- |\n| `0` |          `-1` | `'non-empty string'` |\n| `1` |           `1` | `''`                 |\n\nWhich you might format as follows:\n\n```diff\n- Expected  - 1\n+ Received  + 1\n\n- non-empty string\n+\n```\n\n### Example of splitLines0 function\n\nFor edge case behavior like the `diffLinesUnified` function, you might define a `splitLines0` function, which given an empty string, returns `[]` an empty array:\n\n```js\nexport const splitLines0 = string =>\n  string.length === 0 ? [] : string.split('\\n');\n```\n\n```js\nimport {diffLinesRaw} from 'jest-diff';\n\nconst a = '';\nconst b = 'line 1\\nline 2\\nline 3';\n\nconst diffs = diffLinesRaw(a.split('\\n'), b.split('\\n'));\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `1` | `'line 1'`    |\n| `1` |           `1` | `'line 2'`    |\n| `2` |           `1` | `'line 3'`    |\n\nWhich you might format as follows:\n\n```diff\n- Expected  - 0\n+ Received  + 3\n\n+ line 1\n+ line 2\n+ line 3\n```\n\nIn contrast to the `diffLinesRaw` function, the `diffLinesUnified` and `diffLinesUnified2` functions **automatically** convert array arguments computed by string `split` method, so callers do **not** need a `splitLine0` function.\n\n## Options\n\nThe default options are for the report when an assertion fails from the `expect` package used by Jest.\n\nFor other applications, you can provide an options object as a third argument:\n\n- `diff(a, b, options)`\n- `diffStringsUnified(a, b, options)`\n- `diffLinesUnified(aLines, bLines, options)`\n- `diffLinesUnified2(aLinesDisplay, bLinesDisplay, aLinesCompare, bLinesCompare, options)`\n\n### Properties of options object\n\n| name                              | default            |\n| :-------------------------------- | :----------------- |\n| `aAnnotation`                     | `'Expected'`       |\n| `aColor`                          | `chalk.green`      |\n| `aIndicator`                      | `'-'`              |\n| `bAnnotation`                     | `'Received'`       |\n| `bColor`                          | `chalk.red`        |\n| `bIndicator`                      | `'+'`              |\n| `changeColor`                     | `chalk.inverse`    |\n| `changeLineTrailingSpaceColor`    | `string => string` |\n| `commonColor`                     | `chalk.dim`        |\n| `commonIndicator`                 | `' '`              |\n| `commonLineTrailingSpaceColor`    | `string => string` |\n| `compareKeys`                     | `undefined`        |\n| `contextLines`                    | `5`                |\n| `emptyFirstOrLastLinePlaceholder` | `''`               |\n| `expand`                          | `true`             |\n| `includeChangeCounts`             | `false`            |\n| `omitAnnotationLines`             | `false`            |\n| `patchColor`                      | `chalk.yellow`     |\n\nFor more information about the options, see the following examples.\n\n### Example of options for labels\n\nIf the application is code modification, you might replace the labels:\n\n```js\nconst options = {\n  aAnnotation: 'Original',\n  bAnnotation: 'Modified',\n};\n```\n\n```diff\n- Original\n+ Modified\n\n  common\n- changed from\n+ changed to\n```\n\nThe `jest-diff` package does not assume that the 2 labels have equal length.\n\n### Example of options for colors of changed lines\n\nFor consistency with most diff tools, you might exchange the colors:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  aColor: chalk.red,\n  bColor: chalk.green,\n};\n```\n\n### Example of option for color of changed substrings\n\nAlthough the default inverse of foreground and background colors is hard to beat for changed substrings **within lines**, especially because it highlights spaces, if you want bold font weight on yellow background color:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  changeColor: chalk.bold.bgYellowBright,\n};\n```\n\n### Example of option to format trailing spaces\n\nBecause `diff()` does not display substring differences within lines, formatting can help you see when lines differ by the presence or absence of trailing spaces found by `/\\s+$/` regular expression.\n\n- If change lines have a background color, then you can see trailing spaces.\n- If common lines have default dim color, then you cannot see trailing spaces. You might want yellowish background color to see them.\n\n```js\nconst options = {\n  aColor: chalk.rgb(128, 0, 128).bgRgb(255, 215, 255), // magenta\n  bColor: chalk.rgb(0, 95, 0).bgRgb(215, 255, 215), // green\n  commonLineTrailingSpaceColor: chalk.bgYellow,\n};\n```\n\nThe value of a Color option is a function, which given a string, returns a string.\n\nIf you want to replace trailing spaces with middle dot characters:\n\n```js\nconst replaceSpacesWithMiddleDot = string => '·'.repeat(string.length);\n\nconst options = {\n  changeLineTrailingSpaceColor: replaceSpacesWithMiddleDot,\n  commonLineTrailingSpaceColor: replaceSpacesWithMiddleDot,\n};\n```\n\nIf you need the TypeScript type of a Color option:\n\n```ts\nimport {DiffOptionsColor} from 'jest-diff';\n```\n\n### Example of options for no colors\n\nTo store the difference in a file without escape codes for colors, provide an identity function:\n\n```js\nconst noColor = string => string;\n\nconst options = {\n  aColor: noColor,\n  bColor: noColor,\n  changeColor: noColor,\n  commonColor: noColor,\n  patchColor: noColor,\n};\n```\n\n### Example of options for indicators\n\nFor consistency with the `diff` command, you might replace the indicators:\n\n```js\nconst options = {\n  aIndicator: '<',\n  bIndicator: '>',\n};\n```\n\nThe `jest-diff` package assumes (but does not enforce) that the 3 indicators have equal length.\n\n### Example of options to limit common lines\n\nBy default, the output includes all common lines.\n\nTo emphasize the changes, you might limit the number of common “context” lines:\n\n```js\nconst options = {\n  contextLines: 1,\n  expand: false,\n};\n```\n\nA patch mark like `@@ -12,7 +12,9 @@` accounts for omitted common lines.\n\n### Example of option for color of patch marks\n\nIf you want patch marks to have the same dim color as common lines:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  expand: false,\n  patchColor: chalk.dim,\n};\n```\n\n### Example of option to include change counts\n\nTo display the number of changed lines at the right of annotation lines:\n\n```js\nconst a = ['common', 'changed from'];\nconst b = ['common', 'changed to', 'insert'];\n\nconst options = {\n  includeChangeCounts: true,\n};\n\nconst difference = diff(a, b, options);\n```\n\n```diff\n- Expected  - 1\n+ Received  + 2\n\n  Array [\n    \"common\",\n-   \"changed from\",\n+   \"changed to\",\n+   \"insert\",\n  ]\n```\n\n### Example of option to omit annotation lines\n\nTo display only the comparison lines:\n\n```js\nconst a = 'common\\nchanged from';\nconst b = 'common\\nchanged to';\n\nconst options = {\n  omitAnnotationLines: true,\n};\n\nconst difference = diffStringsUnified(a, b, options);\n```\n\n```diff\n  common\n- changed from\n+ changed to\n```\n\n### Example of option for empty first or last lines\n\nIf the **first** or **last** comparison line is **empty**, because the content is empty and the indicator is a space, you might not notice it.\n\nThe replacement option is a string whose default value is `''` empty string.\n\nBecause Jest trims the report when a matcher fails, it deletes an empty last line.\n\nTherefore, Jest uses as placeholder the downwards arrow with corner leftwards:\n\n```js\nconst options = {\n  emptyFirstOrLastLinePlaceholder: '↵', // U+21B5\n};\n```\n\nIf a content line is empty, then the corresponding comparison line is automatically trimmed to remove the margin space (represented as a middle dot below) for the default indicators:\n\n|         Indicator | untrimmed | trimmed |\n| ----------------: | :-------- | :------ |\n|      `aIndicator` | `'-·'`    | `'-'`   |\n|      `bIndicator` | `'+·'`    | `'+'`   |\n| `commonIndicator` | `' ·'`    | `''`    |\n\n### Example of option for sorting object keys\n\nWhen two objects are compared their keys are printed in alphabetical order by default. If this was not the original order of the keys the diff becomes harder to read as the keys are not in their original position.\n\nUse `compareKeys` to pass a function which will be used when sorting the object keys.\n\n```js\nconst a = {c: 'c', b: 'b1', a: 'a'};\nconst b = {c: 'c', b: 'b2', a: 'a'};\n\nconst options = {\n  // The keys will be in their original order\n  compareKeys: () => 0,\n};\n\nconst difference = diff(a, b, options);\n```\n\n```diff\n- Expected\n+ Received\n\n  Object {\n    \"c\": \"c\",\n-   \"b\": \"b1\",\n+   \"b\": \"b2\",\n    \"a\": \"a\",\n  }\n```\n\nDepending on the implementation of `compareKeys` any sort order can be used.\n\n```js\nconst a = {c: 'c', b: 'b1', a: 'a'};\nconst b = {c: 'c', b: 'b2', a: 'a'};\n\nconst options = {\n  // The keys will be in reverse order\n  compareKeys: (a, b) => (a > b ? -1 : 1),\n};\n\nconst difference = diff(a, b, options);\n```\n\n```diff\n- Expected\n+ Received\n\n  Object {\n    \"a\": \"a\",\n-   \"b\": \"b1\",\n+   \"b\": \"b2\",\n    \"c\": \"c\",\n  }\n```\n","readmeFilename":"README.md","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@28.0.0-alpha.1","_nodeVersion":"16.14.0","_npmVersion":"lerna/4.0.0/node@v16.14.0+x64 (darwin)","dist":{"integrity":"sha512-8qyxNoFb0FDSPPI8I9S8Sh2KUwmX+mX/utiYRa4kT1Zqgo/oMOQw68Yatt0qu4WjBtSHl+8bSrxaU3y80syopg==","shasum":"6c4ad78f0989f78f0545d343bd2e9c2e6746bd3e","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-28.0.0-alpha.1.tgz","fileCount":14,"unpackedSize":78984,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiDBqiCRA9TVsSAnZWagAAeCkQAIBAO9QcEkoLDmcQKb41\n8/sDkCWkNBI1W+24uVW/ScSuh0I1Q+Ow9AgfyBdnI2CJ/s2+dASMAyHyzOXo\nZBirRfCR8bA4XB8rH/JVEylrImE6t0pDz/3E9AgqMIGT3vGXfPeDri70flUf\ntu1NhYJ62XA5iUq9F7s3aFo1tSYEIHl7L8rI/3glIDI3Nmz+Ajmjw7ViT8yh\nQqxL+va2Eix3b0UE9hVuV9MMi6E9ZZEyUJhO4+Mt1gxVrWXuKvSmxCjO3J+Y\nmvkGTkjxHldl1X0mU4SHcZAPXIemCZ/TWEQzZFlaocpPM8hnXCLGDaX+VihV\nQbZJK3P17O4U4I8fKJtg5TtZb0itZn0zBUFyTfHaEgRhmbQLvWWLAFa6g7Ro\nTSqQOP27/ho1gdfLrL8fiHPPirbs72bluMxIyDmSR+arbBad4LQ6RBhpb+qV\nkiSsn3+ybeBcI5tQgQ4D+x6n33ccxHizMdPIp6RhqYTqdZoVEtiGMkyPP4Ps\nzLhFDu2y/7nS5tL59Pkv3w3dQyFh7JJmVD7lYEjOrkdakOolL1/X7Yu/7RQ5\nTqGfqIjXZUUaQa4wEWFUeFRcUmVEaKvIBixicc2T8TCqie8dKTCb/OOCPyMB\nkXumBThYFeHbxJQw98yy5a2wO4EWc/SB4nO/9ln4+J8EqzbiIgqXd3m7zrUn\nay9W\r\n=ZOHm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG7ejCXAlN0BAqHJ1RjkEZ3HH6a+EYDzY5veIfw0Ds23AiEAjlKJi27H1F5O2wmrSJ7r6PP7heJ4grqgttm1+Qee+eU="}]},"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"maintainers":[{"name":"scotthovestadt","email":"scott.hovestadt@gmail.com"},{"name":"rubennorte","email":"rubennorte@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"aaronabramov","email":"aaron@abramov.io"},{"name":"davidzilburg","email":"davidzilburg@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_28.0.0-alpha.1_1644960418336_0.867829423518278"},"_hasShrinkwrap":false},"28.0.0-alpha.2":{"name":"jest-diff","version":"28.0.0-alpha.2","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"./build/index.js","types":"./build/index.d.ts","exports":{".":{"types":"./build/index.d.ts","default":"./build/index.js"},"./package.json":"./package.json"},"dependencies":{"chalk":"^4.0.0","diff-sequences":"^28.0.0-alpha.0","jest-get-type":"^28.0.0-alpha.0","pretty-format":"^28.0.0-alpha.2"},"devDependencies":{"@jest/test-utils":"^28.0.0-alpha.2","strip-ansi":"^6.0.0"},"engines":{"node":"^12.13.0 || ^14.15.0 || ^16.13.0 || >=17.0.0"},"publishConfig":{"access":"public"},"gitHead":"694d6bfea56f9cb49d0c7309cdbfff032da198c2","readme":"# jest-diff\n\nDisplay differences clearly so people can review changes confidently.\n\nThe `diff` named export serializes JavaScript **values**, compares them line-by-line, and returns a string which includes comparison lines.\n\nTwo named exports compare **strings** character-by-character:\n\n- `diffStringsUnified` returns a string.\n- `diffStringsRaw` returns an array of `Diff` objects.\n\nThree named exports compare **arrays of strings** line-by-line:\n\n- `diffLinesUnified` and `diffLinesUnified2` return a string.\n- `diffLinesRaw` returns an array of `Diff` objects.\n\n## Installation\n\nTo add this package as a dependency of a project, run either of the following commands:\n\n- `npm install jest-diff`\n- `yarn add jest-diff`\n\n## Usage of `diff()`\n\nGiven JavaScript **values**, `diff(a, b, options?)` does the following:\n\n1. **serialize** the values as strings using the `pretty-format` package\n2. **compare** the strings line-by-line using the `diff-sequences` package\n3. **format** the changed or common lines using the `chalk` package\n\nTo use this function, write either of the following:\n\n- `const {diff} = require('jest-diff');` in CommonJS modules\n- `import {diff} from 'jest-diff';` in ECMAScript modules\n\n### Example of `diff()`\n\n```js\nconst a = ['delete', 'common', 'changed from'];\nconst b = ['common', 'changed to', 'insert'];\n\nconst difference = diff(a, b);\n```\n\nThe returned **string** consists of:\n\n- annotation lines: describe the two change indicators with labels, and a blank line\n- comparison lines: similar to “unified” view on GitHub, but `Expected` lines are green, `Received` lines are red, and common lines are dim (by default, see Options)\n\n```diff\n- Expected\n+ Received\n\n  Array [\n-   \"delete\",\n    \"common\",\n-   \"changed from\",\n+   \"changed to\",\n+   \"insert\",\n  ]\n```\n\n### Edge cases of `diff()`\n\nHere are edge cases for the return value:\n\n- `' Comparing two different types of values. …'` if the arguments have **different types** according to the `jest-get-type` package (instances of different classes have the same `'object'` type)\n- `'Compared values have no visual difference.'` if the arguments have either **referential identity** according to `Object.is` method or **same serialization** according to the `pretty-format` package\n- `null` if either argument is a so-called **asymmetric matcher** in Jasmine or Jest\n\n## Usage of diffStringsUnified\n\nGiven **strings**, `diffStringsUnified(a, b, options?)` does the following:\n\n1. **compare** the strings character-by-character using the `diff-sequences` package\n2. **clean up** small (often coincidental) common substrings, also known as chaff\n3. **format** the changed or common lines using the `chalk` package\n\nAlthough the function is mainly for **multiline** strings, it compares any strings.\n\nWrite either of the following:\n\n- `const {diffStringsUnified} = require('jest-diff');` in CommonJS modules\n- `import {diffStringsUnified} from 'jest-diff';` in ECMAScript modules\n\n### Example of diffStringsUnified\n\n```js\nconst a = 'common\\nchanged from';\nconst b = 'common\\nchanged to';\n\nconst difference = diffStringsUnified(a, b);\n```\n\nThe returned **string** consists of:\n\n- annotation lines: describe the two change indicators with labels, and a blank line\n- comparison lines: similar to “unified” view on GitHub, and **changed substrings** have **inverse** foreground and background colors (that is, `from` has white-on-green and `to` has white-on-red, which the following example does not show)\n\n```diff\n- Expected\n+ Received\n\n  common\n- changed from\n+ changed to\n```\n\n### Performance of diffStringsUnified\n\nTo get the benefit of **changed substrings** within the comparison lines, a character-by-character comparison has a higher computational cost (in time and space) than a line-by-line comparison.\n\nIf the input strings can have **arbitrary length**, we recommend that the calling code set a limit, beyond which splits the strings, and then calls `diffLinesUnified` instead. For example, Jest falls back to line-by-line comparison if either string has length greater than 20K characters.\n\n## Usage of diffLinesUnified\n\nGiven **arrays of strings**, `diffLinesUnified(aLines, bLines, options?)` does the following:\n\n1. **compare** the arrays line-by-line using the `diff-sequences` package\n2. **format** the changed or common lines using the `chalk` package\n\nYou might call this function when strings have been split into lines and you do not need to see changed substrings within lines.\n\n### Example of diffLinesUnified\n\n```js\nconst aLines = ['delete', 'common', 'changed from'];\nconst bLines = ['common', 'changed to', 'insert'];\n\nconst difference = diffLinesUnified(aLines, bLines);\n```\n\n```diff\n- Expected\n+ Received\n\n- delete\n  common\n- changed from\n+ changed to\n+ insert\n```\n\n### Edge cases of diffLinesUnified or diffStringsUnified\n\nHere are edge cases for arguments and return values:\n\n- both `a` and `b` are empty strings: no comparison lines\n- only `a` is empty string: all comparison lines have `bColor` and `bIndicator` (see Options)\n- only `b` is empty string: all comparison lines have `aColor` and `aIndicator` (see Options)\n- `a` and `b` are equal non-empty strings: all comparison lines have `commonColor` and `commonIndicator` (see Options)\n\n## Usage of diffLinesUnified2\n\nGiven two **pairs** of arrays of strings, `diffLinesUnified2(aLinesDisplay, bLinesDisplay, aLinesCompare, bLinesCompare, options?)` does the following:\n\n1. **compare** the pair of `Compare` arrays line-by-line using the `diff-sequences` package\n2. **format** the corresponding lines in the pair of `Display` arrays using the `chalk` package\n\nJest calls this function to consider lines as common instead of changed if the only difference is indentation.\n\nYou might call this function for case insensitive or Unicode equivalence comparison of lines.\n\n### Example of diffLinesUnified2\n\n```js\nimport {format} from 'pretty-format';\n\nconst a = {\n  text: 'Ignore indentation in serialized object',\n  time: '2019-09-19T12:34:56.000Z',\n  type: 'CREATE_ITEM',\n};\nconst b = {\n  payload: {\n    text: 'Ignore indentation in serialized object',\n    time: '2019-09-19T12:34:56.000Z',\n  },\n  type: 'CREATE_ITEM',\n};\n\nconst difference = diffLinesUnified2(\n  // serialize with indentation to display lines\n  format(a).split('\\n'),\n  format(b).split('\\n'),\n  // serialize without indentation to compare lines\n  format(a, {indent: 0}).split('\\n'),\n  format(b, {indent: 0}).split('\\n'),\n);\n```\n\nThe `text` and `time` properties are common, because their only difference is indentation:\n\n```diff\n- Expected\n+ Received\n\n  Object {\n+   payload: Object {\n      text: 'Ignore indentation in serialized object',\n      time: '2019-09-19T12:34:56.000Z',\n+   },\n    type: 'CREATE_ITEM',\n  }\n```\n\nThe preceding example illustrates why (at least for indentation) it seems more intuitive that the function returns the common line from the `bLinesDisplay` array instead of from the `aLinesDisplay` array.\n\n## Usage of diffStringsRaw\n\nGiven **strings** and a boolean option, `diffStringsRaw(a, b, cleanup)` does the following:\n\n1. **compare** the strings character-by-character using the `diff-sequences` package\n2. optionally **clean up** small (often coincidental) common substrings, also known as chaff\n\nBecause `diffStringsRaw` returns the difference as **data** instead of a string, you can format it as your application requires (for example, enclosed in HTML markup for browser instead of escape sequences for console).\n\nThe returned **array** describes substrings as instances of the `Diff` class, which calling code can access like array tuples:\n\nThe value at index `0` is one of the following:\n\n| value | named export  | description           |\n| ----: | :------------ | :-------------------- |\n|   `0` | `DIFF_EQUAL`  | in `a` and in `b`     |\n|  `-1` | `DIFF_DELETE` | in `a` but not in `b` |\n|   `1` | `DIFF_INSERT` | in `b` but not in `a` |\n\nThe value at index `1` is a substring of `a` or `b` or both.\n\n### Example of diffStringsRaw with cleanup\n\n```js\nconst diffs = diffStringsRaw('changed from', 'changed to', true);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `0` | `'changed '`  |\n| `1` |          `-1` | `'from'`      |\n| `2` |           `1` | `'to'`        |\n\n### Example of diffStringsRaw without cleanup\n\n```js\nconst diffs = diffStringsRaw('changed from', 'changed to', false);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `0` | `'changed '`  |\n| `1` |          `-1` | `'fr'`        |\n| `2` |           `1` | `'t'`         |\n| `3` |           `0` | `'o'`         |\n| `4` |          `-1` | `'m'`         |\n\n### Advanced import for diffStringsRaw\n\nHere are all the named imports that you might need for the `diffStringsRaw` function:\n\n- `const {DIFF_DELETE, DIFF_EQUAL, DIFF_INSERT, Diff, diffStringsRaw} = require('jest-diff');` in CommonJS modules\n- `import {DIFF_DELETE, DIFF_EQUAL, DIFF_INSERT, Diff, diffStringsRaw} from 'jest-diff';` in ECMAScript modules\n\nTo write a **formatting** function, you might need the named constants (and `Diff` in TypeScript annotations).\n\nIf you write an application-specific **cleanup** algorithm, then you might need to call the `Diff` constructor:\n\n```js\nconst diffCommon = new Diff(DIFF_EQUAL, 'changed ');\nconst diffDelete = new Diff(DIFF_DELETE, 'from');\nconst diffInsert = new Diff(DIFF_INSERT, 'to');\n```\n\n## Usage of diffLinesRaw\n\nGiven **arrays of strings**, `diffLinesRaw(aLines, bLines)` does the following:\n\n- **compare** the arrays line-by-line using the `diff-sequences` package\n\nBecause `diffLinesRaw` returns the difference as **data** instead of a string, you can format it as your application requires.\n\n### Example of diffLinesRaw\n\n```js\nconst aLines = ['delete', 'common', 'changed from'];\nconst bLines = ['common', 'changed to', 'insert'];\n\nconst diffs = diffLinesRaw(aLines, bLines);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]`    |\n| --: | ------------: | :--------------- |\n| `0` |          `-1` | `'delete'`       |\n| `1` |           `0` | `'common'`       |\n| `2` |          `-1` | `'changed from'` |\n| `3` |           `1` | `'changed to'`   |\n| `4` |           `1` | `'insert'`       |\n\n### Edge case of diffLinesRaw\n\nIf you call `string.split('\\n')` for an empty string:\n\n- the result is `['']` an array which contains an empty string\n- instead of `[]` an empty array\n\nDepending of your application, you might call `diffLinesRaw` with either array.\n\n### Example of split method\n\n```js\nimport {diffLinesRaw} from 'jest-diff';\n\nconst a = 'non-empty string';\nconst b = '';\n\nconst diffs = diffLinesRaw(a.split('\\n'), b.split('\\n'));\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]`        |\n| --: | ------------: | :------------------- |\n| `0` |          `-1` | `'non-empty string'` |\n| `1` |           `1` | `''`                 |\n\nWhich you might format as follows:\n\n```diff\n- Expected  - 1\n+ Received  + 1\n\n- non-empty string\n+\n```\n\n### Example of splitLines0 function\n\nFor edge case behavior like the `diffLinesUnified` function, you might define a `splitLines0` function, which given an empty string, returns `[]` an empty array:\n\n```js\nexport const splitLines0 = string =>\n  string.length === 0 ? [] : string.split('\\n');\n```\n\n```js\nimport {diffLinesRaw} from 'jest-diff';\n\nconst a = '';\nconst b = 'line 1\\nline 2\\nline 3';\n\nconst diffs = diffLinesRaw(a.split('\\n'), b.split('\\n'));\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `1` | `'line 1'`    |\n| `1` |           `1` | `'line 2'`    |\n| `2` |           `1` | `'line 3'`    |\n\nWhich you might format as follows:\n\n```diff\n- Expected  - 0\n+ Received  + 3\n\n+ line 1\n+ line 2\n+ line 3\n```\n\nIn contrast to the `diffLinesRaw` function, the `diffLinesUnified` and `diffLinesUnified2` functions **automatically** convert array arguments computed by string `split` method, so callers do **not** need a `splitLine0` function.\n\n## Options\n\nThe default options are for the report when an assertion fails from the `expect` package used by Jest.\n\nFor other applications, you can provide an options object as a third argument:\n\n- `diff(a, b, options)`\n- `diffStringsUnified(a, b, options)`\n- `diffLinesUnified(aLines, bLines, options)`\n- `diffLinesUnified2(aLinesDisplay, bLinesDisplay, aLinesCompare, bLinesCompare, options)`\n\n### Properties of options object\n\n| name                              | default            |\n| :-------------------------------- | :----------------- |\n| `aAnnotation`                     | `'Expected'`       |\n| `aColor`                          | `chalk.green`      |\n| `aIndicator`                      | `'-'`              |\n| `bAnnotation`                     | `'Received'`       |\n| `bColor`                          | `chalk.red`        |\n| `bIndicator`                      | `'+'`              |\n| `changeColor`                     | `chalk.inverse`    |\n| `changeLineTrailingSpaceColor`    | `string => string` |\n| `commonColor`                     | `chalk.dim`        |\n| `commonIndicator`                 | `' '`              |\n| `commonLineTrailingSpaceColor`    | `string => string` |\n| `compareKeys`                     | `undefined`        |\n| `contextLines`                    | `5`                |\n| `emptyFirstOrLastLinePlaceholder` | `''`               |\n| `expand`                          | `true`             |\n| `includeChangeCounts`             | `false`            |\n| `omitAnnotationLines`             | `false`            |\n| `patchColor`                      | `chalk.yellow`     |\n\nFor more information about the options, see the following examples.\n\n### Example of options for labels\n\nIf the application is code modification, you might replace the labels:\n\n```js\nconst options = {\n  aAnnotation: 'Original',\n  bAnnotation: 'Modified',\n};\n```\n\n```diff\n- Original\n+ Modified\n\n  common\n- changed from\n+ changed to\n```\n\nThe `jest-diff` package does not assume that the 2 labels have equal length.\n\n### Example of options for colors of changed lines\n\nFor consistency with most diff tools, you might exchange the colors:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  aColor: chalk.red,\n  bColor: chalk.green,\n};\n```\n\n### Example of option for color of changed substrings\n\nAlthough the default inverse of foreground and background colors is hard to beat for changed substrings **within lines**, especially because it highlights spaces, if you want bold font weight on yellow background color:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  changeColor: chalk.bold.bgYellowBright,\n};\n```\n\n### Example of option to format trailing spaces\n\nBecause `diff()` does not display substring differences within lines, formatting can help you see when lines differ by the presence or absence of trailing spaces found by `/\\s+$/` regular expression.\n\n- If change lines have a background color, then you can see trailing spaces.\n- If common lines have default dim color, then you cannot see trailing spaces. You might want yellowish background color to see them.\n\n```js\nconst options = {\n  aColor: chalk.rgb(128, 0, 128).bgRgb(255, 215, 255), // magenta\n  bColor: chalk.rgb(0, 95, 0).bgRgb(215, 255, 215), // green\n  commonLineTrailingSpaceColor: chalk.bgYellow,\n};\n```\n\nThe value of a Color option is a function, which given a string, returns a string.\n\nIf you want to replace trailing spaces with middle dot characters:\n\n```js\nconst replaceSpacesWithMiddleDot = string => '·'.repeat(string.length);\n\nconst options = {\n  changeLineTrailingSpaceColor: replaceSpacesWithMiddleDot,\n  commonLineTrailingSpaceColor: replaceSpacesWithMiddleDot,\n};\n```\n\nIf you need the TypeScript type of a Color option:\n\n```ts\nimport {DiffOptionsColor} from 'jest-diff';\n```\n\n### Example of options for no colors\n\nTo store the difference in a file without escape codes for colors, provide an identity function:\n\n```js\nconst noColor = string => string;\n\nconst options = {\n  aColor: noColor,\n  bColor: noColor,\n  changeColor: noColor,\n  commonColor: noColor,\n  patchColor: noColor,\n};\n```\n\n### Example of options for indicators\n\nFor consistency with the `diff` command, you might replace the indicators:\n\n```js\nconst options = {\n  aIndicator: '<',\n  bIndicator: '>',\n};\n```\n\nThe `jest-diff` package assumes (but does not enforce) that the 3 indicators have equal length.\n\n### Example of options to limit common lines\n\nBy default, the output includes all common lines.\n\nTo emphasize the changes, you might limit the number of common “context” lines:\n\n```js\nconst options = {\n  contextLines: 1,\n  expand: false,\n};\n```\n\nA patch mark like `@@ -12,7 +12,9 @@` accounts for omitted common lines.\n\n### Example of option for color of patch marks\n\nIf you want patch marks to have the same dim color as common lines:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  expand: false,\n  patchColor: chalk.dim,\n};\n```\n\n### Example of option to include change counts\n\nTo display the number of changed lines at the right of annotation lines:\n\n```js\nconst a = ['common', 'changed from'];\nconst b = ['common', 'changed to', 'insert'];\n\nconst options = {\n  includeChangeCounts: true,\n};\n\nconst difference = diff(a, b, options);\n```\n\n```diff\n- Expected  - 1\n+ Received  + 2\n\n  Array [\n    \"common\",\n-   \"changed from\",\n+   \"changed to\",\n+   \"insert\",\n  ]\n```\n\n### Example of option to omit annotation lines\n\nTo display only the comparison lines:\n\n```js\nconst a = 'common\\nchanged from';\nconst b = 'common\\nchanged to';\n\nconst options = {\n  omitAnnotationLines: true,\n};\n\nconst difference = diffStringsUnified(a, b, options);\n```\n\n```diff\n  common\n- changed from\n+ changed to\n```\n\n### Example of option for empty first or last lines\n\nIf the **first** or **last** comparison line is **empty**, because the content is empty and the indicator is a space, you might not notice it.\n\nThe replacement option is a string whose default value is `''` empty string.\n\nBecause Jest trims the report when a matcher fails, it deletes an empty last line.\n\nTherefore, Jest uses as placeholder the downwards arrow with corner leftwards:\n\n```js\nconst options = {\n  emptyFirstOrLastLinePlaceholder: '↵', // U+21B5\n};\n```\n\nIf a content line is empty, then the corresponding comparison line is automatically trimmed to remove the margin space (represented as a middle dot below) for the default indicators:\n\n|         Indicator | untrimmed | trimmed |\n| ----------------: | :-------- | :------ |\n|      `aIndicator` | `'-·'`    | `'-'`   |\n|      `bIndicator` | `'+·'`    | `'+'`   |\n| `commonIndicator` | `' ·'`    | `''`    |\n\n### Example of option for sorting object keys\n\nWhen two objects are compared their keys are printed in alphabetical order by default. If this was not the original order of the keys the diff becomes harder to read as the keys are not in their original position.\n\nUse `compareKeys` to pass a function which will be used when sorting the object keys.\n\n```js\nconst a = {c: 'c', b: 'b1', a: 'a'};\nconst b = {c: 'c', b: 'b2', a: 'a'};\n\nconst options = {\n  // The keys will be in their original order\n  compareKeys: () => 0,\n};\n\nconst difference = diff(a, b, options);\n```\n\n```diff\n- Expected\n+ Received\n\n  Object {\n    \"c\": \"c\",\n-   \"b\": \"b1\",\n+   \"b\": \"b2\",\n    \"a\": \"a\",\n  }\n```\n\nDepending on the implementation of `compareKeys` any sort order can be used.\n\n```js\nconst a = {c: 'c', b: 'b1', a: 'a'};\nconst b = {c: 'c', b: 'b2', a: 'a'};\n\nconst options = {\n  // The keys will be in reverse order\n  compareKeys: (a, b) => (a > b ? -1 : 1),\n};\n\nconst difference = diff(a, b, options);\n```\n\n```diff\n- Expected\n+ Received\n\n  Object {\n    \"a\": \"a\",\n-   \"b\": \"b1\",\n+   \"b\": \"b2\",\n    \"c\": \"c\",\n  }\n```\n","readmeFilename":"README.md","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@28.0.0-alpha.2","_nodeVersion":"16.14.0","_npmVersion":"lerna/4.0.0/node@v16.14.0+x64 (darwin)","dist":{"integrity":"sha512-9S0cemrewtML2wj5Hbp8MUrkzXB3PsvTYsSrXlGL5hfEcPE9X+ePKsIfkHU1AgoLrmoBgg1zxmmqWDuHLeqBaw==","shasum":"17e663dec2c3e6a3cc8af9d10f836900a1ce3e41","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-28.0.0-alpha.2.tgz","fileCount":14,"unpackedSize":78984,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiDT50CRA9TVsSAnZWagAA4hwQAIziM8hZXflygyMmuKRm\n5GRO2ODi0Xog0MjsYtAzbYdHeuHzINy3qQs7TWXDHbEasWqHoZ1lo8/RDy6v\nqYea4G4UUTGvoxAtaz2koSxapO0nVQKyOQeAqerJWQl9yBV3xADSj7iId3R4\n0OKS7A/wunWJPzO0sZ/iufbtezpZn++44sG3/ANsNHKaDlZgLuiRvPtBlpPd\nFAhvwTWZ/Io7RqtZvnBlkmYONFGc4AalmpAdV1WqKGdbR4zkUJiJiVXB3Lxt\nTlVTXFj8O03fE6tE69kx8mP5fuIXo3YDgmRkUld2qNVkazOFJ8vOgrO23o6l\nOAiXj152jb+sgpb6QdgEyrNnFJrYNgqhnt9t1RvpliaWcfp5CHF7fZwWetG7\nG3WLcts3uFBumyWtin3tf1luuaMgtSXvKj6U7iUvc99niv3ZT+xmWamwYs1t\nScWRA38t7EZXYg7nQJ1GVhfTjVidatciC0ATLAOKMieV88NESiIQPtzbIvp8\n9Jt5AzIiJ2sgynivMn0kwuLU6K3rjVbmquBptrFuI4TJL/7dC0pfvSW9ezYU\nQSL004rIkKA7zDEOYe9v2MLEVibw78fXDaXRYETPUEwxf6I15UTKpg+q347W\ncXNKxLFv8y+2414flSrERXS+zKrE2KYc9wT2h0CPLTQqpdbafa7CHIGpkcjc\nqKLT\r\n=kA2F\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDpEHIsdMXbFQ6NxlSGkHlzCAP7jZa6Oz4NzVinMrs21QIgfY4GH1bhnUP9a860cZC51Hl2UF6IAC8z/kXsdRWdTGQ="}]},"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"maintainers":[{"name":"scotthovestadt","email":"scott.hovestadt@gmail.com"},{"name":"rubennorte","email":"rubennorte@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"aaronabramov","email":"aaron@abramov.io"},{"name":"davidzilburg","email":"davidzilburg@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_28.0.0-alpha.2_1645035124334_0.8740790485263754"},"_hasShrinkwrap":false},"28.0.0-alpha.3":{"name":"jest-diff","version":"28.0.0-alpha.3","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"./build/index.js","types":"./build/index.d.ts","exports":{".":{"types":"./build/index.d.ts","default":"./build/index.js"},"./package.json":"./package.json"},"dependencies":{"chalk":"^4.0.0","diff-sequences":"^28.0.0-alpha.3","jest-get-type":"^28.0.0-alpha.3","pretty-format":"^28.0.0-alpha.3"},"devDependencies":{"@jest/test-utils":"^28.0.0-alpha.3","strip-ansi":"^6.0.0"},"engines":{"node":"^12.13.0 || ^14.15.0 || ^16.13.0 || >=17.0.0"},"publishConfig":{"access":"public"},"gitHead":"fc30b27bd94bb7ebeaadc72626ebbdba535150d2","readme":"# jest-diff\n\nDisplay differences clearly so people can review changes confidently.\n\nThe `diff` named export serializes JavaScript **values**, compares them line-by-line, and returns a string which includes comparison lines.\n\nTwo named exports compare **strings** character-by-character:\n\n- `diffStringsUnified` returns a string.\n- `diffStringsRaw` returns an array of `Diff` objects.\n\nThree named exports compare **arrays of strings** line-by-line:\n\n- `diffLinesUnified` and `diffLinesUnified2` return a string.\n- `diffLinesRaw` returns an array of `Diff` objects.\n\n## Installation\n\nTo add this package as a dependency of a project, run either of the following commands:\n\n- `npm install jest-diff`\n- `yarn add jest-diff`\n\n## Usage of `diff()`\n\nGiven JavaScript **values**, `diff(a, b, options?)` does the following:\n\n1. **serialize** the values as strings using the `pretty-format` package\n2. **compare** the strings line-by-line using the `diff-sequences` package\n3. **format** the changed or common lines using the `chalk` package\n\nTo use this function, write either of the following:\n\n- `const {diff} = require('jest-diff');` in CommonJS modules\n- `import {diff} from 'jest-diff';` in ECMAScript modules\n\n### Example of `diff()`\n\n```js\nconst a = ['delete', 'common', 'changed from'];\nconst b = ['common', 'changed to', 'insert'];\n\nconst difference = diff(a, b);\n```\n\nThe returned **string** consists of:\n\n- annotation lines: describe the two change indicators with labels, and a blank line\n- comparison lines: similar to “unified” view on GitHub, but `Expected` lines are green, `Received` lines are red, and common lines are dim (by default, see Options)\n\n```diff\n- Expected\n+ Received\n\n  Array [\n-   \"delete\",\n    \"common\",\n-   \"changed from\",\n+   \"changed to\",\n+   \"insert\",\n  ]\n```\n\n### Edge cases of `diff()`\n\nHere are edge cases for the return value:\n\n- `' Comparing two different types of values. …'` if the arguments have **different types** according to the `jest-get-type` package (instances of different classes have the same `'object'` type)\n- `'Compared values have no visual difference.'` if the arguments have either **referential identity** according to `Object.is` method or **same serialization** according to the `pretty-format` package\n- `null` if either argument is a so-called **asymmetric matcher** in Jasmine or Jest\n\n## Usage of diffStringsUnified\n\nGiven **strings**, `diffStringsUnified(a, b, options?)` does the following:\n\n1. **compare** the strings character-by-character using the `diff-sequences` package\n2. **clean up** small (often coincidental) common substrings, also known as chaff\n3. **format** the changed or common lines using the `chalk` package\n\nAlthough the function is mainly for **multiline** strings, it compares any strings.\n\nWrite either of the following:\n\n- `const {diffStringsUnified} = require('jest-diff');` in CommonJS modules\n- `import {diffStringsUnified} from 'jest-diff';` in ECMAScript modules\n\n### Example of diffStringsUnified\n\n```js\nconst a = 'common\\nchanged from';\nconst b = 'common\\nchanged to';\n\nconst difference = diffStringsUnified(a, b);\n```\n\nThe returned **string** consists of:\n\n- annotation lines: describe the two change indicators with labels, and a blank line\n- comparison lines: similar to “unified” view on GitHub, and **changed substrings** have **inverse** foreground and background colors (that is, `from` has white-on-green and `to` has white-on-red, which the following example does not show)\n\n```diff\n- Expected\n+ Received\n\n  common\n- changed from\n+ changed to\n```\n\n### Performance of diffStringsUnified\n\nTo get the benefit of **changed substrings** within the comparison lines, a character-by-character comparison has a higher computational cost (in time and space) than a line-by-line comparison.\n\nIf the input strings can have **arbitrary length**, we recommend that the calling code set a limit, beyond which splits the strings, and then calls `diffLinesUnified` instead. For example, Jest falls back to line-by-line comparison if either string has length greater than 20K characters.\n\n## Usage of diffLinesUnified\n\nGiven **arrays of strings**, `diffLinesUnified(aLines, bLines, options?)` does the following:\n\n1. **compare** the arrays line-by-line using the `diff-sequences` package\n2. **format** the changed or common lines using the `chalk` package\n\nYou might call this function when strings have been split into lines and you do not need to see changed substrings within lines.\n\n### Example of diffLinesUnified\n\n```js\nconst aLines = ['delete', 'common', 'changed from'];\nconst bLines = ['common', 'changed to', 'insert'];\n\nconst difference = diffLinesUnified(aLines, bLines);\n```\n\n```diff\n- Expected\n+ Received\n\n- delete\n  common\n- changed from\n+ changed to\n+ insert\n```\n\n### Edge cases of diffLinesUnified or diffStringsUnified\n\nHere are edge cases for arguments and return values:\n\n- both `a` and `b` are empty strings: no comparison lines\n- only `a` is empty string: all comparison lines have `bColor` and `bIndicator` (see Options)\n- only `b` is empty string: all comparison lines have `aColor` and `aIndicator` (see Options)\n- `a` and `b` are equal non-empty strings: all comparison lines have `commonColor` and `commonIndicator` (see Options)\n\n## Usage of diffLinesUnified2\n\nGiven two **pairs** of arrays of strings, `diffLinesUnified2(aLinesDisplay, bLinesDisplay, aLinesCompare, bLinesCompare, options?)` does the following:\n\n1. **compare** the pair of `Compare` arrays line-by-line using the `diff-sequences` package\n2. **format** the corresponding lines in the pair of `Display` arrays using the `chalk` package\n\nJest calls this function to consider lines as common instead of changed if the only difference is indentation.\n\nYou might call this function for case insensitive or Unicode equivalence comparison of lines.\n\n### Example of diffLinesUnified2\n\n```js\nimport {format} from 'pretty-format';\n\nconst a = {\n  text: 'Ignore indentation in serialized object',\n  time: '2019-09-19T12:34:56.000Z',\n  type: 'CREATE_ITEM',\n};\nconst b = {\n  payload: {\n    text: 'Ignore indentation in serialized object',\n    time: '2019-09-19T12:34:56.000Z',\n  },\n  type: 'CREATE_ITEM',\n};\n\nconst difference = diffLinesUnified2(\n  // serialize with indentation to display lines\n  format(a).split('\\n'),\n  format(b).split('\\n'),\n  // serialize without indentation to compare lines\n  format(a, {indent: 0}).split('\\n'),\n  format(b, {indent: 0}).split('\\n'),\n);\n```\n\nThe `text` and `time` properties are common, because their only difference is indentation:\n\n```diff\n- Expected\n+ Received\n\n  Object {\n+   payload: Object {\n      text: 'Ignore indentation in serialized object',\n      time: '2019-09-19T12:34:56.000Z',\n+   },\n    type: 'CREATE_ITEM',\n  }\n```\n\nThe preceding example illustrates why (at least for indentation) it seems more intuitive that the function returns the common line from the `bLinesDisplay` array instead of from the `aLinesDisplay` array.\n\n## Usage of diffStringsRaw\n\nGiven **strings** and a boolean option, `diffStringsRaw(a, b, cleanup)` does the following:\n\n1. **compare** the strings character-by-character using the `diff-sequences` package\n2. optionally **clean up** small (often coincidental) common substrings, also known as chaff\n\nBecause `diffStringsRaw` returns the difference as **data** instead of a string, you can format it as your application requires (for example, enclosed in HTML markup for browser instead of escape sequences for console).\n\nThe returned **array** describes substrings as instances of the `Diff` class, which calling code can access like array tuples:\n\nThe value at index `0` is one of the following:\n\n| value | named export  | description           |\n| ----: | :------------ | :-------------------- |\n|   `0` | `DIFF_EQUAL`  | in `a` and in `b`     |\n|  `-1` | `DIFF_DELETE` | in `a` but not in `b` |\n|   `1` | `DIFF_INSERT` | in `b` but not in `a` |\n\nThe value at index `1` is a substring of `a` or `b` or both.\n\n### Example of diffStringsRaw with cleanup\n\n```js\nconst diffs = diffStringsRaw('changed from', 'changed to', true);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `0` | `'changed '`  |\n| `1` |          `-1` | `'from'`      |\n| `2` |           `1` | `'to'`        |\n\n### Example of diffStringsRaw without cleanup\n\n```js\nconst diffs = diffStringsRaw('changed from', 'changed to', false);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `0` | `'changed '`  |\n| `1` |          `-1` | `'fr'`        |\n| `2` |           `1` | `'t'`         |\n| `3` |           `0` | `'o'`         |\n| `4` |          `-1` | `'m'`         |\n\n### Advanced import for diffStringsRaw\n\nHere are all the named imports that you might need for the `diffStringsRaw` function:\n\n- `const {DIFF_DELETE, DIFF_EQUAL, DIFF_INSERT, Diff, diffStringsRaw} = require('jest-diff');` in CommonJS modules\n- `import {DIFF_DELETE, DIFF_EQUAL, DIFF_INSERT, Diff, diffStringsRaw} from 'jest-diff';` in ECMAScript modules\n\nTo write a **formatting** function, you might need the named constants (and `Diff` in TypeScript annotations).\n\nIf you write an application-specific **cleanup** algorithm, then you might need to call the `Diff` constructor:\n\n```js\nconst diffCommon = new Diff(DIFF_EQUAL, 'changed ');\nconst diffDelete = new Diff(DIFF_DELETE, 'from');\nconst diffInsert = new Diff(DIFF_INSERT, 'to');\n```\n\n## Usage of diffLinesRaw\n\nGiven **arrays of strings**, `diffLinesRaw(aLines, bLines)` does the following:\n\n- **compare** the arrays line-by-line using the `diff-sequences` package\n\nBecause `diffLinesRaw` returns the difference as **data** instead of a string, you can format it as your application requires.\n\n### Example of diffLinesRaw\n\n```js\nconst aLines = ['delete', 'common', 'changed from'];\nconst bLines = ['common', 'changed to', 'insert'];\n\nconst diffs = diffLinesRaw(aLines, bLines);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]`    |\n| --: | ------------: | :--------------- |\n| `0` |          `-1` | `'delete'`       |\n| `1` |           `0` | `'common'`       |\n| `2` |          `-1` | `'changed from'` |\n| `3` |           `1` | `'changed to'`   |\n| `4` |           `1` | `'insert'`       |\n\n### Edge case of diffLinesRaw\n\nIf you call `string.split('\\n')` for an empty string:\n\n- the result is `['']` an array which contains an empty string\n- instead of `[]` an empty array\n\nDepending of your application, you might call `diffLinesRaw` with either array.\n\n### Example of split method\n\n```js\nimport {diffLinesRaw} from 'jest-diff';\n\nconst a = 'non-empty string';\nconst b = '';\n\nconst diffs = diffLinesRaw(a.split('\\n'), b.split('\\n'));\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]`        |\n| --: | ------------: | :------------------- |\n| `0` |          `-1` | `'non-empty string'` |\n| `1` |           `1` | `''`                 |\n\nWhich you might format as follows:\n\n```diff\n- Expected  - 1\n+ Received  + 1\n\n- non-empty string\n+\n```\n\n### Example of splitLines0 function\n\nFor edge case behavior like the `diffLinesUnified` function, you might define a `splitLines0` function, which given an empty string, returns `[]` an empty array:\n\n```js\nexport const splitLines0 = string =>\n  string.length === 0 ? [] : string.split('\\n');\n```\n\n```js\nimport {diffLinesRaw} from 'jest-diff';\n\nconst a = '';\nconst b = 'line 1\\nline 2\\nline 3';\n\nconst diffs = diffLinesRaw(a.split('\\n'), b.split('\\n'));\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `1` | `'line 1'`    |\n| `1` |           `1` | `'line 2'`    |\n| `2` |           `1` | `'line 3'`    |\n\nWhich you might format as follows:\n\n```diff\n- Expected  - 0\n+ Received  + 3\n\n+ line 1\n+ line 2\n+ line 3\n```\n\nIn contrast to the `diffLinesRaw` function, the `diffLinesUnified` and `diffLinesUnified2` functions **automatically** convert array arguments computed by string `split` method, so callers do **not** need a `splitLine0` function.\n\n## Options\n\nThe default options are for the report when an assertion fails from the `expect` package used by Jest.\n\nFor other applications, you can provide an options object as a third argument:\n\n- `diff(a, b, options)`\n- `diffStringsUnified(a, b, options)`\n- `diffLinesUnified(aLines, bLines, options)`\n- `diffLinesUnified2(aLinesDisplay, bLinesDisplay, aLinesCompare, bLinesCompare, options)`\n\n### Properties of options object\n\n| name                              | default            |\n| :-------------------------------- | :----------------- |\n| `aAnnotation`                     | `'Expected'`       |\n| `aColor`                          | `chalk.green`      |\n| `aIndicator`                      | `'-'`              |\n| `bAnnotation`                     | `'Received'`       |\n| `bColor`                          | `chalk.red`        |\n| `bIndicator`                      | `'+'`              |\n| `changeColor`                     | `chalk.inverse`    |\n| `changeLineTrailingSpaceColor`    | `string => string` |\n| `commonColor`                     | `chalk.dim`        |\n| `commonIndicator`                 | `' '`              |\n| `commonLineTrailingSpaceColor`    | `string => string` |\n| `compareKeys`                     | `undefined`        |\n| `contextLines`                    | `5`                |\n| `emptyFirstOrLastLinePlaceholder` | `''`               |\n| `expand`                          | `true`             |\n| `includeChangeCounts`             | `false`            |\n| `omitAnnotationLines`             | `false`            |\n| `patchColor`                      | `chalk.yellow`     |\n\nFor more information about the options, see the following examples.\n\n### Example of options for labels\n\nIf the application is code modification, you might replace the labels:\n\n```js\nconst options = {\n  aAnnotation: 'Original',\n  bAnnotation: 'Modified',\n};\n```\n\n```diff\n- Original\n+ Modified\n\n  common\n- changed from\n+ changed to\n```\n\nThe `jest-diff` package does not assume that the 2 labels have equal length.\n\n### Example of options for colors of changed lines\n\nFor consistency with most diff tools, you might exchange the colors:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  aColor: chalk.red,\n  bColor: chalk.green,\n};\n```\n\n### Example of option for color of changed substrings\n\nAlthough the default inverse of foreground and background colors is hard to beat for changed substrings **within lines**, especially because it highlights spaces, if you want bold font weight on yellow background color:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  changeColor: chalk.bold.bgYellowBright,\n};\n```\n\n### Example of option to format trailing spaces\n\nBecause `diff()` does not display substring differences within lines, formatting can help you see when lines differ by the presence or absence of trailing spaces found by `/\\s+$/` regular expression.\n\n- If change lines have a background color, then you can see trailing spaces.\n- If common lines have default dim color, then you cannot see trailing spaces. You might want yellowish background color to see them.\n\n```js\nconst options = {\n  aColor: chalk.rgb(128, 0, 128).bgRgb(255, 215, 255), // magenta\n  bColor: chalk.rgb(0, 95, 0).bgRgb(215, 255, 215), // green\n  commonLineTrailingSpaceColor: chalk.bgYellow,\n};\n```\n\nThe value of a Color option is a function, which given a string, returns a string.\n\nIf you want to replace trailing spaces with middle dot characters:\n\n```js\nconst replaceSpacesWithMiddleDot = string => '·'.repeat(string.length);\n\nconst options = {\n  changeLineTrailingSpaceColor: replaceSpacesWithMiddleDot,\n  commonLineTrailingSpaceColor: replaceSpacesWithMiddleDot,\n};\n```\n\nIf you need the TypeScript type of a Color option:\n\n```ts\nimport {DiffOptionsColor} from 'jest-diff';\n```\n\n### Example of options for no colors\n\nTo store the difference in a file without escape codes for colors, provide an identity function:\n\n```js\nconst noColor = string => string;\n\nconst options = {\n  aColor: noColor,\n  bColor: noColor,\n  changeColor: noColor,\n  commonColor: noColor,\n  patchColor: noColor,\n};\n```\n\n### Example of options for indicators\n\nFor consistency with the `diff` command, you might replace the indicators:\n\n```js\nconst options = {\n  aIndicator: '<',\n  bIndicator: '>',\n};\n```\n\nThe `jest-diff` package assumes (but does not enforce) that the 3 indicators have equal length.\n\n### Example of options to limit common lines\n\nBy default, the output includes all common lines.\n\nTo emphasize the changes, you might limit the number of common “context” lines:\n\n```js\nconst options = {\n  contextLines: 1,\n  expand: false,\n};\n```\n\nA patch mark like `@@ -12,7 +12,9 @@` accounts for omitted common lines.\n\n### Example of option for color of patch marks\n\nIf you want patch marks to have the same dim color as common lines:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  expand: false,\n  patchColor: chalk.dim,\n};\n```\n\n### Example of option to include change counts\n\nTo display the number of changed lines at the right of annotation lines:\n\n```js\nconst a = ['common', 'changed from'];\nconst b = ['common', 'changed to', 'insert'];\n\nconst options = {\n  includeChangeCounts: true,\n};\n\nconst difference = diff(a, b, options);\n```\n\n```diff\n- Expected  - 1\n+ Received  + 2\n\n  Array [\n    \"common\",\n-   \"changed from\",\n+   \"changed to\",\n+   \"insert\",\n  ]\n```\n\n### Example of option to omit annotation lines\n\nTo display only the comparison lines:\n\n```js\nconst a = 'common\\nchanged from';\nconst b = 'common\\nchanged to';\n\nconst options = {\n  omitAnnotationLines: true,\n};\n\nconst difference = diffStringsUnified(a, b, options);\n```\n\n```diff\n  common\n- changed from\n+ changed to\n```\n\n### Example of option for empty first or last lines\n\nIf the **first** or **last** comparison line is **empty**, because the content is empty and the indicator is a space, you might not notice it.\n\nThe replacement option is a string whose default value is `''` empty string.\n\nBecause Jest trims the report when a matcher fails, it deletes an empty last line.\n\nTherefore, Jest uses as placeholder the downwards arrow with corner leftwards:\n\n```js\nconst options = {\n  emptyFirstOrLastLinePlaceholder: '↵', // U+21B5\n};\n```\n\nIf a content line is empty, then the corresponding comparison line is automatically trimmed to remove the margin space (represented as a middle dot below) for the default indicators:\n\n|         Indicator | untrimmed | trimmed |\n| ----------------: | :-------- | :------ |\n|      `aIndicator` | `'-·'`    | `'-'`   |\n|      `bIndicator` | `'+·'`    | `'+'`   |\n| `commonIndicator` | `' ·'`    | `''`    |\n\n### Example of option for sorting object keys\n\nWhen two objects are compared their keys are printed in alphabetical order by default. If this was not the original order of the keys the diff becomes harder to read as the keys are not in their original position.\n\nUse `compareKeys` to pass a function which will be used when sorting the object keys.\n\n```js\nconst a = {c: 'c', b: 'b1', a: 'a'};\nconst b = {c: 'c', b: 'b2', a: 'a'};\n\nconst options = {\n  // The keys will be in their original order\n  compareKeys: () => 0,\n};\n\nconst difference = diff(a, b, options);\n```\n\n```diff\n- Expected\n+ Received\n\n  Object {\n    \"c\": \"c\",\n-   \"b\": \"b1\",\n+   \"b\": \"b2\",\n    \"a\": \"a\",\n  }\n```\n\nDepending on the implementation of `compareKeys` any sort order can be used.\n\n```js\nconst a = {c: 'c', b: 'b1', a: 'a'};\nconst b = {c: 'c', b: 'b2', a: 'a'};\n\nconst options = {\n  // The keys will be in reverse order\n  compareKeys: (a, b) => (a > b ? -1 : 1),\n};\n\nconst difference = diff(a, b, options);\n```\n\n```diff\n- Expected\n+ Received\n\n  Object {\n    \"a\": \"a\",\n-   \"b\": \"b1\",\n+   \"b\": \"b2\",\n    \"c\": \"c\",\n  }\n```\n","readmeFilename":"README.md","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@28.0.0-alpha.3","_nodeVersion":"16.14.0","_npmVersion":"lerna/4.0.0/node@v16.14.0+x64 (darwin)","dist":{"integrity":"sha512-QkaqBtdJbsMkQuP70mvYFxmPe1xt7YnGSLTrltypE64VuCO/rQLrt7AhAAS1qt1e0lNrqOD73HOZgiQwsqdEWg==","shasum":"a95945d88a2c025ca9860a9a0ffea7aabc5af71f","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-28.0.0-alpha.3.tgz","fileCount":14,"unpackedSize":78984,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiDmzeACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmobgA/+MvH7lwY7YzhKZkD+GtZIHIcvFmXVGEvdr6kY49+e57+2VYLM\r\n4pbwgNryWopSpyC9NGBxVQhBTG6n1JpxVWCf2h80DWVGFZY+k8ErlcB3kIxV\r\nHY9v8xdtO1RoamXcqulstOtVjmaq5uptztZuZGCXv/xerYbfXcTcFKJjAUGe\r\nz3VNkwhQ1flPf/8LQCtFD9raj9YTmBmcA+6P+JujwUhLruP6cHhs9OItgdfJ\r\nzBLJIain2T8IANr73GUTUDwSN7lqk2+zxmnJiRGuYedjUEQgzMeAfXz2Ws3u\r\n+mOO4uHa3SpEqcdTGL5ctNfjjZrsv08krp2XBUoqHBOENELxliBw8XDeHu9n\r\n8AqSDemhJ6dlooW7mc7a/GWy0V1hAqtuCk+tqix0Cn3gJbw2CwxmdMbwhLq1\r\n8gzJ0WlOKyK/LF3DWP/ZDom3yoIPLbEVtHd3gd9mko27e5x4jD0jxTBVsuPE\r\nErIgyeV22eAV7ny96tX62Kq5DS24+PG94RI8nW58PRuwbj35A+JqwVZBoCAz\r\nHJY65K64+fkXusowWm1F98bbYCMnU14TJOrD8sMJGY/teDgvGb+IuiiOF4TB\r\nxO1SkYW2omcZ24ZQ4Nr/VH+hLRA2xvZoPYV4Ve1RrEwg7zzASC1wGLKNHFeg\r\ntQ3I6Yg0MGHBkGYxg0jSyE9UsCnFtuXUbdo=\r\n=tnM+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD0azRK0oxnhT64doc4bxoNanErq+6RocsH/cCtQuDGlAIhAI3bGIoEOjM0VzXTdCBoCN8Cv+VshhSlIT6AxvvDLaot"}]},"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"maintainers":[{"name":"scotthovestadt","email":"scott.hovestadt@gmail.com"},{"name":"rubennorte","email":"rubennorte@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"aaronabramov","email":"aaron@abramov.io"},{"name":"davidzilburg","email":"davidzilburg@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_28.0.0-alpha.3_1645112542571_0.22334048515035043"},"_hasShrinkwrap":false},"28.0.0-alpha.4":{"name":"jest-diff","version":"28.0.0-alpha.4","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"./build/index.js","types":"./build/index.d.ts","exports":{".":{"types":"./build/index.d.ts","default":"./build/index.js"},"./package.json":"./package.json"},"dependencies":{"chalk":"^4.0.0","diff-sequences":"^28.0.0-alpha.4","jest-get-type":"^28.0.0-alpha.3","pretty-format":"^28.0.0-alpha.4"},"devDependencies":{"@jest/test-utils":"^28.0.0-alpha.4","strip-ansi":"^6.0.0"},"engines":{"node":"^12.13.0 || ^14.15.0 || ^16.13.0 || >=17.0.0"},"publishConfig":{"access":"public"},"gitHead":"c13dab19491ba6b57c2d703e7d7c4b20189e1e17","readme":"# jest-diff\n\nDisplay differences clearly so people can review changes confidently.\n\nThe `diff` named export serializes JavaScript **values**, compares them line-by-line, and returns a string which includes comparison lines.\n\nTwo named exports compare **strings** character-by-character:\n\n- `diffStringsUnified` returns a string.\n- `diffStringsRaw` returns an array of `Diff` objects.\n\nThree named exports compare **arrays of strings** line-by-line:\n\n- `diffLinesUnified` and `diffLinesUnified2` return a string.\n- `diffLinesRaw` returns an array of `Diff` objects.\n\n## Installation\n\nTo add this package as a dependency of a project, run either of the following commands:\n\n- `npm install jest-diff`\n- `yarn add jest-diff`\n\n## Usage of `diff()`\n\nGiven JavaScript **values**, `diff(a, b, options?)` does the following:\n\n1. **serialize** the values as strings using the `pretty-format` package\n2. **compare** the strings line-by-line using the `diff-sequences` package\n3. **format** the changed or common lines using the `chalk` package\n\nTo use this function, write either of the following:\n\n- `const {diff} = require('jest-diff');` in CommonJS modules\n- `import {diff} from 'jest-diff';` in ECMAScript modules\n\n### Example of `diff()`\n\n```js\nconst a = ['delete', 'common', 'changed from'];\nconst b = ['common', 'changed to', 'insert'];\n\nconst difference = diff(a, b);\n```\n\nThe returned **string** consists of:\n\n- annotation lines: describe the two change indicators with labels, and a blank line\n- comparison lines: similar to “unified” view on GitHub, but `Expected` lines are green, `Received` lines are red, and common lines are dim (by default, see Options)\n\n```diff\n- Expected\n+ Received\n\n  Array [\n-   \"delete\",\n    \"common\",\n-   \"changed from\",\n+   \"changed to\",\n+   \"insert\",\n  ]\n```\n\n### Edge cases of `diff()`\n\nHere are edge cases for the return value:\n\n- `' Comparing two different types of values. …'` if the arguments have **different types** according to the `jest-get-type` package (instances of different classes have the same `'object'` type)\n- `'Compared values have no visual difference.'` if the arguments have either **referential identity** according to `Object.is` method or **same serialization** according to the `pretty-format` package\n- `null` if either argument is a so-called **asymmetric matcher** in Jasmine or Jest\n\n## Usage of diffStringsUnified\n\nGiven **strings**, `diffStringsUnified(a, b, options?)` does the following:\n\n1. **compare** the strings character-by-character using the `diff-sequences` package\n2. **clean up** small (often coincidental) common substrings, also known as chaff\n3. **format** the changed or common lines using the `chalk` package\n\nAlthough the function is mainly for **multiline** strings, it compares any strings.\n\nWrite either of the following:\n\n- `const {diffStringsUnified} = require('jest-diff');` in CommonJS modules\n- `import {diffStringsUnified} from 'jest-diff';` in ECMAScript modules\n\n### Example of diffStringsUnified\n\n```js\nconst a = 'common\\nchanged from';\nconst b = 'common\\nchanged to';\n\nconst difference = diffStringsUnified(a, b);\n```\n\nThe returned **string** consists of:\n\n- annotation lines: describe the two change indicators with labels, and a blank line\n- comparison lines: similar to “unified” view on GitHub, and **changed substrings** have **inverse** foreground and background colors (that is, `from` has white-on-green and `to` has white-on-red, which the following example does not show)\n\n```diff\n- Expected\n+ Received\n\n  common\n- changed from\n+ changed to\n```\n\n### Performance of diffStringsUnified\n\nTo get the benefit of **changed substrings** within the comparison lines, a character-by-character comparison has a higher computational cost (in time and space) than a line-by-line comparison.\n\nIf the input strings can have **arbitrary length**, we recommend that the calling code set a limit, beyond which splits the strings, and then calls `diffLinesUnified` instead. For example, Jest falls back to line-by-line comparison if either string has length greater than 20K characters.\n\n## Usage of diffLinesUnified\n\nGiven **arrays of strings**, `diffLinesUnified(aLines, bLines, options?)` does the following:\n\n1. **compare** the arrays line-by-line using the `diff-sequences` package\n2. **format** the changed or common lines using the `chalk` package\n\nYou might call this function when strings have been split into lines and you do not need to see changed substrings within lines.\n\n### Example of diffLinesUnified\n\n```js\nconst aLines = ['delete', 'common', 'changed from'];\nconst bLines = ['common', 'changed to', 'insert'];\n\nconst difference = diffLinesUnified(aLines, bLines);\n```\n\n```diff\n- Expected\n+ Received\n\n- delete\n  common\n- changed from\n+ changed to\n+ insert\n```\n\n### Edge cases of diffLinesUnified or diffStringsUnified\n\nHere are edge cases for arguments and return values:\n\n- both `a` and `b` are empty strings: no comparison lines\n- only `a` is empty string: all comparison lines have `bColor` and `bIndicator` (see Options)\n- only `b` is empty string: all comparison lines have `aColor` and `aIndicator` (see Options)\n- `a` and `b` are equal non-empty strings: all comparison lines have `commonColor` and `commonIndicator` (see Options)\n\n## Usage of diffLinesUnified2\n\nGiven two **pairs** of arrays of strings, `diffLinesUnified2(aLinesDisplay, bLinesDisplay, aLinesCompare, bLinesCompare, options?)` does the following:\n\n1. **compare** the pair of `Compare` arrays line-by-line using the `diff-sequences` package\n2. **format** the corresponding lines in the pair of `Display` arrays using the `chalk` package\n\nJest calls this function to consider lines as common instead of changed if the only difference is indentation.\n\nYou might call this function for case insensitive or Unicode equivalence comparison of lines.\n\n### Example of diffLinesUnified2\n\n```js\nimport {format} from 'pretty-format';\n\nconst a = {\n  text: 'Ignore indentation in serialized object',\n  time: '2019-09-19T12:34:56.000Z',\n  type: 'CREATE_ITEM',\n};\nconst b = {\n  payload: {\n    text: 'Ignore indentation in serialized object',\n    time: '2019-09-19T12:34:56.000Z',\n  },\n  type: 'CREATE_ITEM',\n};\n\nconst difference = diffLinesUnified2(\n  // serialize with indentation to display lines\n  format(a).split('\\n'),\n  format(b).split('\\n'),\n  // serialize without indentation to compare lines\n  format(a, {indent: 0}).split('\\n'),\n  format(b, {indent: 0}).split('\\n'),\n);\n```\n\nThe `text` and `time` properties are common, because their only difference is indentation:\n\n```diff\n- Expected\n+ Received\n\n  Object {\n+   payload: Object {\n      text: 'Ignore indentation in serialized object',\n      time: '2019-09-19T12:34:56.000Z',\n+   },\n    type: 'CREATE_ITEM',\n  }\n```\n\nThe preceding example illustrates why (at least for indentation) it seems more intuitive that the function returns the common line from the `bLinesDisplay` array instead of from the `aLinesDisplay` array.\n\n## Usage of diffStringsRaw\n\nGiven **strings** and a boolean option, `diffStringsRaw(a, b, cleanup)` does the following:\n\n1. **compare** the strings character-by-character using the `diff-sequences` package\n2. optionally **clean up** small (often coincidental) common substrings, also known as chaff\n\nBecause `diffStringsRaw` returns the difference as **data** instead of a string, you can format it as your application requires (for example, enclosed in HTML markup for browser instead of escape sequences for console).\n\nThe returned **array** describes substrings as instances of the `Diff` class, which calling code can access like array tuples:\n\nThe value at index `0` is one of the following:\n\n| value | named export  | description           |\n| ----: | :------------ | :-------------------- |\n|   `0` | `DIFF_EQUAL`  | in `a` and in `b`     |\n|  `-1` | `DIFF_DELETE` | in `a` but not in `b` |\n|   `1` | `DIFF_INSERT` | in `b` but not in `a` |\n\nThe value at index `1` is a substring of `a` or `b` or both.\n\n### Example of diffStringsRaw with cleanup\n\n```js\nconst diffs = diffStringsRaw('changed from', 'changed to', true);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `0` | `'changed '`  |\n| `1` |          `-1` | `'from'`      |\n| `2` |           `1` | `'to'`        |\n\n### Example of diffStringsRaw without cleanup\n\n```js\nconst diffs = diffStringsRaw('changed from', 'changed to', false);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `0` | `'changed '`  |\n| `1` |          `-1` | `'fr'`        |\n| `2` |           `1` | `'t'`         |\n| `3` |           `0` | `'o'`         |\n| `4` |          `-1` | `'m'`         |\n\n### Advanced import for diffStringsRaw\n\nHere are all the named imports that you might need for the `diffStringsRaw` function:\n\n- `const {DIFF_DELETE, DIFF_EQUAL, DIFF_INSERT, Diff, diffStringsRaw} = require('jest-diff');` in CommonJS modules\n- `import {DIFF_DELETE, DIFF_EQUAL, DIFF_INSERT, Diff, diffStringsRaw} from 'jest-diff';` in ECMAScript modules\n\nTo write a **formatting** function, you might need the named constants (and `Diff` in TypeScript annotations).\n\nIf you write an application-specific **cleanup** algorithm, then you might need to call the `Diff` constructor:\n\n```js\nconst diffCommon = new Diff(DIFF_EQUAL, 'changed ');\nconst diffDelete = new Diff(DIFF_DELETE, 'from');\nconst diffInsert = new Diff(DIFF_INSERT, 'to');\n```\n\n## Usage of diffLinesRaw\n\nGiven **arrays of strings**, `diffLinesRaw(aLines, bLines)` does the following:\n\n- **compare** the arrays line-by-line using the `diff-sequences` package\n\nBecause `diffLinesRaw` returns the difference as **data** instead of a string, you can format it as your application requires.\n\n### Example of diffLinesRaw\n\n```js\nconst aLines = ['delete', 'common', 'changed from'];\nconst bLines = ['common', 'changed to', 'insert'];\n\nconst diffs = diffLinesRaw(aLines, bLines);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]`    |\n| --: | ------------: | :--------------- |\n| `0` |          `-1` | `'delete'`       |\n| `1` |           `0` | `'common'`       |\n| `2` |          `-1` | `'changed from'` |\n| `3` |           `1` | `'changed to'`   |\n| `4` |           `1` | `'insert'`       |\n\n### Edge case of diffLinesRaw\n\nIf you call `string.split('\\n')` for an empty string:\n\n- the result is `['']` an array which contains an empty string\n- instead of `[]` an empty array\n\nDepending of your application, you might call `diffLinesRaw` with either array.\n\n### Example of split method\n\n```js\nimport {diffLinesRaw} from 'jest-diff';\n\nconst a = 'non-empty string';\nconst b = '';\n\nconst diffs = diffLinesRaw(a.split('\\n'), b.split('\\n'));\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]`        |\n| --: | ------------: | :------------------- |\n| `0` |          `-1` | `'non-empty string'` |\n| `1` |           `1` | `''`                 |\n\nWhich you might format as follows:\n\n```diff\n- Expected  - 1\n+ Received  + 1\n\n- non-empty string\n+\n```\n\n### Example of splitLines0 function\n\nFor edge case behavior like the `diffLinesUnified` function, you might define a `splitLines0` function, which given an empty string, returns `[]` an empty array:\n\n```js\nexport const splitLines0 = string =>\n  string.length === 0 ? [] : string.split('\\n');\n```\n\n```js\nimport {diffLinesRaw} from 'jest-diff';\n\nconst a = '';\nconst b = 'line 1\\nline 2\\nline 3';\n\nconst diffs = diffLinesRaw(a.split('\\n'), b.split('\\n'));\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `1` | `'line 1'`    |\n| `1` |           `1` | `'line 2'`    |\n| `2` |           `1` | `'line 3'`    |\n\nWhich you might format as follows:\n\n```diff\n- Expected  - 0\n+ Received  + 3\n\n+ line 1\n+ line 2\n+ line 3\n```\n\nIn contrast to the `diffLinesRaw` function, the `diffLinesUnified` and `diffLinesUnified2` functions **automatically** convert array arguments computed by string `split` method, so callers do **not** need a `splitLine0` function.\n\n## Options\n\nThe default options are for the report when an assertion fails from the `expect` package used by Jest.\n\nFor other applications, you can provide an options object as a third argument:\n\n- `diff(a, b, options)`\n- `diffStringsUnified(a, b, options)`\n- `diffLinesUnified(aLines, bLines, options)`\n- `diffLinesUnified2(aLinesDisplay, bLinesDisplay, aLinesCompare, bLinesCompare, options)`\n\n### Properties of options object\n\n| name                              | default            |\n| :-------------------------------- | :----------------- |\n| `aAnnotation`                     | `'Expected'`       |\n| `aColor`                          | `chalk.green`      |\n| `aIndicator`                      | `'-'`              |\n| `bAnnotation`                     | `'Received'`       |\n| `bColor`                          | `chalk.red`        |\n| `bIndicator`                      | `'+'`              |\n| `changeColor`                     | `chalk.inverse`    |\n| `changeLineTrailingSpaceColor`    | `string => string` |\n| `commonColor`                     | `chalk.dim`        |\n| `commonIndicator`                 | `' '`              |\n| `commonLineTrailingSpaceColor`    | `string => string` |\n| `compareKeys`                     | `undefined`        |\n| `contextLines`                    | `5`                |\n| `emptyFirstOrLastLinePlaceholder` | `''`               |\n| `expand`                          | `true`             |\n| `includeChangeCounts`             | `false`            |\n| `omitAnnotationLines`             | `false`            |\n| `patchColor`                      | `chalk.yellow`     |\n\nFor more information about the options, see the following examples.\n\n### Example of options for labels\n\nIf the application is code modification, you might replace the labels:\n\n```js\nconst options = {\n  aAnnotation: 'Original',\n  bAnnotation: 'Modified',\n};\n```\n\n```diff\n- Original\n+ Modified\n\n  common\n- changed from\n+ changed to\n```\n\nThe `jest-diff` package does not assume that the 2 labels have equal length.\n\n### Example of options for colors of changed lines\n\nFor consistency with most diff tools, you might exchange the colors:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  aColor: chalk.red,\n  bColor: chalk.green,\n};\n```\n\n### Example of option for color of changed substrings\n\nAlthough the default inverse of foreground and background colors is hard to beat for changed substrings **within lines**, especially because it highlights spaces, if you want bold font weight on yellow background color:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  changeColor: chalk.bold.bgYellowBright,\n};\n```\n\n### Example of option to format trailing spaces\n\nBecause `diff()` does not display substring differences within lines, formatting can help you see when lines differ by the presence or absence of trailing spaces found by `/\\s+$/` regular expression.\n\n- If change lines have a background color, then you can see trailing spaces.\n- If common lines have default dim color, then you cannot see trailing spaces. You might want yellowish background color to see them.\n\n```js\nconst options = {\n  aColor: chalk.rgb(128, 0, 128).bgRgb(255, 215, 255), // magenta\n  bColor: chalk.rgb(0, 95, 0).bgRgb(215, 255, 215), // green\n  commonLineTrailingSpaceColor: chalk.bgYellow,\n};\n```\n\nThe value of a Color option is a function, which given a string, returns a string.\n\nIf you want to replace trailing spaces with middle dot characters:\n\n```js\nconst replaceSpacesWithMiddleDot = string => '·'.repeat(string.length);\n\nconst options = {\n  changeLineTrailingSpaceColor: replaceSpacesWithMiddleDot,\n  commonLineTrailingSpaceColor: replaceSpacesWithMiddleDot,\n};\n```\n\nIf you need the TypeScript type of a Color option:\n\n```ts\nimport {DiffOptionsColor} from 'jest-diff';\n```\n\n### Example of options for no colors\n\nTo store the difference in a file without escape codes for colors, provide an identity function:\n\n```js\nconst noColor = string => string;\n\nconst options = {\n  aColor: noColor,\n  bColor: noColor,\n  changeColor: noColor,\n  commonColor: noColor,\n  patchColor: noColor,\n};\n```\n\n### Example of options for indicators\n\nFor consistency with the `diff` command, you might replace the indicators:\n\n```js\nconst options = {\n  aIndicator: '<',\n  bIndicator: '>',\n};\n```\n\nThe `jest-diff` package assumes (but does not enforce) that the 3 indicators have equal length.\n\n### Example of options to limit common lines\n\nBy default, the output includes all common lines.\n\nTo emphasize the changes, you might limit the number of common “context” lines:\n\n```js\nconst options = {\n  contextLines: 1,\n  expand: false,\n};\n```\n\nA patch mark like `@@ -12,7 +12,9 @@` accounts for omitted common lines.\n\n### Example of option for color of patch marks\n\nIf you want patch marks to have the same dim color as common lines:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  expand: false,\n  patchColor: chalk.dim,\n};\n```\n\n### Example of option to include change counts\n\nTo display the number of changed lines at the right of annotation lines:\n\n```js\nconst a = ['common', 'changed from'];\nconst b = ['common', 'changed to', 'insert'];\n\nconst options = {\n  includeChangeCounts: true,\n};\n\nconst difference = diff(a, b, options);\n```\n\n```diff\n- Expected  - 1\n+ Received  + 2\n\n  Array [\n    \"common\",\n-   \"changed from\",\n+   \"changed to\",\n+   \"insert\",\n  ]\n```\n\n### Example of option to omit annotation lines\n\nTo display only the comparison lines:\n\n```js\nconst a = 'common\\nchanged from';\nconst b = 'common\\nchanged to';\n\nconst options = {\n  omitAnnotationLines: true,\n};\n\nconst difference = diffStringsUnified(a, b, options);\n```\n\n```diff\n  common\n- changed from\n+ changed to\n```\n\n### Example of option for empty first or last lines\n\nIf the **first** or **last** comparison line is **empty**, because the content is empty and the indicator is a space, you might not notice it.\n\nThe replacement option is a string whose default value is `''` empty string.\n\nBecause Jest trims the report when a matcher fails, it deletes an empty last line.\n\nTherefore, Jest uses as placeholder the downwards arrow with corner leftwards:\n\n```js\nconst options = {\n  emptyFirstOrLastLinePlaceholder: '↵', // U+21B5\n};\n```\n\nIf a content line is empty, then the corresponding comparison line is automatically trimmed to remove the margin space (represented as a middle dot below) for the default indicators:\n\n|         Indicator | untrimmed | trimmed |\n| ----------------: | :-------- | :------ |\n|      `aIndicator` | `'-·'`    | `'-'`   |\n|      `bIndicator` | `'+·'`    | `'+'`   |\n| `commonIndicator` | `' ·'`    | `''`    |\n\n### Example of option for sorting object keys\n\nWhen two objects are compared their keys are printed in alphabetical order by default. If this was not the original order of the keys the diff becomes harder to read as the keys are not in their original position.\n\nUse `compareKeys` to pass a function which will be used when sorting the object keys.\n\n```js\nconst a = {c: 'c', b: 'b1', a: 'a'};\nconst b = {c: 'c', b: 'b2', a: 'a'};\n\nconst options = {\n  // The keys will be in their original order\n  compareKeys: () => 0,\n};\n\nconst difference = diff(a, b, options);\n```\n\n```diff\n- Expected\n+ Received\n\n  Object {\n    \"c\": \"c\",\n-   \"b\": \"b1\",\n+   \"b\": \"b2\",\n    \"a\": \"a\",\n  }\n```\n\nDepending on the implementation of `compareKeys` any sort order can be used.\n\n```js\nconst a = {c: 'c', b: 'b1', a: 'a'};\nconst b = {c: 'c', b: 'b2', a: 'a'};\n\nconst options = {\n  // The keys will be in reverse order\n  compareKeys: (a, b) => (a > b ? -1 : 1),\n};\n\nconst difference = diff(a, b, options);\n```\n\n```diff\n- Expected\n+ Received\n\n  Object {\n    \"a\": \"a\",\n-   \"b\": \"b1\",\n+   \"b\": \"b2\",\n    \"c\": \"c\",\n  }\n```\n","readmeFilename":"README.md","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@28.0.0-alpha.4","_nodeVersion":"16.14.0","_npmVersion":"lerna/4.0.0/node@v16.14.0+x64 (darwin)","dist":{"integrity":"sha512-1txTkQqWYibF5Rv6l0d8tkOFJAAv/pqUwDl6e1ZgNN3g/V9ZmsHL/IQF9gyM4tN8KLsQRFlDMlOCKF9zAOOexA==","shasum":"159bbc200371ca714c51260ccc498b2fcea0823f","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-28.0.0-alpha.4.tgz","fileCount":14,"unpackedSize":78647,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiFNOEACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoPnQ/+JxPjTMkne/uncm3H4K6dTul7h82UFcm/rhocYBn2RZyMT3ul\r\nmxCi+hQnsMDh+gt1g91PmxStx4aDAw1ZRVcPeja02/Wp29TJvsYWKXW8nsr6\r\ni+zHV4ZyZiMmIX1bzP8NSfhkvSFpNzl1lYOn8IauuYG56C2P8kI7axirlB6E\r\nZkAo2Om/OshrY8VzNevg38V4zxCRM5kFAfcS+DCeTnpkMwBqi5ZdD0OHNq6g\r\nwzfHS7rRuI2oyvSmIbC3sxqmIWR7zuTyJFVR0vrcLA9tsGITnB8HSvdSRI2U\r\nzgQHG09/4FX3rZtM/b7wAXUjokQhqYlmGFbLIFAgZHP1+0rh9JXRNnq+oMyJ\r\nqzZF+0u5VH13ihTuaISGmOrHKm8qfjHb5QizkCD5mywR/G+PnKBQOhu/AUMz\r\noR0/TrFrAOD6c2TfptDnyO0ofLxRd3CiITtdAzqg5+zOBQPJI07PgjI3bq1x\r\nmF16++bs0aRF/0Sb5/fyimZPbWCgJ4Pyejbo4XA4Jj7opn+8yQFFGDYUgHu2\r\ninUAJpA+WPKsBBLVb6ZlcQON4LOqxsNExfXvS7XcHqUjWMwlTwoELVsr7oTi\r\nNNdRHQorQDeGUbUvP0lLJJLLl1bWeN8tmiwkFGV0TW0mzZvgCg6mMseqWGlB\r\n7nwM3RIUsfqS/jwtSHgscd4ZIJyqgKdQ2js=\r\n=/PIo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGeXMOdUYx0I/7WKvzjKa5vxxTDDJKU9zIVURizUzbzVAiAmeyf19GCJPNHqF93/USGzBymWoz8jGz0zYK9hxAMnkQ=="}]},"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"maintainers":[{"name":"scotthovestadt","email":"scott.hovestadt@gmail.com"},{"name":"rubennorte","email":"rubennorte@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"aaronabramov","email":"aaron@abramov.io"},{"name":"davidzilburg","email":"davidzilburg@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_28.0.0-alpha.4_1645532036491_0.4197922768552682"},"_hasShrinkwrap":false},"28.0.0-alpha.5":{"name":"jest-diff","version":"28.0.0-alpha.5","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"./build/index.js","types":"./build/index.d.ts","exports":{".":{"types":"./build/index.d.ts","default":"./build/index.js"},"./package.json":"./package.json"},"dependencies":{"chalk":"^4.0.0","diff-sequences":"^28.0.0-alpha.4","jest-get-type":"^28.0.0-alpha.3","pretty-format":"^28.0.0-alpha.5"},"devDependencies":{"@jest/test-utils":"^28.0.0-alpha.5","strip-ansi":"^6.0.0"},"engines":{"node":"^12.13.0 || ^14.15.0 || ^16.13.0 || >=17.0.0"},"publishConfig":{"access":"public"},"gitHead":"46fb19b2628bd87676c10730ba19592c30b05478","readme":"# jest-diff\n\nDisplay differences clearly so people can review changes confidently.\n\nThe `diff` named export serializes JavaScript **values**, compares them line-by-line, and returns a string which includes comparison lines.\n\nTwo named exports compare **strings** character-by-character:\n\n- `diffStringsUnified` returns a string.\n- `diffStringsRaw` returns an array of `Diff` objects.\n\nThree named exports compare **arrays of strings** line-by-line:\n\n- `diffLinesUnified` and `diffLinesUnified2` return a string.\n- `diffLinesRaw` returns an array of `Diff` objects.\n\n## Installation\n\nTo add this package as a dependency of a project, run either of the following commands:\n\n- `npm install jest-diff`\n- `yarn add jest-diff`\n\n## Usage of `diff()`\n\nGiven JavaScript **values**, `diff(a, b, options?)` does the following:\n\n1. **serialize** the values as strings using the `pretty-format` package\n2. **compare** the strings line-by-line using the `diff-sequences` package\n3. **format** the changed or common lines using the `chalk` package\n\nTo use this function, write either of the following:\n\n- `const {diff} = require('jest-diff');` in CommonJS modules\n- `import {diff} from 'jest-diff';` in ECMAScript modules\n\n### Example of `diff()`\n\n```js\nconst a = ['delete', 'common', 'changed from'];\nconst b = ['common', 'changed to', 'insert'];\n\nconst difference = diff(a, b);\n```\n\nThe returned **string** consists of:\n\n- annotation lines: describe the two change indicators with labels, and a blank line\n- comparison lines: similar to “unified” view on GitHub, but `Expected` lines are green, `Received` lines are red, and common lines are dim (by default, see Options)\n\n```diff\n- Expected\n+ Received\n\n  Array [\n-   \"delete\",\n    \"common\",\n-   \"changed from\",\n+   \"changed to\",\n+   \"insert\",\n  ]\n```\n\n### Edge cases of `diff()`\n\nHere are edge cases for the return value:\n\n- `' Comparing two different types of values. …'` if the arguments have **different types** according to the `jest-get-type` package (instances of different classes have the same `'object'` type)\n- `'Compared values have no visual difference.'` if the arguments have either **referential identity** according to `Object.is` method or **same serialization** according to the `pretty-format` package\n- `null` if either argument is a so-called **asymmetric matcher** in Jasmine or Jest\n\n## Usage of diffStringsUnified\n\nGiven **strings**, `diffStringsUnified(a, b, options?)` does the following:\n\n1. **compare** the strings character-by-character using the `diff-sequences` package\n2. **clean up** small (often coincidental) common substrings, also known as chaff\n3. **format** the changed or common lines using the `chalk` package\n\nAlthough the function is mainly for **multiline** strings, it compares any strings.\n\nWrite either of the following:\n\n- `const {diffStringsUnified} = require('jest-diff');` in CommonJS modules\n- `import {diffStringsUnified} from 'jest-diff';` in ECMAScript modules\n\n### Example of diffStringsUnified\n\n```js\nconst a = 'common\\nchanged from';\nconst b = 'common\\nchanged to';\n\nconst difference = diffStringsUnified(a, b);\n```\n\nThe returned **string** consists of:\n\n- annotation lines: describe the two change indicators with labels, and a blank line\n- comparison lines: similar to “unified” view on GitHub, and **changed substrings** have **inverse** foreground and background colors (that is, `from` has white-on-green and `to` has white-on-red, which the following example does not show)\n\n```diff\n- Expected\n+ Received\n\n  common\n- changed from\n+ changed to\n```\n\n### Performance of diffStringsUnified\n\nTo get the benefit of **changed substrings** within the comparison lines, a character-by-character comparison has a higher computational cost (in time and space) than a line-by-line comparison.\n\nIf the input strings can have **arbitrary length**, we recommend that the calling code set a limit, beyond which splits the strings, and then calls `diffLinesUnified` instead. For example, Jest falls back to line-by-line comparison if either string has length greater than 20K characters.\n\n## Usage of diffLinesUnified\n\nGiven **arrays of strings**, `diffLinesUnified(aLines, bLines, options?)` does the following:\n\n1. **compare** the arrays line-by-line using the `diff-sequences` package\n2. **format** the changed or common lines using the `chalk` package\n\nYou might call this function when strings have been split into lines and you do not need to see changed substrings within lines.\n\n### Example of diffLinesUnified\n\n```js\nconst aLines = ['delete', 'common', 'changed from'];\nconst bLines = ['common', 'changed to', 'insert'];\n\nconst difference = diffLinesUnified(aLines, bLines);\n```\n\n```diff\n- Expected\n+ Received\n\n- delete\n  common\n- changed from\n+ changed to\n+ insert\n```\n\n### Edge cases of diffLinesUnified or diffStringsUnified\n\nHere are edge cases for arguments and return values:\n\n- both `a` and `b` are empty strings: no comparison lines\n- only `a` is empty string: all comparison lines have `bColor` and `bIndicator` (see Options)\n- only `b` is empty string: all comparison lines have `aColor` and `aIndicator` (see Options)\n- `a` and `b` are equal non-empty strings: all comparison lines have `commonColor` and `commonIndicator` (see Options)\n\n## Usage of diffLinesUnified2\n\nGiven two **pairs** of arrays of strings, `diffLinesUnified2(aLinesDisplay, bLinesDisplay, aLinesCompare, bLinesCompare, options?)` does the following:\n\n1. **compare** the pair of `Compare` arrays line-by-line using the `diff-sequences` package\n2. **format** the corresponding lines in the pair of `Display` arrays using the `chalk` package\n\nJest calls this function to consider lines as common instead of changed if the only difference is indentation.\n\nYou might call this function for case insensitive or Unicode equivalence comparison of lines.\n\n### Example of diffLinesUnified2\n\n```js\nimport {format} from 'pretty-format';\n\nconst a = {\n  text: 'Ignore indentation in serialized object',\n  time: '2019-09-19T12:34:56.000Z',\n  type: 'CREATE_ITEM',\n};\nconst b = {\n  payload: {\n    text: 'Ignore indentation in serialized object',\n    time: '2019-09-19T12:34:56.000Z',\n  },\n  type: 'CREATE_ITEM',\n};\n\nconst difference = diffLinesUnified2(\n  // serialize with indentation to display lines\n  format(a).split('\\n'),\n  format(b).split('\\n'),\n  // serialize without indentation to compare lines\n  format(a, {indent: 0}).split('\\n'),\n  format(b, {indent: 0}).split('\\n'),\n);\n```\n\nThe `text` and `time` properties are common, because their only difference is indentation:\n\n```diff\n- Expected\n+ Received\n\n  Object {\n+   payload: Object {\n      text: 'Ignore indentation in serialized object',\n      time: '2019-09-19T12:34:56.000Z',\n+   },\n    type: 'CREATE_ITEM',\n  }\n```\n\nThe preceding example illustrates why (at least for indentation) it seems more intuitive that the function returns the common line from the `bLinesDisplay` array instead of from the `aLinesDisplay` array.\n\n## Usage of diffStringsRaw\n\nGiven **strings** and a boolean option, `diffStringsRaw(a, b, cleanup)` does the following:\n\n1. **compare** the strings character-by-character using the `diff-sequences` package\n2. optionally **clean up** small (often coincidental) common substrings, also known as chaff\n\nBecause `diffStringsRaw` returns the difference as **data** instead of a string, you can format it as your application requires (for example, enclosed in HTML markup for browser instead of escape sequences for console).\n\nThe returned **array** describes substrings as instances of the `Diff` class, which calling code can access like array tuples:\n\nThe value at index `0` is one of the following:\n\n| value | named export  | description           |\n| ----: | :------------ | :-------------------- |\n|   `0` | `DIFF_EQUAL`  | in `a` and in `b`     |\n|  `-1` | `DIFF_DELETE` | in `a` but not in `b` |\n|   `1` | `DIFF_INSERT` | in `b` but not in `a` |\n\nThe value at index `1` is a substring of `a` or `b` or both.\n\n### Example of diffStringsRaw with cleanup\n\n```js\nconst diffs = diffStringsRaw('changed from', 'changed to', true);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `0` | `'changed '`  |\n| `1` |          `-1` | `'from'`      |\n| `2` |           `1` | `'to'`        |\n\n### Example of diffStringsRaw without cleanup\n\n```js\nconst diffs = diffStringsRaw('changed from', 'changed to', false);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `0` | `'changed '`  |\n| `1` |          `-1` | `'fr'`        |\n| `2` |           `1` | `'t'`         |\n| `3` |           `0` | `'o'`         |\n| `4` |          `-1` | `'m'`         |\n\n### Advanced import for diffStringsRaw\n\nHere are all the named imports that you might need for the `diffStringsRaw` function:\n\n- `const {DIFF_DELETE, DIFF_EQUAL, DIFF_INSERT, Diff, diffStringsRaw} = require('jest-diff');` in CommonJS modules\n- `import {DIFF_DELETE, DIFF_EQUAL, DIFF_INSERT, Diff, diffStringsRaw} from 'jest-diff';` in ECMAScript modules\n\nTo write a **formatting** function, you might need the named constants (and `Diff` in TypeScript annotations).\n\nIf you write an application-specific **cleanup** algorithm, then you might need to call the `Diff` constructor:\n\n```js\nconst diffCommon = new Diff(DIFF_EQUAL, 'changed ');\nconst diffDelete = new Diff(DIFF_DELETE, 'from');\nconst diffInsert = new Diff(DIFF_INSERT, 'to');\n```\n\n## Usage of diffLinesRaw\n\nGiven **arrays of strings**, `diffLinesRaw(aLines, bLines)` does the following:\n\n- **compare** the arrays line-by-line using the `diff-sequences` package\n\nBecause `diffLinesRaw` returns the difference as **data** instead of a string, you can format it as your application requires.\n\n### Example of diffLinesRaw\n\n```js\nconst aLines = ['delete', 'common', 'changed from'];\nconst bLines = ['common', 'changed to', 'insert'];\n\nconst diffs = diffLinesRaw(aLines, bLines);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]`    |\n| --: | ------------: | :--------------- |\n| `0` |          `-1` | `'delete'`       |\n| `1` |           `0` | `'common'`       |\n| `2` |          `-1` | `'changed from'` |\n| `3` |           `1` | `'changed to'`   |\n| `4` |           `1` | `'insert'`       |\n\n### Edge case of diffLinesRaw\n\nIf you call `string.split('\\n')` for an empty string:\n\n- the result is `['']` an array which contains an empty string\n- instead of `[]` an empty array\n\nDepending of your application, you might call `diffLinesRaw` with either array.\n\n### Example of split method\n\n```js\nimport {diffLinesRaw} from 'jest-diff';\n\nconst a = 'non-empty string';\nconst b = '';\n\nconst diffs = diffLinesRaw(a.split('\\n'), b.split('\\n'));\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]`        |\n| --: | ------------: | :------------------- |\n| `0` |          `-1` | `'non-empty string'` |\n| `1` |           `1` | `''`                 |\n\nWhich you might format as follows:\n\n```diff\n- Expected  - 1\n+ Received  + 1\n\n- non-empty string\n+\n```\n\n### Example of splitLines0 function\n\nFor edge case behavior like the `diffLinesUnified` function, you might define a `splitLines0` function, which given an empty string, returns `[]` an empty array:\n\n```js\nexport const splitLines0 = string =>\n  string.length === 0 ? [] : string.split('\\n');\n```\n\n```js\nimport {diffLinesRaw} from 'jest-diff';\n\nconst a = '';\nconst b = 'line 1\\nline 2\\nline 3';\n\nconst diffs = diffLinesRaw(a.split('\\n'), b.split('\\n'));\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `1` | `'line 1'`    |\n| `1` |           `1` | `'line 2'`    |\n| `2` |           `1` | `'line 3'`    |\n\nWhich you might format as follows:\n\n```diff\n- Expected  - 0\n+ Received  + 3\n\n+ line 1\n+ line 2\n+ line 3\n```\n\nIn contrast to the `diffLinesRaw` function, the `diffLinesUnified` and `diffLinesUnified2` functions **automatically** convert array arguments computed by string `split` method, so callers do **not** need a `splitLine0` function.\n\n## Options\n\nThe default options are for the report when an assertion fails from the `expect` package used by Jest.\n\nFor other applications, you can provide an options object as a third argument:\n\n- `diff(a, b, options)`\n- `diffStringsUnified(a, b, options)`\n- `diffLinesUnified(aLines, bLines, options)`\n- `diffLinesUnified2(aLinesDisplay, bLinesDisplay, aLinesCompare, bLinesCompare, options)`\n\n### Properties of options object\n\n| name                              | default            |\n| :-------------------------------- | :----------------- |\n| `aAnnotation`                     | `'Expected'`       |\n| `aColor`                          | `chalk.green`      |\n| `aIndicator`                      | `'-'`              |\n| `bAnnotation`                     | `'Received'`       |\n| `bColor`                          | `chalk.red`        |\n| `bIndicator`                      | `'+'`              |\n| `changeColor`                     | `chalk.inverse`    |\n| `changeLineTrailingSpaceColor`    | `string => string` |\n| `commonColor`                     | `chalk.dim`        |\n| `commonIndicator`                 | `' '`              |\n| `commonLineTrailingSpaceColor`    | `string => string` |\n| `compareKeys`                     | `undefined`        |\n| `contextLines`                    | `5`                |\n| `emptyFirstOrLastLinePlaceholder` | `''`               |\n| `expand`                          | `true`             |\n| `includeChangeCounts`             | `false`            |\n| `omitAnnotationLines`             | `false`            |\n| `patchColor`                      | `chalk.yellow`     |\n\nFor more information about the options, see the following examples.\n\n### Example of options for labels\n\nIf the application is code modification, you might replace the labels:\n\n```js\nconst options = {\n  aAnnotation: 'Original',\n  bAnnotation: 'Modified',\n};\n```\n\n```diff\n- Original\n+ Modified\n\n  common\n- changed from\n+ changed to\n```\n\nThe `jest-diff` package does not assume that the 2 labels have equal length.\n\n### Example of options for colors of changed lines\n\nFor consistency with most diff tools, you might exchange the colors:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  aColor: chalk.red,\n  bColor: chalk.green,\n};\n```\n\n### Example of option for color of changed substrings\n\nAlthough the default inverse of foreground and background colors is hard to beat for changed substrings **within lines**, especially because it highlights spaces, if you want bold font weight on yellow background color:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  changeColor: chalk.bold.bgYellowBright,\n};\n```\n\n### Example of option to format trailing spaces\n\nBecause `diff()` does not display substring differences within lines, formatting can help you see when lines differ by the presence or absence of trailing spaces found by `/\\s+$/` regular expression.\n\n- If change lines have a background color, then you can see trailing spaces.\n- If common lines have default dim color, then you cannot see trailing spaces. You might want yellowish background color to see them.\n\n```js\nconst options = {\n  aColor: chalk.rgb(128, 0, 128).bgRgb(255, 215, 255), // magenta\n  bColor: chalk.rgb(0, 95, 0).bgRgb(215, 255, 215), // green\n  commonLineTrailingSpaceColor: chalk.bgYellow,\n};\n```\n\nThe value of a Color option is a function, which given a string, returns a string.\n\nIf you want to replace trailing spaces with middle dot characters:\n\n```js\nconst replaceSpacesWithMiddleDot = string => '·'.repeat(string.length);\n\nconst options = {\n  changeLineTrailingSpaceColor: replaceSpacesWithMiddleDot,\n  commonLineTrailingSpaceColor: replaceSpacesWithMiddleDot,\n};\n```\n\nIf you need the TypeScript type of a Color option:\n\n```ts\nimport {DiffOptionsColor} from 'jest-diff';\n```\n\n### Example of options for no colors\n\nTo store the difference in a file without escape codes for colors, provide an identity function:\n\n```js\nconst noColor = string => string;\n\nconst options = {\n  aColor: noColor,\n  bColor: noColor,\n  changeColor: noColor,\n  commonColor: noColor,\n  patchColor: noColor,\n};\n```\n\n### Example of options for indicators\n\nFor consistency with the `diff` command, you might replace the indicators:\n\n```js\nconst options = {\n  aIndicator: '<',\n  bIndicator: '>',\n};\n```\n\nThe `jest-diff` package assumes (but does not enforce) that the 3 indicators have equal length.\n\n### Example of options to limit common lines\n\nBy default, the output includes all common lines.\n\nTo emphasize the changes, you might limit the number of common “context” lines:\n\n```js\nconst options = {\n  contextLines: 1,\n  expand: false,\n};\n```\n\nA patch mark like `@@ -12,7 +12,9 @@` accounts for omitted common lines.\n\n### Example of option for color of patch marks\n\nIf you want patch marks to have the same dim color as common lines:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  expand: false,\n  patchColor: chalk.dim,\n};\n```\n\n### Example of option to include change counts\n\nTo display the number of changed lines at the right of annotation lines:\n\n```js\nconst a = ['common', 'changed from'];\nconst b = ['common', 'changed to', 'insert'];\n\nconst options = {\n  includeChangeCounts: true,\n};\n\nconst difference = diff(a, b, options);\n```\n\n```diff\n- Expected  - 1\n+ Received  + 2\n\n  Array [\n    \"common\",\n-   \"changed from\",\n+   \"changed to\",\n+   \"insert\",\n  ]\n```\n\n### Example of option to omit annotation lines\n\nTo display only the comparison lines:\n\n```js\nconst a = 'common\\nchanged from';\nconst b = 'common\\nchanged to';\n\nconst options = {\n  omitAnnotationLines: true,\n};\n\nconst difference = diffStringsUnified(a, b, options);\n```\n\n```diff\n  common\n- changed from\n+ changed to\n```\n\n### Example of option for empty first or last lines\n\nIf the **first** or **last** comparison line is **empty**, because the content is empty and the indicator is a space, you might not notice it.\n\nThe replacement option is a string whose default value is `''` empty string.\n\nBecause Jest trims the report when a matcher fails, it deletes an empty last line.\n\nTherefore, Jest uses as placeholder the downwards arrow with corner leftwards:\n\n```js\nconst options = {\n  emptyFirstOrLastLinePlaceholder: '↵', // U+21B5\n};\n```\n\nIf a content line is empty, then the corresponding comparison line is automatically trimmed to remove the margin space (represented as a middle dot below) for the default indicators:\n\n|         Indicator | untrimmed | trimmed |\n| ----------------: | :-------- | :------ |\n|      `aIndicator` | `'-·'`    | `'-'`   |\n|      `bIndicator` | `'+·'`    | `'+'`   |\n| `commonIndicator` | `' ·'`    | `''`    |\n\n### Example of option for sorting object keys\n\nWhen two objects are compared their keys are printed in alphabetical order by default. If this was not the original order of the keys the diff becomes harder to read as the keys are not in their original position.\n\nUse `compareKeys` to pass a function which will be used when sorting the object keys.\n\n```js\nconst a = {c: 'c', b: 'b1', a: 'a'};\nconst b = {c: 'c', b: 'b2', a: 'a'};\n\nconst options = {\n  // The keys will be in their original order\n  compareKeys: () => 0,\n};\n\nconst difference = diff(a, b, options);\n```\n\n```diff\n- Expected\n+ Received\n\n  Object {\n    \"c\": \"c\",\n-   \"b\": \"b1\",\n+   \"b\": \"b2\",\n    \"a\": \"a\",\n  }\n```\n\nDepending on the implementation of `compareKeys` any sort order can be used.\n\n```js\nconst a = {c: 'c', b: 'b1', a: 'a'};\nconst b = {c: 'c', b: 'b2', a: 'a'};\n\nconst options = {\n  // The keys will be in reverse order\n  compareKeys: (a, b) => (a > b ? -1 : 1),\n};\n\nconst difference = diff(a, b, options);\n```\n\n```diff\n- Expected\n+ Received\n\n  Object {\n    \"a\": \"a\",\n-   \"b\": \"b1\",\n+   \"b\": \"b2\",\n    \"c\": \"c\",\n  }\n```\n","readmeFilename":"README.md","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@28.0.0-alpha.5","_nodeVersion":"16.14.0","_npmVersion":"lerna/4.0.0/node@v16.14.0+x64 (darwin)","dist":{"integrity":"sha512-Sb/Vgl9LPM61uGSDTexmWZJy/RsZL7OwlVAKthoasyicarQflLmR/GnwwuvUVsNU+s+KDoF1ZXc4oM7wJAo1OA==","shasum":"23e170c72b97f45ba1a5d1240c0ab6ef7d1acd8e","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-28.0.0-alpha.5.tgz","fileCount":14,"unpackedSize":78647,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiF/EvACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr/pw//ZLdUu7a7tVSBWhFyf1qIr3DCQOrPx0W+AuCyIqE6Em7NX7BT\r\nBCQfXOmbQ5YOCj6PrZ6DTM2JsZ5/uH4+hwCt3H2qndvQGEHy4LmY7u7U/rLV\r\nyHZ+ZEjz2hgVLMmMYZYsmJ6ne3nRoaf/EaThcLjqZRwGeOZfXHwSpfUXoPp1\r\nz1hjnQzOLhMIpAkqm3lL8t7wiFxIzgIe5kIEUUGU8tP0gVkkRNZhqNWG1ImV\r\nqz1R6qIBZuHNTvhHvdUSfNNgUuQXNmPCXbBw4BAfc6JkYIKRM6UmmOgkS13E\r\ndw0DEq184b7MArkm3/nJa1wcLBFXw5KG3lqJQAJ9T2xN2nYZZa1QoXZMX0yF\r\nNEDa4SAsOSYMFHTV66um3riuAMyWb4fkVUMjgepknsX6fyLypvKU4l7eJ0+h\r\nnW5c32bdv9DHLMwPQHmPaQuPBrLQyi2+MsL7wb8b/vDxXQrcgzWUhqWhaoSA\r\nLSc66+QIs84TTVobtJ39D2+XNvtKN0p5ZAvE0O0+oJfLccFntxL5E0+2jyHW\r\nODyLcfNbDzZocg7yKVkwV0vmGsz8N9MXTPhukxmJoOjZ0gQBksIvKtOn+IZk\r\nOXsYe/m8UIE6vBhm2XKjkTETJpJ5D9AQApTqf18FNdKfzlmdKsVUxcMoyPeF\r\nHhVfHiP6QiGKVy+vELBFpfJvbewLGxqARIY=\r\n=0dmO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDWxDS8o9nFL1RTGFV5weLD/M/tm0v9gmKyqno40rhYMQIgbJjjq/owdud97FnK32nXP6OBHvve+oiHAmxzUuMk0kw="}]},"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"maintainers":[{"name":"scotthovestadt","email":"scott.hovestadt@gmail.com"},{"name":"rubennorte","email":"rubennorte@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"aaronabramov","email":"aaron@abramov.io"},{"name":"davidzilburg","email":"davidzilburg@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_28.0.0-alpha.5_1645736239243_0.533763717174407"},"_hasShrinkwrap":false},"28.0.0-alpha.6":{"name":"jest-diff","version":"28.0.0-alpha.6","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"./build/index.js","types":"./build/index.d.ts","exports":{".":{"types":"./build/index.d.ts","default":"./build/index.js"},"./package.json":"./package.json"},"dependencies":{"chalk":"^4.0.0","diff-sequences":"^28.0.0-alpha.6","jest-get-type":"^28.0.0-alpha.3","pretty-format":"^28.0.0-alpha.6"},"devDependencies":{"@jest/test-utils":"^28.0.0-alpha.6","strip-ansi":"^6.0.0"},"engines":{"node":"^12.13.0 || ^14.15.0 || ^16.13.0 || >=17.0.0"},"publishConfig":{"access":"public"},"gitHead":"6284ada4adb7008f5f8673b1a7b1c789d2e508fb","readme":"# jest-diff\n\nDisplay differences clearly so people can review changes confidently.\n\nThe `diff` named export serializes JavaScript **values**, compares them line-by-line, and returns a string which includes comparison lines.\n\nTwo named exports compare **strings** character-by-character:\n\n- `diffStringsUnified` returns a string.\n- `diffStringsRaw` returns an array of `Diff` objects.\n\nThree named exports compare **arrays of strings** line-by-line:\n\n- `diffLinesUnified` and `diffLinesUnified2` return a string.\n- `diffLinesRaw` returns an array of `Diff` objects.\n\n## Installation\n\nTo add this package as a dependency of a project, run either of the following commands:\n\n- `npm install jest-diff`\n- `yarn add jest-diff`\n\n## Usage of `diff()`\n\nGiven JavaScript **values**, `diff(a, b, options?)` does the following:\n\n1. **serialize** the values as strings using the `pretty-format` package\n2. **compare** the strings line-by-line using the `diff-sequences` package\n3. **format** the changed or common lines using the `chalk` package\n\nTo use this function, write either of the following:\n\n- `const {diff} = require('jest-diff');` in CommonJS modules\n- `import {diff} from 'jest-diff';` in ECMAScript modules\n\n### Example of `diff()`\n\n```js\nconst a = ['delete', 'common', 'changed from'];\nconst b = ['common', 'changed to', 'insert'];\n\nconst difference = diff(a, b);\n```\n\nThe returned **string** consists of:\n\n- annotation lines: describe the two change indicators with labels, and a blank line\n- comparison lines: similar to “unified” view on GitHub, but `Expected` lines are green, `Received` lines are red, and common lines are dim (by default, see Options)\n\n```diff\n- Expected\n+ Received\n\n  Array [\n-   \"delete\",\n    \"common\",\n-   \"changed from\",\n+   \"changed to\",\n+   \"insert\",\n  ]\n```\n\n### Edge cases of `diff()`\n\nHere are edge cases for the return value:\n\n- `' Comparing two different types of values. …'` if the arguments have **different types** according to the `jest-get-type` package (instances of different classes have the same `'object'` type)\n- `'Compared values have no visual difference.'` if the arguments have either **referential identity** according to `Object.is` method or **same serialization** according to the `pretty-format` package\n- `null` if either argument is a so-called **asymmetric matcher** in Jasmine or Jest\n\n## Usage of diffStringsUnified\n\nGiven **strings**, `diffStringsUnified(a, b, options?)` does the following:\n\n1. **compare** the strings character-by-character using the `diff-sequences` package\n2. **clean up** small (often coincidental) common substrings, also known as chaff\n3. **format** the changed or common lines using the `chalk` package\n\nAlthough the function is mainly for **multiline** strings, it compares any strings.\n\nWrite either of the following:\n\n- `const {diffStringsUnified} = require('jest-diff');` in CommonJS modules\n- `import {diffStringsUnified} from 'jest-diff';` in ECMAScript modules\n\n### Example of diffStringsUnified\n\n```js\nconst a = 'common\\nchanged from';\nconst b = 'common\\nchanged to';\n\nconst difference = diffStringsUnified(a, b);\n```\n\nThe returned **string** consists of:\n\n- annotation lines: describe the two change indicators with labels, and a blank line\n- comparison lines: similar to “unified” view on GitHub, and **changed substrings** have **inverse** foreground and background colors (that is, `from` has white-on-green and `to` has white-on-red, which the following example does not show)\n\n```diff\n- Expected\n+ Received\n\n  common\n- changed from\n+ changed to\n```\n\n### Performance of diffStringsUnified\n\nTo get the benefit of **changed substrings** within the comparison lines, a character-by-character comparison has a higher computational cost (in time and space) than a line-by-line comparison.\n\nIf the input strings can have **arbitrary length**, we recommend that the calling code set a limit, beyond which splits the strings, and then calls `diffLinesUnified` instead. For example, Jest falls back to line-by-line comparison if either string has length greater than 20K characters.\n\n## Usage of diffLinesUnified\n\nGiven **arrays of strings**, `diffLinesUnified(aLines, bLines, options?)` does the following:\n\n1. **compare** the arrays line-by-line using the `diff-sequences` package\n2. **format** the changed or common lines using the `chalk` package\n\nYou might call this function when strings have been split into lines and you do not need to see changed substrings within lines.\n\n### Example of diffLinesUnified\n\n```js\nconst aLines = ['delete', 'common', 'changed from'];\nconst bLines = ['common', 'changed to', 'insert'];\n\nconst difference = diffLinesUnified(aLines, bLines);\n```\n\n```diff\n- Expected\n+ Received\n\n- delete\n  common\n- changed from\n+ changed to\n+ insert\n```\n\n### Edge cases of diffLinesUnified or diffStringsUnified\n\nHere are edge cases for arguments and return values:\n\n- both `a` and `b` are empty strings: no comparison lines\n- only `a` is empty string: all comparison lines have `bColor` and `bIndicator` (see Options)\n- only `b` is empty string: all comparison lines have `aColor` and `aIndicator` (see Options)\n- `a` and `b` are equal non-empty strings: all comparison lines have `commonColor` and `commonIndicator` (see Options)\n\n## Usage of diffLinesUnified2\n\nGiven two **pairs** of arrays of strings, `diffLinesUnified2(aLinesDisplay, bLinesDisplay, aLinesCompare, bLinesCompare, options?)` does the following:\n\n1. **compare** the pair of `Compare` arrays line-by-line using the `diff-sequences` package\n2. **format** the corresponding lines in the pair of `Display` arrays using the `chalk` package\n\nJest calls this function to consider lines as common instead of changed if the only difference is indentation.\n\nYou might call this function for case insensitive or Unicode equivalence comparison of lines.\n\n### Example of diffLinesUnified2\n\n```js\nimport {format} from 'pretty-format';\n\nconst a = {\n  text: 'Ignore indentation in serialized object',\n  time: '2019-09-19T12:34:56.000Z',\n  type: 'CREATE_ITEM',\n};\nconst b = {\n  payload: {\n    text: 'Ignore indentation in serialized object',\n    time: '2019-09-19T12:34:56.000Z',\n  },\n  type: 'CREATE_ITEM',\n};\n\nconst difference = diffLinesUnified2(\n  // serialize with indentation to display lines\n  format(a).split('\\n'),\n  format(b).split('\\n'),\n  // serialize without indentation to compare lines\n  format(a, {indent: 0}).split('\\n'),\n  format(b, {indent: 0}).split('\\n'),\n);\n```\n\nThe `text` and `time` properties are common, because their only difference is indentation:\n\n```diff\n- Expected\n+ Received\n\n  Object {\n+   payload: Object {\n      text: 'Ignore indentation in serialized object',\n      time: '2019-09-19T12:34:56.000Z',\n+   },\n    type: 'CREATE_ITEM',\n  }\n```\n\nThe preceding example illustrates why (at least for indentation) it seems more intuitive that the function returns the common line from the `bLinesDisplay` array instead of from the `aLinesDisplay` array.\n\n## Usage of diffStringsRaw\n\nGiven **strings** and a boolean option, `diffStringsRaw(a, b, cleanup)` does the following:\n\n1. **compare** the strings character-by-character using the `diff-sequences` package\n2. optionally **clean up** small (often coincidental) common substrings, also known as chaff\n\nBecause `diffStringsRaw` returns the difference as **data** instead of a string, you can format it as your application requires (for example, enclosed in HTML markup for browser instead of escape sequences for console).\n\nThe returned **array** describes substrings as instances of the `Diff` class, which calling code can access like array tuples:\n\nThe value at index `0` is one of the following:\n\n| value | named export  | description           |\n| ----: | :------------ | :-------------------- |\n|   `0` | `DIFF_EQUAL`  | in `a` and in `b`     |\n|  `-1` | `DIFF_DELETE` | in `a` but not in `b` |\n|   `1` | `DIFF_INSERT` | in `b` but not in `a` |\n\nThe value at index `1` is a substring of `a` or `b` or both.\n\n### Example of diffStringsRaw with cleanup\n\n```js\nconst diffs = diffStringsRaw('changed from', 'changed to', true);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `0` | `'changed '`  |\n| `1` |          `-1` | `'from'`      |\n| `2` |           `1` | `'to'`        |\n\n### Example of diffStringsRaw without cleanup\n\n```js\nconst diffs = diffStringsRaw('changed from', 'changed to', false);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `0` | `'changed '`  |\n| `1` |          `-1` | `'fr'`        |\n| `2` |           `1` | `'t'`         |\n| `3` |           `0` | `'o'`         |\n| `4` |          `-1` | `'m'`         |\n\n### Advanced import for diffStringsRaw\n\nHere are all the named imports that you might need for the `diffStringsRaw` function:\n\n- `const {DIFF_DELETE, DIFF_EQUAL, DIFF_INSERT, Diff, diffStringsRaw} = require('jest-diff');` in CommonJS modules\n- `import {DIFF_DELETE, DIFF_EQUAL, DIFF_INSERT, Diff, diffStringsRaw} from 'jest-diff';` in ECMAScript modules\n\nTo write a **formatting** function, you might need the named constants (and `Diff` in TypeScript annotations).\n\nIf you write an application-specific **cleanup** algorithm, then you might need to call the `Diff` constructor:\n\n```js\nconst diffCommon = new Diff(DIFF_EQUAL, 'changed ');\nconst diffDelete = new Diff(DIFF_DELETE, 'from');\nconst diffInsert = new Diff(DIFF_INSERT, 'to');\n```\n\n## Usage of diffLinesRaw\n\nGiven **arrays of strings**, `diffLinesRaw(aLines, bLines)` does the following:\n\n- **compare** the arrays line-by-line using the `diff-sequences` package\n\nBecause `diffLinesRaw` returns the difference as **data** instead of a string, you can format it as your application requires.\n\n### Example of diffLinesRaw\n\n```js\nconst aLines = ['delete', 'common', 'changed from'];\nconst bLines = ['common', 'changed to', 'insert'];\n\nconst diffs = diffLinesRaw(aLines, bLines);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]`    |\n| --: | ------------: | :--------------- |\n| `0` |          `-1` | `'delete'`       |\n| `1` |           `0` | `'common'`       |\n| `2` |          `-1` | `'changed from'` |\n| `3` |           `1` | `'changed to'`   |\n| `4` |           `1` | `'insert'`       |\n\n### Edge case of diffLinesRaw\n\nIf you call `string.split('\\n')` for an empty string:\n\n- the result is `['']` an array which contains an empty string\n- instead of `[]` an empty array\n\nDepending of your application, you might call `diffLinesRaw` with either array.\n\n### Example of split method\n\n```js\nimport {diffLinesRaw} from 'jest-diff';\n\nconst a = 'non-empty string';\nconst b = '';\n\nconst diffs = diffLinesRaw(a.split('\\n'), b.split('\\n'));\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]`        |\n| --: | ------------: | :------------------- |\n| `0` |          `-1` | `'non-empty string'` |\n| `1` |           `1` | `''`                 |\n\nWhich you might format as follows:\n\n```diff\n- Expected  - 1\n+ Received  + 1\n\n- non-empty string\n+\n```\n\n### Example of splitLines0 function\n\nFor edge case behavior like the `diffLinesUnified` function, you might define a `splitLines0` function, which given an empty string, returns `[]` an empty array:\n\n```js\nexport const splitLines0 = string =>\n  string.length === 0 ? [] : string.split('\\n');\n```\n\n```js\nimport {diffLinesRaw} from 'jest-diff';\n\nconst a = '';\nconst b = 'line 1\\nline 2\\nline 3';\n\nconst diffs = diffLinesRaw(a.split('\\n'), b.split('\\n'));\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `1` | `'line 1'`    |\n| `1` |           `1` | `'line 2'`    |\n| `2` |           `1` | `'line 3'`    |\n\nWhich you might format as follows:\n\n```diff\n- Expected  - 0\n+ Received  + 3\n\n+ line 1\n+ line 2\n+ line 3\n```\n\nIn contrast to the `diffLinesRaw` function, the `diffLinesUnified` and `diffLinesUnified2` functions **automatically** convert array arguments computed by string `split` method, so callers do **not** need a `splitLine0` function.\n\n## Options\n\nThe default options are for the report when an assertion fails from the `expect` package used by Jest.\n\nFor other applications, you can provide an options object as a third argument:\n\n- `diff(a, b, options)`\n- `diffStringsUnified(a, b, options)`\n- `diffLinesUnified(aLines, bLines, options)`\n- `diffLinesUnified2(aLinesDisplay, bLinesDisplay, aLinesCompare, bLinesCompare, options)`\n\n### Properties of options object\n\n| name                              | default            |\n| :-------------------------------- | :----------------- |\n| `aAnnotation`                     | `'Expected'`       |\n| `aColor`                          | `chalk.green`      |\n| `aIndicator`                      | `'-'`              |\n| `bAnnotation`                     | `'Received'`       |\n| `bColor`                          | `chalk.red`        |\n| `bIndicator`                      | `'+'`              |\n| `changeColor`                     | `chalk.inverse`    |\n| `changeLineTrailingSpaceColor`    | `string => string` |\n| `commonColor`                     | `chalk.dim`        |\n| `commonIndicator`                 | `' '`              |\n| `commonLineTrailingSpaceColor`    | `string => string` |\n| `compareKeys`                     | `undefined`        |\n| `contextLines`                    | `5`                |\n| `emptyFirstOrLastLinePlaceholder` | `''`               |\n| `expand`                          | `true`             |\n| `includeChangeCounts`             | `false`            |\n| `omitAnnotationLines`             | `false`            |\n| `patchColor`                      | `chalk.yellow`     |\n\nFor more information about the options, see the following examples.\n\n### Example of options for labels\n\nIf the application is code modification, you might replace the labels:\n\n```js\nconst options = {\n  aAnnotation: 'Original',\n  bAnnotation: 'Modified',\n};\n```\n\n```diff\n- Original\n+ Modified\n\n  common\n- changed from\n+ changed to\n```\n\nThe `jest-diff` package does not assume that the 2 labels have equal length.\n\n### Example of options for colors of changed lines\n\nFor consistency with most diff tools, you might exchange the colors:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  aColor: chalk.red,\n  bColor: chalk.green,\n};\n```\n\n### Example of option for color of changed substrings\n\nAlthough the default inverse of foreground and background colors is hard to beat for changed substrings **within lines**, especially because it highlights spaces, if you want bold font weight on yellow background color:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  changeColor: chalk.bold.bgYellowBright,\n};\n```\n\n### Example of option to format trailing spaces\n\nBecause `diff()` does not display substring differences within lines, formatting can help you see when lines differ by the presence or absence of trailing spaces found by `/\\s+$/` regular expression.\n\n- If change lines have a background color, then you can see trailing spaces.\n- If common lines have default dim color, then you cannot see trailing spaces. You might want yellowish background color to see them.\n\n```js\nconst options = {\n  aColor: chalk.rgb(128, 0, 128).bgRgb(255, 215, 255), // magenta\n  bColor: chalk.rgb(0, 95, 0).bgRgb(215, 255, 215), // green\n  commonLineTrailingSpaceColor: chalk.bgYellow,\n};\n```\n\nThe value of a Color option is a function, which given a string, returns a string.\n\nIf you want to replace trailing spaces with middle dot characters:\n\n```js\nconst replaceSpacesWithMiddleDot = string => '·'.repeat(string.length);\n\nconst options = {\n  changeLineTrailingSpaceColor: replaceSpacesWithMiddleDot,\n  commonLineTrailingSpaceColor: replaceSpacesWithMiddleDot,\n};\n```\n\nIf you need the TypeScript type of a Color option:\n\n```ts\nimport {DiffOptionsColor} from 'jest-diff';\n```\n\n### Example of options for no colors\n\nTo store the difference in a file without escape codes for colors, provide an identity function:\n\n```js\nconst noColor = string => string;\n\nconst options = {\n  aColor: noColor,\n  bColor: noColor,\n  changeColor: noColor,\n  commonColor: noColor,\n  patchColor: noColor,\n};\n```\n\n### Example of options for indicators\n\nFor consistency with the `diff` command, you might replace the indicators:\n\n```js\nconst options = {\n  aIndicator: '<',\n  bIndicator: '>',\n};\n```\n\nThe `jest-diff` package assumes (but does not enforce) that the 3 indicators have equal length.\n\n### Example of options to limit common lines\n\nBy default, the output includes all common lines.\n\nTo emphasize the changes, you might limit the number of common “context” lines:\n\n```js\nconst options = {\n  contextLines: 1,\n  expand: false,\n};\n```\n\nA patch mark like `@@ -12,7 +12,9 @@` accounts for omitted common lines.\n\n### Example of option for color of patch marks\n\nIf you want patch marks to have the same dim color as common lines:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  expand: false,\n  patchColor: chalk.dim,\n};\n```\n\n### Example of option to include change counts\n\nTo display the number of changed lines at the right of annotation lines:\n\n```js\nconst a = ['common', 'changed from'];\nconst b = ['common', 'changed to', 'insert'];\n\nconst options = {\n  includeChangeCounts: true,\n};\n\nconst difference = diff(a, b, options);\n```\n\n```diff\n- Expected  - 1\n+ Received  + 2\n\n  Array [\n    \"common\",\n-   \"changed from\",\n+   \"changed to\",\n+   \"insert\",\n  ]\n```\n\n### Example of option to omit annotation lines\n\nTo display only the comparison lines:\n\n```js\nconst a = 'common\\nchanged from';\nconst b = 'common\\nchanged to';\n\nconst options = {\n  omitAnnotationLines: true,\n};\n\nconst difference = diffStringsUnified(a, b, options);\n```\n\n```diff\n  common\n- changed from\n+ changed to\n```\n\n### Example of option for empty first or last lines\n\nIf the **first** or **last** comparison line is **empty**, because the content is empty and the indicator is a space, you might not notice it.\n\nThe replacement option is a string whose default value is `''` empty string.\n\nBecause Jest trims the report when a matcher fails, it deletes an empty last line.\n\nTherefore, Jest uses as placeholder the downwards arrow with corner leftwards:\n\n```js\nconst options = {\n  emptyFirstOrLastLinePlaceholder: '↵', // U+21B5\n};\n```\n\nIf a content line is empty, then the corresponding comparison line is automatically trimmed to remove the margin space (represented as a middle dot below) for the default indicators:\n\n|         Indicator | untrimmed | trimmed |\n| ----------------: | :-------- | :------ |\n|      `aIndicator` | `'-·'`    | `'-'`   |\n|      `bIndicator` | `'+·'`    | `'+'`   |\n| `commonIndicator` | `' ·'`    | `''`    |\n\n### Example of option for sorting object keys\n\nWhen two objects are compared their keys are printed in alphabetical order by default. If this was not the original order of the keys the diff becomes harder to read as the keys are not in their original position.\n\nUse `compareKeys` to pass a function which will be used when sorting the object keys.\n\n```js\nconst a = {c: 'c', b: 'b1', a: 'a'};\nconst b = {c: 'c', b: 'b2', a: 'a'};\n\nconst options = {\n  // The keys will be in their original order\n  compareKeys: () => 0,\n};\n\nconst difference = diff(a, b, options);\n```\n\n```diff\n- Expected\n+ Received\n\n  Object {\n    \"c\": \"c\",\n-   \"b\": \"b1\",\n+   \"b\": \"b2\",\n    \"a\": \"a\",\n  }\n```\n\nDepending on the implementation of `compareKeys` any sort order can be used.\n\n```js\nconst a = {c: 'c', b: 'b1', a: 'a'};\nconst b = {c: 'c', b: 'b2', a: 'a'};\n\nconst options = {\n  // The keys will be in reverse order\n  compareKeys: (a, b) => (a > b ? -1 : 1),\n};\n\nconst difference = diff(a, b, options);\n```\n\n```diff\n- Expected\n+ Received\n\n  Object {\n    \"a\": \"a\",\n-   \"b\": \"b1\",\n+   \"b\": \"b2\",\n    \"c\": \"c\",\n  }\n```\n","readmeFilename":"README.md","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@28.0.0-alpha.6","_nodeVersion":"16.14.0","_npmVersion":"lerna/4.0.0/node@v16.14.0+x64 (darwin)","dist":{"integrity":"sha512-9HsaDqWJC8m6VhXbkeLACKw47Mwh4AEONDNuUS9eo/FXhbQJDhz4ft7OR41QAaXmPeBI06SXZtIpQ4AxBv1b4A==","shasum":"9245c5887e7bdb459f4b1c5718ce3f56d82d2199","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-28.0.0-alpha.6.tgz","fileCount":14,"unpackedSize":78628,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiHdoYACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqm5RAAnkbmMUdt0Op5ep0wHd54dsVOwNZxb6k1MRoi7Pir+hNywCL+\r\nisY3aDps4eaSOdgvypEIFhwOkuU5zOlSusmF4sekysNBxleTccRHHRaAQ6hf\r\nngTGuVV6vcvhMVO8VlfNIRa9hvfq31yh9gr7M0Q1cmBdSGSiRgN7/santa+u\r\n6c0zByP07ve9XD21KanYb5uzl51H9DIh4RThDO/L4YYFQAcVmxhBLfpfEcyO\r\nOxghMripG5vIo/VhiwkDynBQtGm3F4h04cT9M8ZJPy3WFqLWysVk9MzxQK9M\r\nw2BX2R8qJfsh6GtK6JP035yPGNfyzMAVz0hNjz4KRD9qrO2WEqYBe250eZEu\r\n3gmJRryjnnKNYFSAaLfc/smNb5N7/MU/y6YSk34/YECa1LtRWN4mgy4DtgPJ\r\nLovw+vRGArPhk9Mkg/Nh/0BVnBU6GrHbLMYjRiNLi5RWJo4oTmzNNLdUNrVm\r\nYEFkjdVOYrejMU9P8hQq/8SmdpkFAVfUUx82SqNQXRWtyhP7PzTi5B36l7GB\r\ngYw1TjIW+OoVr6ORJKNn8ts7DoTpr/9yD0bYObGtAPgd/PQTAgG+MkgrmnCw\r\nv3Taj8At3s/rElJmthENM2Ae/LXq5wMCNdJ8bsQQHQ+CBKoqijeLN+C/4TuK\r\nX+qNPKJJMEIcK83o5rVPr1iAoYZD91vN1z4=\r\n=Bjrb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCZffRZMMQ+S4UTkXBmmwgyxU4Kttxc22YqxhvHE4Z6mAIhALVppimBryfItSsvT3C+uzMHneNaXSXw2V8jSu25gIPe"}]},"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"maintainers":[{"name":"scotthovestadt","email":"scott.hovestadt@gmail.com"},{"name":"rubennorte","email":"rubennorte@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"aaronabramov","email":"aaron@abramov.io"},{"name":"davidzilburg","email":"davidzilburg@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_28.0.0-alpha.6_1646123544624_0.9019228269614104"},"_hasShrinkwrap":false},"28.0.0-alpha.7":{"name":"jest-diff","version":"28.0.0-alpha.7","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"./build/index.js","types":"./build/index.d.ts","exports":{".":{"types":"./build/index.d.ts","default":"./build/index.js"},"./package.json":"./package.json"},"dependencies":{"chalk":"^4.0.0","diff-sequences":"^28.0.0-alpha.6","jest-get-type":"^28.0.0-alpha.3","pretty-format":"^28.0.0-alpha.7"},"devDependencies":{"@jest/test-utils":"^28.0.0-alpha.7","strip-ansi":"^6.0.0"},"engines":{"node":"^12.13.0 || ^14.15.0 || ^16.13.0 || >=17.0.0"},"publishConfig":{"access":"public"},"gitHead":"06f58f8ca70abc9c09d554967935b58ce85c48d6","readme":"# jest-diff\n\nDisplay differences clearly so people can review changes confidently.\n\nThe `diff` named export serializes JavaScript **values**, compares them line-by-line, and returns a string which includes comparison lines.\n\nTwo named exports compare **strings** character-by-character:\n\n- `diffStringsUnified` returns a string.\n- `diffStringsRaw` returns an array of `Diff` objects.\n\nThree named exports compare **arrays of strings** line-by-line:\n\n- `diffLinesUnified` and `diffLinesUnified2` return a string.\n- `diffLinesRaw` returns an array of `Diff` objects.\n\n## Installation\n\nTo add this package as a dependency of a project, run either of the following commands:\n\n- `npm install jest-diff`\n- `yarn add jest-diff`\n\n## Usage of `diff()`\n\nGiven JavaScript **values**, `diff(a, b, options?)` does the following:\n\n1. **serialize** the values as strings using the `pretty-format` package\n2. **compare** the strings line-by-line using the `diff-sequences` package\n3. **format** the changed or common lines using the `chalk` package\n\nTo use this function, write either of the following:\n\n- `const {diff} = require('jest-diff');` in CommonJS modules\n- `import {diff} from 'jest-diff';` in ECMAScript modules\n\n### Example of `diff()`\n\n```js\nconst a = ['delete', 'common', 'changed from'];\nconst b = ['common', 'changed to', 'insert'];\n\nconst difference = diff(a, b);\n```\n\nThe returned **string** consists of:\n\n- annotation lines: describe the two change indicators with labels, and a blank line\n- comparison lines: similar to “unified” view on GitHub, but `Expected` lines are green, `Received` lines are red, and common lines are dim (by default, see Options)\n\n```diff\n- Expected\n+ Received\n\n  Array [\n-   \"delete\",\n    \"common\",\n-   \"changed from\",\n+   \"changed to\",\n+   \"insert\",\n  ]\n```\n\n### Edge cases of `diff()`\n\nHere are edge cases for the return value:\n\n- `' Comparing two different types of values. …'` if the arguments have **different types** according to the `jest-get-type` package (instances of different classes have the same `'object'` type)\n- `'Compared values have no visual difference.'` if the arguments have either **referential identity** according to `Object.is` method or **same serialization** according to the `pretty-format` package\n- `null` if either argument is a so-called **asymmetric matcher** in Jasmine or Jest\n\n## Usage of diffStringsUnified\n\nGiven **strings**, `diffStringsUnified(a, b, options?)` does the following:\n\n1. **compare** the strings character-by-character using the `diff-sequences` package\n2. **clean up** small (often coincidental) common substrings, also known as chaff\n3. **format** the changed or common lines using the `chalk` package\n\nAlthough the function is mainly for **multiline** strings, it compares any strings.\n\nWrite either of the following:\n\n- `const {diffStringsUnified} = require('jest-diff');` in CommonJS modules\n- `import {diffStringsUnified} from 'jest-diff';` in ECMAScript modules\n\n### Example of diffStringsUnified\n\n```js\nconst a = 'common\\nchanged from';\nconst b = 'common\\nchanged to';\n\nconst difference = diffStringsUnified(a, b);\n```\n\nThe returned **string** consists of:\n\n- annotation lines: describe the two change indicators with labels, and a blank line\n- comparison lines: similar to “unified” view on GitHub, and **changed substrings** have **inverse** foreground and background colors (that is, `from` has white-on-green and `to` has white-on-red, which the following example does not show)\n\n```diff\n- Expected\n+ Received\n\n  common\n- changed from\n+ changed to\n```\n\n### Performance of diffStringsUnified\n\nTo get the benefit of **changed substrings** within the comparison lines, a character-by-character comparison has a higher computational cost (in time and space) than a line-by-line comparison.\n\nIf the input strings can have **arbitrary length**, we recommend that the calling code set a limit, beyond which splits the strings, and then calls `diffLinesUnified` instead. For example, Jest falls back to line-by-line comparison if either string has length greater than 20K characters.\n\n## Usage of diffLinesUnified\n\nGiven **arrays of strings**, `diffLinesUnified(aLines, bLines, options?)` does the following:\n\n1. **compare** the arrays line-by-line using the `diff-sequences` package\n2. **format** the changed or common lines using the `chalk` package\n\nYou might call this function when strings have been split into lines and you do not need to see changed substrings within lines.\n\n### Example of diffLinesUnified\n\n```js\nconst aLines = ['delete', 'common', 'changed from'];\nconst bLines = ['common', 'changed to', 'insert'];\n\nconst difference = diffLinesUnified(aLines, bLines);\n```\n\n```diff\n- Expected\n+ Received\n\n- delete\n  common\n- changed from\n+ changed to\n+ insert\n```\n\n### Edge cases of diffLinesUnified or diffStringsUnified\n\nHere are edge cases for arguments and return values:\n\n- both `a` and `b` are empty strings: no comparison lines\n- only `a` is empty string: all comparison lines have `bColor` and `bIndicator` (see Options)\n- only `b` is empty string: all comparison lines have `aColor` and `aIndicator` (see Options)\n- `a` and `b` are equal non-empty strings: all comparison lines have `commonColor` and `commonIndicator` (see Options)\n\n## Usage of diffLinesUnified2\n\nGiven two **pairs** of arrays of strings, `diffLinesUnified2(aLinesDisplay, bLinesDisplay, aLinesCompare, bLinesCompare, options?)` does the following:\n\n1. **compare** the pair of `Compare` arrays line-by-line using the `diff-sequences` package\n2. **format** the corresponding lines in the pair of `Display` arrays using the `chalk` package\n\nJest calls this function to consider lines as common instead of changed if the only difference is indentation.\n\nYou might call this function for case insensitive or Unicode equivalence comparison of lines.\n\n### Example of diffLinesUnified2\n\n```js\nimport {format} from 'pretty-format';\n\nconst a = {\n  text: 'Ignore indentation in serialized object',\n  time: '2019-09-19T12:34:56.000Z',\n  type: 'CREATE_ITEM',\n};\nconst b = {\n  payload: {\n    text: 'Ignore indentation in serialized object',\n    time: '2019-09-19T12:34:56.000Z',\n  },\n  type: 'CREATE_ITEM',\n};\n\nconst difference = diffLinesUnified2(\n  // serialize with indentation to display lines\n  format(a).split('\\n'),\n  format(b).split('\\n'),\n  // serialize without indentation to compare lines\n  format(a, {indent: 0}).split('\\n'),\n  format(b, {indent: 0}).split('\\n'),\n);\n```\n\nThe `text` and `time` properties are common, because their only difference is indentation:\n\n```diff\n- Expected\n+ Received\n\n  Object {\n+   payload: Object {\n      text: 'Ignore indentation in serialized object',\n      time: '2019-09-19T12:34:56.000Z',\n+   },\n    type: 'CREATE_ITEM',\n  }\n```\n\nThe preceding example illustrates why (at least for indentation) it seems more intuitive that the function returns the common line from the `bLinesDisplay` array instead of from the `aLinesDisplay` array.\n\n## Usage of diffStringsRaw\n\nGiven **strings** and a boolean option, `diffStringsRaw(a, b, cleanup)` does the following:\n\n1. **compare** the strings character-by-character using the `diff-sequences` package\n2. optionally **clean up** small (often coincidental) common substrings, also known as chaff\n\nBecause `diffStringsRaw` returns the difference as **data** instead of a string, you can format it as your application requires (for example, enclosed in HTML markup for browser instead of escape sequences for console).\n\nThe returned **array** describes substrings as instances of the `Diff` class, which calling code can access like array tuples:\n\nThe value at index `0` is one of the following:\n\n| value | named export  | description           |\n| ----: | :------------ | :-------------------- |\n|   `0` | `DIFF_EQUAL`  | in `a` and in `b`     |\n|  `-1` | `DIFF_DELETE` | in `a` but not in `b` |\n|   `1` | `DIFF_INSERT` | in `b` but not in `a` |\n\nThe value at index `1` is a substring of `a` or `b` or both.\n\n### Example of diffStringsRaw with cleanup\n\n```js\nconst diffs = diffStringsRaw('changed from', 'changed to', true);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `0` | `'changed '`  |\n| `1` |          `-1` | `'from'`      |\n| `2` |           `1` | `'to'`        |\n\n### Example of diffStringsRaw without cleanup\n\n```js\nconst diffs = diffStringsRaw('changed from', 'changed to', false);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `0` | `'changed '`  |\n| `1` |          `-1` | `'fr'`        |\n| `2` |           `1` | `'t'`         |\n| `3` |           `0` | `'o'`         |\n| `4` |          `-1` | `'m'`         |\n\n### Advanced import for diffStringsRaw\n\nHere are all the named imports that you might need for the `diffStringsRaw` function:\n\n- `const {DIFF_DELETE, DIFF_EQUAL, DIFF_INSERT, Diff, diffStringsRaw} = require('jest-diff');` in CommonJS modules\n- `import {DIFF_DELETE, DIFF_EQUAL, DIFF_INSERT, Diff, diffStringsRaw} from 'jest-diff';` in ECMAScript modules\n\nTo write a **formatting** function, you might need the named constants (and `Diff` in TypeScript annotations).\n\nIf you write an application-specific **cleanup** algorithm, then you might need to call the `Diff` constructor:\n\n```js\nconst diffCommon = new Diff(DIFF_EQUAL, 'changed ');\nconst diffDelete = new Diff(DIFF_DELETE, 'from');\nconst diffInsert = new Diff(DIFF_INSERT, 'to');\n```\n\n## Usage of diffLinesRaw\n\nGiven **arrays of strings**, `diffLinesRaw(aLines, bLines)` does the following:\n\n- **compare** the arrays line-by-line using the `diff-sequences` package\n\nBecause `diffLinesRaw` returns the difference as **data** instead of a string, you can format it as your application requires.\n\n### Example of diffLinesRaw\n\n```js\nconst aLines = ['delete', 'common', 'changed from'];\nconst bLines = ['common', 'changed to', 'insert'];\n\nconst diffs = diffLinesRaw(aLines, bLines);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]`    |\n| --: | ------------: | :--------------- |\n| `0` |          `-1` | `'delete'`       |\n| `1` |           `0` | `'common'`       |\n| `2` |          `-1` | `'changed from'` |\n| `3` |           `1` | `'changed to'`   |\n| `4` |           `1` | `'insert'`       |\n\n### Edge case of diffLinesRaw\n\nIf you call `string.split('\\n')` for an empty string:\n\n- the result is `['']` an array which contains an empty string\n- instead of `[]` an empty array\n\nDepending of your application, you might call `diffLinesRaw` with either array.\n\n### Example of split method\n\n```js\nimport {diffLinesRaw} from 'jest-diff';\n\nconst a = 'non-empty string';\nconst b = '';\n\nconst diffs = diffLinesRaw(a.split('\\n'), b.split('\\n'));\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]`        |\n| --: | ------------: | :------------------- |\n| `0` |          `-1` | `'non-empty string'` |\n| `1` |           `1` | `''`                 |\n\nWhich you might format as follows:\n\n```diff\n- Expected  - 1\n+ Received  + 1\n\n- non-empty string\n+\n```\n\n### Example of splitLines0 function\n\nFor edge case behavior like the `diffLinesUnified` function, you might define a `splitLines0` function, which given an empty string, returns `[]` an empty array:\n\n```js\nexport const splitLines0 = string =>\n  string.length === 0 ? [] : string.split('\\n');\n```\n\n```js\nimport {diffLinesRaw} from 'jest-diff';\n\nconst a = '';\nconst b = 'line 1\\nline 2\\nline 3';\n\nconst diffs = diffLinesRaw(a.split('\\n'), b.split('\\n'));\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `1` | `'line 1'`    |\n| `1` |           `1` | `'line 2'`    |\n| `2` |           `1` | `'line 3'`    |\n\nWhich you might format as follows:\n\n```diff\n- Expected  - 0\n+ Received  + 3\n\n+ line 1\n+ line 2\n+ line 3\n```\n\nIn contrast to the `diffLinesRaw` function, the `diffLinesUnified` and `diffLinesUnified2` functions **automatically** convert array arguments computed by string `split` method, so callers do **not** need a `splitLine0` function.\n\n## Options\n\nThe default options are for the report when an assertion fails from the `expect` package used by Jest.\n\nFor other applications, you can provide an options object as a third argument:\n\n- `diff(a, b, options)`\n- `diffStringsUnified(a, b, options)`\n- `diffLinesUnified(aLines, bLines, options)`\n- `diffLinesUnified2(aLinesDisplay, bLinesDisplay, aLinesCompare, bLinesCompare, options)`\n\n### Properties of options object\n\n| name                              | default            |\n| :-------------------------------- | :----------------- |\n| `aAnnotation`                     | `'Expected'`       |\n| `aColor`                          | `chalk.green`      |\n| `aIndicator`                      | `'-'`              |\n| `bAnnotation`                     | `'Received'`       |\n| `bColor`                          | `chalk.red`        |\n| `bIndicator`                      | `'+'`              |\n| `changeColor`                     | `chalk.inverse`    |\n| `changeLineTrailingSpaceColor`    | `string => string` |\n| `commonColor`                     | `chalk.dim`        |\n| `commonIndicator`                 | `' '`              |\n| `commonLineTrailingSpaceColor`    | `string => string` |\n| `compareKeys`                     | `undefined`        |\n| `contextLines`                    | `5`                |\n| `emptyFirstOrLastLinePlaceholder` | `''`               |\n| `expand`                          | `true`             |\n| `includeChangeCounts`             | `false`            |\n| `omitAnnotationLines`             | `false`            |\n| `patchColor`                      | `chalk.yellow`     |\n\nFor more information about the options, see the following examples.\n\n### Example of options for labels\n\nIf the application is code modification, you might replace the labels:\n\n```js\nconst options = {\n  aAnnotation: 'Original',\n  bAnnotation: 'Modified',\n};\n```\n\n```diff\n- Original\n+ Modified\n\n  common\n- changed from\n+ changed to\n```\n\nThe `jest-diff` package does not assume that the 2 labels have equal length.\n\n### Example of options for colors of changed lines\n\nFor consistency with most diff tools, you might exchange the colors:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  aColor: chalk.red,\n  bColor: chalk.green,\n};\n```\n\n### Example of option for color of changed substrings\n\nAlthough the default inverse of foreground and background colors is hard to beat for changed substrings **within lines**, especially because it highlights spaces, if you want bold font weight on yellow background color:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  changeColor: chalk.bold.bgYellowBright,\n};\n```\n\n### Example of option to format trailing spaces\n\nBecause `diff()` does not display substring differences within lines, formatting can help you see when lines differ by the presence or absence of trailing spaces found by `/\\s+$/` regular expression.\n\n- If change lines have a background color, then you can see trailing spaces.\n- If common lines have default dim color, then you cannot see trailing spaces. You might want yellowish background color to see them.\n\n```js\nconst options = {\n  aColor: chalk.rgb(128, 0, 128).bgRgb(255, 215, 255), // magenta\n  bColor: chalk.rgb(0, 95, 0).bgRgb(215, 255, 215), // green\n  commonLineTrailingSpaceColor: chalk.bgYellow,\n};\n```\n\nThe value of a Color option is a function, which given a string, returns a string.\n\nIf you want to replace trailing spaces with middle dot characters:\n\n```js\nconst replaceSpacesWithMiddleDot = string => '·'.repeat(string.length);\n\nconst options = {\n  changeLineTrailingSpaceColor: replaceSpacesWithMiddleDot,\n  commonLineTrailingSpaceColor: replaceSpacesWithMiddleDot,\n};\n```\n\nIf you need the TypeScript type of a Color option:\n\n```ts\nimport {DiffOptionsColor} from 'jest-diff';\n```\n\n### Example of options for no colors\n\nTo store the difference in a file without escape codes for colors, provide an identity function:\n\n```js\nconst noColor = string => string;\n\nconst options = {\n  aColor: noColor,\n  bColor: noColor,\n  changeColor: noColor,\n  commonColor: noColor,\n  patchColor: noColor,\n};\n```\n\n### Example of options for indicators\n\nFor consistency with the `diff` command, you might replace the indicators:\n\n```js\nconst options = {\n  aIndicator: '<',\n  bIndicator: '>',\n};\n```\n\nThe `jest-diff` package assumes (but does not enforce) that the 3 indicators have equal length.\n\n### Example of options to limit common lines\n\nBy default, the output includes all common lines.\n\nTo emphasize the changes, you might limit the number of common “context” lines:\n\n```js\nconst options = {\n  contextLines: 1,\n  expand: false,\n};\n```\n\nA patch mark like `@@ -12,7 +12,9 @@` accounts for omitted common lines.\n\n### Example of option for color of patch marks\n\nIf you want patch marks to have the same dim color as common lines:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  expand: false,\n  patchColor: chalk.dim,\n};\n```\n\n### Example of option to include change counts\n\nTo display the number of changed lines at the right of annotation lines:\n\n```js\nconst a = ['common', 'changed from'];\nconst b = ['common', 'changed to', 'insert'];\n\nconst options = {\n  includeChangeCounts: true,\n};\n\nconst difference = diff(a, b, options);\n```\n\n```diff\n- Expected  - 1\n+ Received  + 2\n\n  Array [\n    \"common\",\n-   \"changed from\",\n+   \"changed to\",\n+   \"insert\",\n  ]\n```\n\n### Example of option to omit annotation lines\n\nTo display only the comparison lines:\n\n```js\nconst a = 'common\\nchanged from';\nconst b = 'common\\nchanged to';\n\nconst options = {\n  omitAnnotationLines: true,\n};\n\nconst difference = diffStringsUnified(a, b, options);\n```\n\n```diff\n  common\n- changed from\n+ changed to\n```\n\n### Example of option for empty first or last lines\n\nIf the **first** or **last** comparison line is **empty**, because the content is empty and the indicator is a space, you might not notice it.\n\nThe replacement option is a string whose default value is `''` empty string.\n\nBecause Jest trims the report when a matcher fails, it deletes an empty last line.\n\nTherefore, Jest uses as placeholder the downwards arrow with corner leftwards:\n\n```js\nconst options = {\n  emptyFirstOrLastLinePlaceholder: '↵', // U+21B5\n};\n```\n\nIf a content line is empty, then the corresponding comparison line is automatically trimmed to remove the margin space (represented as a middle dot below) for the default indicators:\n\n|         Indicator | untrimmed | trimmed |\n| ----------------: | :-------- | :------ |\n|      `aIndicator` | `'-·'`    | `'-'`   |\n|      `bIndicator` | `'+·'`    | `'+'`   |\n| `commonIndicator` | `' ·'`    | `''`    |\n\n### Example of option for sorting object keys\n\nWhen two objects are compared their keys are printed in alphabetical order by default. If this was not the original order of the keys the diff becomes harder to read as the keys are not in their original position.\n\nUse `compareKeys` to pass a function which will be used when sorting the object keys.\n\n```js\nconst a = {c: 'c', b: 'b1', a: 'a'};\nconst b = {c: 'c', b: 'b2', a: 'a'};\n\nconst options = {\n  // The keys will be in their original order\n  compareKeys: () => 0,\n};\n\nconst difference = diff(a, b, options);\n```\n\n```diff\n- Expected\n+ Received\n\n  Object {\n    \"c\": \"c\",\n-   \"b\": \"b1\",\n+   \"b\": \"b2\",\n    \"a\": \"a\",\n  }\n```\n\nDepending on the implementation of `compareKeys` any sort order can be used.\n\n```js\nconst a = {c: 'c', b: 'b1', a: 'a'};\nconst b = {c: 'c', b: 'b2', a: 'a'};\n\nconst options = {\n  // The keys will be in reverse order\n  compareKeys: (a, b) => (a > b ? -1 : 1),\n};\n\nconst difference = diff(a, b, options);\n```\n\n```diff\n- Expected\n+ Received\n\n  Object {\n    \"a\": \"a\",\n-   \"b\": \"b1\",\n+   \"b\": \"b2\",\n    \"c\": \"c\",\n  }\n```\n","readmeFilename":"README.md","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@28.0.0-alpha.7","_nodeVersion":"16.14.0","_npmVersion":"lerna/4.0.0/node@v16.14.0+x64 (darwin)","dist":{"integrity":"sha512-OnG0PXwy/rMs0tpVig2DB7P9CteMjNpKssCjUxsaYQsd73rshQ1tFGZOLRgzltDA00YezQ2iQFt6vEBMi2uH6Q==","shasum":"c289d770514b57ca37b5d4c682a31c469b0c45fa","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-28.0.0-alpha.7.tgz","fileCount":14,"unpackedSize":78628,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiJIbBACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo5wg/7BpBOLlJZS5LGZx9Gygk/FIohUq2CpcBC7A1twLOXjDrKvXc3\r\nZCU0H73hpHvb2YLAS/X4g78u8HPYJiC7ImpGBBiNl7vMf0CI3OJz+K/SMktm\r\nlk5dq53WJ1xKTIQCtazLbRahDs9hFTKdle1vL5YncTF8GqEcYBS/rVCVa3/f\r\nSjZ/iKWcjlv8hiGwIOkr9Vwwdpk4E9/SIEsO6zNPK8NNavhYzU4uTFf9gbVu\r\nJujvn+jVLxmzUxIeFDW3MwoXxsbw57hVYb7rkxXtVAHv9ut9sIBHbBURlz6N\r\nXYXMDv7+VxOHuqt/BSAq+ly06hR+zp51vwPy1XLl63i74/T8/InM5dgtzTXD\r\nvGhp0DqvTJ3DplbofjqBZVPbzSjdQnDoRIR7OtmntlbI20/VRV6yusIpRh4U\r\nvAuY8N4+fc3IsnqnRR6WgHUXz37sWdAExeA0NmswleqmAFZwC0WcPs5h3M2B\r\nvNLGeFwcki3HR8GL3mW3i2TzB5GuYw8BF6UVvxnSf8T8EH55H6Jcoy2DSQWB\r\n4C1IuonaJMglPVyyy8Oc9Fo77dJQRWETDMzLR6awYu4Ahoo/5epRqsU0Yo7U\r\nhCf+9fgijZCPfCqZJxl8y5tQru4s0bILdhkwxs5/ScdOp3+5tBXybnRq/co3\r\nr4GAMr8xFiiE7GAihkvBxiWUofEH+XGI3i0=\r\n=lfXy\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCv/QxmDBXt5hHrW1XfrecnYK300mN5VDElzyRqRUMZ/AIgbEvwf6z8z6mRTRvU3YiN6pWhiulZ9KkQO6Isqh/wfM0="}]},"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"maintainers":[{"name":"scotthovestadt","email":"scott.hovestadt@gmail.com"},{"name":"rubennorte","email":"rubennorte@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"aaronabramov","email":"aaron@abramov.io"},{"name":"davidzilburg","email":"davidzilburg@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_28.0.0-alpha.7_1646560961090_0.1217811109614324"},"_hasShrinkwrap":false},"28.0.0-alpha.8":{"name":"jest-diff","version":"28.0.0-alpha.8","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"./build/index.js","types":"./build/index.d.ts","exports":{".":{"types":"./build/index.d.ts","default":"./build/index.js"},"./package.json":"./package.json"},"dependencies":{"chalk":"^4.0.0","diff-sequences":"^28.0.0-alpha.6","jest-get-type":"^28.0.0-alpha.3","pretty-format":"^28.0.0-alpha.8"},"devDependencies":{"@jest/test-utils":"^28.0.0-alpha.8","strip-ansi":"^6.0.0"},"engines":{"node":"^12.13.0 || ^14.15.0 || ^16.13.0 || >=17.0.0"},"publishConfig":{"access":"public"},"gitHead":"d915e7df92b220dbe6e124585ba6459838a6c41c","readme":"# jest-diff\n\nDisplay differences clearly so people can review changes confidently.\n\nThe `diff` named export serializes JavaScript **values**, compares them line-by-line, and returns a string which includes comparison lines.\n\nTwo named exports compare **strings** character-by-character:\n\n- `diffStringsUnified` returns a string.\n- `diffStringsRaw` returns an array of `Diff` objects.\n\nThree named exports compare **arrays of strings** line-by-line:\n\n- `diffLinesUnified` and `diffLinesUnified2` return a string.\n- `diffLinesRaw` returns an array of `Diff` objects.\n\n## Installation\n\nTo add this package as a dependency of a project, run either of the following commands:\n\n- `npm install jest-diff`\n- `yarn add jest-diff`\n\n## Usage of `diff()`\n\nGiven JavaScript **values**, `diff(a, b, options?)` does the following:\n\n1. **serialize** the values as strings using the `pretty-format` package\n2. **compare** the strings line-by-line using the `diff-sequences` package\n3. **format** the changed or common lines using the `chalk` package\n\nTo use this function, write either of the following:\n\n- `const {diff} = require('jest-diff');` in CommonJS modules\n- `import {diff} from 'jest-diff';` in ECMAScript modules\n\n### Example of `diff()`\n\n```js\nconst a = ['delete', 'common', 'changed from'];\nconst b = ['common', 'changed to', 'insert'];\n\nconst difference = diff(a, b);\n```\n\nThe returned **string** consists of:\n\n- annotation lines: describe the two change indicators with labels, and a blank line\n- comparison lines: similar to “unified” view on GitHub, but `Expected` lines are green, `Received` lines are red, and common lines are dim (by default, see Options)\n\n```diff\n- Expected\n+ Received\n\n  Array [\n-   \"delete\",\n    \"common\",\n-   \"changed from\",\n+   \"changed to\",\n+   \"insert\",\n  ]\n```\n\n### Edge cases of `diff()`\n\nHere are edge cases for the return value:\n\n- `' Comparing two different types of values. …'` if the arguments have **different types** according to the `jest-get-type` package (instances of different classes have the same `'object'` type)\n- `'Compared values have no visual difference.'` if the arguments have either **referential identity** according to `Object.is` method or **same serialization** according to the `pretty-format` package\n- `null` if either argument is a so-called **asymmetric matcher** in Jasmine or Jest\n\n## Usage of diffStringsUnified\n\nGiven **strings**, `diffStringsUnified(a, b, options?)` does the following:\n\n1. **compare** the strings character-by-character using the `diff-sequences` package\n2. **clean up** small (often coincidental) common substrings, also known as chaff\n3. **format** the changed or common lines using the `chalk` package\n\nAlthough the function is mainly for **multiline** strings, it compares any strings.\n\nWrite either of the following:\n\n- `const {diffStringsUnified} = require('jest-diff');` in CommonJS modules\n- `import {diffStringsUnified} from 'jest-diff';` in ECMAScript modules\n\n### Example of diffStringsUnified\n\n```js\nconst a = 'common\\nchanged from';\nconst b = 'common\\nchanged to';\n\nconst difference = diffStringsUnified(a, b);\n```\n\nThe returned **string** consists of:\n\n- annotation lines: describe the two change indicators with labels, and a blank line\n- comparison lines: similar to “unified” view on GitHub, and **changed substrings** have **inverse** foreground and background colors (that is, `from` has white-on-green and `to` has white-on-red, which the following example does not show)\n\n```diff\n- Expected\n+ Received\n\n  common\n- changed from\n+ changed to\n```\n\n### Performance of diffStringsUnified\n\nTo get the benefit of **changed substrings** within the comparison lines, a character-by-character comparison has a higher computational cost (in time and space) than a line-by-line comparison.\n\nIf the input strings can have **arbitrary length**, we recommend that the calling code set a limit, beyond which splits the strings, and then calls `diffLinesUnified` instead. For example, Jest falls back to line-by-line comparison if either string has length greater than 20K characters.\n\n## Usage of diffLinesUnified\n\nGiven **arrays of strings**, `diffLinesUnified(aLines, bLines, options?)` does the following:\n\n1. **compare** the arrays line-by-line using the `diff-sequences` package\n2. **format** the changed or common lines using the `chalk` package\n\nYou might call this function when strings have been split into lines and you do not need to see changed substrings within lines.\n\n### Example of diffLinesUnified\n\n```js\nconst aLines = ['delete', 'common', 'changed from'];\nconst bLines = ['common', 'changed to', 'insert'];\n\nconst difference = diffLinesUnified(aLines, bLines);\n```\n\n```diff\n- Expected\n+ Received\n\n- delete\n  common\n- changed from\n+ changed to\n+ insert\n```\n\n### Edge cases of diffLinesUnified or diffStringsUnified\n\nHere are edge cases for arguments and return values:\n\n- both `a` and `b` are empty strings: no comparison lines\n- only `a` is empty string: all comparison lines have `bColor` and `bIndicator` (see Options)\n- only `b` is empty string: all comparison lines have `aColor` and `aIndicator` (see Options)\n- `a` and `b` are equal non-empty strings: all comparison lines have `commonColor` and `commonIndicator` (see Options)\n\n## Usage of diffLinesUnified2\n\nGiven two **pairs** of arrays of strings, `diffLinesUnified2(aLinesDisplay, bLinesDisplay, aLinesCompare, bLinesCompare, options?)` does the following:\n\n1. **compare** the pair of `Compare` arrays line-by-line using the `diff-sequences` package\n2. **format** the corresponding lines in the pair of `Display` arrays using the `chalk` package\n\nJest calls this function to consider lines as common instead of changed if the only difference is indentation.\n\nYou might call this function for case insensitive or Unicode equivalence comparison of lines.\n\n### Example of diffLinesUnified2\n\n```js\nimport {format} from 'pretty-format';\n\nconst a = {\n  text: 'Ignore indentation in serialized object',\n  time: '2019-09-19T12:34:56.000Z',\n  type: 'CREATE_ITEM',\n};\nconst b = {\n  payload: {\n    text: 'Ignore indentation in serialized object',\n    time: '2019-09-19T12:34:56.000Z',\n  },\n  type: 'CREATE_ITEM',\n};\n\nconst difference = diffLinesUnified2(\n  // serialize with indentation to display lines\n  format(a).split('\\n'),\n  format(b).split('\\n'),\n  // serialize without indentation to compare lines\n  format(a, {indent: 0}).split('\\n'),\n  format(b, {indent: 0}).split('\\n'),\n);\n```\n\nThe `text` and `time` properties are common, because their only difference is indentation:\n\n```diff\n- Expected\n+ Received\n\n  Object {\n+   payload: Object {\n      text: 'Ignore indentation in serialized object',\n      time: '2019-09-19T12:34:56.000Z',\n+   },\n    type: 'CREATE_ITEM',\n  }\n```\n\nThe preceding example illustrates why (at least for indentation) it seems more intuitive that the function returns the common line from the `bLinesDisplay` array instead of from the `aLinesDisplay` array.\n\n## Usage of diffStringsRaw\n\nGiven **strings** and a boolean option, `diffStringsRaw(a, b, cleanup)` does the following:\n\n1. **compare** the strings character-by-character using the `diff-sequences` package\n2. optionally **clean up** small (often coincidental) common substrings, also known as chaff\n\nBecause `diffStringsRaw` returns the difference as **data** instead of a string, you can format it as your application requires (for example, enclosed in HTML markup for browser instead of escape sequences for console).\n\nThe returned **array** describes substrings as instances of the `Diff` class, which calling code can access like array tuples:\n\nThe value at index `0` is one of the following:\n\n| value | named export  | description           |\n| ----: | :------------ | :-------------------- |\n|   `0` | `DIFF_EQUAL`  | in `a` and in `b`     |\n|  `-1` | `DIFF_DELETE` | in `a` but not in `b` |\n|   `1` | `DIFF_INSERT` | in `b` but not in `a` |\n\nThe value at index `1` is a substring of `a` or `b` or both.\n\n### Example of diffStringsRaw with cleanup\n\n```js\nconst diffs = diffStringsRaw('changed from', 'changed to', true);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `0` | `'changed '`  |\n| `1` |          `-1` | `'from'`      |\n| `2` |           `1` | `'to'`        |\n\n### Example of diffStringsRaw without cleanup\n\n```js\nconst diffs = diffStringsRaw('changed from', 'changed to', false);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `0` | `'changed '`  |\n| `1` |          `-1` | `'fr'`        |\n| `2` |           `1` | `'t'`         |\n| `3` |           `0` | `'o'`         |\n| `4` |          `-1` | `'m'`         |\n\n### Advanced import for diffStringsRaw\n\nHere are all the named imports that you might need for the `diffStringsRaw` function:\n\n- `const {DIFF_DELETE, DIFF_EQUAL, DIFF_INSERT, Diff, diffStringsRaw} = require('jest-diff');` in CommonJS modules\n- `import {DIFF_DELETE, DIFF_EQUAL, DIFF_INSERT, Diff, diffStringsRaw} from 'jest-diff';` in ECMAScript modules\n\nTo write a **formatting** function, you might need the named constants (and `Diff` in TypeScript annotations).\n\nIf you write an application-specific **cleanup** algorithm, then you might need to call the `Diff` constructor:\n\n```js\nconst diffCommon = new Diff(DIFF_EQUAL, 'changed ');\nconst diffDelete = new Diff(DIFF_DELETE, 'from');\nconst diffInsert = new Diff(DIFF_INSERT, 'to');\n```\n\n## Usage of diffLinesRaw\n\nGiven **arrays of strings**, `diffLinesRaw(aLines, bLines)` does the following:\n\n- **compare** the arrays line-by-line using the `diff-sequences` package\n\nBecause `diffLinesRaw` returns the difference as **data** instead of a string, you can format it as your application requires.\n\n### Example of diffLinesRaw\n\n```js\nconst aLines = ['delete', 'common', 'changed from'];\nconst bLines = ['common', 'changed to', 'insert'];\n\nconst diffs = diffLinesRaw(aLines, bLines);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]`    |\n| --: | ------------: | :--------------- |\n| `0` |          `-1` | `'delete'`       |\n| `1` |           `0` | `'common'`       |\n| `2` |          `-1` | `'changed from'` |\n| `3` |           `1` | `'changed to'`   |\n| `4` |           `1` | `'insert'`       |\n\n### Edge case of diffLinesRaw\n\nIf you call `string.split('\\n')` for an empty string:\n\n- the result is `['']` an array which contains an empty string\n- instead of `[]` an empty array\n\nDepending of your application, you might call `diffLinesRaw` with either array.\n\n### Example of split method\n\n```js\nimport {diffLinesRaw} from 'jest-diff';\n\nconst a = 'non-empty string';\nconst b = '';\n\nconst diffs = diffLinesRaw(a.split('\\n'), b.split('\\n'));\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]`        |\n| --: | ------------: | :------------------- |\n| `0` |          `-1` | `'non-empty string'` |\n| `1` |           `1` | `''`                 |\n\nWhich you might format as follows:\n\n```diff\n- Expected  - 1\n+ Received  + 1\n\n- non-empty string\n+\n```\n\n### Example of splitLines0 function\n\nFor edge case behavior like the `diffLinesUnified` function, you might define a `splitLines0` function, which given an empty string, returns `[]` an empty array:\n\n```js\nexport const splitLines0 = string =>\n  string.length === 0 ? [] : string.split('\\n');\n```\n\n```js\nimport {diffLinesRaw} from 'jest-diff';\n\nconst a = '';\nconst b = 'line 1\\nline 2\\nline 3';\n\nconst diffs = diffLinesRaw(a.split('\\n'), b.split('\\n'));\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `1` | `'line 1'`    |\n| `1` |           `1` | `'line 2'`    |\n| `2` |           `1` | `'line 3'`    |\n\nWhich you might format as follows:\n\n```diff\n- Expected  - 0\n+ Received  + 3\n\n+ line 1\n+ line 2\n+ line 3\n```\n\nIn contrast to the `diffLinesRaw` function, the `diffLinesUnified` and `diffLinesUnified2` functions **automatically** convert array arguments computed by string `split` method, so callers do **not** need a `splitLine0` function.\n\n## Options\n\nThe default options are for the report when an assertion fails from the `expect` package used by Jest.\n\nFor other applications, you can provide an options object as a third argument:\n\n- `diff(a, b, options)`\n- `diffStringsUnified(a, b, options)`\n- `diffLinesUnified(aLines, bLines, options)`\n- `diffLinesUnified2(aLinesDisplay, bLinesDisplay, aLinesCompare, bLinesCompare, options)`\n\n### Properties of options object\n\n| name                              | default            |\n| :-------------------------------- | :----------------- |\n| `aAnnotation`                     | `'Expected'`       |\n| `aColor`                          | `chalk.green`      |\n| `aIndicator`                      | `'-'`              |\n| `bAnnotation`                     | `'Received'`       |\n| `bColor`                          | `chalk.red`        |\n| `bIndicator`                      | `'+'`              |\n| `changeColor`                     | `chalk.inverse`    |\n| `changeLineTrailingSpaceColor`    | `string => string` |\n| `commonColor`                     | `chalk.dim`        |\n| `commonIndicator`                 | `' '`              |\n| `commonLineTrailingSpaceColor`    | `string => string` |\n| `compareKeys`                     | `undefined`        |\n| `contextLines`                    | `5`                |\n| `emptyFirstOrLastLinePlaceholder` | `''`               |\n| `expand`                          | `true`             |\n| `includeChangeCounts`             | `false`            |\n| `omitAnnotationLines`             | `false`            |\n| `patchColor`                      | `chalk.yellow`     |\n\nFor more information about the options, see the following examples.\n\n### Example of options for labels\n\nIf the application is code modification, you might replace the labels:\n\n```js\nconst options = {\n  aAnnotation: 'Original',\n  bAnnotation: 'Modified',\n};\n```\n\n```diff\n- Original\n+ Modified\n\n  common\n- changed from\n+ changed to\n```\n\nThe `jest-diff` package does not assume that the 2 labels have equal length.\n\n### Example of options for colors of changed lines\n\nFor consistency with most diff tools, you might exchange the colors:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  aColor: chalk.red,\n  bColor: chalk.green,\n};\n```\n\n### Example of option for color of changed substrings\n\nAlthough the default inverse of foreground and background colors is hard to beat for changed substrings **within lines**, especially because it highlights spaces, if you want bold font weight on yellow background color:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  changeColor: chalk.bold.bgYellowBright,\n};\n```\n\n### Example of option to format trailing spaces\n\nBecause `diff()` does not display substring differences within lines, formatting can help you see when lines differ by the presence or absence of trailing spaces found by `/\\s+$/` regular expression.\n\n- If change lines have a background color, then you can see trailing spaces.\n- If common lines have default dim color, then you cannot see trailing spaces. You might want yellowish background color to see them.\n\n```js\nconst options = {\n  aColor: chalk.rgb(128, 0, 128).bgRgb(255, 215, 255), // magenta\n  bColor: chalk.rgb(0, 95, 0).bgRgb(215, 255, 215), // green\n  commonLineTrailingSpaceColor: chalk.bgYellow,\n};\n```\n\nThe value of a Color option is a function, which given a string, returns a string.\n\nIf you want to replace trailing spaces with middle dot characters:\n\n```js\nconst replaceSpacesWithMiddleDot = string => '·'.repeat(string.length);\n\nconst options = {\n  changeLineTrailingSpaceColor: replaceSpacesWithMiddleDot,\n  commonLineTrailingSpaceColor: replaceSpacesWithMiddleDot,\n};\n```\n\nIf you need the TypeScript type of a Color option:\n\n```ts\nimport {DiffOptionsColor} from 'jest-diff';\n```\n\n### Example of options for no colors\n\nTo store the difference in a file without escape codes for colors, provide an identity function:\n\n```js\nconst noColor = string => string;\n\nconst options = {\n  aColor: noColor,\n  bColor: noColor,\n  changeColor: noColor,\n  commonColor: noColor,\n  patchColor: noColor,\n};\n```\n\n### Example of options for indicators\n\nFor consistency with the `diff` command, you might replace the indicators:\n\n```js\nconst options = {\n  aIndicator: '<',\n  bIndicator: '>',\n};\n```\n\nThe `jest-diff` package assumes (but does not enforce) that the 3 indicators have equal length.\n\n### Example of options to limit common lines\n\nBy default, the output includes all common lines.\n\nTo emphasize the changes, you might limit the number of common “context” lines:\n\n```js\nconst options = {\n  contextLines: 1,\n  expand: false,\n};\n```\n\nA patch mark like `@@ -12,7 +12,9 @@` accounts for omitted common lines.\n\n### Example of option for color of patch marks\n\nIf you want patch marks to have the same dim color as common lines:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  expand: false,\n  patchColor: chalk.dim,\n};\n```\n\n### Example of option to include change counts\n\nTo display the number of changed lines at the right of annotation lines:\n\n```js\nconst a = ['common', 'changed from'];\nconst b = ['common', 'changed to', 'insert'];\n\nconst options = {\n  includeChangeCounts: true,\n};\n\nconst difference = diff(a, b, options);\n```\n\n```diff\n- Expected  - 1\n+ Received  + 2\n\n  Array [\n    \"common\",\n-   \"changed from\",\n+   \"changed to\",\n+   \"insert\",\n  ]\n```\n\n### Example of option to omit annotation lines\n\nTo display only the comparison lines:\n\n```js\nconst a = 'common\\nchanged from';\nconst b = 'common\\nchanged to';\n\nconst options = {\n  omitAnnotationLines: true,\n};\n\nconst difference = diffStringsUnified(a, b, options);\n```\n\n```diff\n  common\n- changed from\n+ changed to\n```\n\n### Example of option for empty first or last lines\n\nIf the **first** or **last** comparison line is **empty**, because the content is empty and the indicator is a space, you might not notice it.\n\nThe replacement option is a string whose default value is `''` empty string.\n\nBecause Jest trims the report when a matcher fails, it deletes an empty last line.\n\nTherefore, Jest uses as placeholder the downwards arrow with corner leftwards:\n\n```js\nconst options = {\n  emptyFirstOrLastLinePlaceholder: '↵', // U+21B5\n};\n```\n\nIf a content line is empty, then the corresponding comparison line is automatically trimmed to remove the margin space (represented as a middle dot below) for the default indicators:\n\n|         Indicator | untrimmed | trimmed |\n| ----------------: | :-------- | :------ |\n|      `aIndicator` | `'-·'`    | `'-'`   |\n|      `bIndicator` | `'+·'`    | `'+'`   |\n| `commonIndicator` | `' ·'`    | `''`    |\n\n### Example of option for sorting object keys\n\nWhen two objects are compared their keys are printed in alphabetical order by default. If this was not the original order of the keys the diff becomes harder to read as the keys are not in their original position.\n\nUse `compareKeys` to pass a function which will be used when sorting the object keys.\n\n```js\nconst a = {c: 'c', b: 'b1', a: 'a'};\nconst b = {c: 'c', b: 'b2', a: 'a'};\n\nconst options = {\n  // The keys will be in their original order\n  compareKeys: () => 0,\n};\n\nconst difference = diff(a, b, options);\n```\n\n```diff\n- Expected\n+ Received\n\n  Object {\n    \"c\": \"c\",\n-   \"b\": \"b1\",\n+   \"b\": \"b2\",\n    \"a\": \"a\",\n  }\n```\n\nDepending on the implementation of `compareKeys` any sort order can be used.\n\n```js\nconst a = {c: 'c', b: 'b1', a: 'a'};\nconst b = {c: 'c', b: 'b2', a: 'a'};\n\nconst options = {\n  // The keys will be in reverse order\n  compareKeys: (a, b) => (a > b ? -1 : 1),\n};\n\nconst difference = diff(a, b, options);\n```\n\n```diff\n- Expected\n+ Received\n\n  Object {\n    \"a\": \"a\",\n-   \"b\": \"b1\",\n+   \"b\": \"b2\",\n    \"c\": \"c\",\n  }\n```\n","readmeFilename":"README.md","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@28.0.0-alpha.8","_nodeVersion":"16.14.2","_npmVersion":"lerna/4.0.0/node@v16.14.2+x64 (darwin)","dist":{"integrity":"sha512-gBCIbr074dHN5fzGyJxT9VFUrzq3biDWBcXLNE2kha3mwNNgxeoZ7w6YMqtjuS4SnpDzl/mraqpj9huu92nQUA==","shasum":"77e230158d2c6d1386df730918b3acad4ef12971","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-28.0.0-alpha.8.tgz","fileCount":14,"unpackedSize":78628,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC78Jj2W1+qhCuaefqgRKovn2zN8VeirAE7RK/RWrox/AiEAq/bL80Kyu6tiTHsaX/4EKsoAlpUYJl5UeSLXbK1Celw="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiTFlfACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo7cw/8Czk0VkSHv3FUqZ0bOLj/uNJFhzZw3GNJdYMXciIrxVm6KxIr\r\nb9/zaFjSyU8iCiasdvVi6TysXw2ORpQi1xEMLct0YNlSsiGVlnv6yXYFH1HA\r\n48RC1+nEqxEcx79AUeSioJGQLPgZfcr3MUTF7oHMjDJ9udR9sUgjCPclJ0NL\r\nvn+7wsmfEynXVlHDzXsVGrtPz/2ws/HEbq/ovgKRkvzWAlC9lFL+uKNY74Jg\r\nAQOzHbxu2lwQz3mCyJ+9t+DV8+je1uopSa4DTIHxHFw97wKFGQtGkYR4Qof7\r\nyM3IxOzEHH+wy7d2G6h6zSA3AD9lRd2jtjmIv1roaUfDcZizG7n9N1QqNNUp\r\ntMOwuY0UFWI4HncXTSFJiYeV5QBjsO9c2zYD4s6FNRQZg0Deb+Ow6GZ6V0UU\r\nrt6vNbMjPVwB35l/iC41T22Bd6S+PpDibqy2JhbaE6TzetrlQ4mLlUawWZd8\r\n/xOrdy2UQoqh4qa6m3uD4hMrYeSf6Tq1Cc5zYOnzgDr3TN6EauA+46yivIpe\r\nagaic0dpKh+xCpOUzVs0GGaLx5S0eTs7vGQd/NTnjWs3Eaj9Q3UJJGKzNoAP\r\ndP3ev71gPRV0le1VuFouoUWV48QrVSotI9Iw1L1NHGRFZ858lTj2MV02nLFV\r\nYQz5LuISNXyCCATilDs4YGK6Y3w5WS/rK1A=\r\n=fTqD\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"maintainers":[{"name":"scotthovestadt","email":"scott.hovestadt@gmail.com"},{"name":"rubennorte","email":"rubennorte@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"aaronabramov","email":"aaron@abramov.io"},{"name":"davidzilburg","email":"davidzilburg@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_28.0.0-alpha.8_1649170783240_0.4951720910484172"},"_hasShrinkwrap":false},"28.0.0-alpha.9":{"name":"jest-diff","version":"28.0.0-alpha.9","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"./build/index.js","types":"./build/index.d.ts","exports":{".":{"types":"./build/index.d.ts","default":"./build/index.js"},"./package.json":"./package.json"},"dependencies":{"chalk":"^4.0.0","diff-sequences":"^28.0.0-alpha.9","jest-get-type":"^28.0.0-alpha.3","pretty-format":"^28.0.0-alpha.9"},"devDependencies":{"@jest/test-utils":"^28.0.0-alpha.9","strip-ansi":"^6.0.0"},"engines":{"node":"^12.13.0 || ^14.15.0 || ^16.13.0 || >=17.0.0"},"publishConfig":{"access":"public"},"gitHead":"7c63f5981eb20d4b89a4c04f3675e0050d8d7887","readme":"# jest-diff\n\nDisplay differences clearly so people can review changes confidently.\n\nThe `diff` named export serializes JavaScript **values**, compares them line-by-line, and returns a string which includes comparison lines.\n\nTwo named exports compare **strings** character-by-character:\n\n- `diffStringsUnified` returns a string.\n- `diffStringsRaw` returns an array of `Diff` objects.\n\nThree named exports compare **arrays of strings** line-by-line:\n\n- `diffLinesUnified` and `diffLinesUnified2` return a string.\n- `diffLinesRaw` returns an array of `Diff` objects.\n\n## Installation\n\nTo add this package as a dependency of a project, run either of the following commands:\n\n- `npm install jest-diff`\n- `yarn add jest-diff`\n\n## Usage of `diff()`\n\nGiven JavaScript **values**, `diff(a, b, options?)` does the following:\n\n1. **serialize** the values as strings using the `pretty-format` package\n2. **compare** the strings line-by-line using the `diff-sequences` package\n3. **format** the changed or common lines using the `chalk` package\n\nTo use this function, write either of the following:\n\n- `const {diff} = require('jest-diff');` in CommonJS modules\n- `import {diff} from 'jest-diff';` in ECMAScript modules\n\n### Example of `diff()`\n\n```js\nconst a = ['delete', 'common', 'changed from'];\nconst b = ['common', 'changed to', 'insert'];\n\nconst difference = diff(a, b);\n```\n\nThe returned **string** consists of:\n\n- annotation lines: describe the two change indicators with labels, and a blank line\n- comparison lines: similar to “unified” view on GitHub, but `Expected` lines are green, `Received` lines are red, and common lines are dim (by default, see Options)\n\n```diff\n- Expected\n+ Received\n\n  Array [\n-   \"delete\",\n    \"common\",\n-   \"changed from\",\n+   \"changed to\",\n+   \"insert\",\n  ]\n```\n\n### Edge cases of `diff()`\n\nHere are edge cases for the return value:\n\n- `' Comparing two different types of values. …'` if the arguments have **different types** according to the `jest-get-type` package (instances of different classes have the same `'object'` type)\n- `'Compared values have no visual difference.'` if the arguments have either **referential identity** according to `Object.is` method or **same serialization** according to the `pretty-format` package\n- `null` if either argument is a so-called **asymmetric matcher** in Jasmine or Jest\n\n## Usage of diffStringsUnified\n\nGiven **strings**, `diffStringsUnified(a, b, options?)` does the following:\n\n1. **compare** the strings character-by-character using the `diff-sequences` package\n2. **clean up** small (often coincidental) common substrings, also known as chaff\n3. **format** the changed or common lines using the `chalk` package\n\nAlthough the function is mainly for **multiline** strings, it compares any strings.\n\nWrite either of the following:\n\n- `const {diffStringsUnified} = require('jest-diff');` in CommonJS modules\n- `import {diffStringsUnified} from 'jest-diff';` in ECMAScript modules\n\n### Example of diffStringsUnified\n\n```js\nconst a = 'common\\nchanged from';\nconst b = 'common\\nchanged to';\n\nconst difference = diffStringsUnified(a, b);\n```\n\nThe returned **string** consists of:\n\n- annotation lines: describe the two change indicators with labels, and a blank line\n- comparison lines: similar to “unified” view on GitHub, and **changed substrings** have **inverse** foreground and background colors (that is, `from` has white-on-green and `to` has white-on-red, which the following example does not show)\n\n```diff\n- Expected\n+ Received\n\n  common\n- changed from\n+ changed to\n```\n\n### Performance of diffStringsUnified\n\nTo get the benefit of **changed substrings** within the comparison lines, a character-by-character comparison has a higher computational cost (in time and space) than a line-by-line comparison.\n\nIf the input strings can have **arbitrary length**, we recommend that the calling code set a limit, beyond which splits the strings, and then calls `diffLinesUnified` instead. For example, Jest falls back to line-by-line comparison if either string has length greater than 20K characters.\n\n## Usage of diffLinesUnified\n\nGiven **arrays of strings**, `diffLinesUnified(aLines, bLines, options?)` does the following:\n\n1. **compare** the arrays line-by-line using the `diff-sequences` package\n2. **format** the changed or common lines using the `chalk` package\n\nYou might call this function when strings have been split into lines and you do not need to see changed substrings within lines.\n\n### Example of diffLinesUnified\n\n```js\nconst aLines = ['delete', 'common', 'changed from'];\nconst bLines = ['common', 'changed to', 'insert'];\n\nconst difference = diffLinesUnified(aLines, bLines);\n```\n\n```diff\n- Expected\n+ Received\n\n- delete\n  common\n- changed from\n+ changed to\n+ insert\n```\n\n### Edge cases of diffLinesUnified or diffStringsUnified\n\nHere are edge cases for arguments and return values:\n\n- both `a` and `b` are empty strings: no comparison lines\n- only `a` is empty string: all comparison lines have `bColor` and `bIndicator` (see Options)\n- only `b` is empty string: all comparison lines have `aColor` and `aIndicator` (see Options)\n- `a` and `b` are equal non-empty strings: all comparison lines have `commonColor` and `commonIndicator` (see Options)\n\n## Usage of diffLinesUnified2\n\nGiven two **pairs** of arrays of strings, `diffLinesUnified2(aLinesDisplay, bLinesDisplay, aLinesCompare, bLinesCompare, options?)` does the following:\n\n1. **compare** the pair of `Compare` arrays line-by-line using the `diff-sequences` package\n2. **format** the corresponding lines in the pair of `Display` arrays using the `chalk` package\n\nJest calls this function to consider lines as common instead of changed if the only difference is indentation.\n\nYou might call this function for case insensitive or Unicode equivalence comparison of lines.\n\n### Example of diffLinesUnified2\n\n```js\nimport {format} from 'pretty-format';\n\nconst a = {\n  text: 'Ignore indentation in serialized object',\n  time: '2019-09-19T12:34:56.000Z',\n  type: 'CREATE_ITEM',\n};\nconst b = {\n  payload: {\n    text: 'Ignore indentation in serialized object',\n    time: '2019-09-19T12:34:56.000Z',\n  },\n  type: 'CREATE_ITEM',\n};\n\nconst difference = diffLinesUnified2(\n  // serialize with indentation to display lines\n  format(a).split('\\n'),\n  format(b).split('\\n'),\n  // serialize without indentation to compare lines\n  format(a, {indent: 0}).split('\\n'),\n  format(b, {indent: 0}).split('\\n'),\n);\n```\n\nThe `text` and `time` properties are common, because their only difference is indentation:\n\n```diff\n- Expected\n+ Received\n\n  Object {\n+   payload: Object {\n      text: 'Ignore indentation in serialized object',\n      time: '2019-09-19T12:34:56.000Z',\n+   },\n    type: 'CREATE_ITEM',\n  }\n```\n\nThe preceding example illustrates why (at least for indentation) it seems more intuitive that the function returns the common line from the `bLinesDisplay` array instead of from the `aLinesDisplay` array.\n\n## Usage of diffStringsRaw\n\nGiven **strings** and a boolean option, `diffStringsRaw(a, b, cleanup)` does the following:\n\n1. **compare** the strings character-by-character using the `diff-sequences` package\n2. optionally **clean up** small (often coincidental) common substrings, also known as chaff\n\nBecause `diffStringsRaw` returns the difference as **data** instead of a string, you can format it as your application requires (for example, enclosed in HTML markup for browser instead of escape sequences for console).\n\nThe returned **array** describes substrings as instances of the `Diff` class, which calling code can access like array tuples:\n\nThe value at index `0` is one of the following:\n\n| value | named export  | description           |\n| ----: | :------------ | :-------------------- |\n|   `0` | `DIFF_EQUAL`  | in `a` and in `b`     |\n|  `-1` | `DIFF_DELETE` | in `a` but not in `b` |\n|   `1` | `DIFF_INSERT` | in `b` but not in `a` |\n\nThe value at index `1` is a substring of `a` or `b` or both.\n\n### Example of diffStringsRaw with cleanup\n\n```js\nconst diffs = diffStringsRaw('changed from', 'changed to', true);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `0` | `'changed '`  |\n| `1` |          `-1` | `'from'`      |\n| `2` |           `1` | `'to'`        |\n\n### Example of diffStringsRaw without cleanup\n\n```js\nconst diffs = diffStringsRaw('changed from', 'changed to', false);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `0` | `'changed '`  |\n| `1` |          `-1` | `'fr'`        |\n| `2` |           `1` | `'t'`         |\n| `3` |           `0` | `'o'`         |\n| `4` |          `-1` | `'m'`         |\n\n### Advanced import for diffStringsRaw\n\nHere are all the named imports that you might need for the `diffStringsRaw` function:\n\n- `const {DIFF_DELETE, DIFF_EQUAL, DIFF_INSERT, Diff, diffStringsRaw} = require('jest-diff');` in CommonJS modules\n- `import {DIFF_DELETE, DIFF_EQUAL, DIFF_INSERT, Diff, diffStringsRaw} from 'jest-diff';` in ECMAScript modules\n\nTo write a **formatting** function, you might need the named constants (and `Diff` in TypeScript annotations).\n\nIf you write an application-specific **cleanup** algorithm, then you might need to call the `Diff` constructor:\n\n```js\nconst diffCommon = new Diff(DIFF_EQUAL, 'changed ');\nconst diffDelete = new Diff(DIFF_DELETE, 'from');\nconst diffInsert = new Diff(DIFF_INSERT, 'to');\n```\n\n## Usage of diffLinesRaw\n\nGiven **arrays of strings**, `diffLinesRaw(aLines, bLines)` does the following:\n\n- **compare** the arrays line-by-line using the `diff-sequences` package\n\nBecause `diffLinesRaw` returns the difference as **data** instead of a string, you can format it as your application requires.\n\n### Example of diffLinesRaw\n\n```js\nconst aLines = ['delete', 'common', 'changed from'];\nconst bLines = ['common', 'changed to', 'insert'];\n\nconst diffs = diffLinesRaw(aLines, bLines);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]`    |\n| --: | ------------: | :--------------- |\n| `0` |          `-1` | `'delete'`       |\n| `1` |           `0` | `'common'`       |\n| `2` |          `-1` | `'changed from'` |\n| `3` |           `1` | `'changed to'`   |\n| `4` |           `1` | `'insert'`       |\n\n### Edge case of diffLinesRaw\n\nIf you call `string.split('\\n')` for an empty string:\n\n- the result is `['']` an array which contains an empty string\n- instead of `[]` an empty array\n\nDepending of your application, you might call `diffLinesRaw` with either array.\n\n### Example of split method\n\n```js\nimport {diffLinesRaw} from 'jest-diff';\n\nconst a = 'non-empty string';\nconst b = '';\n\nconst diffs = diffLinesRaw(a.split('\\n'), b.split('\\n'));\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]`        |\n| --: | ------------: | :------------------- |\n| `0` |          `-1` | `'non-empty string'` |\n| `1` |           `1` | `''`                 |\n\nWhich you might format as follows:\n\n```diff\n- Expected  - 1\n+ Received  + 1\n\n- non-empty string\n+\n```\n\n### Example of splitLines0 function\n\nFor edge case behavior like the `diffLinesUnified` function, you might define a `splitLines0` function, which given an empty string, returns `[]` an empty array:\n\n```js\nexport const splitLines0 = string =>\n  string.length === 0 ? [] : string.split('\\n');\n```\n\n```js\nimport {diffLinesRaw} from 'jest-diff';\n\nconst a = '';\nconst b = 'line 1\\nline 2\\nline 3';\n\nconst diffs = diffLinesRaw(a.split('\\n'), b.split('\\n'));\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `1` | `'line 1'`    |\n| `1` |           `1` | `'line 2'`    |\n| `2` |           `1` | `'line 3'`    |\n\nWhich you might format as follows:\n\n```diff\n- Expected  - 0\n+ Received  + 3\n\n+ line 1\n+ line 2\n+ line 3\n```\n\nIn contrast to the `diffLinesRaw` function, the `diffLinesUnified` and `diffLinesUnified2` functions **automatically** convert array arguments computed by string `split` method, so callers do **not** need a `splitLine0` function.\n\n## Options\n\nThe default options are for the report when an assertion fails from the `expect` package used by Jest.\n\nFor other applications, you can provide an options object as a third argument:\n\n- `diff(a, b, options)`\n- `diffStringsUnified(a, b, options)`\n- `diffLinesUnified(aLines, bLines, options)`\n- `diffLinesUnified2(aLinesDisplay, bLinesDisplay, aLinesCompare, bLinesCompare, options)`\n\n### Properties of options object\n\n| name                              | default            |\n| :-------------------------------- | :----------------- |\n| `aAnnotation`                     | `'Expected'`       |\n| `aColor`                          | `chalk.green`      |\n| `aIndicator`                      | `'-'`              |\n| `bAnnotation`                     | `'Received'`       |\n| `bColor`                          | `chalk.red`        |\n| `bIndicator`                      | `'+'`              |\n| `changeColor`                     | `chalk.inverse`    |\n| `changeLineTrailingSpaceColor`    | `string => string` |\n| `commonColor`                     | `chalk.dim`        |\n| `commonIndicator`                 | `' '`              |\n| `commonLineTrailingSpaceColor`    | `string => string` |\n| `compareKeys`                     | `undefined`        |\n| `contextLines`                    | `5`                |\n| `emptyFirstOrLastLinePlaceholder` | `''`               |\n| `expand`                          | `true`             |\n| `includeChangeCounts`             | `false`            |\n| `omitAnnotationLines`             | `false`            |\n| `patchColor`                      | `chalk.yellow`     |\n\nFor more information about the options, see the following examples.\n\n### Example of options for labels\n\nIf the application is code modification, you might replace the labels:\n\n```js\nconst options = {\n  aAnnotation: 'Original',\n  bAnnotation: 'Modified',\n};\n```\n\n```diff\n- Original\n+ Modified\n\n  common\n- changed from\n+ changed to\n```\n\nThe `jest-diff` package does not assume that the 2 labels have equal length.\n\n### Example of options for colors of changed lines\n\nFor consistency with most diff tools, you might exchange the colors:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  aColor: chalk.red,\n  bColor: chalk.green,\n};\n```\n\n### Example of option for color of changed substrings\n\nAlthough the default inverse of foreground and background colors is hard to beat for changed substrings **within lines**, especially because it highlights spaces, if you want bold font weight on yellow background color:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  changeColor: chalk.bold.bgYellowBright,\n};\n```\n\n### Example of option to format trailing spaces\n\nBecause `diff()` does not display substring differences within lines, formatting can help you see when lines differ by the presence or absence of trailing spaces found by `/\\s+$/` regular expression.\n\n- If change lines have a background color, then you can see trailing spaces.\n- If common lines have default dim color, then you cannot see trailing spaces. You might want yellowish background color to see them.\n\n```js\nconst options = {\n  aColor: chalk.rgb(128, 0, 128).bgRgb(255, 215, 255), // magenta\n  bColor: chalk.rgb(0, 95, 0).bgRgb(215, 255, 215), // green\n  commonLineTrailingSpaceColor: chalk.bgYellow,\n};\n```\n\nThe value of a Color option is a function, which given a string, returns a string.\n\nIf you want to replace trailing spaces with middle dot characters:\n\n```js\nconst replaceSpacesWithMiddleDot = string => '·'.repeat(string.length);\n\nconst options = {\n  changeLineTrailingSpaceColor: replaceSpacesWithMiddleDot,\n  commonLineTrailingSpaceColor: replaceSpacesWithMiddleDot,\n};\n```\n\nIf you need the TypeScript type of a Color option:\n\n```ts\nimport {DiffOptionsColor} from 'jest-diff';\n```\n\n### Example of options for no colors\n\nTo store the difference in a file without escape codes for colors, provide an identity function:\n\n```js\nconst noColor = string => string;\n\nconst options = {\n  aColor: noColor,\n  bColor: noColor,\n  changeColor: noColor,\n  commonColor: noColor,\n  patchColor: noColor,\n};\n```\n\n### Example of options for indicators\n\nFor consistency with the `diff` command, you might replace the indicators:\n\n```js\nconst options = {\n  aIndicator: '<',\n  bIndicator: '>',\n};\n```\n\nThe `jest-diff` package assumes (but does not enforce) that the 3 indicators have equal length.\n\n### Example of options to limit common lines\n\nBy default, the output includes all common lines.\n\nTo emphasize the changes, you might limit the number of common “context” lines:\n\n```js\nconst options = {\n  contextLines: 1,\n  expand: false,\n};\n```\n\nA patch mark like `@@ -12,7 +12,9 @@` accounts for omitted common lines.\n\n### Example of option for color of patch marks\n\nIf you want patch marks to have the same dim color as common lines:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  expand: false,\n  patchColor: chalk.dim,\n};\n```\n\n### Example of option to include change counts\n\nTo display the number of changed lines at the right of annotation lines:\n\n```js\nconst a = ['common', 'changed from'];\nconst b = ['common', 'changed to', 'insert'];\n\nconst options = {\n  includeChangeCounts: true,\n};\n\nconst difference = diff(a, b, options);\n```\n\n```diff\n- Expected  - 1\n+ Received  + 2\n\n  Array [\n    \"common\",\n-   \"changed from\",\n+   \"changed to\",\n+   \"insert\",\n  ]\n```\n\n### Example of option to omit annotation lines\n\nTo display only the comparison lines:\n\n```js\nconst a = 'common\\nchanged from';\nconst b = 'common\\nchanged to';\n\nconst options = {\n  omitAnnotationLines: true,\n};\n\nconst difference = diffStringsUnified(a, b, options);\n```\n\n```diff\n  common\n- changed from\n+ changed to\n```\n\n### Example of option for empty first or last lines\n\nIf the **first** or **last** comparison line is **empty**, because the content is empty and the indicator is a space, you might not notice it.\n\nThe replacement option is a string whose default value is `''` empty string.\n\nBecause Jest trims the report when a matcher fails, it deletes an empty last line.\n\nTherefore, Jest uses as placeholder the downwards arrow with corner leftwards:\n\n```js\nconst options = {\n  emptyFirstOrLastLinePlaceholder: '↵', // U+21B5\n};\n```\n\nIf a content line is empty, then the corresponding comparison line is automatically trimmed to remove the margin space (represented as a middle dot below) for the default indicators:\n\n|         Indicator | untrimmed | trimmed |\n| ----------------: | :-------- | :------ |\n|      `aIndicator` | `'-·'`    | `'-'`   |\n|      `bIndicator` | `'+·'`    | `'+'`   |\n| `commonIndicator` | `' ·'`    | `''`    |\n\n### Example of option for sorting object keys\n\nWhen two objects are compared their keys are printed in alphabetical order by default. If this was not the original order of the keys the diff becomes harder to read as the keys are not in their original position.\n\nUse `compareKeys` to pass a function which will be used when sorting the object keys.\n\n```js\nconst a = {c: 'c', b: 'b1', a: 'a'};\nconst b = {c: 'c', b: 'b2', a: 'a'};\n\nconst options = {\n  // The keys will be in their original order\n  compareKeys: () => 0,\n};\n\nconst difference = diff(a, b, options);\n```\n\n```diff\n- Expected\n+ Received\n\n  Object {\n    \"c\": \"c\",\n-   \"b\": \"b1\",\n+   \"b\": \"b2\",\n    \"a\": \"a\",\n  }\n```\n\nDepending on the implementation of `compareKeys` any sort order can be used.\n\n```js\nconst a = {c: 'c', b: 'b1', a: 'a'};\nconst b = {c: 'c', b: 'b2', a: 'a'};\n\nconst options = {\n  // The keys will be in reverse order\n  compareKeys: (a, b) => (a > b ? -1 : 1),\n};\n\nconst difference = diff(a, b, options);\n```\n\n```diff\n- Expected\n+ Received\n\n  Object {\n    \"a\": \"a\",\n-   \"b\": \"b1\",\n+   \"b\": \"b2\",\n    \"c\": \"c\",\n  }\n```\n","readmeFilename":"README.md","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@28.0.0-alpha.9","_nodeVersion":"16.14.2","_npmVersion":"lerna/4.0.0/node@v16.14.2+x64 (darwin)","dist":{"integrity":"sha512-l0C5S5oEkfxIASPAiJ2RLfeIPcco9yM13HJSDlzNN8AkdhpXHFPDCqiPBUUut4DrTiNil/BK47XYQfcxXFgH9g==","shasum":"bbdca4b01af2562284c06b3a547a6ea06c92e46d","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-28.0.0-alpha.9.tgz","fileCount":14,"unpackedSize":78628,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDqC+7MrbdS7ThojAYV5BrXPu0lDy8EVxiHFcyKhbzYZwIhAMVLJWVPjWZRLYalyRJmplARWGA0KU1SwFsoVcPSiTOr"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiXpYDACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr+bw/+L86TkaltGwrEeKgOReadmlvbhDkUQkRMZB4aDN2q6YSqDSwX\r\nIh3HE/adFkTKDBTkXPLZCzP5nUZrX4HxhVsyYWKbTtmYLFepoxB2iPTrzNSE\r\nU8/atDS4jjK+DT4EclFlUcnBbu+9xIEVgN3yQkazzUtpBCbg+Vio8GmMGwrB\r\nUGtJEe89kub/v9EM8JSMESvg7T9CeWkGKWN8UF0MUptcjz46r9bxAjgSvXLZ\r\nKeCe7y32yGFD7QdlKfVdDuuCpKuYwwOuk7EvTFO7/wrl4c1b5gf+S+yEhR8o\r\n+pt4NCWmI3/WOMN7rFclYRiSwdhGmYzsshHGelCugxchSiMw3zB1q01cYk4Z\r\nquL55UJOsQIxcavo15oA5MOjs+MdASzajv3fqT+fOFCs9lWcCmZFQHuVtGJU\r\nP9eEdNFapdHj0s7tteLj/THs0DqW/LQgWnNTrk3ANsTbtrKO2eZFKoS9U5Qa\r\nf3FP8xM6YvFBEE47k/I1rpCvQhq4LIe0RdIf1gZfoA0eESi1H0J1rYp1eAnQ\r\nXkrqvUkEqken8Usvz+WCkO5aHxfqTQoFXROfEA1C4LY1ZTZp0ENOQbCqKBYv\r\ng67ZBxPYadC4ZygHx229tirGIJtM2ewP6hOzInXXG8bh3yl8zyBMbdp5VYly\r\nSr17IDt8CVZVQFj+QXz7A6BQ4PMUhZqMP40=\r\n=zwSh\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"maintainers":[{"name":"scotthovestadt","email":"scott.hovestadt@gmail.com"},{"name":"rubennorte","email":"rubennorte@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"aaronabramov","email":"aaron@abramov.io"},{"name":"davidzilburg","email":"davidzilburg@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_28.0.0-alpha.9_1650365955536_0.17156897926807146"},"_hasShrinkwrap":false},"28.0.0":{"name":"jest-diff","version":"28.0.0","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"./build/index.js","types":"./build/index.d.ts","exports":{".":{"types":"./build/index.d.ts","default":"./build/index.js"},"./package.json":"./package.json"},"dependencies":{"chalk":"^4.0.0","diff-sequences":"^28.0.0","jest-get-type":"^28.0.0","pretty-format":"^28.0.0"},"devDependencies":{"@jest/test-utils":"^28.0.0","strip-ansi":"^6.0.0"},"engines":{"node":"^12.13.0 || ^14.15.0 || ^16.13.0 || >=17.0.0"},"publishConfig":{"access":"public"},"gitHead":"8f9b812faf8e4d241d560a8574f0c6ed20a89365","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@28.0.0","_nodeVersion":"16.14.2","_npmVersion":"lerna/4.0.0/node@v16.14.2+x64 (darwin)","dist":{"integrity":"sha512-LuxfL//yP8TFNECSL9ULr1lCKh4RTi4OZTNzzQYY99S0EfGW7B6ckkeXJ6QOpyj9wS4Jb1v51bOLUlJLlGf1Vg==","shasum":"ed0082d374e4585d984df60356d3dce378f27b84","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-28.0.0.tgz","fileCount":14,"unpackedSize":78588,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCD50lCaKYViK6oOgA77qSGTvYB9rPCoCorG6CmgEEz4QIhAJKjNkmyAAB7ZUyF3GIVSq3U9+IVPFga8XgDRT4gETkq"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiZo8pACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoPvRAAhAA9LToUlVSjAq9ATWFMvAM3xv4BStVC8+rKxKSdi2lIoNpA\r\nbCtBbXddR+XL4tUEulJQS3LLw1/6N2pa8nhk9uKt6EwbsRGMbU8R13s2xeoa\r\nss1mdHeXj5fAiE9XVoATHJwhVWMPrREjSJHGuqFQrtyn/aTQoyzLYt8JzDjE\r\nEZzT0bPQJVGjmUwV5q9UuPCfK70LBPB89vglTCdlGOxxWaEF+APsuUr47V/q\r\nLoT7aiHq7W8ROS7zbFxI+5FdhfOhqfcJAtKIeS1L2ejsl4ezr5CIUpoGJErq\r\nmGBGPvDcly1et6ed6rOZv1qUxLksKvrPMu2AUue2Lz3eWiSzR/vk8J3duoeT\r\nIaQ7OuUC3+l7m6t0rRWvYo6hiyXZqkQDQXAb9yIA4J1Th7gd35xkq31iZ8xk\r\nB6Uvmd3GZ6nCJvD42vOT9xnTId7HQtzDe29DUBul1+gYWocCloq5C7LAirMe\r\nla0XwQttIw4R/5vzRQXTxXQQ63wLipgzZ9VUq6xPObAmzOgWjBefs1vDcYKO\r\n6asPPfgj1V52iaQPHyS6QmWjwB460H7VLyw45e98TJ9S2n7hvF9MSQlKVojP\r\njDgHsSpoIb+zoQ3VueWuqP2H25SfZ19EAWkhpBUM4Vd36vdQKmGIiZQi2Q7P\r\ngoPg/qsXRWiDan75VEeMiFRv0pLQKsmULA4=\r\n=aZMJ\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"maintainers":[{"name":"scotthovestadt","email":"scott.hovestadt@gmail.com"},{"name":"rubennorte","email":"rubennorte@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"aaronabramov","email":"aaron@abramov.io"},{"name":"davidzilburg","email":"davidzilburg@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_28.0.0_1650888489540_0.1827194155483689"},"_hasShrinkwrap":false},"28.0.1":{"name":"jest-diff","version":"28.0.1","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"./build/index.js","types":"./build/index.d.ts","exports":{".":{"types":"./build/index.d.ts","default":"./build/index.js"},"./package.json":"./package.json"},"dependencies":{"chalk":"^4.0.0","diff-sequences":"^28.0.0","jest-get-type":"^28.0.0","pretty-format":"^28.0.1"},"devDependencies":{"@jest/test-utils":"^28.0.1","strip-ansi":"^6.0.0"},"engines":{"node":"^12.13.0 || ^14.15.0 || ^16.13.0 || >=17.0.0"},"publishConfig":{"access":"public"},"gitHead":"0a08639e4299f07becf1020a761adfec83536018","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@28.0.1","_nodeVersion":"16.14.2","_npmVersion":"lerna/4.0.0/node@v16.14.2+x64 (darwin)","dist":{"integrity":"sha512-XtUUND9AlP6y+O5gnxm54rcFxs65isB1NahScgBU+NqiUYdKK9qXMXAotkTJHui6GUdjApXq0zvSXB6zQh9CNg==","shasum":"fe29002a53c0a663c6cb395cad91ea0b82b0c826","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-28.0.1.tgz","fileCount":14,"unpackedSize":78588,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCHV4HRLqOh3HzsuwFaQCR9L8r7DlfY5j7YH44+2KKGdQIgdzzGf1jlaEPCdRSAy5BfehKNsse4/hmYL9RIRebJ3AM="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiZ8NAACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqrdw/6A5PthD2Gjv7AQKRPBIdMw01mCuzMJ4GxDRdyn6jVdaQ13yxU\r\ns/xgutu3VBFzIM2hBZyEH5sFUlpiCc7aTRgV22BydF/e3tZgnPS1Ix0s42n1\r\nDzICI070Ti+lOm1M0v0NVdxANkIsi6IRpJlWXUhc6pRbTuYtxaAR83CXMm8L\r\nzeZMkM2jZbe/B5oOnRAY5VIkIadkNG0mmBK40FPJ1f61vNFuv+6OlplEv09t\r\nWVrRRYyirE6TNG1BXYVoyQH43RVpo06zOnu2W+FkZiKWzZJSbPdHXgG0b3kP\r\nX4sYJbdrnS+zKWxMNu4OR7xmqlDhpnSIluFtzj0SHV/rCHdxVHogJs1vUatv\r\nhkIHu0Xih5ZD8DIik43YBdzLlcCHeBFhVzyjwaE5OUnznJ0p/gSXRwJug0kV\r\nOqe4wbLELLpU9or4dmsHZFlSDv6/OU/XNqyKmRb9I+CJs0jClK1RZEh3mrnj\r\nXZ3Esujqy1VbN55hzRyQutr8xlbmQkuqGKqh21b7VmkdqH2vCjndjLJUoufu\r\nisb650GpTaARypImFldWdO0yJXQrAXEDqjH7wcNZumsoTx0FhkscADlcLARe\r\nhkBaiwgp/lzbmQIJFX7L6O9JCo/WGXwKTJs4MwgwQn/tLTIyjeTYnMm6GPfK\r\n0ovoS9GGdMt+e4++THgTmCP8QFNRkaKa36g=\r\n=w4BM\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"maintainers":[{"name":"scotthovestadt","email":"scott.hovestadt@gmail.com"},{"name":"rubennorte","email":"rubennorte@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"aaronabramov","email":"aaron@abramov.io"},{"name":"davidzilburg","email":"davidzilburg@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_28.0.1_1650967359981_0.8595400477542852"},"_hasShrinkwrap":false},"28.0.2":{"name":"jest-diff","version":"28.0.2","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"./build/index.js","types":"./build/index.d.ts","exports":{".":{"types":"./build/index.d.ts","default":"./build/index.js"},"./package.json":"./package.json"},"dependencies":{"chalk":"^4.0.0","diff-sequences":"^28.0.2","jest-get-type":"^28.0.2","pretty-format":"^28.0.2"},"devDependencies":{"@jest/test-utils":"^28.0.2","strip-ansi":"^6.0.0"},"engines":{"node":"^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0"},"publishConfig":{"access":"public"},"gitHead":"279ee6658d763f024d51f340fab6a37c17d94502","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@28.0.2","_nodeVersion":"16.15.0","_npmVersion":"lerna/4.0.0/node@v16.15.0+x64 (darwin)","dist":{"integrity":"sha512-33Rnf821Y54OAloav0PGNWHlbtEorXpjwchnToyyWbec10X74FOW7hGfvrXLGz7xOe2dz0uo9JVFAHHj/2B5pg==","shasum":"a543c90082560cd6cb14c5f28c39e6d4618ad7a6","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-28.0.2.tgz","fileCount":14,"unpackedSize":78588,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIATw5x2hqCaLMsySAUfGTclhLKA5Zp1Eteh8UKv0ZhiLAiEArc+sNjve0QNo/081R/LpEPIbYLSZokTLaoOYX29in2g="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiaPREACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrNdhAAnA8qw07onhKZz8ar4p3fyg6wY74cBqJ5QjRdyHHPXQeC6VCk\r\nn0MV3fCmRGswmVeFuZ65yPYFwJDletseaYU8tryCvuZING8JWx16X3RmjPfF\r\nUq8Et079F8cm50/l1eBLzkROap0GW9nC0H3WHia80+sQA1B4hhoURVz49yGl\r\nFwfpa6LamgweC1dyvjGU/vNCsRmxMMCr0JM3anizN+smOjh/fy+RUJb/tCCW\r\nw7I/8z6oq1jHOEIkknaJddei2BBcg3S/4p4PnTopstBlPQjYpPErhk2mJDFC\r\nYzKQxmLdXcSDXewO1VQhziongAAlw6wtRHqjKjL8o7QJ1d4vy4cwqMJGYAOe\r\n1vweKr75hU0qDZ5kH/3lIl/EK3U5XiYRVOxOePpYhx5xBOvYmEhH5jar/Tu1\r\nwTC4v+Y0Rg3LAcVbpyZtqwF2dStwnKdf1CPDXdQ6Hc0tbiIE6e4b8QNuCrnF\r\nYt9X4E9JauXLmhuIc6Ulw3TDP9Wbjjmp/QGJ3GWsHL24z6kaCCjO/22mmhdX\r\nYjzvT2qIWWzFMoux0eIyHjd7fneBGFuX6zY7h4TyIQjioNnDkjvFo3+WpI48\r\ny1Rku9t6NPcIC2PYY2TcnQCM6RjKrgcbGQf1vz+uGrQE+wi9J2pOzwpD52ns\r\nmXEzY5u/mAvp2TQmWk614FmuDK3i3aINDO0=\r\n=Dovx\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"maintainers":[{"name":"scotthovestadt","email":"scott.hovestadt@gmail.com"},{"name":"rubennorte","email":"rubennorte@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"aaronabramov","email":"aaron@abramov.io"},{"name":"davidzilburg","email":"davidzilburg@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_28.0.2_1651045443706_0.5702829202325304"},"_hasShrinkwrap":false},"28.1.0":{"name":"jest-diff","version":"28.1.0","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"./build/index.js","types":"./build/index.d.ts","exports":{".":{"types":"./build/index.d.ts","default":"./build/index.js"},"./package.json":"./package.json"},"dependencies":{"chalk":"^4.0.0","diff-sequences":"^28.0.2","jest-get-type":"^28.0.2","pretty-format":"^28.1.0"},"devDependencies":{"@jest/test-utils":"^28.1.0","strip-ansi":"^6.0.0"},"engines":{"node":"^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0"},"publishConfig":{"access":"public"},"gitHead":"f5db241312f46528389e55c38221e6b6968622cf","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@28.1.0","_nodeVersion":"16.15.0","_npmVersion":"lerna/4.0.0/node@v16.15.0+x64 (darwin)","dist":{"integrity":"sha512-8eFd3U3OkIKRtlasXfiAQfbovgFgRDb0Ngcs2E+FMeBZ4rUezqIaGjuyggJBp+llosQXNEWofk/Sz4Hr5gMUhA==","shasum":"77686fef899ec1873dbfbf9330e37dd429703269","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-28.1.0.tgz","fileCount":14,"unpackedSize":78588,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD5+O1lgwY3Ijodyz5Tl4C6Np26yiK98qFe+I9+L4WNbgIgU9fJPHUWc1ShjXjDVwOihQh/E5zZDQBp5Km/PtpCtvQ="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJidP0XACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoT8A//bViCcacH/Sy0+GYUfh5YugnZn5gZpiQ66Zdpj7byE0Ts31c+\r\n6rwdJZxBAAOUD9jTC0/TQi5By8r4CKiVXUOESW+PxEiXHSPa4NJnSQzBdLIj\r\nqjqVnLtWVrdCmHbBKf/0zmsP9H29ZNnbVjw9me35EovYE2yVka328M7JteaE\r\neDLnudsM5KNVrsnj717ceM5GZxdY/W21zkS9cEgw9g7yGjTDEl1x4RzxzURA\r\njCA/ELkrTrDOAWMzD7cuY31aScyIdbd5t3PNjRW1gWDcm5+IrUxZZ2/yMA64\r\nv38g+jv5Tu0Gh4jiAGug1jiNh38nVhGzEOJmku7Xl0TwqeybMvi1ooxzmQfm\r\n+/43Mjv+EwfhsqOSNCYhvMeE6jJn5iClOF+JKexRThexgKV3NB22jRgAeGGl\r\nwwMYw19PbMWBVfg1NtMOUG+MauDZMy5mnrT3Zz39FSGtlt9sJkun59n8DKsJ\r\nKcJu9JtcQac7cecxGUAa1PDcqfxs9dP68V/Bgtc8Rx9YbTtzfCTeFYvY8Jsx\r\nxccmHBvKmCBS0NYApu/YhFnFWqm+DOfmiO6wnTzd6kIba4/wAI7wW7ynxRJU\r\nzQU9Fmg3rSFYRkz825WWD2WjeJ2XW1otSEo5zn8WVE9A5zQO38bmMcualX28\r\n2Cc37+aRb9ioN4BEmPX/R2ynSHnwQpVb+bQ=\r\n=ECmI\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"maintainers":[{"name":"scotthovestadt","email":"scott.hovestadt@gmail.com"},{"name":"rubennorte","email":"rubennorte@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"aaronabramov","email":"aaron@abramov.io"},{"name":"davidzilburg","email":"davidzilburg@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_28.1.0_1651834134829_0.5625064916454492"},"_hasShrinkwrap":false},"28.1.1":{"name":"jest-diff","version":"28.1.1","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"./build/index.js","types":"./build/index.d.ts","exports":{".":{"types":"./build/index.d.ts","default":"./build/index.js"},"./package.json":"./package.json"},"dependencies":{"chalk":"^4.0.0","diff-sequences":"^28.1.1","jest-get-type":"^28.0.2","pretty-format":"^28.1.1"},"devDependencies":{"@jest/test-utils":"^28.1.1","strip-ansi":"^6.0.0"},"engines":{"node":"^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0"},"publishConfig":{"access":"public"},"gitHead":"eb954f8874960920ac50a8f976bb333fbb06ada9","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@28.1.1","_nodeVersion":"16.15.1","_npmVersion":"lerna/4.0.0/node@v16.15.1+x64 (darwin)","dist":{"integrity":"sha512-/MUUxeR2fHbqHoMMiffe/Afm+U8U4olFRJ0hiVG2lZatPJcnGxx292ustVu7bULhjV65IYMxRdploAKLbcrsyg==","shasum":"1a3eedfd81ae79810931c63a1d0f201b9120106c","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-28.1.1.tgz","fileCount":14,"unpackedSize":78552,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDYaojsmxCmvx2aeLx2E+CXcocygfMaf++Fs2AfJJDH+AIhAIj3LTsfrNxJv+W91htTlKbbiG0H+GdCw0RaNsusNZlX"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJinuuhACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq5Jg//Qy8+wG+ZlNOvpmuVq5oOiNKyTsgv61V4uI68V84bqP4eJoRL\r\nyuK2mIPemXaGo85/Mef3gCq+YSM3AH9ol+LYQJDTSXqFHVWcBly9Gpmbc8l4\r\nX4tti9YywjfWlrWWBxLxjvYYE93TAJFEDA3+JHGEzhvYOgni5OD96KIvYT2f\r\nMAAngGVdRbAjl9qnO26q9X4AaMQB+1N8H4+ztpqrMHlRh3bLwlw0uZ2gixJH\r\nB9RmVNdqeZCSiY+YmGBMBt8GUQWGUyQbcxKT9r+GJHmwU1UcYCKRbUECJ5X6\r\nROvrtmrLaWCaed2vAzCkFPtunTiy0ty1L7tWqsGfGH7b0jZ4OiHtScYzFEDZ\r\nYy1tpCcqlzFN9IB9BQn8g5JWTozSiJZ1ndInOq/rRDOjIKry8Yep4npFyd1m\r\nducjmm4FQUB9FNTVDv7pvXBrOM0ZTjn50WFTBgQb3l+4DoWFEV4BfEVrl/mY\r\n8tFXxF6DlGztl7coCfoE6xl4GzGuLoL0YHS6/wvQr5TOb3DzZRUIp0/5xZXg\r\nEfKLiAu2St84saapMjA5NZnCpLUK/aJHv/+l3K6zIH7Ki+yqeKgmjNjFZUPY\r\ngr8HyjZrqJjsu+Bx7awokxtbXtS/z+JXuzCrCzW4Wc6BP7S5XqMcHb0NsFcy\r\n4kARPGWeWW0/kN+hVGCIeFbezJRDoUicwTE=\r\n=Vk2b\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"maintainers":[{"name":"scotthovestadt","email":"scott.hovestadt@gmail.com"},{"name":"rubennorte","email":"rubennorte@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"aaronabramov","email":"aaron@abramov.io"},{"name":"davidzilburg","email":"davidzilburg@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_28.1.1_1654582176934_0.5312446891675475"},"_hasShrinkwrap":false},"28.1.3":{"name":"jest-diff","version":"28.1.3","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"./build/index.js","types":"./build/index.d.ts","exports":{".":{"types":"./build/index.d.ts","default":"./build/index.js"},"./package.json":"./package.json"},"dependencies":{"chalk":"^4.0.0","diff-sequences":"^28.1.1","jest-get-type":"^28.0.2","pretty-format":"^28.1.3"},"devDependencies":{"@jest/test-utils":"^28.1.3","strip-ansi":"^6.0.0"},"engines":{"node":"^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0"},"publishConfig":{"access":"public"},"gitHead":"2cce069800dab3fc8ca7c469b32d2e2b2f7e2bb1","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@28.1.3","_nodeVersion":"16.15.1","_npmVersion":"lerna/4.0.0/node@v16.15.1+x64 (darwin)","dist":{"integrity":"sha512-8RqP1B/OXzjjTWkqMX67iqgwBVJRgCyKD3L9nq+6ZqJMdvjE8RgHktqZ6jNrkdMT+dJuYNI3rhQpxaz7drJHfw==","shasum":"948a192d86f4e7a64c5264ad4da4877133d8792f","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-28.1.3.tgz","fileCount":14,"unpackedSize":78552,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICB5zjmnFm0b/oJQD/XWo15qnlGpKrKk9vglWMUOoUy7AiBUcUbHqrGPKZB6aAOh8njoAO9zJ4Vftw3kLoHhtqqyXg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiztLMACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoKEw//QOV6kl0JPJMe3yxMUaGv6QYHb3Z4bsJ7/6DTfyFIKnGf/X+W\r\ngQZe09fgJWdPSmu8rV/F/Lig+GrthapLkqHZ8xguy6eLz4HxhD1wiKegxe/8\r\nAZVKy3pTl4alD3V/OpLus62I1xRX8gyWBBlKmiQA6pjw7KkQb1YohX3ntoQ4\r\nE93LzeQIVOx4lwzLeaS/8Pze9sijEw4wPaEyEzD6WNkoGdxsDL8IQYA7k1zk\r\nNwcthg/fMYsdFuvjBAi6YMnVkmOCn5E9R45dDxE43YaNIzWpEcVtVce3o7qN\r\n37DwTnWIuIFS4ZQuYfvO5xKanFrA/zH2JatpML07pt8CoLIKTLv7JsStRpku\r\nanX5wLJzL/XMPRFAi4jGbyjunrL5I000QtenFCO4dF/oNpZhDcEH68Tt/f2W\r\nJaReLomSB0PKKgFca7wv3EQlkQtGsqLZEc+OX8IAMmPzNsCq2Z+UBATQdYgV\r\n6jCfqAR0HeJG/tk2TPCcyOmnkTcREbMocA1pOKcyAtSlYus/cSMf/uot6XkC\r\nuG6DgeQy6S6Ei1ioxiLT6BiEWVV3TBE8XPOUGvOYvKXArS9OlUT/KwaylrDv\r\n/XqaUnWuRtVZcL7jLWK/+qFLUPk7UiZdxYm8kjBo8IAwCMfxeo00n6YEXR2B\r\nZC/NjTTND0bMrlVHyaMQ/HMAsI/sdo45vuI=\r\n=iwFB\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"maintainers":[{"name":"scotthovestadt","email":"scott.hovestadt@gmail.com"},{"name":"rubennorte","email":"rubennorte@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"aaronabramov","email":"aaron@abramov.io"},{"name":"davidzilburg","email":"davidzilburg@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_28.1.3_1657721548534_0.1760158818273918"},"_hasShrinkwrap":false},"29.0.0-alpha.0":{"name":"jest-diff","version":"29.0.0-alpha.0","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"./build/index.js","types":"./build/index.d.ts","exports":{".":{"types":"./build/index.d.ts","default":"./build/index.js"},"./package.json":"./package.json"},"dependencies":{"chalk":"^4.0.0","diff-sequences":"^29.0.0-alpha.0","jest-get-type":"^29.0.0-alpha.0","pretty-format":"^29.0.0-alpha.0"},"devDependencies":{"@jest/test-utils":"^29.0.0-alpha.0","strip-ansi":"^6.0.0"},"engines":{"node":"^14.15.0 || ^16.10.0 || >=18.0.0"},"publishConfig":{"access":"public"},"gitHead":"6862afb00307b52f32eedee977a9b3041355f184","readme":"# jest-diff\n\nDisplay differences clearly so people can review changes confidently.\n\nThe `diff` named export serializes JavaScript **values**, compares them line-by-line, and returns a string which includes comparison lines.\n\nTwo named exports compare **strings** character-by-character:\n\n- `diffStringsUnified` returns a string.\n- `diffStringsRaw` returns an array of `Diff` objects.\n\nThree named exports compare **arrays of strings** line-by-line:\n\n- `diffLinesUnified` and `diffLinesUnified2` return a string.\n- `diffLinesRaw` returns an array of `Diff` objects.\n\n## Installation\n\nTo add this package as a dependency of a project, run either of the following commands:\n\n- `npm install jest-diff`\n- `yarn add jest-diff`\n\n## Usage of `diff()`\n\nGiven JavaScript **values**, `diff(a, b, options?)` does the following:\n\n1. **serialize** the values as strings using the `pretty-format` package\n2. **compare** the strings line-by-line using the `diff-sequences` package\n3. **format** the changed or common lines using the `chalk` package\n\nTo use this function, write either of the following:\n\n- `const {diff} = require('jest-diff');` in CommonJS modules\n- `import {diff} from 'jest-diff';` in ECMAScript modules\n\n### Example of `diff()`\n\n```js\nconst a = ['delete', 'common', 'changed from'];\nconst b = ['common', 'changed to', 'insert'];\n\nconst difference = diff(a, b);\n```\n\nThe returned **string** consists of:\n\n- annotation lines: describe the two change indicators with labels, and a blank line\n- comparison lines: similar to “unified” view on GitHub, but `Expected` lines are green, `Received` lines are red, and common lines are dim (by default, see Options)\n\n```diff\n- Expected\n+ Received\n\n  Array [\n-   \"delete\",\n    \"common\",\n-   \"changed from\",\n+   \"changed to\",\n+   \"insert\",\n  ]\n```\n\n### Edge cases of `diff()`\n\nHere are edge cases for the return value:\n\n- `' Comparing two different types of values. …'` if the arguments have **different types** according to the `jest-get-type` package (instances of different classes have the same `'object'` type)\n- `'Compared values have no visual difference.'` if the arguments have either **referential identity** according to `Object.is` method or **same serialization** according to the `pretty-format` package\n- `null` if either argument is a so-called **asymmetric matcher** in Jasmine or Jest\n\n## Usage of diffStringsUnified\n\nGiven **strings**, `diffStringsUnified(a, b, options?)` does the following:\n\n1. **compare** the strings character-by-character using the `diff-sequences` package\n2. **clean up** small (often coincidental) common substrings, also known as chaff\n3. **format** the changed or common lines using the `chalk` package\n\nAlthough the function is mainly for **multiline** strings, it compares any strings.\n\nWrite either of the following:\n\n- `const {diffStringsUnified} = require('jest-diff');` in CommonJS modules\n- `import {diffStringsUnified} from 'jest-diff';` in ECMAScript modules\n\n### Example of diffStringsUnified\n\n```js\nconst a = 'common\\nchanged from';\nconst b = 'common\\nchanged to';\n\nconst difference = diffStringsUnified(a, b);\n```\n\nThe returned **string** consists of:\n\n- annotation lines: describe the two change indicators with labels, and a blank line\n- comparison lines: similar to “unified” view on GitHub, and **changed substrings** have **inverse** foreground and background colors (that is, `from` has white-on-green and `to` has white-on-red, which the following example does not show)\n\n```diff\n- Expected\n+ Received\n\n  common\n- changed from\n+ changed to\n```\n\n### Performance of diffStringsUnified\n\nTo get the benefit of **changed substrings** within the comparison lines, a character-by-character comparison has a higher computational cost (in time and space) than a line-by-line comparison.\n\nIf the input strings can have **arbitrary length**, we recommend that the calling code set a limit, beyond which splits the strings, and then calls `diffLinesUnified` instead. For example, Jest falls back to line-by-line comparison if either string has length greater than 20K characters.\n\n## Usage of diffLinesUnified\n\nGiven **arrays of strings**, `diffLinesUnified(aLines, bLines, options?)` does the following:\n\n1. **compare** the arrays line-by-line using the `diff-sequences` package\n2. **format** the changed or common lines using the `chalk` package\n\nYou might call this function when strings have been split into lines and you do not need to see changed substrings within lines.\n\n### Example of diffLinesUnified\n\n```js\nconst aLines = ['delete', 'common', 'changed from'];\nconst bLines = ['common', 'changed to', 'insert'];\n\nconst difference = diffLinesUnified(aLines, bLines);\n```\n\n```diff\n- Expected\n+ Received\n\n- delete\n  common\n- changed from\n+ changed to\n+ insert\n```\n\n### Edge cases of diffLinesUnified or diffStringsUnified\n\nHere are edge cases for arguments and return values:\n\n- both `a` and `b` are empty strings: no comparison lines\n- only `a` is empty string: all comparison lines have `bColor` and `bIndicator` (see Options)\n- only `b` is empty string: all comparison lines have `aColor` and `aIndicator` (see Options)\n- `a` and `b` are equal non-empty strings: all comparison lines have `commonColor` and `commonIndicator` (see Options)\n\n## Usage of diffLinesUnified2\n\nGiven two **pairs** of arrays of strings, `diffLinesUnified2(aLinesDisplay, bLinesDisplay, aLinesCompare, bLinesCompare, options?)` does the following:\n\n1. **compare** the pair of `Compare` arrays line-by-line using the `diff-sequences` package\n2. **format** the corresponding lines in the pair of `Display` arrays using the `chalk` package\n\nJest calls this function to consider lines as common instead of changed if the only difference is indentation.\n\nYou might call this function for case insensitive or Unicode equivalence comparison of lines.\n\n### Example of diffLinesUnified2\n\n```js\nimport {format} from 'pretty-format';\n\nconst a = {\n  text: 'Ignore indentation in serialized object',\n  time: '2019-09-19T12:34:56.000Z',\n  type: 'CREATE_ITEM',\n};\nconst b = {\n  payload: {\n    text: 'Ignore indentation in serialized object',\n    time: '2019-09-19T12:34:56.000Z',\n  },\n  type: 'CREATE_ITEM',\n};\n\nconst difference = diffLinesUnified2(\n  // serialize with indentation to display lines\n  format(a).split('\\n'),\n  format(b).split('\\n'),\n  // serialize without indentation to compare lines\n  format(a, {indent: 0}).split('\\n'),\n  format(b, {indent: 0}).split('\\n'),\n);\n```\n\nThe `text` and `time` properties are common, because their only difference is indentation:\n\n```diff\n- Expected\n+ Received\n\n  Object {\n+   payload: Object {\n      text: 'Ignore indentation in serialized object',\n      time: '2019-09-19T12:34:56.000Z',\n+   },\n    type: 'CREATE_ITEM',\n  }\n```\n\nThe preceding example illustrates why (at least for indentation) it seems more intuitive that the function returns the common line from the `bLinesDisplay` array instead of from the `aLinesDisplay` array.\n\n## Usage of diffStringsRaw\n\nGiven **strings** and a boolean option, `diffStringsRaw(a, b, cleanup)` does the following:\n\n1. **compare** the strings character-by-character using the `diff-sequences` package\n2. optionally **clean up** small (often coincidental) common substrings, also known as chaff\n\nBecause `diffStringsRaw` returns the difference as **data** instead of a string, you can format it as your application requires (for example, enclosed in HTML markup for browser instead of escape sequences for console).\n\nThe returned **array** describes substrings as instances of the `Diff` class, which calling code can access like array tuples:\n\nThe value at index `0` is one of the following:\n\n| value | named export  | description           |\n| ----: | :------------ | :-------------------- |\n|   `0` | `DIFF_EQUAL`  | in `a` and in `b`     |\n|  `-1` | `DIFF_DELETE` | in `a` but not in `b` |\n|   `1` | `DIFF_INSERT` | in `b` but not in `a` |\n\nThe value at index `1` is a substring of `a` or `b` or both.\n\n### Example of diffStringsRaw with cleanup\n\n```js\nconst diffs = diffStringsRaw('changed from', 'changed to', true);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `0` | `'changed '`  |\n| `1` |          `-1` | `'from'`      |\n| `2` |           `1` | `'to'`        |\n\n### Example of diffStringsRaw without cleanup\n\n```js\nconst diffs = diffStringsRaw('changed from', 'changed to', false);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `0` | `'changed '`  |\n| `1` |          `-1` | `'fr'`        |\n| `2` |           `1` | `'t'`         |\n| `3` |           `0` | `'o'`         |\n| `4` |          `-1` | `'m'`         |\n\n### Advanced import for diffStringsRaw\n\nHere are all the named imports that you might need for the `diffStringsRaw` function:\n\n- `const {DIFF_DELETE, DIFF_EQUAL, DIFF_INSERT, Diff, diffStringsRaw} = require('jest-diff');` in CommonJS modules\n- `import {DIFF_DELETE, DIFF_EQUAL, DIFF_INSERT, Diff, diffStringsRaw} from 'jest-diff';` in ECMAScript modules\n\nTo write a **formatting** function, you might need the named constants (and `Diff` in TypeScript annotations).\n\nIf you write an application-specific **cleanup** algorithm, then you might need to call the `Diff` constructor:\n\n```js\nconst diffCommon = new Diff(DIFF_EQUAL, 'changed ');\nconst diffDelete = new Diff(DIFF_DELETE, 'from');\nconst diffInsert = new Diff(DIFF_INSERT, 'to');\n```\n\n## Usage of diffLinesRaw\n\nGiven **arrays of strings**, `diffLinesRaw(aLines, bLines)` does the following:\n\n- **compare** the arrays line-by-line using the `diff-sequences` package\n\nBecause `diffLinesRaw` returns the difference as **data** instead of a string, you can format it as your application requires.\n\n### Example of diffLinesRaw\n\n```js\nconst aLines = ['delete', 'common', 'changed from'];\nconst bLines = ['common', 'changed to', 'insert'];\n\nconst diffs = diffLinesRaw(aLines, bLines);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]`    |\n| --: | ------------: | :--------------- |\n| `0` |          `-1` | `'delete'`       |\n| `1` |           `0` | `'common'`       |\n| `2` |          `-1` | `'changed from'` |\n| `3` |           `1` | `'changed to'`   |\n| `4` |           `1` | `'insert'`       |\n\n### Edge case of diffLinesRaw\n\nIf you call `string.split('\\n')` for an empty string:\n\n- the result is `['']` an array which contains an empty string\n- instead of `[]` an empty array\n\nDepending of your application, you might call `diffLinesRaw` with either array.\n\n### Example of split method\n\n```js\nimport {diffLinesRaw} from 'jest-diff';\n\nconst a = 'non-empty string';\nconst b = '';\n\nconst diffs = diffLinesRaw(a.split('\\n'), b.split('\\n'));\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]`        |\n| --: | ------------: | :------------------- |\n| `0` |          `-1` | `'non-empty string'` |\n| `1` |           `1` | `''`                 |\n\nWhich you might format as follows:\n\n```diff\n- Expected  - 1\n+ Received  + 1\n\n- non-empty string\n+\n```\n\n### Example of splitLines0 function\n\nFor edge case behavior like the `diffLinesUnified` function, you might define a `splitLines0` function, which given an empty string, returns `[]` an empty array:\n\n```js\nexport const splitLines0 = string =>\n  string.length === 0 ? [] : string.split('\\n');\n```\n\n```js\nimport {diffLinesRaw} from 'jest-diff';\n\nconst a = '';\nconst b = 'line 1\\nline 2\\nline 3';\n\nconst diffs = diffLinesRaw(a.split('\\n'), b.split('\\n'));\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `1` | `'line 1'`    |\n| `1` |           `1` | `'line 2'`    |\n| `2` |           `1` | `'line 3'`    |\n\nWhich you might format as follows:\n\n```diff\n- Expected  - 0\n+ Received  + 3\n\n+ line 1\n+ line 2\n+ line 3\n```\n\nIn contrast to the `diffLinesRaw` function, the `diffLinesUnified` and `diffLinesUnified2` functions **automatically** convert array arguments computed by string `split` method, so callers do **not** need a `splitLine0` function.\n\n## Options\n\nThe default options are for the report when an assertion fails from the `expect` package used by Jest.\n\nFor other applications, you can provide an options object as a third argument:\n\n- `diff(a, b, options)`\n- `diffStringsUnified(a, b, options)`\n- `diffLinesUnified(aLines, bLines, options)`\n- `diffLinesUnified2(aLinesDisplay, bLinesDisplay, aLinesCompare, bLinesCompare, options)`\n\n### Properties of options object\n\n| name                              | default            |\n| :-------------------------------- | :----------------- |\n| `aAnnotation`                     | `'Expected'`       |\n| `aColor`                          | `chalk.green`      |\n| `aIndicator`                      | `'-'`              |\n| `bAnnotation`                     | `'Received'`       |\n| `bColor`                          | `chalk.red`        |\n| `bIndicator`                      | `'+'`              |\n| `changeColor`                     | `chalk.inverse`    |\n| `changeLineTrailingSpaceColor`    | `string => string` |\n| `commonColor`                     | `chalk.dim`        |\n| `commonIndicator`                 | `' '`              |\n| `commonLineTrailingSpaceColor`    | `string => string` |\n| `compareKeys`                     | `undefined`        |\n| `contextLines`                    | `5`                |\n| `emptyFirstOrLastLinePlaceholder` | `''`               |\n| `expand`                          | `true`             |\n| `includeChangeCounts`             | `false`            |\n| `omitAnnotationLines`             | `false`            |\n| `patchColor`                      | `chalk.yellow`     |\n\nFor more information about the options, see the following examples.\n\n### Example of options for labels\n\nIf the application is code modification, you might replace the labels:\n\n```js\nconst options = {\n  aAnnotation: 'Original',\n  bAnnotation: 'Modified',\n};\n```\n\n```diff\n- Original\n+ Modified\n\n  common\n- changed from\n+ changed to\n```\n\nThe `jest-diff` package does not assume that the 2 labels have equal length.\n\n### Example of options for colors of changed lines\n\nFor consistency with most diff tools, you might exchange the colors:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  aColor: chalk.red,\n  bColor: chalk.green,\n};\n```\n\n### Example of option for color of changed substrings\n\nAlthough the default inverse of foreground and background colors is hard to beat for changed substrings **within lines**, especially because it highlights spaces, if you want bold font weight on yellow background color:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  changeColor: chalk.bold.bgYellowBright,\n};\n```\n\n### Example of option to format trailing spaces\n\nBecause `diff()` does not display substring differences within lines, formatting can help you see when lines differ by the presence or absence of trailing spaces found by `/\\s+$/` regular expression.\n\n- If change lines have a background color, then you can see trailing spaces.\n- If common lines have default dim color, then you cannot see trailing spaces. You might want yellowish background color to see them.\n\n```js\nconst options = {\n  aColor: chalk.rgb(128, 0, 128).bgRgb(255, 215, 255), // magenta\n  bColor: chalk.rgb(0, 95, 0).bgRgb(215, 255, 215), // green\n  commonLineTrailingSpaceColor: chalk.bgYellow,\n};\n```\n\nThe value of a Color option is a function, which given a string, returns a string.\n\nIf you want to replace trailing spaces with middle dot characters:\n\n```js\nconst replaceSpacesWithMiddleDot = string => '·'.repeat(string.length);\n\nconst options = {\n  changeLineTrailingSpaceColor: replaceSpacesWithMiddleDot,\n  commonLineTrailingSpaceColor: replaceSpacesWithMiddleDot,\n};\n```\n\nIf you need the TypeScript type of a Color option:\n\n```ts\nimport {DiffOptionsColor} from 'jest-diff';\n```\n\n### Example of options for no colors\n\nTo store the difference in a file without escape codes for colors, provide an identity function:\n\n```js\nconst noColor = string => string;\n\nconst options = {\n  aColor: noColor,\n  bColor: noColor,\n  changeColor: noColor,\n  commonColor: noColor,\n  patchColor: noColor,\n};\n```\n\n### Example of options for indicators\n\nFor consistency with the `diff` command, you might replace the indicators:\n\n```js\nconst options = {\n  aIndicator: '<',\n  bIndicator: '>',\n};\n```\n\nThe `jest-diff` package assumes (but does not enforce) that the 3 indicators have equal length.\n\n### Example of options to limit common lines\n\nBy default, the output includes all common lines.\n\nTo emphasize the changes, you might limit the number of common “context” lines:\n\n```js\nconst options = {\n  contextLines: 1,\n  expand: false,\n};\n```\n\nA patch mark like `@@ -12,7 +12,9 @@` accounts for omitted common lines.\n\n### Example of option for color of patch marks\n\nIf you want patch marks to have the same dim color as common lines:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  expand: false,\n  patchColor: chalk.dim,\n};\n```\n\n### Example of option to include change counts\n\nTo display the number of changed lines at the right of annotation lines:\n\n```js\nconst a = ['common', 'changed from'];\nconst b = ['common', 'changed to', 'insert'];\n\nconst options = {\n  includeChangeCounts: true,\n};\n\nconst difference = diff(a, b, options);\n```\n\n```diff\n- Expected  - 1\n+ Received  + 2\n\n  Array [\n    \"common\",\n-   \"changed from\",\n+   \"changed to\",\n+   \"insert\",\n  ]\n```\n\n### Example of option to omit annotation lines\n\nTo display only the comparison lines:\n\n```js\nconst a = 'common\\nchanged from';\nconst b = 'common\\nchanged to';\n\nconst options = {\n  omitAnnotationLines: true,\n};\n\nconst difference = diffStringsUnified(a, b, options);\n```\n\n```diff\n  common\n- changed from\n+ changed to\n```\n\n### Example of option for empty first or last lines\n\nIf the **first** or **last** comparison line is **empty**, because the content is empty and the indicator is a space, you might not notice it.\n\nThe replacement option is a string whose default value is `''` empty string.\n\nBecause Jest trims the report when a matcher fails, it deletes an empty last line.\n\nTherefore, Jest uses as placeholder the downwards arrow with corner leftwards:\n\n```js\nconst options = {\n  emptyFirstOrLastLinePlaceholder: '↵', // U+21B5\n};\n```\n\nIf a content line is empty, then the corresponding comparison line is automatically trimmed to remove the margin space (represented as a middle dot below) for the default indicators:\n\n|         Indicator | untrimmed | trimmed |\n| ----------------: | :-------- | :------ |\n|      `aIndicator` | `'-·'`    | `'-'`   |\n|      `bIndicator` | `'+·'`    | `'+'`   |\n| `commonIndicator` | `' ·'`    | `''`    |\n\n### Example of option for sorting object keys\n\nWhen two objects are compared their keys are printed in alphabetical order by default. If this was not the original order of the keys the diff becomes harder to read as the keys are not in their original position.\n\nUse `compareKeys` to pass a function which will be used when sorting the object keys.\n\n```js\nconst a = {c: 'c', b: 'b1', a: 'a'};\nconst b = {c: 'c', b: 'b2', a: 'a'};\n\nconst options = {\n  // The keys will be in their original order\n  compareKeys: () => 0,\n};\n\nconst difference = diff(a, b, options);\n```\n\n```diff\n- Expected\n+ Received\n\n  Object {\n    \"c\": \"c\",\n-   \"b\": \"b1\",\n+   \"b\": \"b2\",\n    \"a\": \"a\",\n  }\n```\n\nDepending on the implementation of `compareKeys` any sort order can be used.\n\n```js\nconst a = {c: 'c', b: 'b1', a: 'a'};\nconst b = {c: 'c', b: 'b2', a: 'a'};\n\nconst options = {\n  // The keys will be in reverse order\n  compareKeys: (a, b) => (a > b ? -1 : 1),\n};\n\nconst difference = diff(a, b, options);\n```\n\n```diff\n- Expected\n+ Received\n\n  Object {\n    \"a\": \"a\",\n-   \"b\": \"b1\",\n+   \"b\": \"b2\",\n    \"c\": \"c\",\n  }\n```\n","readmeFilename":"README.md","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@29.0.0-alpha.0","_nodeVersion":"16.15.1","_npmVersion":"lerna/4.0.0/node@v16.15.1+x64 (darwin)","dist":{"integrity":"sha512-RBpApkgwYy0ixe7gpuAFTfwyHKimVqERgko4e9FPet+hw+COAdrmwv9v1NgcOIi0MqveCECKfYBis05avWOcaw==","shasum":"e8e56fa5a8a16ec35e45f4d904ea1fbbfa54e9ce","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-29.0.0-alpha.0.tgz","fileCount":14,"unpackedSize":78580,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC4RbXVfvOwWEP5aImLKx17W8csTlhGMSSrfhfC6i6kFwIhAPzBfaL4tAQKXkTteMxres7sSUITfZzNRdgkiFiVivKP"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi1IgMACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqkkg//YpNbtYDmNzfzLjHL1+Mbowj616XhsqvlRWIxVLe+pLWCpkqz\r\nMALg3zlWf24p/QYVllh+ST9zpCwrVRMcsAer86DUtMLwJ3KSO5aXW0TzV2am\r\nvgXR0U0pdTAO48RKhyydGYjxyJR5O5jTrOpJUGAo2sdXQZJzDVRPhYbXP3Rv\r\n3AivNI+IJgnraP/NzcFSF5bCHNrgVjx8CT7nSDXEREyBMTOZ/rWEfQ1HzY2R\r\nsxLWaL7tXo9ztOsMjjLq4rA9teH237xqTapBDlGbs4Me5hqPVA9GPEtPbDSj\r\nqI5L7soqbcRIhTwMN1SeP4iqnX/0aHyAdTxQLadEtcIA2hC6oA2ty9fAc30c\r\njD1SNo+OHfzzPioq79MJgvsz5aDZggXwLBGqrPW+vTD+IWFNYcParS961E7Z\r\nkeW87USqRzUZlLYeUnn8AS528rQP4Dx0IbBVhzQokzKetMZghCZfsxUTa4Gc\r\n/PUwWxmqEKP6olP5rAI/+zrKgc38rNfcG0pnH4rMNZkUDFbD/GyFFiMKOJmy\r\n6zGK1BLV/ZTa70oqLE04QWRIqMwAfNYD0edDjsnppdola5V5lvPEqJLrng+c\r\nsMvDnRQ7m7mJVXgl1st5gcnvATF7yQxbY6ER0Cmf7Zxh86kp/Vxlas/+g71E\r\nZvveDKYeaBhNBxgFZqXLzZyR1iQszQ4XWuk=\r\n=Ck4s\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"maintainers":[{"name":"scotthovestadt","email":"scott.hovestadt@gmail.com"},{"name":"rubennorte","email":"rubennorte@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"aaronabramov","email":"aaron@abramov.io"},{"name":"davidzilburg","email":"davidzilburg@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_29.0.0-alpha.0_1658095628146_0.2670595914207059"},"_hasShrinkwrap":false},"29.0.0-alpha.1":{"name":"jest-diff","version":"29.0.0-alpha.1","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"./build/index.js","types":"./build/index.d.ts","exports":{".":{"types":"./build/index.d.ts","default":"./build/index.js"},"./package.json":"./package.json"},"dependencies":{"chalk":"^4.0.0","diff-sequences":"^29.0.0-alpha.0","jest-get-type":"^29.0.0-alpha.0","pretty-format":"^29.0.0-alpha.1"},"devDependencies":{"@jest/test-utils":"^29.0.0-alpha.1","strip-ansi":"^6.0.0"},"engines":{"node":"^14.15.0 || ^16.10.0 || >=18.0.0"},"publishConfig":{"access":"public"},"gitHead":"10f1e7f52d9f876e6fb7f20c1903fdcddd8db8b1","readme":"# jest-diff\n\nDisplay differences clearly so people can review changes confidently.\n\nThe `diff` named export serializes JavaScript **values**, compares them line-by-line, and returns a string which includes comparison lines.\n\nTwo named exports compare **strings** character-by-character:\n\n- `diffStringsUnified` returns a string.\n- `diffStringsRaw` returns an array of `Diff` objects.\n\nThree named exports compare **arrays of strings** line-by-line:\n\n- `diffLinesUnified` and `diffLinesUnified2` return a string.\n- `diffLinesRaw` returns an array of `Diff` objects.\n\n## Installation\n\nTo add this package as a dependency of a project, run either of the following commands:\n\n- `npm install jest-diff`\n- `yarn add jest-diff`\n\n## Usage of `diff()`\n\nGiven JavaScript **values**, `diff(a, b, options?)` does the following:\n\n1. **serialize** the values as strings using the `pretty-format` package\n2. **compare** the strings line-by-line using the `diff-sequences` package\n3. **format** the changed or common lines using the `chalk` package\n\nTo use this function, write either of the following:\n\n- `const {diff} = require('jest-diff');` in CommonJS modules\n- `import {diff} from 'jest-diff';` in ECMAScript modules\n\n### Example of `diff()`\n\n```js\nconst a = ['delete', 'common', 'changed from'];\nconst b = ['common', 'changed to', 'insert'];\n\nconst difference = diff(a, b);\n```\n\nThe returned **string** consists of:\n\n- annotation lines: describe the two change indicators with labels, and a blank line\n- comparison lines: similar to “unified” view on GitHub, but `Expected` lines are green, `Received` lines are red, and common lines are dim (by default, see Options)\n\n```diff\n- Expected\n+ Received\n\n  Array [\n-   \"delete\",\n    \"common\",\n-   \"changed from\",\n+   \"changed to\",\n+   \"insert\",\n  ]\n```\n\n### Edge cases of `diff()`\n\nHere are edge cases for the return value:\n\n- `' Comparing two different types of values. …'` if the arguments have **different types** according to the `jest-get-type` package (instances of different classes have the same `'object'` type)\n- `'Compared values have no visual difference.'` if the arguments have either **referential identity** according to `Object.is` method or **same serialization** according to the `pretty-format` package\n- `null` if either argument is a so-called **asymmetric matcher** in Jasmine or Jest\n\n## Usage of diffStringsUnified\n\nGiven **strings**, `diffStringsUnified(a, b, options?)` does the following:\n\n1. **compare** the strings character-by-character using the `diff-sequences` package\n2. **clean up** small (often coincidental) common substrings, also known as chaff\n3. **format** the changed or common lines using the `chalk` package\n\nAlthough the function is mainly for **multiline** strings, it compares any strings.\n\nWrite either of the following:\n\n- `const {diffStringsUnified} = require('jest-diff');` in CommonJS modules\n- `import {diffStringsUnified} from 'jest-diff';` in ECMAScript modules\n\n### Example of diffStringsUnified\n\n```js\nconst a = 'common\\nchanged from';\nconst b = 'common\\nchanged to';\n\nconst difference = diffStringsUnified(a, b);\n```\n\nThe returned **string** consists of:\n\n- annotation lines: describe the two change indicators with labels, and a blank line\n- comparison lines: similar to “unified” view on GitHub, and **changed substrings** have **inverse** foreground and background colors (that is, `from` has white-on-green and `to` has white-on-red, which the following example does not show)\n\n```diff\n- Expected\n+ Received\n\n  common\n- changed from\n+ changed to\n```\n\n### Performance of diffStringsUnified\n\nTo get the benefit of **changed substrings** within the comparison lines, a character-by-character comparison has a higher computational cost (in time and space) than a line-by-line comparison.\n\nIf the input strings can have **arbitrary length**, we recommend that the calling code set a limit, beyond which splits the strings, and then calls `diffLinesUnified` instead. For example, Jest falls back to line-by-line comparison if either string has length greater than 20K characters.\n\n## Usage of diffLinesUnified\n\nGiven **arrays of strings**, `diffLinesUnified(aLines, bLines, options?)` does the following:\n\n1. **compare** the arrays line-by-line using the `diff-sequences` package\n2. **format** the changed or common lines using the `chalk` package\n\nYou might call this function when strings have been split into lines and you do not need to see changed substrings within lines.\n\n### Example of diffLinesUnified\n\n```js\nconst aLines = ['delete', 'common', 'changed from'];\nconst bLines = ['common', 'changed to', 'insert'];\n\nconst difference = diffLinesUnified(aLines, bLines);\n```\n\n```diff\n- Expected\n+ Received\n\n- delete\n  common\n- changed from\n+ changed to\n+ insert\n```\n\n### Edge cases of diffLinesUnified or diffStringsUnified\n\nHere are edge cases for arguments and return values:\n\n- both `a` and `b` are empty strings: no comparison lines\n- only `a` is empty string: all comparison lines have `bColor` and `bIndicator` (see Options)\n- only `b` is empty string: all comparison lines have `aColor` and `aIndicator` (see Options)\n- `a` and `b` are equal non-empty strings: all comparison lines have `commonColor` and `commonIndicator` (see Options)\n\n## Usage of diffLinesUnified2\n\nGiven two **pairs** of arrays of strings, `diffLinesUnified2(aLinesDisplay, bLinesDisplay, aLinesCompare, bLinesCompare, options?)` does the following:\n\n1. **compare** the pair of `Compare` arrays line-by-line using the `diff-sequences` package\n2. **format** the corresponding lines in the pair of `Display` arrays using the `chalk` package\n\nJest calls this function to consider lines as common instead of changed if the only difference is indentation.\n\nYou might call this function for case insensitive or Unicode equivalence comparison of lines.\n\n### Example of diffLinesUnified2\n\n```js\nimport {format} from 'pretty-format';\n\nconst a = {\n  text: 'Ignore indentation in serialized object',\n  time: '2019-09-19T12:34:56.000Z',\n  type: 'CREATE_ITEM',\n};\nconst b = {\n  payload: {\n    text: 'Ignore indentation in serialized object',\n    time: '2019-09-19T12:34:56.000Z',\n  },\n  type: 'CREATE_ITEM',\n};\n\nconst difference = diffLinesUnified2(\n  // serialize with indentation to display lines\n  format(a).split('\\n'),\n  format(b).split('\\n'),\n  // serialize without indentation to compare lines\n  format(a, {indent: 0}).split('\\n'),\n  format(b, {indent: 0}).split('\\n'),\n);\n```\n\nThe `text` and `time` properties are common, because their only difference is indentation:\n\n```diff\n- Expected\n+ Received\n\n  Object {\n+   payload: Object {\n      text: 'Ignore indentation in serialized object',\n      time: '2019-09-19T12:34:56.000Z',\n+   },\n    type: 'CREATE_ITEM',\n  }\n```\n\nThe preceding example illustrates why (at least for indentation) it seems more intuitive that the function returns the common line from the `bLinesDisplay` array instead of from the `aLinesDisplay` array.\n\n## Usage of diffStringsRaw\n\nGiven **strings** and a boolean option, `diffStringsRaw(a, b, cleanup)` does the following:\n\n1. **compare** the strings character-by-character using the `diff-sequences` package\n2. optionally **clean up** small (often coincidental) common substrings, also known as chaff\n\nBecause `diffStringsRaw` returns the difference as **data** instead of a string, you can format it as your application requires (for example, enclosed in HTML markup for browser instead of escape sequences for console).\n\nThe returned **array** describes substrings as instances of the `Diff` class, which calling code can access like array tuples:\n\nThe value at index `0` is one of the following:\n\n| value | named export  | description           |\n| ----: | :------------ | :-------------------- |\n|   `0` | `DIFF_EQUAL`  | in `a` and in `b`     |\n|  `-1` | `DIFF_DELETE` | in `a` but not in `b` |\n|   `1` | `DIFF_INSERT` | in `b` but not in `a` |\n\nThe value at index `1` is a substring of `a` or `b` or both.\n\n### Example of diffStringsRaw with cleanup\n\n```js\nconst diffs = diffStringsRaw('changed from', 'changed to', true);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `0` | `'changed '`  |\n| `1` |          `-1` | `'from'`      |\n| `2` |           `1` | `'to'`        |\n\n### Example of diffStringsRaw without cleanup\n\n```js\nconst diffs = diffStringsRaw('changed from', 'changed to', false);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `0` | `'changed '`  |\n| `1` |          `-1` | `'fr'`        |\n| `2` |           `1` | `'t'`         |\n| `3` |           `0` | `'o'`         |\n| `4` |          `-1` | `'m'`         |\n\n### Advanced import for diffStringsRaw\n\nHere are all the named imports that you might need for the `diffStringsRaw` function:\n\n- `const {DIFF_DELETE, DIFF_EQUAL, DIFF_INSERT, Diff, diffStringsRaw} = require('jest-diff');` in CommonJS modules\n- `import {DIFF_DELETE, DIFF_EQUAL, DIFF_INSERT, Diff, diffStringsRaw} from 'jest-diff';` in ECMAScript modules\n\nTo write a **formatting** function, you might need the named constants (and `Diff` in TypeScript annotations).\n\nIf you write an application-specific **cleanup** algorithm, then you might need to call the `Diff` constructor:\n\n```js\nconst diffCommon = new Diff(DIFF_EQUAL, 'changed ');\nconst diffDelete = new Diff(DIFF_DELETE, 'from');\nconst diffInsert = new Diff(DIFF_INSERT, 'to');\n```\n\n## Usage of diffLinesRaw\n\nGiven **arrays of strings**, `diffLinesRaw(aLines, bLines)` does the following:\n\n- **compare** the arrays line-by-line using the `diff-sequences` package\n\nBecause `diffLinesRaw` returns the difference as **data** instead of a string, you can format it as your application requires.\n\n### Example of diffLinesRaw\n\n```js\nconst aLines = ['delete', 'common', 'changed from'];\nconst bLines = ['common', 'changed to', 'insert'];\n\nconst diffs = diffLinesRaw(aLines, bLines);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]`    |\n| --: | ------------: | :--------------- |\n| `0` |          `-1` | `'delete'`       |\n| `1` |           `0` | `'common'`       |\n| `2` |          `-1` | `'changed from'` |\n| `3` |           `1` | `'changed to'`   |\n| `4` |           `1` | `'insert'`       |\n\n### Edge case of diffLinesRaw\n\nIf you call `string.split('\\n')` for an empty string:\n\n- the result is `['']` an array which contains an empty string\n- instead of `[]` an empty array\n\nDepending of your application, you might call `diffLinesRaw` with either array.\n\n### Example of split method\n\n```js\nimport {diffLinesRaw} from 'jest-diff';\n\nconst a = 'non-empty string';\nconst b = '';\n\nconst diffs = diffLinesRaw(a.split('\\n'), b.split('\\n'));\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]`        |\n| --: | ------------: | :------------------- |\n| `0` |          `-1` | `'non-empty string'` |\n| `1` |           `1` | `''`                 |\n\nWhich you might format as follows:\n\n```diff\n- Expected  - 1\n+ Received  + 1\n\n- non-empty string\n+\n```\n\n### Example of splitLines0 function\n\nFor edge case behavior like the `diffLinesUnified` function, you might define a `splitLines0` function, which given an empty string, returns `[]` an empty array:\n\n```js\nexport const splitLines0 = string =>\n  string.length === 0 ? [] : string.split('\\n');\n```\n\n```js\nimport {diffLinesRaw} from 'jest-diff';\n\nconst a = '';\nconst b = 'line 1\\nline 2\\nline 3';\n\nconst diffs = diffLinesRaw(a.split('\\n'), b.split('\\n'));\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `1` | `'line 1'`    |\n| `1` |           `1` | `'line 2'`    |\n| `2` |           `1` | `'line 3'`    |\n\nWhich you might format as follows:\n\n```diff\n- Expected  - 0\n+ Received  + 3\n\n+ line 1\n+ line 2\n+ line 3\n```\n\nIn contrast to the `diffLinesRaw` function, the `diffLinesUnified` and `diffLinesUnified2` functions **automatically** convert array arguments computed by string `split` method, so callers do **not** need a `splitLine0` function.\n\n## Options\n\nThe default options are for the report when an assertion fails from the `expect` package used by Jest.\n\nFor other applications, you can provide an options object as a third argument:\n\n- `diff(a, b, options)`\n- `diffStringsUnified(a, b, options)`\n- `diffLinesUnified(aLines, bLines, options)`\n- `diffLinesUnified2(aLinesDisplay, bLinesDisplay, aLinesCompare, bLinesCompare, options)`\n\n### Properties of options object\n\n| name                              | default            |\n| :-------------------------------- | :----------------- |\n| `aAnnotation`                     | `'Expected'`       |\n| `aColor`                          | `chalk.green`      |\n| `aIndicator`                      | `'-'`              |\n| `bAnnotation`                     | `'Received'`       |\n| `bColor`                          | `chalk.red`        |\n| `bIndicator`                      | `'+'`              |\n| `changeColor`                     | `chalk.inverse`    |\n| `changeLineTrailingSpaceColor`    | `string => string` |\n| `commonColor`                     | `chalk.dim`        |\n| `commonIndicator`                 | `' '`              |\n| `commonLineTrailingSpaceColor`    | `string => string` |\n| `compareKeys`                     | `undefined`        |\n| `contextLines`                    | `5`                |\n| `emptyFirstOrLastLinePlaceholder` | `''`               |\n| `expand`                          | `true`             |\n| `includeChangeCounts`             | `false`            |\n| `omitAnnotationLines`             | `false`            |\n| `patchColor`                      | `chalk.yellow`     |\n\nFor more information about the options, see the following examples.\n\n### Example of options for labels\n\nIf the application is code modification, you might replace the labels:\n\n```js\nconst options = {\n  aAnnotation: 'Original',\n  bAnnotation: 'Modified',\n};\n```\n\n```diff\n- Original\n+ Modified\n\n  common\n- changed from\n+ changed to\n```\n\nThe `jest-diff` package does not assume that the 2 labels have equal length.\n\n### Example of options for colors of changed lines\n\nFor consistency with most diff tools, you might exchange the colors:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  aColor: chalk.red,\n  bColor: chalk.green,\n};\n```\n\n### Example of option for color of changed substrings\n\nAlthough the default inverse of foreground and background colors is hard to beat for changed substrings **within lines**, especially because it highlights spaces, if you want bold font weight on yellow background color:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  changeColor: chalk.bold.bgYellowBright,\n};\n```\n\n### Example of option to format trailing spaces\n\nBecause `diff()` does not display substring differences within lines, formatting can help you see when lines differ by the presence or absence of trailing spaces found by `/\\s+$/` regular expression.\n\n- If change lines have a background color, then you can see trailing spaces.\n- If common lines have default dim color, then you cannot see trailing spaces. You might want yellowish background color to see them.\n\n```js\nconst options = {\n  aColor: chalk.rgb(128, 0, 128).bgRgb(255, 215, 255), // magenta\n  bColor: chalk.rgb(0, 95, 0).bgRgb(215, 255, 215), // green\n  commonLineTrailingSpaceColor: chalk.bgYellow,\n};\n```\n\nThe value of a Color option is a function, which given a string, returns a string.\n\nIf you want to replace trailing spaces with middle dot characters:\n\n```js\nconst replaceSpacesWithMiddleDot = string => '·'.repeat(string.length);\n\nconst options = {\n  changeLineTrailingSpaceColor: replaceSpacesWithMiddleDot,\n  commonLineTrailingSpaceColor: replaceSpacesWithMiddleDot,\n};\n```\n\nIf you need the TypeScript type of a Color option:\n\n```ts\nimport {DiffOptionsColor} from 'jest-diff';\n```\n\n### Example of options for no colors\n\nTo store the difference in a file without escape codes for colors, provide an identity function:\n\n```js\nconst noColor = string => string;\n\nconst options = {\n  aColor: noColor,\n  bColor: noColor,\n  changeColor: noColor,\n  commonColor: noColor,\n  patchColor: noColor,\n};\n```\n\n### Example of options for indicators\n\nFor consistency with the `diff` command, you might replace the indicators:\n\n```js\nconst options = {\n  aIndicator: '<',\n  bIndicator: '>',\n};\n```\n\nThe `jest-diff` package assumes (but does not enforce) that the 3 indicators have equal length.\n\n### Example of options to limit common lines\n\nBy default, the output includes all common lines.\n\nTo emphasize the changes, you might limit the number of common “context” lines:\n\n```js\nconst options = {\n  contextLines: 1,\n  expand: false,\n};\n```\n\nA patch mark like `@@ -12,7 +12,9 @@` accounts for omitted common lines.\n\n### Example of option for color of patch marks\n\nIf you want patch marks to have the same dim color as common lines:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  expand: false,\n  patchColor: chalk.dim,\n};\n```\n\n### Example of option to include change counts\n\nTo display the number of changed lines at the right of annotation lines:\n\n```js\nconst a = ['common', 'changed from'];\nconst b = ['common', 'changed to', 'insert'];\n\nconst options = {\n  includeChangeCounts: true,\n};\n\nconst difference = diff(a, b, options);\n```\n\n```diff\n- Expected  - 1\n+ Received  + 2\n\n  Array [\n    \"common\",\n-   \"changed from\",\n+   \"changed to\",\n+   \"insert\",\n  ]\n```\n\n### Example of option to omit annotation lines\n\nTo display only the comparison lines:\n\n```js\nconst a = 'common\\nchanged from';\nconst b = 'common\\nchanged to';\n\nconst options = {\n  omitAnnotationLines: true,\n};\n\nconst difference = diffStringsUnified(a, b, options);\n```\n\n```diff\n  common\n- changed from\n+ changed to\n```\n\n### Example of option for empty first or last lines\n\nIf the **first** or **last** comparison line is **empty**, because the content is empty and the indicator is a space, you might not notice it.\n\nThe replacement option is a string whose default value is `''` empty string.\n\nBecause Jest trims the report when a matcher fails, it deletes an empty last line.\n\nTherefore, Jest uses as placeholder the downwards arrow with corner leftwards:\n\n```js\nconst options = {\n  emptyFirstOrLastLinePlaceholder: '↵', // U+21B5\n};\n```\n\nIf a content line is empty, then the corresponding comparison line is automatically trimmed to remove the margin space (represented as a middle dot below) for the default indicators:\n\n|         Indicator | untrimmed | trimmed |\n| ----------------: | :-------- | :------ |\n|      `aIndicator` | `'-·'`    | `'-'`   |\n|      `bIndicator` | `'+·'`    | `'+'`   |\n| `commonIndicator` | `' ·'`    | `''`    |\n\n### Example of option for sorting object keys\n\nWhen two objects are compared their keys are printed in alphabetical order by default. If this was not the original order of the keys the diff becomes harder to read as the keys are not in their original position.\n\nUse `compareKeys` to pass a function which will be used when sorting the object keys.\n\n```js\nconst a = {c: 'c', b: 'b1', a: 'a'};\nconst b = {c: 'c', b: 'b2', a: 'a'};\n\nconst options = {\n  // The keys will be in their original order\n  compareKeys: () => 0,\n};\n\nconst difference = diff(a, b, options);\n```\n\n```diff\n- Expected\n+ Received\n\n  Object {\n    \"c\": \"c\",\n-   \"b\": \"b1\",\n+   \"b\": \"b2\",\n    \"a\": \"a\",\n  }\n```\n\nDepending on the implementation of `compareKeys` any sort order can be used.\n\n```js\nconst a = {c: 'c', b: 'b1', a: 'a'};\nconst b = {c: 'c', b: 'b2', a: 'a'};\n\nconst options = {\n  // The keys will be in reverse order\n  compareKeys: (a, b) => (a > b ? -1 : 1),\n};\n\nconst difference = diff(a, b, options);\n```\n\n```diff\n- Expected\n+ Received\n\n  Object {\n    \"a\": \"a\",\n-   \"b\": \"b1\",\n+   \"b\": \"b2\",\n    \"c\": \"c\",\n  }\n```\n","readmeFilename":"README.md","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@29.0.0-alpha.1","_nodeVersion":"16.15.1","_npmVersion":"lerna/4.0.0/node@v16.15.1+x64 (darwin)","dist":{"integrity":"sha512-TAlVSha8IznOasdTYJjY4Zp8rfJFbFSoeXO4G1yDNJkfNmnoEjYDyRsJREuHDIlExIA5xT8jRGGWuKFZoAxM4A==","shasum":"f7e152b59d34c59f86dce4625ee833ab5a8c11e6","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-29.0.0-alpha.1.tgz","fileCount":14,"unpackedSize":78580,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBnsXYfCo0dHimxPocU3NeMn0Cj9ZhQUe6hcR1ZnnI81AiEA+Vf2ZZjbHqtkTAtBq1JGGpOTKJWBqX8LvlN3JiAf5mk="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi64ICACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpGjxAAh2MbbACY0r6VispRC8jDHgFMU1zjGQDQ/B5B1q3/t0BNOLk4\r\nQeLHYhVLbCzvJacCKfuSVsX/sAba78taaEHwJ/QnpWZnfBF0QEb+oFwJ9GUs\r\n7e2sW/B3A0BirNFV9wKLFaSfI1kKpBatPbjeSsc9kRqI+x7WGzOsK++s66zx\r\nBL5+/8WyICafYx/4M6ikG7dDUEczMrlvInNlzZuSem9lWH196ixdTzOd/FKk\r\nEw9gZV550sr4AjIkMUKBy9PdzcsIRsZhhRb+iPJu8/3fekFQZrT3L9ulOiVj\r\n4TtPiV9/MOQYHlEdPGZI4toO6exoEgq4ZTK7iGMoDSlsYgdc7yikVYOfBt1O\r\ncZ8qKk2zLvXL8btgyjLEdfoBuG2YCgIy2qURliyMlxoXTLayl07AsMymjfEw\r\nPNIOv1I9MLU21YKMhC8Dd5bcANaLb1hnmXkI9nDgHm4BLlzULG+U/P35oYxy\r\nS6z7+8ojraz2s1vBXUDlZ8wKKyVNuG1/AX28K1NZaFeqPCn0Z/bW+RLAtRxT\r\nWyZupVKodpIrW1udwPx3MieRLNzMNJBJavw/iq9xI77AWguQFRICBxaoYODk\r\n8QitIq/EOGx0tak6TqekHjLW5qN4/pXEj5qYArZubPuEp38NxVQthZVRMEn9\r\n12UOc+WFLkQJJoZ5rdL3AGQc9ABOAptnGv8=\r\n=5x12\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"maintainers":[{"name":"scotthovestadt","email":"scott.hovestadt@gmail.com"},{"name":"rubennorte","email":"rubennorte@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"aaronabramov","email":"aaron@abramov.io"},{"name":"davidzilburg","email":"davidzilburg@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_29.0.0-alpha.1_1659601410199_0.6399913157160468"},"_hasShrinkwrap":false},"29.0.0-alpha.3":{"name":"jest-diff","version":"29.0.0-alpha.3","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"./build/index.js","types":"./build/index.d.ts","exports":{".":{"types":"./build/index.d.ts","default":"./build/index.js"},"./package.json":"./package.json"},"dependencies":{"chalk":"^4.0.0","diff-sequences":"^29.0.0-alpha.3","jest-get-type":"^29.0.0-alpha.3","pretty-format":"^29.0.0-alpha.3"},"devDependencies":{"@jest/test-utils":"^29.0.0-alpha.3","strip-ansi":"^6.0.0"},"engines":{"node":"^14.15.0 || ^16.10.0 || >=18.0.0"},"publishConfig":{"access":"public"},"gitHead":"09981873c55442e5e494d42012f518b7d3d41fbd","readme":"# jest-diff\n\nDisplay differences clearly so people can review changes confidently.\n\nThe `diff` named export serializes JavaScript **values**, compares them line-by-line, and returns a string which includes comparison lines.\n\nTwo named exports compare **strings** character-by-character:\n\n- `diffStringsUnified` returns a string.\n- `diffStringsRaw` returns an array of `Diff` objects.\n\nThree named exports compare **arrays of strings** line-by-line:\n\n- `diffLinesUnified` and `diffLinesUnified2` return a string.\n- `diffLinesRaw` returns an array of `Diff` objects.\n\n## Installation\n\nTo add this package as a dependency of a project, run either of the following commands:\n\n- `npm install jest-diff`\n- `yarn add jest-diff`\n\n## Usage of `diff()`\n\nGiven JavaScript **values**, `diff(a, b, options?)` does the following:\n\n1. **serialize** the values as strings using the `pretty-format` package\n2. **compare** the strings line-by-line using the `diff-sequences` package\n3. **format** the changed or common lines using the `chalk` package\n\nTo use this function, write either of the following:\n\n- `const {diff} = require('jest-diff');` in CommonJS modules\n- `import {diff} from 'jest-diff';` in ECMAScript modules\n\n### Example of `diff()`\n\n```js\nconst a = ['delete', 'common', 'changed from'];\nconst b = ['common', 'changed to', 'insert'];\n\nconst difference = diff(a, b);\n```\n\nThe returned **string** consists of:\n\n- annotation lines: describe the two change indicators with labels, and a blank line\n- comparison lines: similar to “unified” view on GitHub, but `Expected` lines are green, `Received` lines are red, and common lines are dim (by default, see Options)\n\n```diff\n- Expected\n+ Received\n\n  Array [\n-   \"delete\",\n    \"common\",\n-   \"changed from\",\n+   \"changed to\",\n+   \"insert\",\n  ]\n```\n\n### Edge cases of `diff()`\n\nHere are edge cases for the return value:\n\n- `' Comparing two different types of values. …'` if the arguments have **different types** according to the `jest-get-type` package (instances of different classes have the same `'object'` type)\n- `'Compared values have no visual difference.'` if the arguments have either **referential identity** according to `Object.is` method or **same serialization** according to the `pretty-format` package\n- `null` if either argument is a so-called **asymmetric matcher** in Jasmine or Jest\n\n## Usage of diffStringsUnified\n\nGiven **strings**, `diffStringsUnified(a, b, options?)` does the following:\n\n1. **compare** the strings character-by-character using the `diff-sequences` package\n2. **clean up** small (often coincidental) common substrings, also known as chaff\n3. **format** the changed or common lines using the `chalk` package\n\nAlthough the function is mainly for **multiline** strings, it compares any strings.\n\nWrite either of the following:\n\n- `const {diffStringsUnified} = require('jest-diff');` in CommonJS modules\n- `import {diffStringsUnified} from 'jest-diff';` in ECMAScript modules\n\n### Example of diffStringsUnified\n\n```js\nconst a = 'common\\nchanged from';\nconst b = 'common\\nchanged to';\n\nconst difference = diffStringsUnified(a, b);\n```\n\nThe returned **string** consists of:\n\n- annotation lines: describe the two change indicators with labels, and a blank line\n- comparison lines: similar to “unified” view on GitHub, and **changed substrings** have **inverse** foreground and background colors (that is, `from` has white-on-green and `to` has white-on-red, which the following example does not show)\n\n```diff\n- Expected\n+ Received\n\n  common\n- changed from\n+ changed to\n```\n\n### Performance of diffStringsUnified\n\nTo get the benefit of **changed substrings** within the comparison lines, a character-by-character comparison has a higher computational cost (in time and space) than a line-by-line comparison.\n\nIf the input strings can have **arbitrary length**, we recommend that the calling code set a limit, beyond which splits the strings, and then calls `diffLinesUnified` instead. For example, Jest falls back to line-by-line comparison if either string has length greater than 20K characters.\n\n## Usage of diffLinesUnified\n\nGiven **arrays of strings**, `diffLinesUnified(aLines, bLines, options?)` does the following:\n\n1. **compare** the arrays line-by-line using the `diff-sequences` package\n2. **format** the changed or common lines using the `chalk` package\n\nYou might call this function when strings have been split into lines and you do not need to see changed substrings within lines.\n\n### Example of diffLinesUnified\n\n```js\nconst aLines = ['delete', 'common', 'changed from'];\nconst bLines = ['common', 'changed to', 'insert'];\n\nconst difference = diffLinesUnified(aLines, bLines);\n```\n\n```diff\n- Expected\n+ Received\n\n- delete\n  common\n- changed from\n+ changed to\n+ insert\n```\n\n### Edge cases of diffLinesUnified or diffStringsUnified\n\nHere are edge cases for arguments and return values:\n\n- both `a` and `b` are empty strings: no comparison lines\n- only `a` is empty string: all comparison lines have `bColor` and `bIndicator` (see Options)\n- only `b` is empty string: all comparison lines have `aColor` and `aIndicator` (see Options)\n- `a` and `b` are equal non-empty strings: all comparison lines have `commonColor` and `commonIndicator` (see Options)\n\n## Usage of diffLinesUnified2\n\nGiven two **pairs** of arrays of strings, `diffLinesUnified2(aLinesDisplay, bLinesDisplay, aLinesCompare, bLinesCompare, options?)` does the following:\n\n1. **compare** the pair of `Compare` arrays line-by-line using the `diff-sequences` package\n2. **format** the corresponding lines in the pair of `Display` arrays using the `chalk` package\n\nJest calls this function to consider lines as common instead of changed if the only difference is indentation.\n\nYou might call this function for case insensitive or Unicode equivalence comparison of lines.\n\n### Example of diffLinesUnified2\n\n```js\nimport {format} from 'pretty-format';\n\nconst a = {\n  text: 'Ignore indentation in serialized object',\n  time: '2019-09-19T12:34:56.000Z',\n  type: 'CREATE_ITEM',\n};\nconst b = {\n  payload: {\n    text: 'Ignore indentation in serialized object',\n    time: '2019-09-19T12:34:56.000Z',\n  },\n  type: 'CREATE_ITEM',\n};\n\nconst difference = diffLinesUnified2(\n  // serialize with indentation to display lines\n  format(a).split('\\n'),\n  format(b).split('\\n'),\n  // serialize without indentation to compare lines\n  format(a, {indent: 0}).split('\\n'),\n  format(b, {indent: 0}).split('\\n'),\n);\n```\n\nThe `text` and `time` properties are common, because their only difference is indentation:\n\n```diff\n- Expected\n+ Received\n\n  Object {\n+   payload: Object {\n      text: 'Ignore indentation in serialized object',\n      time: '2019-09-19T12:34:56.000Z',\n+   },\n    type: 'CREATE_ITEM',\n  }\n```\n\nThe preceding example illustrates why (at least for indentation) it seems more intuitive that the function returns the common line from the `bLinesDisplay` array instead of from the `aLinesDisplay` array.\n\n## Usage of diffStringsRaw\n\nGiven **strings** and a boolean option, `diffStringsRaw(a, b, cleanup)` does the following:\n\n1. **compare** the strings character-by-character using the `diff-sequences` package\n2. optionally **clean up** small (often coincidental) common substrings, also known as chaff\n\nBecause `diffStringsRaw` returns the difference as **data** instead of a string, you can format it as your application requires (for example, enclosed in HTML markup for browser instead of escape sequences for console).\n\nThe returned **array** describes substrings as instances of the `Diff` class, which calling code can access like array tuples:\n\nThe value at index `0` is one of the following:\n\n| value | named export  | description           |\n| ----: | :------------ | :-------------------- |\n|   `0` | `DIFF_EQUAL`  | in `a` and in `b`     |\n|  `-1` | `DIFF_DELETE` | in `a` but not in `b` |\n|   `1` | `DIFF_INSERT` | in `b` but not in `a` |\n\nThe value at index `1` is a substring of `a` or `b` or both.\n\n### Example of diffStringsRaw with cleanup\n\n```js\nconst diffs = diffStringsRaw('changed from', 'changed to', true);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `0` | `'changed '`  |\n| `1` |          `-1` | `'from'`      |\n| `2` |           `1` | `'to'`        |\n\n### Example of diffStringsRaw without cleanup\n\n```js\nconst diffs = diffStringsRaw('changed from', 'changed to', false);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `0` | `'changed '`  |\n| `1` |          `-1` | `'fr'`        |\n| `2` |           `1` | `'t'`         |\n| `3` |           `0` | `'o'`         |\n| `4` |          `-1` | `'m'`         |\n\n### Advanced import for diffStringsRaw\n\nHere are all the named imports that you might need for the `diffStringsRaw` function:\n\n- `const {DIFF_DELETE, DIFF_EQUAL, DIFF_INSERT, Diff, diffStringsRaw} = require('jest-diff');` in CommonJS modules\n- `import {DIFF_DELETE, DIFF_EQUAL, DIFF_INSERT, Diff, diffStringsRaw} from 'jest-diff';` in ECMAScript modules\n\nTo write a **formatting** function, you might need the named constants (and `Diff` in TypeScript annotations).\n\nIf you write an application-specific **cleanup** algorithm, then you might need to call the `Diff` constructor:\n\n```js\nconst diffCommon = new Diff(DIFF_EQUAL, 'changed ');\nconst diffDelete = new Diff(DIFF_DELETE, 'from');\nconst diffInsert = new Diff(DIFF_INSERT, 'to');\n```\n\n## Usage of diffLinesRaw\n\nGiven **arrays of strings**, `diffLinesRaw(aLines, bLines)` does the following:\n\n- **compare** the arrays line-by-line using the `diff-sequences` package\n\nBecause `diffLinesRaw` returns the difference as **data** instead of a string, you can format it as your application requires.\n\n### Example of diffLinesRaw\n\n```js\nconst aLines = ['delete', 'common', 'changed from'];\nconst bLines = ['common', 'changed to', 'insert'];\n\nconst diffs = diffLinesRaw(aLines, bLines);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]`    |\n| --: | ------------: | :--------------- |\n| `0` |          `-1` | `'delete'`       |\n| `1` |           `0` | `'common'`       |\n| `2` |          `-1` | `'changed from'` |\n| `3` |           `1` | `'changed to'`   |\n| `4` |           `1` | `'insert'`       |\n\n### Edge case of diffLinesRaw\n\nIf you call `string.split('\\n')` for an empty string:\n\n- the result is `['']` an array which contains an empty string\n- instead of `[]` an empty array\n\nDepending of your application, you might call `diffLinesRaw` with either array.\n\n### Example of split method\n\n```js\nimport {diffLinesRaw} from 'jest-diff';\n\nconst a = 'non-empty string';\nconst b = '';\n\nconst diffs = diffLinesRaw(a.split('\\n'), b.split('\\n'));\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]`        |\n| --: | ------------: | :------------------- |\n| `0` |          `-1` | `'non-empty string'` |\n| `1` |           `1` | `''`                 |\n\nWhich you might format as follows:\n\n```diff\n- Expected  - 1\n+ Received  + 1\n\n- non-empty string\n+\n```\n\n### Example of splitLines0 function\n\nFor edge case behavior like the `diffLinesUnified` function, you might define a `splitLines0` function, which given an empty string, returns `[]` an empty array:\n\n```js\nexport const splitLines0 = string =>\n  string.length === 0 ? [] : string.split('\\n');\n```\n\n```js\nimport {diffLinesRaw} from 'jest-diff';\n\nconst a = '';\nconst b = 'line 1\\nline 2\\nline 3';\n\nconst diffs = diffLinesRaw(a.split('\\n'), b.split('\\n'));\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `1` | `'line 1'`    |\n| `1` |           `1` | `'line 2'`    |\n| `2` |           `1` | `'line 3'`    |\n\nWhich you might format as follows:\n\n```diff\n- Expected  - 0\n+ Received  + 3\n\n+ line 1\n+ line 2\n+ line 3\n```\n\nIn contrast to the `diffLinesRaw` function, the `diffLinesUnified` and `diffLinesUnified2` functions **automatically** convert array arguments computed by string `split` method, so callers do **not** need a `splitLine0` function.\n\n## Options\n\nThe default options are for the report when an assertion fails from the `expect` package used by Jest.\n\nFor other applications, you can provide an options object as a third argument:\n\n- `diff(a, b, options)`\n- `diffStringsUnified(a, b, options)`\n- `diffLinesUnified(aLines, bLines, options)`\n- `diffLinesUnified2(aLinesDisplay, bLinesDisplay, aLinesCompare, bLinesCompare, options)`\n\n### Properties of options object\n\n| name                              | default            |\n| :-------------------------------- | :----------------- |\n| `aAnnotation`                     | `'Expected'`       |\n| `aColor`                          | `chalk.green`      |\n| `aIndicator`                      | `'-'`              |\n| `bAnnotation`                     | `'Received'`       |\n| `bColor`                          | `chalk.red`        |\n| `bIndicator`                      | `'+'`              |\n| `changeColor`                     | `chalk.inverse`    |\n| `changeLineTrailingSpaceColor`    | `string => string` |\n| `commonColor`                     | `chalk.dim`        |\n| `commonIndicator`                 | `' '`              |\n| `commonLineTrailingSpaceColor`    | `string => string` |\n| `compareKeys`                     | `undefined`        |\n| `contextLines`                    | `5`                |\n| `emptyFirstOrLastLinePlaceholder` | `''`               |\n| `expand`                          | `true`             |\n| `includeChangeCounts`             | `false`            |\n| `omitAnnotationLines`             | `false`            |\n| `patchColor`                      | `chalk.yellow`     |\n\nFor more information about the options, see the following examples.\n\n### Example of options for labels\n\nIf the application is code modification, you might replace the labels:\n\n```js\nconst options = {\n  aAnnotation: 'Original',\n  bAnnotation: 'Modified',\n};\n```\n\n```diff\n- Original\n+ Modified\n\n  common\n- changed from\n+ changed to\n```\n\nThe `jest-diff` package does not assume that the 2 labels have equal length.\n\n### Example of options for colors of changed lines\n\nFor consistency with most diff tools, you might exchange the colors:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  aColor: chalk.red,\n  bColor: chalk.green,\n};\n```\n\n### Example of option for color of changed substrings\n\nAlthough the default inverse of foreground and background colors is hard to beat for changed substrings **within lines**, especially because it highlights spaces, if you want bold font weight on yellow background color:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  changeColor: chalk.bold.bgYellowBright,\n};\n```\n\n### Example of option to format trailing spaces\n\nBecause `diff()` does not display substring differences within lines, formatting can help you see when lines differ by the presence or absence of trailing spaces found by `/\\s+$/` regular expression.\n\n- If change lines have a background color, then you can see trailing spaces.\n- If common lines have default dim color, then you cannot see trailing spaces. You might want yellowish background color to see them.\n\n```js\nconst options = {\n  aColor: chalk.rgb(128, 0, 128).bgRgb(255, 215, 255), // magenta\n  bColor: chalk.rgb(0, 95, 0).bgRgb(215, 255, 215), // green\n  commonLineTrailingSpaceColor: chalk.bgYellow,\n};\n```\n\nThe value of a Color option is a function, which given a string, returns a string.\n\nIf you want to replace trailing spaces with middle dot characters:\n\n```js\nconst replaceSpacesWithMiddleDot = string => '·'.repeat(string.length);\n\nconst options = {\n  changeLineTrailingSpaceColor: replaceSpacesWithMiddleDot,\n  commonLineTrailingSpaceColor: replaceSpacesWithMiddleDot,\n};\n```\n\nIf you need the TypeScript type of a Color option:\n\n```ts\nimport {DiffOptionsColor} from 'jest-diff';\n```\n\n### Example of options for no colors\n\nTo store the difference in a file without escape codes for colors, provide an identity function:\n\n```js\nconst noColor = string => string;\n\nconst options = {\n  aColor: noColor,\n  bColor: noColor,\n  changeColor: noColor,\n  commonColor: noColor,\n  patchColor: noColor,\n};\n```\n\n### Example of options for indicators\n\nFor consistency with the `diff` command, you might replace the indicators:\n\n```js\nconst options = {\n  aIndicator: '<',\n  bIndicator: '>',\n};\n```\n\nThe `jest-diff` package assumes (but does not enforce) that the 3 indicators have equal length.\n\n### Example of options to limit common lines\n\nBy default, the output includes all common lines.\n\nTo emphasize the changes, you might limit the number of common “context” lines:\n\n```js\nconst options = {\n  contextLines: 1,\n  expand: false,\n};\n```\n\nA patch mark like `@@ -12,7 +12,9 @@` accounts for omitted common lines.\n\n### Example of option for color of patch marks\n\nIf you want patch marks to have the same dim color as common lines:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  expand: false,\n  patchColor: chalk.dim,\n};\n```\n\n### Example of option to include change counts\n\nTo display the number of changed lines at the right of annotation lines:\n\n```js\nconst a = ['common', 'changed from'];\nconst b = ['common', 'changed to', 'insert'];\n\nconst options = {\n  includeChangeCounts: true,\n};\n\nconst difference = diff(a, b, options);\n```\n\n```diff\n- Expected  - 1\n+ Received  + 2\n\n  Array [\n    \"common\",\n-   \"changed from\",\n+   \"changed to\",\n+   \"insert\",\n  ]\n```\n\n### Example of option to omit annotation lines\n\nTo display only the comparison lines:\n\n```js\nconst a = 'common\\nchanged from';\nconst b = 'common\\nchanged to';\n\nconst options = {\n  omitAnnotationLines: true,\n};\n\nconst difference = diffStringsUnified(a, b, options);\n```\n\n```diff\n  common\n- changed from\n+ changed to\n```\n\n### Example of option for empty first or last lines\n\nIf the **first** or **last** comparison line is **empty**, because the content is empty and the indicator is a space, you might not notice it.\n\nThe replacement option is a string whose default value is `''` empty string.\n\nBecause Jest trims the report when a matcher fails, it deletes an empty last line.\n\nTherefore, Jest uses as placeholder the downwards arrow with corner leftwards:\n\n```js\nconst options = {\n  emptyFirstOrLastLinePlaceholder: '↵', // U+21B5\n};\n```\n\nIf a content line is empty, then the corresponding comparison line is automatically trimmed to remove the margin space (represented as a middle dot below) for the default indicators:\n\n|         Indicator | untrimmed | trimmed |\n| ----------------: | :-------- | :------ |\n|      `aIndicator` | `'-·'`    | `'-'`   |\n|      `bIndicator` | `'+·'`    | `'+'`   |\n| `commonIndicator` | `' ·'`    | `''`    |\n\n### Example of option for sorting object keys\n\nWhen two objects are compared their keys are printed in alphabetical order by default. If this was not the original order of the keys the diff becomes harder to read as the keys are not in their original position.\n\nUse `compareKeys` to pass a function which will be used when sorting the object keys.\n\n```js\nconst a = {c: 'c', b: 'b1', a: 'a'};\nconst b = {c: 'c', b: 'b2', a: 'a'};\n\nconst options = {\n  // The keys will be in their original order\n  compareKeys: () => 0,\n};\n\nconst difference = diff(a, b, options);\n```\n\n```diff\n- Expected\n+ Received\n\n  Object {\n    \"c\": \"c\",\n-   \"b\": \"b1\",\n+   \"b\": \"b2\",\n    \"a\": \"a\",\n  }\n```\n\nDepending on the implementation of `compareKeys` any sort order can be used.\n\n```js\nconst a = {c: 'c', b: 'b1', a: 'a'};\nconst b = {c: 'c', b: 'b2', a: 'a'};\n\nconst options = {\n  // The keys will be in reverse order\n  compareKeys: (a, b) => (a > b ? -1 : 1),\n};\n\nconst difference = diff(a, b, options);\n```\n\n```diff\n- Expected\n+ Received\n\n  Object {\n    \"a\": \"a\",\n-   \"b\": \"b1\",\n+   \"b\": \"b2\",\n    \"c\": \"c\",\n  }\n```\n","readmeFilename":"README.md","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@29.0.0-alpha.3","_nodeVersion":"16.15.1","_npmVersion":"lerna/1.10.0/node@v16.15.1+x64 (darwin)","dist":{"integrity":"sha512-oKYMcpO44s09aNcO6NhY43n/ewULyZceI9FF2eT+onBARpGx5pTFD1BF7yE34qjeo71xLASTOy452PZaXm3BxQ==","shasum":"b330de219b5c91c7d7bfb039e8e00603b3006f4b","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-29.0.0-alpha.3.tgz","fileCount":14,"unpackedSize":78580,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCmUtnjvHM1b7LW1wgZN+rt1phXawonpdKcLNfuTvQxpgIgPE6l9RdRHw8KlACZ3CcsSXHvWkssmGOyKqkcRdKpAjQ="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi78EQACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo8mw//aeSAGnE8497/sRYjZfeaOEAV++AzVw98rBpk3W6h7N+6D3gw\r\nhB1O1krVCEeHg7Gd/86qwWJCgD4IVPqZUdsdJlhNmk0JmXALbz3s0nCPTpiE\r\nOgfajv8kQpvAO1fS1T0iHafcJSesVkbI6dybuvZfQMK2fxvcAZX3rT6eL52H\r\nSt7xYBHjTFkbjwlSwR2PK02z62HW3bjv7aNN+/f3TsjSAYLadCo7EpV25FWN\r\nlvdwIAP+RkybO18MPx7szQtp41rNqi4LQFWPNeIbAFU3BAGyfFfxhOF0LkRA\r\nUlledlqXqH8iWRHWxwSuzG02p1QCd3c7k0pAnqzsBoWvUJGL5wS8ao+Oo6Be\r\nc2d2HLyccQzLP/Tyh/EoXyzBVN9cEvPGIDwthTmdeE5MYcZfgpaUQp4d+Njt\r\nG8DySDSJNS2vgFzy1lJluh63xx2AKKvqtnNE5vPrFmXa1EMfzRbCOqOZjR4Y\r\nDz10eo/mC36d7wB88hndMAT5ICasCG73bAAYSlUyBoPjiFvrxLIqGvRtJS2s\r\nSChFetWHrZf/9lnJBwnpVYF/6XTiYYNUy7NBwp1Nv4B4W0Hhky1+MYmU1sGg\r\nA7WKIDgwtdloq7IdvSlJbStg/1k3wsUug9nAl+YaKjqoNNxNFUEzag9i3nqL\r\nvzyuYpJVsS8fwrpKcgSJLpjFj5xJCwLXxbc=\r\n=kIaZ\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"maintainers":[{"name":"scotthovestadt","email":"scott.hovestadt@gmail.com"},{"name":"rubennorte","email":"rubennorte@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"aaronabramov","email":"aaron@abramov.io"},{"name":"davidzilburg","email":"davidzilburg@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_29.0.0-alpha.3_1659879696310_0.6222265186321583"},"_hasShrinkwrap":false},"29.0.0-alpha.4":{"name":"jest-diff","version":"29.0.0-alpha.4","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"./build/index.js","types":"./build/index.d.ts","exports":{".":{"types":"./build/index.d.ts","default":"./build/index.js"},"./package.json":"./package.json"},"dependencies":{"chalk":"^4.0.0","diff-sequences":"^29.0.0-alpha.3","jest-get-type":"^29.0.0-alpha.3","pretty-format":"^29.0.0-alpha.4"},"devDependencies":{"@jest/test-utils":"^29.0.0-alpha.4","strip-ansi":"^6.0.0"},"engines":{"node":"^14.15.0 || ^16.10.0 || >=18.0.0"},"publishConfig":{"access":"public"},"gitHead":"98a833bd4bc0bdcfcee5d4f04c2833400c4e2933","readme":"# jest-diff\n\nDisplay differences clearly so people can review changes confidently.\n\nThe `diff` named export serializes JavaScript **values**, compares them line-by-line, and returns a string which includes comparison lines.\n\nTwo named exports compare **strings** character-by-character:\n\n- `diffStringsUnified` returns a string.\n- `diffStringsRaw` returns an array of `Diff` objects.\n\nThree named exports compare **arrays of strings** line-by-line:\n\n- `diffLinesUnified` and `diffLinesUnified2` return a string.\n- `diffLinesRaw` returns an array of `Diff` objects.\n\n## Installation\n\nTo add this package as a dependency of a project, run either of the following commands:\n\n- `npm install jest-diff`\n- `yarn add jest-diff`\n\n## Usage of `diff()`\n\nGiven JavaScript **values**, `diff(a, b, options?)` does the following:\n\n1. **serialize** the values as strings using the `pretty-format` package\n2. **compare** the strings line-by-line using the `diff-sequences` package\n3. **format** the changed or common lines using the `chalk` package\n\nTo use this function, write either of the following:\n\n- `const {diff} = require('jest-diff');` in CommonJS modules\n- `import {diff} from 'jest-diff';` in ECMAScript modules\n\n### Example of `diff()`\n\n```js\nconst a = ['delete', 'common', 'changed from'];\nconst b = ['common', 'changed to', 'insert'];\n\nconst difference = diff(a, b);\n```\n\nThe returned **string** consists of:\n\n- annotation lines: describe the two change indicators with labels, and a blank line\n- comparison lines: similar to “unified” view on GitHub, but `Expected` lines are green, `Received` lines are red, and common lines are dim (by default, see Options)\n\n```diff\n- Expected\n+ Received\n\n  Array [\n-   \"delete\",\n    \"common\",\n-   \"changed from\",\n+   \"changed to\",\n+   \"insert\",\n  ]\n```\n\n### Edge cases of `diff()`\n\nHere are edge cases for the return value:\n\n- `' Comparing two different types of values. …'` if the arguments have **different types** according to the `jest-get-type` package (instances of different classes have the same `'object'` type)\n- `'Compared values have no visual difference.'` if the arguments have either **referential identity** according to `Object.is` method or **same serialization** according to the `pretty-format` package\n- `null` if either argument is a so-called **asymmetric matcher** in Jasmine or Jest\n\n## Usage of diffStringsUnified\n\nGiven **strings**, `diffStringsUnified(a, b, options?)` does the following:\n\n1. **compare** the strings character-by-character using the `diff-sequences` package\n2. **clean up** small (often coincidental) common substrings, also known as chaff\n3. **format** the changed or common lines using the `chalk` package\n\nAlthough the function is mainly for **multiline** strings, it compares any strings.\n\nWrite either of the following:\n\n- `const {diffStringsUnified} = require('jest-diff');` in CommonJS modules\n- `import {diffStringsUnified} from 'jest-diff';` in ECMAScript modules\n\n### Example of diffStringsUnified\n\n```js\nconst a = 'common\\nchanged from';\nconst b = 'common\\nchanged to';\n\nconst difference = diffStringsUnified(a, b);\n```\n\nThe returned **string** consists of:\n\n- annotation lines: describe the two change indicators with labels, and a blank line\n- comparison lines: similar to “unified” view on GitHub, and **changed substrings** have **inverse** foreground and background colors (that is, `from` has white-on-green and `to` has white-on-red, which the following example does not show)\n\n```diff\n- Expected\n+ Received\n\n  common\n- changed from\n+ changed to\n```\n\n### Performance of diffStringsUnified\n\nTo get the benefit of **changed substrings** within the comparison lines, a character-by-character comparison has a higher computational cost (in time and space) than a line-by-line comparison.\n\nIf the input strings can have **arbitrary length**, we recommend that the calling code set a limit, beyond which splits the strings, and then calls `diffLinesUnified` instead. For example, Jest falls back to line-by-line comparison if either string has length greater than 20K characters.\n\n## Usage of diffLinesUnified\n\nGiven **arrays of strings**, `diffLinesUnified(aLines, bLines, options?)` does the following:\n\n1. **compare** the arrays line-by-line using the `diff-sequences` package\n2. **format** the changed or common lines using the `chalk` package\n\nYou might call this function when strings have been split into lines and you do not need to see changed substrings within lines.\n\n### Example of diffLinesUnified\n\n```js\nconst aLines = ['delete', 'common', 'changed from'];\nconst bLines = ['common', 'changed to', 'insert'];\n\nconst difference = diffLinesUnified(aLines, bLines);\n```\n\n```diff\n- Expected\n+ Received\n\n- delete\n  common\n- changed from\n+ changed to\n+ insert\n```\n\n### Edge cases of diffLinesUnified or diffStringsUnified\n\nHere are edge cases for arguments and return values:\n\n- both `a` and `b` are empty strings: no comparison lines\n- only `a` is empty string: all comparison lines have `bColor` and `bIndicator` (see Options)\n- only `b` is empty string: all comparison lines have `aColor` and `aIndicator` (see Options)\n- `a` and `b` are equal non-empty strings: all comparison lines have `commonColor` and `commonIndicator` (see Options)\n\n## Usage of diffLinesUnified2\n\nGiven two **pairs** of arrays of strings, `diffLinesUnified2(aLinesDisplay, bLinesDisplay, aLinesCompare, bLinesCompare, options?)` does the following:\n\n1. **compare** the pair of `Compare` arrays line-by-line using the `diff-sequences` package\n2. **format** the corresponding lines in the pair of `Display` arrays using the `chalk` package\n\nJest calls this function to consider lines as common instead of changed if the only difference is indentation.\n\nYou might call this function for case insensitive or Unicode equivalence comparison of lines.\n\n### Example of diffLinesUnified2\n\n```js\nimport {format} from 'pretty-format';\n\nconst a = {\n  text: 'Ignore indentation in serialized object',\n  time: '2019-09-19T12:34:56.000Z',\n  type: 'CREATE_ITEM',\n};\nconst b = {\n  payload: {\n    text: 'Ignore indentation in serialized object',\n    time: '2019-09-19T12:34:56.000Z',\n  },\n  type: 'CREATE_ITEM',\n};\n\nconst difference = diffLinesUnified2(\n  // serialize with indentation to display lines\n  format(a).split('\\n'),\n  format(b).split('\\n'),\n  // serialize without indentation to compare lines\n  format(a, {indent: 0}).split('\\n'),\n  format(b, {indent: 0}).split('\\n'),\n);\n```\n\nThe `text` and `time` properties are common, because their only difference is indentation:\n\n```diff\n- Expected\n+ Received\n\n  Object {\n+   payload: Object {\n      text: 'Ignore indentation in serialized object',\n      time: '2019-09-19T12:34:56.000Z',\n+   },\n    type: 'CREATE_ITEM',\n  }\n```\n\nThe preceding example illustrates why (at least for indentation) it seems more intuitive that the function returns the common line from the `bLinesDisplay` array instead of from the `aLinesDisplay` array.\n\n## Usage of diffStringsRaw\n\nGiven **strings** and a boolean option, `diffStringsRaw(a, b, cleanup)` does the following:\n\n1. **compare** the strings character-by-character using the `diff-sequences` package\n2. optionally **clean up** small (often coincidental) common substrings, also known as chaff\n\nBecause `diffStringsRaw` returns the difference as **data** instead of a string, you can format it as your application requires (for example, enclosed in HTML markup for browser instead of escape sequences for console).\n\nThe returned **array** describes substrings as instances of the `Diff` class, which calling code can access like array tuples:\n\nThe value at index `0` is one of the following:\n\n| value | named export  | description           |\n| ----: | :------------ | :-------------------- |\n|   `0` | `DIFF_EQUAL`  | in `a` and in `b`     |\n|  `-1` | `DIFF_DELETE` | in `a` but not in `b` |\n|   `1` | `DIFF_INSERT` | in `b` but not in `a` |\n\nThe value at index `1` is a substring of `a` or `b` or both.\n\n### Example of diffStringsRaw with cleanup\n\n```js\nconst diffs = diffStringsRaw('changed from', 'changed to', true);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `0` | `'changed '`  |\n| `1` |          `-1` | `'from'`      |\n| `2` |           `1` | `'to'`        |\n\n### Example of diffStringsRaw without cleanup\n\n```js\nconst diffs = diffStringsRaw('changed from', 'changed to', false);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `0` | `'changed '`  |\n| `1` |          `-1` | `'fr'`        |\n| `2` |           `1` | `'t'`         |\n| `3` |           `0` | `'o'`         |\n| `4` |          `-1` | `'m'`         |\n\n### Advanced import for diffStringsRaw\n\nHere are all the named imports that you might need for the `diffStringsRaw` function:\n\n- `const {DIFF_DELETE, DIFF_EQUAL, DIFF_INSERT, Diff, diffStringsRaw} = require('jest-diff');` in CommonJS modules\n- `import {DIFF_DELETE, DIFF_EQUAL, DIFF_INSERT, Diff, diffStringsRaw} from 'jest-diff';` in ECMAScript modules\n\nTo write a **formatting** function, you might need the named constants (and `Diff` in TypeScript annotations).\n\nIf you write an application-specific **cleanup** algorithm, then you might need to call the `Diff` constructor:\n\n```js\nconst diffCommon = new Diff(DIFF_EQUAL, 'changed ');\nconst diffDelete = new Diff(DIFF_DELETE, 'from');\nconst diffInsert = new Diff(DIFF_INSERT, 'to');\n```\n\n## Usage of diffLinesRaw\n\nGiven **arrays of strings**, `diffLinesRaw(aLines, bLines)` does the following:\n\n- **compare** the arrays line-by-line using the `diff-sequences` package\n\nBecause `diffLinesRaw` returns the difference as **data** instead of a string, you can format it as your application requires.\n\n### Example of diffLinesRaw\n\n```js\nconst aLines = ['delete', 'common', 'changed from'];\nconst bLines = ['common', 'changed to', 'insert'];\n\nconst diffs = diffLinesRaw(aLines, bLines);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]`    |\n| --: | ------------: | :--------------- |\n| `0` |          `-1` | `'delete'`       |\n| `1` |           `0` | `'common'`       |\n| `2` |          `-1` | `'changed from'` |\n| `3` |           `1` | `'changed to'`   |\n| `4` |           `1` | `'insert'`       |\n\n### Edge case of diffLinesRaw\n\nIf you call `string.split('\\n')` for an empty string:\n\n- the result is `['']` an array which contains an empty string\n- instead of `[]` an empty array\n\nDepending of your application, you might call `diffLinesRaw` with either array.\n\n### Example of split method\n\n```js\nimport {diffLinesRaw} from 'jest-diff';\n\nconst a = 'non-empty string';\nconst b = '';\n\nconst diffs = diffLinesRaw(a.split('\\n'), b.split('\\n'));\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]`        |\n| --: | ------------: | :------------------- |\n| `0` |          `-1` | `'non-empty string'` |\n| `1` |           `1` | `''`                 |\n\nWhich you might format as follows:\n\n```diff\n- Expected  - 1\n+ Received  + 1\n\n- non-empty string\n+\n```\n\n### Example of splitLines0 function\n\nFor edge case behavior like the `diffLinesUnified` function, you might define a `splitLines0` function, which given an empty string, returns `[]` an empty array:\n\n```js\nexport const splitLines0 = string =>\n  string.length === 0 ? [] : string.split('\\n');\n```\n\n```js\nimport {diffLinesRaw} from 'jest-diff';\n\nconst a = '';\nconst b = 'line 1\\nline 2\\nline 3';\n\nconst diffs = diffLinesRaw(a.split('\\n'), b.split('\\n'));\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `1` | `'line 1'`    |\n| `1` |           `1` | `'line 2'`    |\n| `2` |           `1` | `'line 3'`    |\n\nWhich you might format as follows:\n\n```diff\n- Expected  - 0\n+ Received  + 3\n\n+ line 1\n+ line 2\n+ line 3\n```\n\nIn contrast to the `diffLinesRaw` function, the `diffLinesUnified` and `diffLinesUnified2` functions **automatically** convert array arguments computed by string `split` method, so callers do **not** need a `splitLine0` function.\n\n## Options\n\nThe default options are for the report when an assertion fails from the `expect` package used by Jest.\n\nFor other applications, you can provide an options object as a third argument:\n\n- `diff(a, b, options)`\n- `diffStringsUnified(a, b, options)`\n- `diffLinesUnified(aLines, bLines, options)`\n- `diffLinesUnified2(aLinesDisplay, bLinesDisplay, aLinesCompare, bLinesCompare, options)`\n\n### Properties of options object\n\n| name                              | default            |\n| :-------------------------------- | :----------------- |\n| `aAnnotation`                     | `'Expected'`       |\n| `aColor`                          | `chalk.green`      |\n| `aIndicator`                      | `'-'`              |\n| `bAnnotation`                     | `'Received'`       |\n| `bColor`                          | `chalk.red`        |\n| `bIndicator`                      | `'+'`              |\n| `changeColor`                     | `chalk.inverse`    |\n| `changeLineTrailingSpaceColor`    | `string => string` |\n| `commonColor`                     | `chalk.dim`        |\n| `commonIndicator`                 | `' '`              |\n| `commonLineTrailingSpaceColor`    | `string => string` |\n| `compareKeys`                     | `undefined`        |\n| `contextLines`                    | `5`                |\n| `emptyFirstOrLastLinePlaceholder` | `''`               |\n| `expand`                          | `true`             |\n| `includeChangeCounts`             | `false`            |\n| `omitAnnotationLines`             | `false`            |\n| `patchColor`                      | `chalk.yellow`     |\n\nFor more information about the options, see the following examples.\n\n### Example of options for labels\n\nIf the application is code modification, you might replace the labels:\n\n```js\nconst options = {\n  aAnnotation: 'Original',\n  bAnnotation: 'Modified',\n};\n```\n\n```diff\n- Original\n+ Modified\n\n  common\n- changed from\n+ changed to\n```\n\nThe `jest-diff` package does not assume that the 2 labels have equal length.\n\n### Example of options for colors of changed lines\n\nFor consistency with most diff tools, you might exchange the colors:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  aColor: chalk.red,\n  bColor: chalk.green,\n};\n```\n\n### Example of option for color of changed substrings\n\nAlthough the default inverse of foreground and background colors is hard to beat for changed substrings **within lines**, especially because it highlights spaces, if you want bold font weight on yellow background color:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  changeColor: chalk.bold.bgYellowBright,\n};\n```\n\n### Example of option to format trailing spaces\n\nBecause `diff()` does not display substring differences within lines, formatting can help you see when lines differ by the presence or absence of trailing spaces found by `/\\s+$/` regular expression.\n\n- If change lines have a background color, then you can see trailing spaces.\n- If common lines have default dim color, then you cannot see trailing spaces. You might want yellowish background color to see them.\n\n```js\nconst options = {\n  aColor: chalk.rgb(128, 0, 128).bgRgb(255, 215, 255), // magenta\n  bColor: chalk.rgb(0, 95, 0).bgRgb(215, 255, 215), // green\n  commonLineTrailingSpaceColor: chalk.bgYellow,\n};\n```\n\nThe value of a Color option is a function, which given a string, returns a string.\n\nIf you want to replace trailing spaces with middle dot characters:\n\n```js\nconst replaceSpacesWithMiddleDot = string => '·'.repeat(string.length);\n\nconst options = {\n  changeLineTrailingSpaceColor: replaceSpacesWithMiddleDot,\n  commonLineTrailingSpaceColor: replaceSpacesWithMiddleDot,\n};\n```\n\nIf you need the TypeScript type of a Color option:\n\n```ts\nimport {DiffOptionsColor} from 'jest-diff';\n```\n\n### Example of options for no colors\n\nTo store the difference in a file without escape codes for colors, provide an identity function:\n\n```js\nconst noColor = string => string;\n\nconst options = {\n  aColor: noColor,\n  bColor: noColor,\n  changeColor: noColor,\n  commonColor: noColor,\n  patchColor: noColor,\n};\n```\n\n### Example of options for indicators\n\nFor consistency with the `diff` command, you might replace the indicators:\n\n```js\nconst options = {\n  aIndicator: '<',\n  bIndicator: '>',\n};\n```\n\nThe `jest-diff` package assumes (but does not enforce) that the 3 indicators have equal length.\n\n### Example of options to limit common lines\n\nBy default, the output includes all common lines.\n\nTo emphasize the changes, you might limit the number of common “context” lines:\n\n```js\nconst options = {\n  contextLines: 1,\n  expand: false,\n};\n```\n\nA patch mark like `@@ -12,7 +12,9 @@` accounts for omitted common lines.\n\n### Example of option for color of patch marks\n\nIf you want patch marks to have the same dim color as common lines:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  expand: false,\n  patchColor: chalk.dim,\n};\n```\n\n### Example of option to include change counts\n\nTo display the number of changed lines at the right of annotation lines:\n\n```js\nconst a = ['common', 'changed from'];\nconst b = ['common', 'changed to', 'insert'];\n\nconst options = {\n  includeChangeCounts: true,\n};\n\nconst difference = diff(a, b, options);\n```\n\n```diff\n- Expected  - 1\n+ Received  + 2\n\n  Array [\n    \"common\",\n-   \"changed from\",\n+   \"changed to\",\n+   \"insert\",\n  ]\n```\n\n### Example of option to omit annotation lines\n\nTo display only the comparison lines:\n\n```js\nconst a = 'common\\nchanged from';\nconst b = 'common\\nchanged to';\n\nconst options = {\n  omitAnnotationLines: true,\n};\n\nconst difference = diffStringsUnified(a, b, options);\n```\n\n```diff\n  common\n- changed from\n+ changed to\n```\n\n### Example of option for empty first or last lines\n\nIf the **first** or **last** comparison line is **empty**, because the content is empty and the indicator is a space, you might not notice it.\n\nThe replacement option is a string whose default value is `''` empty string.\n\nBecause Jest trims the report when a matcher fails, it deletes an empty last line.\n\nTherefore, Jest uses as placeholder the downwards arrow with corner leftwards:\n\n```js\nconst options = {\n  emptyFirstOrLastLinePlaceholder: '↵', // U+21B5\n};\n```\n\nIf a content line is empty, then the corresponding comparison line is automatically trimmed to remove the margin space (represented as a middle dot below) for the default indicators:\n\n|         Indicator | untrimmed | trimmed |\n| ----------------: | :-------- | :------ |\n|      `aIndicator` | `'-·'`    | `'-'`   |\n|      `bIndicator` | `'+·'`    | `'+'`   |\n| `commonIndicator` | `' ·'`    | `''`    |\n\n### Example of option for sorting object keys\n\nWhen two objects are compared their keys are printed in alphabetical order by default. If this was not the original order of the keys the diff becomes harder to read as the keys are not in their original position.\n\nUse `compareKeys` to pass a function which will be used when sorting the object keys.\n\n```js\nconst a = {c: 'c', b: 'b1', a: 'a'};\nconst b = {c: 'c', b: 'b2', a: 'a'};\n\nconst options = {\n  // The keys will be in their original order\n  compareKeys: () => 0,\n};\n\nconst difference = diff(a, b, options);\n```\n\n```diff\n- Expected\n+ Received\n\n  Object {\n    \"c\": \"c\",\n-   \"b\": \"b1\",\n+   \"b\": \"b2\",\n    \"a\": \"a\",\n  }\n```\n\nDepending on the implementation of `compareKeys` any sort order can be used.\n\n```js\nconst a = {c: 'c', b: 'b1', a: 'a'};\nconst b = {c: 'c', b: 'b2', a: 'a'};\n\nconst options = {\n  // The keys will be in reverse order\n  compareKeys: (a, b) => (a > b ? -1 : 1),\n};\n\nconst difference = diff(a, b, options);\n```\n\n```diff\n- Expected\n+ Received\n\n  Object {\n    \"a\": \"a\",\n-   \"b\": \"b1\",\n+   \"b\": \"b2\",\n    \"c\": \"c\",\n  }\n```\n","readmeFilename":"README.md","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@29.0.0-alpha.4","_nodeVersion":"16.15.1","_npmVersion":"lerna/1.10.0/node@v16.15.1+x64 (darwin)","dist":{"integrity":"sha512-mo0STcllS+Y9Nfy8yPPQHqxw14VxmjITxX0YCkIcveNh4DwW3rtsFfXNFyTLG0VUFWii6fBl6yjqQD26QMA/VQ==","shasum":"af0df7cff23b5782254ec1a128b1ef39f2556a23","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-29.0.0-alpha.4.tgz","fileCount":14,"unpackedSize":78580,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDm8uPKGpQc/bUgTZqRaRLL6d6iWZp3DRWtlia9BM4siAIgesnMwTimD5oQu6yCadA1P2lIl6pSGYCB7voWxDi18EE="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi8QofACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpdIRAAlHVEHdN9HOFAa2pN7C7iz6v9r8jVUa800QxeTSYDrYnFfGVk\r\nlZJqg+c6gRUSOx7Byh3NoTs+kbz1dymOntQi7pc5aRV5zlxzJvAy/7tKl42a\r\nBEuSneSxZnwgFwjr9tP/kSWLaK8noOUWDWVZGMgt433G/CCOyAvlXw0q+tXp\r\nGXLAVB9ogu8++NjnXUUaBgRkfz5R289XyAam13RwruFD7W9DGiFLWnvXUAOZ\r\nDijLNYWVKGifTdVPt6bhFcbQtZFxjInIEPIMFSYZHmJTV1DMbHX49FrLn1DS\r\nQKYDI5aHRr2OYCTWRY4hC2BByvmESEstEeR/buTKZ5EIyOURSJpqDzYy4Ufe\r\nVHE1a6dQMlRYoUtclvvuVs+3KaWZDsnN/NaL5WwDLJpd4ykTG1NAQOdF4PAG\r\nnr2jnTphrQFvGMzdxPbaRzHQqExZNAmmwgG4GcA5OwmYIW8Gr2S5a5ZnzBq8\r\nBRHmj9pxnQTeDiD8CMlLnPE0tG3vZa/2hGb/qWWlJXbMFFegqCcBkju2so6v\r\nEKALKQe4zUGGv5LyqZww5ijHih1EdVOy5CatIvXyMWwLuDUKD3cgGRObLcDI\r\naA+NUcsBE4ozGyI44mSNghoqJ0YORrtPYtAPq26vbls/M/mFd9iBliRhLYAD\r\nxVc5szawwudcB/HDq2RU9ZwZmxxl9hbSS6s=\r\n=yWF4\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"maintainers":[{"name":"scotthovestadt","email":"scott.hovestadt@gmail.com"},{"name":"rubennorte","email":"rubennorte@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"aaronabramov","email":"aaron@abramov.io"},{"name":"davidzilburg","email":"davidzilburg@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_29.0.0-alpha.4_1659963934882_0.8083760425395157"},"_hasShrinkwrap":false},"29.0.0-alpha.6":{"name":"jest-diff","version":"29.0.0-alpha.6","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"./build/index.js","types":"./build/index.d.ts","exports":{".":{"types":"./build/index.d.ts","default":"./build/index.js"},"./package.json":"./package.json"},"dependencies":{"chalk":"^4.0.0","diff-sequences":"^29.0.0-alpha.3","jest-get-type":"^29.0.0-alpha.3","pretty-format":"^29.0.0-alpha.6"},"devDependencies":{"@jest/test-utils":"^29.0.0-alpha.6","strip-ansi":"^6.0.0"},"engines":{"node":"^14.15.0 || ^16.10.0 || >=18.0.0"},"publishConfig":{"access":"public"},"gitHead":"4def94b073cad300e99de378ba900e6ba9b7032f","readme":"# jest-diff\n\nDisplay differences clearly so people can review changes confidently.\n\nThe `diff` named export serializes JavaScript **values**, compares them line-by-line, and returns a string which includes comparison lines.\n\nTwo named exports compare **strings** character-by-character:\n\n- `diffStringsUnified` returns a string.\n- `diffStringsRaw` returns an array of `Diff` objects.\n\nThree named exports compare **arrays of strings** line-by-line:\n\n- `diffLinesUnified` and `diffLinesUnified2` return a string.\n- `diffLinesRaw` returns an array of `Diff` objects.\n\n## Installation\n\nTo add this package as a dependency of a project, run either of the following commands:\n\n- `npm install jest-diff`\n- `yarn add jest-diff`\n\n## Usage of `diff()`\n\nGiven JavaScript **values**, `diff(a, b, options?)` does the following:\n\n1. **serialize** the values as strings using the `pretty-format` package\n2. **compare** the strings line-by-line using the `diff-sequences` package\n3. **format** the changed or common lines using the `chalk` package\n\nTo use this function, write either of the following:\n\n- `const {diff} = require('jest-diff');` in CommonJS modules\n- `import {diff} from 'jest-diff';` in ECMAScript modules\n\n### Example of `diff()`\n\n```js\nconst a = ['delete', 'common', 'changed from'];\nconst b = ['common', 'changed to', 'insert'];\n\nconst difference = diff(a, b);\n```\n\nThe returned **string** consists of:\n\n- annotation lines: describe the two change indicators with labels, and a blank line\n- comparison lines: similar to “unified” view on GitHub, but `Expected` lines are green, `Received` lines are red, and common lines are dim (by default, see Options)\n\n```diff\n- Expected\n+ Received\n\n  Array [\n-   \"delete\",\n    \"common\",\n-   \"changed from\",\n+   \"changed to\",\n+   \"insert\",\n  ]\n```\n\n### Edge cases of `diff()`\n\nHere are edge cases for the return value:\n\n- `' Comparing two different types of values. …'` if the arguments have **different types** according to the `jest-get-type` package (instances of different classes have the same `'object'` type)\n- `'Compared values have no visual difference.'` if the arguments have either **referential identity** according to `Object.is` method or **same serialization** according to the `pretty-format` package\n- `null` if either argument is a so-called **asymmetric matcher** in Jasmine or Jest\n\n## Usage of diffStringsUnified\n\nGiven **strings**, `diffStringsUnified(a, b, options?)` does the following:\n\n1. **compare** the strings character-by-character using the `diff-sequences` package\n2. **clean up** small (often coincidental) common substrings, also known as chaff\n3. **format** the changed or common lines using the `chalk` package\n\nAlthough the function is mainly for **multiline** strings, it compares any strings.\n\nWrite either of the following:\n\n- `const {diffStringsUnified} = require('jest-diff');` in CommonJS modules\n- `import {diffStringsUnified} from 'jest-diff';` in ECMAScript modules\n\n### Example of diffStringsUnified\n\n```js\nconst a = 'common\\nchanged from';\nconst b = 'common\\nchanged to';\n\nconst difference = diffStringsUnified(a, b);\n```\n\nThe returned **string** consists of:\n\n- annotation lines: describe the two change indicators with labels, and a blank line\n- comparison lines: similar to “unified” view on GitHub, and **changed substrings** have **inverse** foreground and background colors (that is, `from` has white-on-green and `to` has white-on-red, which the following example does not show)\n\n```diff\n- Expected\n+ Received\n\n  common\n- changed from\n+ changed to\n```\n\n### Performance of diffStringsUnified\n\nTo get the benefit of **changed substrings** within the comparison lines, a character-by-character comparison has a higher computational cost (in time and space) than a line-by-line comparison.\n\nIf the input strings can have **arbitrary length**, we recommend that the calling code set a limit, beyond which splits the strings, and then calls `diffLinesUnified` instead. For example, Jest falls back to line-by-line comparison if either string has length greater than 20K characters.\n\n## Usage of diffLinesUnified\n\nGiven **arrays of strings**, `diffLinesUnified(aLines, bLines, options?)` does the following:\n\n1. **compare** the arrays line-by-line using the `diff-sequences` package\n2. **format** the changed or common lines using the `chalk` package\n\nYou might call this function when strings have been split into lines and you do not need to see changed substrings within lines.\n\n### Example of diffLinesUnified\n\n```js\nconst aLines = ['delete', 'common', 'changed from'];\nconst bLines = ['common', 'changed to', 'insert'];\n\nconst difference = diffLinesUnified(aLines, bLines);\n```\n\n```diff\n- Expected\n+ Received\n\n- delete\n  common\n- changed from\n+ changed to\n+ insert\n```\n\n### Edge cases of diffLinesUnified or diffStringsUnified\n\nHere are edge cases for arguments and return values:\n\n- both `a` and `b` are empty strings: no comparison lines\n- only `a` is empty string: all comparison lines have `bColor` and `bIndicator` (see Options)\n- only `b` is empty string: all comparison lines have `aColor` and `aIndicator` (see Options)\n- `a` and `b` are equal non-empty strings: all comparison lines have `commonColor` and `commonIndicator` (see Options)\n\n## Usage of diffLinesUnified2\n\nGiven two **pairs** of arrays of strings, `diffLinesUnified2(aLinesDisplay, bLinesDisplay, aLinesCompare, bLinesCompare, options?)` does the following:\n\n1. **compare** the pair of `Compare` arrays line-by-line using the `diff-sequences` package\n2. **format** the corresponding lines in the pair of `Display` arrays using the `chalk` package\n\nJest calls this function to consider lines as common instead of changed if the only difference is indentation.\n\nYou might call this function for case insensitive or Unicode equivalence comparison of lines.\n\n### Example of diffLinesUnified2\n\n```js\nimport {format} from 'pretty-format';\n\nconst a = {\n  text: 'Ignore indentation in serialized object',\n  time: '2019-09-19T12:34:56.000Z',\n  type: 'CREATE_ITEM',\n};\nconst b = {\n  payload: {\n    text: 'Ignore indentation in serialized object',\n    time: '2019-09-19T12:34:56.000Z',\n  },\n  type: 'CREATE_ITEM',\n};\n\nconst difference = diffLinesUnified2(\n  // serialize with indentation to display lines\n  format(a).split('\\n'),\n  format(b).split('\\n'),\n  // serialize without indentation to compare lines\n  format(a, {indent: 0}).split('\\n'),\n  format(b, {indent: 0}).split('\\n'),\n);\n```\n\nThe `text` and `time` properties are common, because their only difference is indentation:\n\n```diff\n- Expected\n+ Received\n\n  Object {\n+   payload: Object {\n      text: 'Ignore indentation in serialized object',\n      time: '2019-09-19T12:34:56.000Z',\n+   },\n    type: 'CREATE_ITEM',\n  }\n```\n\nThe preceding example illustrates why (at least for indentation) it seems more intuitive that the function returns the common line from the `bLinesDisplay` array instead of from the `aLinesDisplay` array.\n\n## Usage of diffStringsRaw\n\nGiven **strings** and a boolean option, `diffStringsRaw(a, b, cleanup)` does the following:\n\n1. **compare** the strings character-by-character using the `diff-sequences` package\n2. optionally **clean up** small (often coincidental) common substrings, also known as chaff\n\nBecause `diffStringsRaw` returns the difference as **data** instead of a string, you can format it as your application requires (for example, enclosed in HTML markup for browser instead of escape sequences for console).\n\nThe returned **array** describes substrings as instances of the `Diff` class, which calling code can access like array tuples:\n\nThe value at index `0` is one of the following:\n\n| value | named export  | description           |\n| ----: | :------------ | :-------------------- |\n|   `0` | `DIFF_EQUAL`  | in `a` and in `b`     |\n|  `-1` | `DIFF_DELETE` | in `a` but not in `b` |\n|   `1` | `DIFF_INSERT` | in `b` but not in `a` |\n\nThe value at index `1` is a substring of `a` or `b` or both.\n\n### Example of diffStringsRaw with cleanup\n\n```js\nconst diffs = diffStringsRaw('changed from', 'changed to', true);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `0` | `'changed '`  |\n| `1` |          `-1` | `'from'`      |\n| `2` |           `1` | `'to'`        |\n\n### Example of diffStringsRaw without cleanup\n\n```js\nconst diffs = diffStringsRaw('changed from', 'changed to', false);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `0` | `'changed '`  |\n| `1` |          `-1` | `'fr'`        |\n| `2` |           `1` | `'t'`         |\n| `3` |           `0` | `'o'`         |\n| `4` |          `-1` | `'m'`         |\n\n### Advanced import for diffStringsRaw\n\nHere are all the named imports that you might need for the `diffStringsRaw` function:\n\n- `const {DIFF_DELETE, DIFF_EQUAL, DIFF_INSERT, Diff, diffStringsRaw} = require('jest-diff');` in CommonJS modules\n- `import {DIFF_DELETE, DIFF_EQUAL, DIFF_INSERT, Diff, diffStringsRaw} from 'jest-diff';` in ECMAScript modules\n\nTo write a **formatting** function, you might need the named constants (and `Diff` in TypeScript annotations).\n\nIf you write an application-specific **cleanup** algorithm, then you might need to call the `Diff` constructor:\n\n```js\nconst diffCommon = new Diff(DIFF_EQUAL, 'changed ');\nconst diffDelete = new Diff(DIFF_DELETE, 'from');\nconst diffInsert = new Diff(DIFF_INSERT, 'to');\n```\n\n## Usage of diffLinesRaw\n\nGiven **arrays of strings**, `diffLinesRaw(aLines, bLines)` does the following:\n\n- **compare** the arrays line-by-line using the `diff-sequences` package\n\nBecause `diffLinesRaw` returns the difference as **data** instead of a string, you can format it as your application requires.\n\n### Example of diffLinesRaw\n\n```js\nconst aLines = ['delete', 'common', 'changed from'];\nconst bLines = ['common', 'changed to', 'insert'];\n\nconst diffs = diffLinesRaw(aLines, bLines);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]`    |\n| --: | ------------: | :--------------- |\n| `0` |          `-1` | `'delete'`       |\n| `1` |           `0` | `'common'`       |\n| `2` |          `-1` | `'changed from'` |\n| `3` |           `1` | `'changed to'`   |\n| `4` |           `1` | `'insert'`       |\n\n### Edge case of diffLinesRaw\n\nIf you call `string.split('\\n')` for an empty string:\n\n- the result is `['']` an array which contains an empty string\n- instead of `[]` an empty array\n\nDepending of your application, you might call `diffLinesRaw` with either array.\n\n### Example of split method\n\n```js\nimport {diffLinesRaw} from 'jest-diff';\n\nconst a = 'non-empty string';\nconst b = '';\n\nconst diffs = diffLinesRaw(a.split('\\n'), b.split('\\n'));\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]`        |\n| --: | ------------: | :------------------- |\n| `0` |          `-1` | `'non-empty string'` |\n| `1` |           `1` | `''`                 |\n\nWhich you might format as follows:\n\n```diff\n- Expected  - 1\n+ Received  + 1\n\n- non-empty string\n+\n```\n\n### Example of splitLines0 function\n\nFor edge case behavior like the `diffLinesUnified` function, you might define a `splitLines0` function, which given an empty string, returns `[]` an empty array:\n\n```js\nexport const splitLines0 = string =>\n  string.length === 0 ? [] : string.split('\\n');\n```\n\n```js\nimport {diffLinesRaw} from 'jest-diff';\n\nconst a = '';\nconst b = 'line 1\\nline 2\\nline 3';\n\nconst diffs = diffLinesRaw(a.split('\\n'), b.split('\\n'));\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `1` | `'line 1'`    |\n| `1` |           `1` | `'line 2'`    |\n| `2` |           `1` | `'line 3'`    |\n\nWhich you might format as follows:\n\n```diff\n- Expected  - 0\n+ Received  + 3\n\n+ line 1\n+ line 2\n+ line 3\n```\n\nIn contrast to the `diffLinesRaw` function, the `diffLinesUnified` and `diffLinesUnified2` functions **automatically** convert array arguments computed by string `split` method, so callers do **not** need a `splitLine0` function.\n\n## Options\n\nThe default options are for the report when an assertion fails from the `expect` package used by Jest.\n\nFor other applications, you can provide an options object as a third argument:\n\n- `diff(a, b, options)`\n- `diffStringsUnified(a, b, options)`\n- `diffLinesUnified(aLines, bLines, options)`\n- `diffLinesUnified2(aLinesDisplay, bLinesDisplay, aLinesCompare, bLinesCompare, options)`\n\n### Properties of options object\n\n| name                              | default            |\n| :-------------------------------- | :----------------- |\n| `aAnnotation`                     | `'Expected'`       |\n| `aColor`                          | `chalk.green`      |\n| `aIndicator`                      | `'-'`              |\n| `bAnnotation`                     | `'Received'`       |\n| `bColor`                          | `chalk.red`        |\n| `bIndicator`                      | `'+'`              |\n| `changeColor`                     | `chalk.inverse`    |\n| `changeLineTrailingSpaceColor`    | `string => string` |\n| `commonColor`                     | `chalk.dim`        |\n| `commonIndicator`                 | `' '`              |\n| `commonLineTrailingSpaceColor`    | `string => string` |\n| `compareKeys`                     | `undefined`        |\n| `contextLines`                    | `5`                |\n| `emptyFirstOrLastLinePlaceholder` | `''`               |\n| `expand`                          | `true`             |\n| `includeChangeCounts`             | `false`            |\n| `omitAnnotationLines`             | `false`            |\n| `patchColor`                      | `chalk.yellow`     |\n\nFor more information about the options, see the following examples.\n\n### Example of options for labels\n\nIf the application is code modification, you might replace the labels:\n\n```js\nconst options = {\n  aAnnotation: 'Original',\n  bAnnotation: 'Modified',\n};\n```\n\n```diff\n- Original\n+ Modified\n\n  common\n- changed from\n+ changed to\n```\n\nThe `jest-diff` package does not assume that the 2 labels have equal length.\n\n### Example of options for colors of changed lines\n\nFor consistency with most diff tools, you might exchange the colors:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  aColor: chalk.red,\n  bColor: chalk.green,\n};\n```\n\n### Example of option for color of changed substrings\n\nAlthough the default inverse of foreground and background colors is hard to beat for changed substrings **within lines**, especially because it highlights spaces, if you want bold font weight on yellow background color:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  changeColor: chalk.bold.bgYellowBright,\n};\n```\n\n### Example of option to format trailing spaces\n\nBecause `diff()` does not display substring differences within lines, formatting can help you see when lines differ by the presence or absence of trailing spaces found by `/\\s+$/` regular expression.\n\n- If change lines have a background color, then you can see trailing spaces.\n- If common lines have default dim color, then you cannot see trailing spaces. You might want yellowish background color to see them.\n\n```js\nconst options = {\n  aColor: chalk.rgb(128, 0, 128).bgRgb(255, 215, 255), // magenta\n  bColor: chalk.rgb(0, 95, 0).bgRgb(215, 255, 215), // green\n  commonLineTrailingSpaceColor: chalk.bgYellow,\n};\n```\n\nThe value of a Color option is a function, which given a string, returns a string.\n\nIf you want to replace trailing spaces with middle dot characters:\n\n```js\nconst replaceSpacesWithMiddleDot = string => '·'.repeat(string.length);\n\nconst options = {\n  changeLineTrailingSpaceColor: replaceSpacesWithMiddleDot,\n  commonLineTrailingSpaceColor: replaceSpacesWithMiddleDot,\n};\n```\n\nIf you need the TypeScript type of a Color option:\n\n```ts\nimport {DiffOptionsColor} from 'jest-diff';\n```\n\n### Example of options for no colors\n\nTo store the difference in a file without escape codes for colors, provide an identity function:\n\n```js\nconst noColor = string => string;\n\nconst options = {\n  aColor: noColor,\n  bColor: noColor,\n  changeColor: noColor,\n  commonColor: noColor,\n  patchColor: noColor,\n};\n```\n\n### Example of options for indicators\n\nFor consistency with the `diff` command, you might replace the indicators:\n\n```js\nconst options = {\n  aIndicator: '<',\n  bIndicator: '>',\n};\n```\n\nThe `jest-diff` package assumes (but does not enforce) that the 3 indicators have equal length.\n\n### Example of options to limit common lines\n\nBy default, the output includes all common lines.\n\nTo emphasize the changes, you might limit the number of common “context” lines:\n\n```js\nconst options = {\n  contextLines: 1,\n  expand: false,\n};\n```\n\nA patch mark like `@@ -12,7 +12,9 @@` accounts for omitted common lines.\n\n### Example of option for color of patch marks\n\nIf you want patch marks to have the same dim color as common lines:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  expand: false,\n  patchColor: chalk.dim,\n};\n```\n\n### Example of option to include change counts\n\nTo display the number of changed lines at the right of annotation lines:\n\n```js\nconst a = ['common', 'changed from'];\nconst b = ['common', 'changed to', 'insert'];\n\nconst options = {\n  includeChangeCounts: true,\n};\n\nconst difference = diff(a, b, options);\n```\n\n```diff\n- Expected  - 1\n+ Received  + 2\n\n  Array [\n    \"common\",\n-   \"changed from\",\n+   \"changed to\",\n+   \"insert\",\n  ]\n```\n\n### Example of option to omit annotation lines\n\nTo display only the comparison lines:\n\n```js\nconst a = 'common\\nchanged from';\nconst b = 'common\\nchanged to';\n\nconst options = {\n  omitAnnotationLines: true,\n};\n\nconst difference = diffStringsUnified(a, b, options);\n```\n\n```diff\n  common\n- changed from\n+ changed to\n```\n\n### Example of option for empty first or last lines\n\nIf the **first** or **last** comparison line is **empty**, because the content is empty and the indicator is a space, you might not notice it.\n\nThe replacement option is a string whose default value is `''` empty string.\n\nBecause Jest trims the report when a matcher fails, it deletes an empty last line.\n\nTherefore, Jest uses as placeholder the downwards arrow with corner leftwards:\n\n```js\nconst options = {\n  emptyFirstOrLastLinePlaceholder: '↵', // U+21B5\n};\n```\n\nIf a content line is empty, then the corresponding comparison line is automatically trimmed to remove the margin space (represented as a middle dot below) for the default indicators:\n\n|         Indicator | untrimmed | trimmed |\n| ----------------: | :-------- | :------ |\n|      `aIndicator` | `'-·'`    | `'-'`   |\n|      `bIndicator` | `'+·'`    | `'+'`   |\n| `commonIndicator` | `' ·'`    | `''`    |\n\n### Example of option for sorting object keys\n\nWhen two objects are compared their keys are printed in alphabetical order by default. If this was not the original order of the keys the diff becomes harder to read as the keys are not in their original position.\n\nUse `compareKeys` to pass a function which will be used when sorting the object keys.\n\n```js\nconst a = {c: 'c', b: 'b1', a: 'a'};\nconst b = {c: 'c', b: 'b2', a: 'a'};\n\nconst options = {\n  // The keys will be in their original order\n  compareKeys: () => 0,\n};\n\nconst difference = diff(a, b, options);\n```\n\n```diff\n- Expected\n+ Received\n\n  Object {\n    \"c\": \"c\",\n-   \"b\": \"b1\",\n+   \"b\": \"b2\",\n    \"a\": \"a\",\n  }\n```\n\nDepending on the implementation of `compareKeys` any sort order can be used.\n\n```js\nconst a = {c: 'c', b: 'b1', a: 'a'};\nconst b = {c: 'c', b: 'b2', a: 'a'};\n\nconst options = {\n  // The keys will be in reverse order\n  compareKeys: (a, b) => (a > b ? -1 : 1),\n};\n\nconst difference = diff(a, b, options);\n```\n\n```diff\n- Expected\n+ Received\n\n  Object {\n    \"a\": \"a\",\n-   \"b\": \"b1\",\n+   \"b\": \"b2\",\n    \"c\": \"c\",\n  }\n```\n","readmeFilename":"README.md","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@29.0.0-alpha.6","_nodeVersion":"16.15.1","_npmVersion":"lerna/1.10.0/node@v16.15.1+x64 (darwin)","dist":{"integrity":"sha512-M2hTkhmnBU4kzx/kb/YrrUBiJXpWdrxZjRrk9q1aGC1b3fLyuw980iMEqLP684tZV6NMB7EIDT7ym4YSMm/YiQ==","shasum":"b7a70155dcb044742a71cce4e6e4db81a55d0b6e","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-29.0.0-alpha.6.tgz","fileCount":23,"unpackedSize":85806,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGh+BMwGd5fC/VLasYMdkOQyhDX1VHsBi0TIPMWAfiv7AiAwfsxz5DjgGKhr9KAchtatBOm2GVD/Vbpjdh8nlvWSTQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi/5bcACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqtTg/8DVzas2W6ivMBFgTObs862PoKqb/JI1BVH7AfiAXXBfRP/u5l\r\nKg9tMMiJOzf4PDHZnXYv3nHHQE0JfhauNMaWkQ1NGJGVn1ZzPCZtkCTjSQOl\r\n8V9M5918EwmQPAIuBnMK/Of4Jr+iRCuDtP5ALCLN0UfcVeQf/dXAhRdiEiCE\r\neeiye41Yx97DvPiWW+aHhJeHcXThFKPmZy/F1yAVfcLxBFmm2HOY/thEo8YM\r\n3pfcid+mqLHA4kpVqKxL0SISx7XevzuhqtSA5qJxFJoljJPsXy6XNWtKlGx0\r\nxrZaQFvnR9PZ/jSTGvv9l2+yD8a90A0jjKghCFBXf3f0ax8o415HqdzxidJi\r\neFj+TzE0Gm19zp4MKBcHaE0NtElYN+n29BoGF77sQW4XRlsuYnCLi516B+IT\r\nN/6sDmRDx8PSUUPnh0/Szp8znqmh+ZJa98Nt4SuOmq6h3gwSpYxAFObUbiak\r\npv6q7QyGLQ4leqGCxM8/0lxDdEvrGmn/jPP4DoB29l0UG4vpscJ73zihwq8z\r\nNhamf1UkbDi9jVH2ZPmS9s8+c0PBqpmCSA90t7X02GQGC3TCLVgnC8I0Hf2C\r\ntZb12eKtbW36ffIHuyU8MDhnZBQGmPnKoPtTK3jXm4YTynxMpTZpbhp0zbFb\r\nRL3N5LAUeFhNZWSqbfoC09kAWyvSVKMrOc0=\r\n=WoYG\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"maintainers":[{"name":"scotthovestadt","email":"scott.hovestadt@gmail.com"},{"name":"rubennorte","email":"rubennorte@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"aaronabramov","email":"aaron@abramov.io"},{"name":"davidzilburg","email":"davidzilburg@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_29.0.0-alpha.6_1660917468466_0.7589488659034458"},"_hasShrinkwrap":false},"29.0.0":{"name":"jest-diff","version":"29.0.0","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"./build/index.js","types":"./build/index.d.ts","exports":{".":{"types":"./build/index.d.ts","default":"./build/index.js"},"./package.json":"./package.json"},"dependencies":{"chalk":"^4.0.0","diff-sequences":"^29.0.0","jest-get-type":"^29.0.0","pretty-format":"^29.0.0"},"devDependencies":{"@jest/test-utils":"^29.0.0","strip-ansi":"^6.0.0"},"engines":{"node":"^14.15.0 || ^16.10.0 || >=18.0.0"},"publishConfig":{"access":"public"},"gitHead":"75006e46c76f6fda14bbc0548f86edb2ba087cd2","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@29.0.0","_nodeVersion":"16.17.0","_npmVersion":"lerna/1.10.0/node@v16.17.0+x64 (darwin)","dist":{"integrity":"sha512-erkuYf1dQBHow3XJmS+bH6t9TZ0GwrSdQGauN8sTqyZlFByOjRadmHgTTcAHINeeSwxzGHN2ob3PXVvZphD7XQ==","shasum":"24a3dd5846ae0e48cba0194b1397178b06b123ad","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-29.0.0.tgz","fileCount":23,"unpackedSize":85766,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDUO1bp5eTR7IrmUb3e0sHhU08c8OaLMHKwD+ociXezPgIhAO0T2aCdIUOERTcsVMhrwSWS7poYMQN8tgBhhEsynnBo"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjB2wYACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrb7g/8CfzVtuQKaRnDnxZZfLtvJ3+lTQ65X695Ql78EO9+mI8nq6dF\r\nO9L25qU8dZSFwX3uYNZKWVz4GsSqZpn0HURePgyXkTe+YweVyCjNrSdAes+b\r\njqlD48VVNEQlQNW+vPq2rW/kxXjJB+BK+IW86rnx91WG40BhbDDO7q7Wordj\r\nD+LSOht+6WRE47YFPu9HmOfYcSfPQ4RaaMMyIqkLsu0w7yxMz/KohV4tGaxz\r\nMgsKIC5KZFHS/+kdExNWzufDHRR48B3jhJo2/8/7wGbqL3Od0Cf/z9/++xRd\r\n5GUPVS0I/iHNv+oOsLXitsAOmIg1/dwTyL3W5tprWTim74G+Es/Hm9HsIsK/\r\nCld/qcTliAW8iTXaFpeFVq9Q+BLuoI3CzujDbeUSnzfAK5j7pb7F/2Sfa35J\r\nBkJw74V6MbBhPsWlA2v22HKZ1rNjBicRRSLOx4bvWVbXaV/RIVb2GYpfRPud\r\nG75TV0qg7H3iW/4qWzD360aH/1JdswcmoEBxdrhv7JbHefGqNzmMu2m8w64t\r\nrqMH+I1YL2d0/ik7WHw1RsK1G5V44kOx3tZ5hKPjogkONooqdnnVmyNJM+/R\r\n3jWlyVG9lwhwRVGFPhYevMWD8r11TTwCXPInCREp8QbMSyWdcBLjlojQeMcO\r\n9SqPlvoMlfJbHWq8tDGTYugPSvw6qYqWc4U=\r\n=W30p\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"maintainers":[{"name":"scotthovestadt","email":"scott.hovestadt@gmail.com"},{"name":"rubennorte","email":"rubennorte@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"aaronabramov","email":"aaron@abramov.io"},{"name":"davidzilburg","email":"davidzilburg@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_29.0.0_1661430808406_0.2835010409962122"},"_hasShrinkwrap":false},"29.0.1":{"name":"jest-diff","version":"29.0.1","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"./build/index.js","types":"./build/index.d.ts","exports":{".":{"types":"./build/index.d.ts","default":"./build/index.js"},"./package.json":"./package.json"},"dependencies":{"chalk":"^4.0.0","diff-sequences":"^29.0.0","jest-get-type":"^29.0.0","pretty-format":"^29.0.1"},"devDependencies":{"@jest/test-utils":"^29.0.1","strip-ansi":"^6.0.0"},"engines":{"node":"^14.15.0 || ^16.10.0 || >=18.0.0"},"publishConfig":{"access":"public"},"gitHead":"b959a3d3bdf324ed1c7358f76ab238a8b0b0cf93","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@29.0.1","_nodeVersion":"16.17.0","_npmVersion":"lerna/1.10.0/node@v16.17.0+x64 (darwin)","dist":{"integrity":"sha512-l8PYeq2VhcdxG9tl5cU78ClAlg/N7RtVSp0v3MlXURR0Y99i6eFnegmasOandyTmO6uEdo20+FByAjBFEO9nuw==","shasum":"d14e900a38ee4798d42feaaf0c61cb5b98e4c028","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-29.0.1.tgz","fileCount":14,"unpackedSize":78540,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDhHpmTZEROAQxnht0krp51yys0TY2cxFTEOAfQTUwdUwIgWC0so4sptLN7AHrAItsXg4qFh2U1v/mK8eZmIWTz+zk="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjCMvyACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpGYw//R9HFYfFb9HyXf6oxWZAdIb+6SyFQDy9dzxewMy2QKIk8INb/\r\nHLxQlWFeC5MFAD6HsyCV2OtZWj2aNl/dc47mi/2Vu/7Nsnwomfqv6w8b31Gi\r\nynKMS/bzqHCnxYdSGlO1zlleVsYcZWxE/R5bvzpjp4GVFEwi5mnJx4Jnr7eT\r\nGZsPbfXvoc/GWNRXAyYhjI0YH+taWvIHaALBtCi5+/jnCzlZcAO8fFwm4yNZ\r\n/ZSN2TbgQ1O4pX4kTyuRZI4POvFCRBkoc8cm9n2BLZgoqAn1pfsQTQAfwpB6\r\nVRaqUmUGR6yYeB4B6t55g7c5SQz+nAKDl73kuhq88lBqxX6Mkof/8Vyxz1ZN\r\n/DPu+L0k/QQWyPwepoR+ApnPc3bUu+I3PFgN0dlcofb2rv4Ny/2WJYJvCo4J\r\neDE8qrqqpBT2nse55Zi8u2ObVhbEyfhhj01uOXn2BNdXxVDD2qzkV6NFxDgT\r\nYVL+U0QTqRCLfwU8pAiwweUVWx797ZLwL8pwTvtTDkHxZFXV7RtNf9k8J9+E\r\nkOJCIARPoTRKxFmt3s+S73gwLwnSbK6AkqZdNIaAjMfCLrfekMvx6XoEnZBd\r\nezlvgw/M23NJcAiur+vYTg1DIDxOFgKAOMJzKu6j7RSD3CjvZzrBpGdWVEvD\r\nUyCLHdc88qQapf75y3CkxrH/BY7dnNbPxCc=\r\n=HhJp\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"maintainers":[{"name":"scotthovestadt","email":"scott.hovestadt@gmail.com"},{"name":"rubennorte","email":"rubennorte@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"aaronabramov","email":"aaron@abramov.io"},{"name":"davidzilburg","email":"davidzilburg@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_29.0.1_1661520881996_0.21975635223373313"},"_hasShrinkwrap":false},"29.0.2":{"name":"jest-diff","version":"29.0.2","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"./build/index.js","types":"./build/index.d.ts","exports":{".":{"types":"./build/index.d.ts","default":"./build/index.js"},"./package.json":"./package.json"},"dependencies":{"chalk":"^4.0.0","diff-sequences":"^29.0.0","jest-get-type":"^29.0.0","pretty-format":"^29.0.2"},"devDependencies":{"@jest/test-utils":"^29.0.2","strip-ansi":"^6.0.0"},"engines":{"node":"^14.15.0 || ^16.10.0 || >=18.0.0"},"publishConfig":{"access":"public"},"gitHead":"616fcf56bb8481d29ba29cc34be32a92b1cf85e5","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@29.0.2","_nodeVersion":"16.17.0","_npmVersion":"lerna/1.10.0/node@v16.17.0+x64 (darwin)","dist":{"integrity":"sha512-b9l9970sa1rMXH1owp2Woprmy42qIwwll/htsw4Gf7+WuSp5bZxNhkKHDuCGKL+HoHn1KhcC+tNEeAPYBkD2Jg==","shasum":"1a99419efda66f9ee72f91e580e774df95de5ddc","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-29.0.2.tgz","fileCount":14,"unpackedSize":78540,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC6LfeccE7QRNfXNYhfdlT2CKxdYsYes7x2EgJCrtiLMQIgKu21bH8tq6uIDy/YUQ6HGnczU68zM4Byx+I1990nsko="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjEzDzACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmonmQ//Rp5IOq4Mp2RkOMTP9ey0bdPY95mSTLyVlxO7FgYLHjlxR/HM\r\nD3hJU2lai1smMCMn6ByNfQ0qaRFbaYMo3iMAbXvz+k95MC7hm1r06jAmIVq2\r\nZOd5SwW39z5a1wRtyCU3ZCEffav5hOblIrECprTlwPManU03rtO6LugwcNY6\r\nSLyokMNBd8zUqyCBx8Sr+QcuMrqsSr+fMmHJgKwW0nap+jL4Us0IF5lQUNjL\r\n8E8vHHrDMrODB6vhPYmU7q1j23h9mEEt6g1jUQgsqZGOmHyLVtyAoQ8ax4wy\r\npvj1vzNP5JNyO7zNOCwSRGh/u8t4PuQxeN/RNCJva1vvU0dY7Z3a+J4SoK0f\r\ndTCWjx6pc4xo28fTVyWDovWNjYN4Q4Zhf7yxIoX3rFcP1IZ+8TgTU/uwQ+NB\r\n0YpA9nh2al5mtkR+dC0k6+o+3oSi4ttQbaiuUwXzUyWATnkXnCHqC3Ey1Sfg\r\nIkoTzIJ0OpDsIsSutYmf7NVvXs++vzxpDvQvYWCKZzwJAMn1l4R5dA+mQ9Ue\r\nxXbxSsSgcT92Ib/eypa8e9n5r1yAKLy9y5gON0i72p4KjQwwu5uhU0ykaVqx\r\n+XlEVIi4UJ3vrnthTREQOXfJb1PyE5wXqkE1a30jqEdLDWNUy0/qy5OMASxL\r\nn/x8e+2uhE1mJq7w7Eb89L3K4Zb5hKRXUrk=\r\n=iMSx\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"maintainers":[{"name":"scotthovestadt","email":"scott.hovestadt@gmail.com"},{"name":"rubennorte","email":"rubennorte@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"aaronabramov","email":"aaron@abramov.io"},{"name":"davidzilburg","email":"davidzilburg@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_29.0.2_1662202099627_0.3991743585667371"},"_hasShrinkwrap":false},"29.0.3":{"name":"jest-diff","version":"29.0.3","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"./build/index.js","types":"./build/index.d.ts","exports":{".":{"types":"./build/index.d.ts","default":"./build/index.js"},"./package.json":"./package.json"},"dependencies":{"chalk":"^4.0.0","diff-sequences":"^29.0.0","jest-get-type":"^29.0.0","pretty-format":"^29.0.3"},"devDependencies":{"@jest/test-utils":"^29.0.3","strip-ansi":"^6.0.0"},"engines":{"node":"^14.15.0 || ^16.10.0 || >=18.0.0"},"publishConfig":{"access":"public"},"gitHead":"77f865da39af5b3e1c114dc347e49257eb3dcfd1","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@29.0.3","_nodeVersion":"16.17.0","_npmVersion":"lerna/1.10.0/node@v16.17.0+x64 (darwin)","dist":{"integrity":"sha512-+X/AIF5G/vX9fWK+Db9bi9BQas7M9oBME7egU7psbn4jlszLFCu0dW63UgeE6cs/GANq4fLaT+8sGHQQ0eCUfg==","shasum":"41cc02409ad1458ae1bf7684129a3da2856341ac","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-29.0.3.tgz","fileCount":14,"unpackedSize":78540,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCI0EnXZms0o6wm350DvLhAzA0gduMojBbZP2dr1JsNXAIhAMfyS7dvk6WpNYUj38Lr1QgebQMdKMDuRIwyKxO95ekk"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjHKIiACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr2Qw/+KMvHeV+UwI6wZb4RI5+FBTrLibJcKSI3KaLsfD1DRGp7dQTt\r\nIpXlyZ4cRp+sQ8L20xLToEZMVXDcn2DUL0Dpydv7Rk1mPm26Rv8XqAnW9ejq\r\nLu917wqdcxltGJln9qlopVn+jzwRmqNGI6l9RmV4hs+zNGiZzyhUOA5A4+Um\r\n/7eMq9cJXaGJ3vYzJvhCC1G9c3QdkX56CisyKpwz6eS2cCjshxGmenevnptx\r\nc+e0BeHhKtx9lijD+T5OXcpWkIKPB4Z9kfQxDTlJ7gyugaBeuue/jDDTUGzn\r\nQLtQoJ3wGsk2Zdxkf7lbxw6h48ZG5aoVR6DQcUXn5CFFuy9ieX1B0o82jYEy\r\nVTUpZgT1d/Emb02Pi/f1M3poajcUYMnTaOr2Xnq6BkoZP1SgjiKIbrMurFsJ\r\nvA/dXRidOJwvew+IJFj/bg5WPlj9AXpmean7SpTjeoaWq17kqMt7sKVxxoGe\r\nXmJpU0NnRVC66HlRLUbsRqYHanBFXQIgrqrOl6onZ2EhlSvuxTBJuS6jZiym\r\nmW2FL3tHDU4BPEVPMF11eqnyl7u63opKQtCyffP914+zC9PWZ9u+OD/aNL2Y\r\njzC0/TBT2bnWHkTU6wf9KErUpS0105mTiLoFXd2Nf0QwO3FyDat/79LqXTNn\r\nJicIP9X7sbvjs9faXgpmpZaC0x4Cv7kpQNI=\r\n=PkSQ\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"maintainers":[{"name":"scotthovestadt","email":"scott.hovestadt@gmail.com"},{"name":"rubennorte","email":"rubennorte@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"aaronabramov","email":"aaron@abramov.io"},{"name":"davidzilburg","email":"davidzilburg@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_29.0.3_1662820898192_0.9894182797858233"},"_hasShrinkwrap":false},"29.1.0":{"name":"jest-diff","version":"29.1.0","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"./build/index.js","types":"./build/index.d.ts","exports":{".":{"types":"./build/index.d.ts","default":"./build/index.js"},"./package.json":"./package.json"},"dependencies":{"chalk":"^4.0.0","diff-sequences":"^29.0.0","jest-get-type":"^29.0.0","pretty-format":"^29.1.0"},"devDependencies":{"@jest/test-utils":"^29.1.0","strip-ansi":"^6.0.0"},"engines":{"node":"^14.15.0 || ^16.10.0 || >=18.0.0"},"publishConfig":{"access":"public"},"gitHead":"51f10300daf90db003a1749ceaed1084c4f74811","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@29.1.0","_nodeVersion":"16.17.0","_npmVersion":"lerna/1.11.3/node@v16.17.0+x64 (darwin)","dist":{"integrity":"sha512-ZJyWG30jpVHwxLs8xxR1so4tz6lFARNztnFlxssFpQdakaW0isSx9rAKs/6aQUKQDZ/DgSpY6HjUGLO9xkNdRw==","shasum":"952639cd73fcf4d34173e2d98a0cd1c20c71ba88","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-29.1.0.tgz","fileCount":14,"unpackedSize":78540,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHyLeigrcKNYDnj9TTEyRcTvhpcR4FKKMDCyDq894TOxAiEAltmXMqWUB/whixTcWx85zwuR3vxqtC535P4yoNMeeHQ="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjM/nFACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoF+xAAiFzmYHiDrbw4raGtL+CyMogd+XVihv6IlmYwOElxKhDSprUB\r\nIMRejh87d/rnjqu6QCz8ftPjjYYb7FEUyN3kzwGPQyHZdwYgw85vxzJAx/JB\r\nrcp2TEX7ZurcO6oWs47Ej1qw61KLOJWgQN2I2iSD3v55CfmSJISCAHTt1A3p\r\nprwlFOAvtZbLLzZQoTgycpYya566REZ/tVbUt9/3C2bBfVJ/ErfwXte85VKX\r\nQB1ZMC1AnFLdsa7PJ/8E4KB65xsGB8dr2yhgZaU70rGnXuRPO1ZIeFGqHfQe\r\nHHq1MtB0v/6074ZU2mXdie4vDu3cp8X7rHRhiNp7i8RS26johw12CyUt/0hR\r\n61TmCIhKmJjQRBXjy9p8u1Dr/UvKknmmdHdQdAZCvI7TA0YdT1gPOrmyzH9F\r\nb7CB1Y7IrWITzHe2buTJ5i1r4pzUFv43gy9deYvQQ91ooDIBVOm/tPBEVuIe\r\nhApbJo6Kp3EHdr+CRLf8AtD1kQah2i325xJpD0m+bigUYvxtoFYK88Pu0iHa\r\niSdgkrM8gInPk6hVcFCS4FSfJ0kwgNaPnzKOxtiH5yx4XHuwhJxvstC4m9xB\r\ntmRBb+9J3aey3hy8pVN4LruJXpjuARUuEZmzOnRR2sZ6KIn9EmNrir9wMqEz\r\nQAWV3qyhZ+jV/oE1T/kvi1pESnkDDoot3WQ=\r\n=txxo\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"maintainers":[{"name":"scotthovestadt","email":"scott.hovestadt@gmail.com"},{"name":"rubennorte","email":"rubennorte@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"aaronabramov","email":"aaron@abramov.io"},{"name":"davidzilburg","email":"davidzilburg@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_29.1.0_1664350661578_0.8550008459921692"},"_hasShrinkwrap":false},"29.1.2":{"name":"jest-diff","version":"29.1.2","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"./build/index.js","types":"./build/index.d.ts","exports":{".":{"types":"./build/index.d.ts","default":"./build/index.js"},"./package.json":"./package.json"},"dependencies":{"chalk":"^4.0.0","diff-sequences":"^29.0.0","jest-get-type":"^29.0.0","pretty-format":"^29.1.2"},"devDependencies":{"@jest/test-utils":"^29.1.2","strip-ansi":"^6.0.0"},"engines":{"node":"^14.15.0 || ^16.10.0 || >=18.0.0"},"publishConfig":{"access":"public"},"gitHead":"3c31dd619e8c022cde53f40fa12ea2a67f4752ce","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@29.1.2","_nodeVersion":"16.17.0","_npmVersion":"lerna/1.11.3/node@v16.17.0+x64 (darwin)","dist":{"integrity":"sha512-4GQts0aUopVvecIT4IwD/7xsBaMhKTYoM4/njE/aVw9wpw+pIUVp8Vab/KnSzSilr84GnLBkaP3JLDnQYCKqVQ==","shasum":"bb7aaf5353227d6f4f96c5e7e8713ce576a607dc","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-29.1.2.tgz","fileCount":14,"unpackedSize":78540,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDsVUsc5vxnmUkX43XSWnmdUX9jNwj+692xtZO0gp/q2wIhAMQTkLWdS2wMBt2IPgc5+PSVdZHZ80SVtoULBs7xWHi0"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjNplJACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp9kQ//aMlE0FH+QgX8xcxDgnuSRWFniv00EU4cXvNlFfUkxT9vTAMU\r\nB3LwqFH+ivXUA2guTod5REToXXFvf40kB55noWsoK9Un5hNlkzP9BIhIKXHq\r\n5zIFPuBiAPBxLprU+eAFc2AaCQZ3O2xcJ+jdHQ3dl5Qy/0AKvOUB4vUYrh5z\r\n0EA3NLiIAdoVt8VZJQGRngrVW3jBNJ6EMnLkKgi0hJ77sF36U9Z+BkwR1+2M\r\nnZqlhyens9cpAjtJ0Y8McftlgNqkVyq6NFc2a+cSho/guewTeht634k+E5gW\r\njwnHUq3OXrUQuO09SuNYxHxRo+1RI2Sa38CsikjcMXLlYkMCbPlWo4p6G99d\r\nB2ZE2EIrSuH1MWOa2a1jJjDGZ6XBavtTEXpa5oAx04hu21CHZvRm46nEWufl\r\nICEovWXV0AuMQIcKAtexz2S1K08m175Xk9/TMBb5YLPeiS+DNcB1sVdAibzM\r\nFT8I/cyaF7jVwv/vktRNuQ154OTYWKAcK51/rmyK6d1cycmFaaCAGtCsKQ+e\r\nwZrF5h4p4h6ateteJ8CXlE6V9KzzpZYzhTEWOjRXDcL8fxXMqrSiuvuFvbvC\r\nFzmEdDGdamF5vrFMKwNS6CVuE2ADUl3zQ9D/gaig+JWvYaM5QrWbZHlyZGZJ\r\n4WJEqAuc/jvE+FQQWg41M+v5zAB5fDhyTWg=\r\n=meih\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"maintainers":[{"name":"scotthovestadt","email":"scott.hovestadt@gmail.com"},{"name":"rubennorte","email":"rubennorte@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"aaronabramov","email":"aaron@abramov.io"},{"name":"davidzilburg","email":"davidzilburg@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_29.1.2_1664522569028_0.24932033335445092"},"_hasShrinkwrap":false},"29.2.0":{"name":"jest-diff","version":"29.2.0","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"./build/index.js","types":"./build/index.d.ts","exports":{".":{"types":"./build/index.d.ts","default":"./build/index.js"},"./package.json":"./package.json"},"dependencies":{"chalk":"^4.0.0","diff-sequences":"^29.2.0","jest-get-type":"^29.2.0","pretty-format":"^29.2.0"},"devDependencies":{"@jest/test-utils":"^29.2.0","strip-ansi":"^6.0.0"},"engines":{"node":"^14.15.0 || ^16.10.0 || >=18.0.0"},"publishConfig":{"access":"public"},"gitHead":"ee5b37a4f4433afcfffb0356cea47739d8092287","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@29.2.0","_nodeVersion":"16.17.0","_npmVersion":"lerna/1.11.3/node@v16.17.0+x64 (darwin)","dist":{"integrity":"sha512-GsH07qQL+/D/GxlnU+sSg9GL3fBOcuTlmtr3qr2pnkiODCwubNN2/7slW4m3CvxDsEus/VEOfQKRFLyXsUlnZw==","shasum":"b1e11ac1a1401fc4792ef8ba406b48f1ae7d2bc5","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-29.2.0.tgz","fileCount":14,"unpackedSize":78499,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCzAedNPGRD5dEyNDgAIYr+pVUY0aIU89gSZbu3qHOmvQIgfBANw1l94vox45XAgKeUV+xDXgffNmAjALCq26bfY4o="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjSShNACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrCeRAAhFkUfvCMs79cGnyxDizpYk/apj5ZH7yI2wvRoqf+50JVLo0a\r\n/vaFpYInIaO+18voYMSJWt9W2/h75DwL2M/PFzMO88iAlTID3wlIVCPZvzz+\r\nCWbKN7X8DyQ2N2MAig0N/1u2JMewD3hQH4rVec9OKDGqnRxsBm3/jchlwUNq\r\nGh6rZUBn+Ey2fbF5mTMNKQKGYtfbAOrC8JtorJSvVEl+QaZuD9L/izdhJYwT\r\nyYL50KhHrhUH8Yz30sCUQA/1DD/qte7xNzXXAuAst6mPARb5VScF88huf3Sf\r\nxmR3Y4T6oCxZ8pM186VlYimoAzrN6s3pzBMnah3q8dGkSYBUjxxROzkKdDbs\r\nqukgmMDg0AtQ0IKhTIR5o6CZ0oA8KFUv4YsLCjAEm1FG6ny1KHXwvEFzw1TR\r\n+75X7BDW09F3QjxPheKK7hi2lUEa6iyaei4oFVLOgb+z06adLXJsC9jEb81c\r\n/znV8NazQHVC83AuRqkZGVpotai1KjMI0AcUZGNQx2iVxIHz4Il7NPSniRQF\r\n2Pg4n0i786nAXATtQm527yKXfVNN2VrEOn5OG4IpU8OQi6mi8w+cv8Fob/I0\r\ng248/ZWBMrXtQk0yb9PGeJzJEdvwrIjWM4I4QFZt8R3wEA5nMDSBOUMHFepW\r\nVl9QtpQhNMF5B+YcGa6ofnQyRvWWE/ijAOg=\r\n=uFC0\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"maintainers":[{"name":"scotthovestadt","email":"scott.hovestadt@gmail.com"},{"name":"rubennorte","email":"rubennorte@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"aaronabramov","email":"aaron@abramov.io"},{"name":"davidzilburg","email":"davidzilburg@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_29.2.0_1665738828989_0.025240514966119676"},"_hasShrinkwrap":false},"29.2.1":{"name":"jest-diff","version":"29.2.1","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"./build/index.js","types":"./build/index.d.ts","exports":{".":{"types":"./build/index.d.ts","default":"./build/index.js"},"./package.json":"./package.json"},"dependencies":{"chalk":"^4.0.0","diff-sequences":"^29.2.0","jest-get-type":"^29.2.0","pretty-format":"^29.2.1"},"devDependencies":{"@jest/test-utils":"^29.2.1","strip-ansi":"^6.0.0"},"engines":{"node":"^14.15.0 || ^16.10.0 || >=18.0.0"},"publishConfig":{"access":"public"},"gitHead":"4551c0fdd4d25b7206824957c7bcc6baf61e63bf","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@29.2.1","_nodeVersion":"16.17.0","_npmVersion":"lerna/1.11.3/node@v16.17.0+x64 (darwin)","dist":{"integrity":"sha512-gfh/SMNlQmP3MOUgdzxPOd4XETDJifADpT937fN1iUGz+9DgOu2eUPHH25JDkLVcLwwqxv3GzVyK4VBUr9fjfA==","shasum":"027e42f5a18b693fb2e88f81b0ccab533c08faee","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-29.2.1.tgz","fileCount":14,"unpackedSize":78499,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEFY8QJF2cSyNOFj9iQZKONGn0qIBOlOPc1gacSALIYaAiBajujFo0IPhEwDHRjr3mHSp/EY1czwKN7wCc8SfZqdDQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjTs2NACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpbdg//SlT8IRFvxHaHUcDX09BoelJxCtySVlA+6ya3rnG9yQvcqePg\r\nwNNkIgB9UlpjKoC55UyQ6Ly0M/epdrZIwJj/MkbMkYaf9XPFLZo6JuiqjRFv\r\nCJRkvGHTM53OMeBVkxYvcT05cu7r/u2gV38BRn1MpBdsCt0aV6UySxIMVSVo\r\nMLTMK9V0ZpN1yH0P5NE03OqOazaTDis//jGzvrsPxJeYPHYuTIbIFFWtoti1\r\n2zygwnCYvK5lhAbHUcZqOZ7nXV8AAo6L1r4YawQM8jGyg01z001EJ5ilIVRv\r\ngHkqdhP0R529ZGJF6vnVtBEFDEfOHqnytp2EDSwqlkeFdYCIx5yrSwQDW4dG\r\neL93Z7h2IPMRbELw3y+4vBYxueemMilEh81mnVSNlgNKEEgbh4y+KXCEp1+M\r\ny5NLvpVl7QRWbzPjp5E/s7HfdGt/fOr9O8RbDAydh8hC4eP7uy3ObNpGWt7o\r\n5mXz5xNlieUGFeT7s4pQyVa5isCluyzwHKCp//ojhyEZSbC6HM4oC0YRhWNJ\r\no4rLY+01hUDoh5IKVxY3DPKFnG8vW3Vc+auqRIsBoUJ2cq0du1zPXz4rkNf3\r\nNctSSVbuX8Q6PFpbvp8al7xKfePY0qQfeZeisUqhkhsF0VOkejrs4grPWF0J\r\nZiOQEHSP/wAraK/rgHMV1bVMedmsqJybxcs=\r\n=5CKp\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"maintainers":[{"name":"scotthovestadt","email":"scott.hovestadt@gmail.com"},{"name":"rubennorte","email":"rubennorte@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"aaronabramov","email":"aaron@abramov.io"},{"name":"davidzilburg","email":"davidzilburg@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_29.2.1_1666108813683_0.5082413373864554"},"_hasShrinkwrap":false},"29.3.1":{"name":"jest-diff","version":"29.3.1","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"./build/index.js","types":"./build/index.d.ts","exports":{".":{"types":"./build/index.d.ts","default":"./build/index.js"},"./package.json":"./package.json"},"dependencies":{"chalk":"^4.0.0","diff-sequences":"^29.3.1","jest-get-type":"^29.2.0","pretty-format":"^29.3.1"},"devDependencies":{"@jest/test-utils":"^29.3.1","strip-ansi":"^6.0.0"},"engines":{"node":"^14.15.0 || ^16.10.0 || >=18.0.0"},"publishConfig":{"access":"public"},"gitHead":"05deb8393c4ad71e19be2567b704dfd3a2ab5fc9","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@29.3.1","_nodeVersion":"16.17.0","_npmVersion":"lerna/1.11.3/node@v16.17.0+x64 (darwin)","dist":{"integrity":"sha512-vU8vyiO7568tmin2lA3r2DP8oRvzhvRcD4DjpXc6uGveQodyk7CKLhQlCSiwgx3g0pFaE88/KLZ0yaTWMc4Uiw==","shasum":"d8215b72fed8f1e647aed2cae6c752a89e757527","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-29.3.1.tgz","fileCount":14,"unpackedSize":78499,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDFa1axbs2YO00jqq3xJfGwfLhOhBPAzPgGqvXebz9ecAIhAIUq1D/i5HBlj6ZgNEbgwqQM81w+ks+sH6LJptpGBHF4"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjat6XACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqAWQ/+L9tXgT5SpEtCHeTu+OL+ExEqTpIv2bnzE0Z0rSaUhpmUovCU\r\nOU6ntj1U1p7x6G+NIE/y5mMnjV9Wek4CoWiPzX2JPCazdRzXdIdQH9rl+xA2\r\nBkB3syV1+vCWllU6m0I9vhM9x2AFGyWsqhzSIaiGAtqY8EOHppBTKZB1UaLL\r\nWlnq2ySJCk9mC2JGs2vMdxzjcW4BGK2qMQrfMBeQROt36ZtIV+7YHmXI9Avs\r\n7QTqG0weJrfX2A3OA4aioCs22Dnrcfnt+4sDDHMZT7TK2CPu4liId2FuQE8P\r\n0OmPu/P8/8YiV8GGl1HpgRulVWR6bEjKPjLrXQe3hBCxY3qJBYomdngXyqXe\r\nDZSQp5gbsQq9kvxMFN4NZu1Ua1Bo0FxOLNY1pnra/fvS3Gpsj/MWDx5O7YbM\r\nZrF5h2A75dUlgn+ROxyV7vZuhc21bhLm/oByXlZ6Vk24p9yC+TaNVqnzjTEn\r\nhH2yTYbygw9UfU+QwY4EzZ+30tyoWFTXokegAcGP3PZRBwx58+XFZxHZrb41\r\n4vd42R7Kb+jrHYu2bMJkTcIgH3+qcKhi3KaNWq7kyBBqGYsrdI8ee48wNHKj\r\nkWCGAlklgECFHFVNsD3JIBT8DUd2XIv2uh7TZm7DHpqmflCumUUcDwvnAU4k\r\n0XTqHHvD7c0hXgi+BC6rmAEsEINikusGS8o=\r\n=/6Au\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"maintainers":[{"name":"scotthovestadt","email":"scott.hovestadt@gmail.com"},{"name":"rubennorte","email":"rubennorte@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"aaronabramov","email":"aaron@abramov.io"},{"name":"davidzilburg","email":"davidzilburg@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_29.3.1_1667948183361_0.41704727538979114"},"_hasShrinkwrap":false},"29.4.0":{"name":"jest-diff","version":"29.4.0","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"./build/index.js","types":"./build/index.d.ts","exports":{".":{"types":"./build/index.d.ts","default":"./build/index.js"},"./package.json":"./package.json"},"dependencies":{"chalk":"^4.0.0","diff-sequences":"^29.3.1","jest-get-type":"^29.2.0","pretty-format":"^29.4.0"},"devDependencies":{"@jest/test-utils":"^29.4.0","strip-ansi":"^6.0.0"},"engines":{"node":"^14.15.0 || ^16.10.0 || >=18.0.0"},"publishConfig":{"access":"public"},"gitHead":"4bc0e8acaf990e6618a7bed1dca67760c20bb12a","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@29.4.0","_nodeVersion":"16.19.0","_npmVersion":"lerna/1.13.0/node@v16.19.0+arm64 (darwin)","dist":{"integrity":"sha512-s8KNvFx8YgdQ4fn2YLDQ7N6kmVOP68dUDVJrCHNsTc3UM5jcmyyFeYKL8EPWBQbJ0o0VvDGbWp8oYQ1nsnqnWw==","shasum":"9c75dcef5872c8889bfcb78bc9571a0e4e9bd8f6","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-29.4.0.tgz","fileCount":15,"unpackedSize":88349,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCSZmwZiTj94AfhxlO5cLGuU2ISHgDqUHp/K/AK0JO+6QIgXAuh2KYpB/3ko1kFeoZW0kPB/dHCIx2w59HRjVM74fM="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjz7k4ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrVww//QpCrl4T9lMg5kyHZ6THfCW0R6TaxED/k39rcoz5XDoriLGee\r\nbHSVHpkBBIUCvyFLpiuUcrrv05W9CL9gRH24sM+5omYR6yriNBl1W8y3c/jW\r\npQb4nX7SY5GW/Xnm8XwRQulF7EQA5xilWYyS/PftMhKZfNEN/scMAfgefx5K\r\nQOoBLTLc8J28ym4GHYG3sl8lxkqnU5V6zatQdDoGi9GsOOKSXzVm58SVZmUL\r\nX/tTBDkANvcsC7rRrV9KBOhuyVkfGxLeOiOMzNvEk/HulE2cyE8iFFfFVG//\r\nZuun5TuJiw77q3xVfYuLtT+LFxapqfhI1GTvm9PpeendNVtKsLDtc24eQ+Op\r\nFhJlZmyIMrSv6wpVaeWXv8SY7BgcDqpXMfSAnuegI/fqboBilvYgpC09Ek8h\r\nB37omwX6KbkEXhwIbCJ4KcagerjfjAqv0BeLCtKaR11OwNUlMxkPsr3RA8NC\r\nwvjl39xvsdsz+SnX4qrML7hJYVAqyCYRQGAVaXX5UurjzJLIHISK869IOED6\r\nZA3VwVIXP7PsNHf15rYBPqHiJLbd+B653tVb9RwuLG4a/DXnTNUJ9R173EiY\r\nO/hvfqlQ/D9Qye5KVCGtuh5didoJu9zI2l0RZ2qAF0pBotWkMPB1BdD5q13X\r\nKmd6D/KLFv4BCkphk+eMaxjxanl5mmjP8ak=\r\n=Hw7t\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"maintainers":[{"name":"scotthovestadt","email":"scott.hovestadt@gmail.com"},{"name":"rubennorte","email":"rubennorte@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"aaronabramov","email":"aaron@abramov.io"},{"name":"davidzilburg","email":"davidzilburg@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_29.4.0_1674557752079_0.8239290788367282"},"_hasShrinkwrap":false},"29.4.1":{"name":"jest-diff","version":"29.4.1","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"./build/index.js","types":"./build/index.d.ts","exports":{".":{"types":"./build/index.d.ts","default":"./build/index.js"},"./package.json":"./package.json"},"dependencies":{"chalk":"^4.0.0","diff-sequences":"^29.3.1","jest-get-type":"^29.2.0","pretty-format":"^29.4.1"},"devDependencies":{"@jest/test-utils":"^29.4.1","strip-ansi":"^6.0.0"},"engines":{"node":"^14.15.0 || ^16.10.0 || >=18.0.0"},"publishConfig":{"access":"public"},"gitHead":"bc84c8a15649aaaefdd624dc83824518c17467ed","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@29.4.1","_nodeVersion":"16.19.0","_npmVersion":"lerna/1.13.0/node@v16.19.0+arm64 (darwin)","dist":{"integrity":"sha512-uazdl2g331iY56CEyfbNA0Ut7Mn2ulAG5vUaEHXycf1L6IPyuImIxSz4F0VYBKi7LYIuxOwTZzK3wh5jHzASMw==","shasum":"9a6dc715037e1fa7a8a44554e7d272088c4029bd","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-29.4.1.tgz","fileCount":15,"unpackedSize":88349,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCbRvfzHzh0jNxn2RlbFAeO1n1JuUor1NY2kq9DI/joHAIgDNAZgdtUMyZT/mXWZuRp8ZUYd+DICfk/UfUivoNetY0="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj0pd1ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqRsw//Q07z3xBlZhfquxyGtTa3Iz/PmAz1c95pzI9nQxFw+Aq1GSU3\r\nXMsZI8fxXOmLMaz4nQdgzGUjZrsuvhO7WsJ7C4zybHkMp8KI9FeRFnMxX+Y3\r\nuJBU85/OFiF056gWyvzc5PFoLp5kYc4Tl4533IvlffVI3L+rSSsuRHv5SBCE\r\nH8myCItxdetzif/PVdVXGkaASzWXQYvR31m3r/UZWNvdUhSF8iVtZ41LiySU\r\nWb9qiQOVqzkeMziBeBrZyRJSooAjqzer9U0jP6ZajyHnKo1WRaF5LUKHHPHT\r\n/069zqAEH3mE7t9bioHAu2T3LehzzSbblBWNLrzuNDwzS0XlJE1Aiif2tJ+H\r\nzIdTHt2l8CgUn0AnEoiGKJ6C5DL/iaPo/ibKSY/4rhfV2hjyVXD84guzl63I\r\npoB8luloSUlJQU8Bq+caFsZRKSSQFUMlFJAdi8IvLfd9VHgzvHmr03NiaRwP\r\nWlBafHM5ivnprPd10sTpmkSMZVh7ev1Vvqw1qE6IRB7EM5F+0wrwPSAxUGyP\r\nrR8YxXM5EqZKdDvXpTdW07kvn/pk5OOR5ou1HtcA7xtinJnsMsh83R5CoLUw\r\nX7M0akKS4MV2FIAm49b4dmdAIoVX7YIYUaKZLHxbX7azd4aVOwzG+R5ibboQ\r\nGp7JYFltgxE1E0WOgKllK8i8k9sHpk0B3is=\r\n=Rf47\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"maintainers":[{"name":"scotthovestadt","email":"scott.hovestadt@gmail.com"},{"name":"rubennorte","email":"rubennorte@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"aaronabramov","email":"aaron@abramov.io"},{"name":"davidzilburg","email":"davidzilburg@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_29.4.1_1674745717643_0.9379190428499087"},"_hasShrinkwrap":false},"29.4.2":{"name":"jest-diff","version":"29.4.2","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"./build/index.js","types":"./build/index.d.ts","exports":{".":{"types":"./build/index.d.ts","default":"./build/index.js"},"./package.json":"./package.json"},"dependencies":{"chalk":"^4.0.0","diff-sequences":"^29.4.2","jest-get-type":"^29.4.2","pretty-format":"^29.4.2"},"devDependencies":{"@jest/test-utils":"^29.4.2","strip-ansi":"^6.0.0"},"engines":{"node":"^14.15.0 || ^16.10.0 || >=18.0.0"},"publishConfig":{"access":"public"},"gitHead":"f0fc92e8443f09546c7ec0472bf9bce44fe5898f","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@29.4.2","_nodeVersion":"16.19.0","_npmVersion":"lerna/1.13.0/node@v16.19.0+arm64 (darwin)","dist":{"integrity":"sha512-EK8DSajVtnjx9sa1BkjZq3mqChm2Cd8rIzdXkQMA8e0wuXq53ypz6s5o5V8HRZkoEt2ywJ3eeNWFKWeYr8HK4g==","shasum":"b88502d5dc02d97f6512d73c37da8b36f49b4871","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-29.4.2.tgz","fileCount":14,"unpackedSize":78499,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC3b8ZEWLiA/ZfTffUGQ+2dj3LTXxum0fDd30MxSPCqdAiEAp3Q1OMiH5VGBO+rjWMTFLnNGy9WKbBWIP87lqFuO73I="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj4lX5ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqMWhAAndXzkbfde1Di7ayLTv+6ZuYYEsmbAl90wSvr3+r5rNO4QaTA\r\n6+Y6AFddyjQq4oo01eOdPWB1ili4fCG99EXkIBIQ7r4ZQneBGnHn8NCUi9JA\r\nYVs8zwFhzuMc8j7m1F2j4Ly2XrfIZ6MP211mzcZIhZb3LFrONdBEkRMgolN/\r\nYbke3uEuaB9gKddrCb22pGLBrbkdQi2ML4qldAAnxCY4xC5uoHkDq/VzXHiP\r\nJ6x02yrWIbfcSn6/xBA+CHg264RhhG+Uud4HyQrkTGCcL8jgV+fMpZzMK100\r\nwB8L6+qqmeqMVJ1Ell5eVFjzW/V2zQ+sEC3WHKuXj/VYhM8oklWhJiWG0Bm1\r\nnVmEM2rbRE0koge5BPJr1cWEJz4AR9Udz2MbhB1eC00zwd8czHP0dJe3Skh2\r\nXAj8ofW5Y9Jt9fC6QS8/nYMo2swMzvQLOR4f75moey4LwVvXxJO+8iTDrzDq\r\nXohsu+zLazkajfWiKNqwNofryIS2De48x6Ly3ub1hPZpmS7PAmfloTSg4jAs\r\nscACXfHEGVeHTKCbNjdDaqfhNgYhLoPlP8LFAn8WijQyXBGkYYDzVa8zvFr7\r\nDVpRpJXYF+K1K8gO8uJ/f1bgG36GrA23JenOH+b6Ga1I5anaYYMl6zxL4Hy8\r\nYFWC3wr5DA+Cccs9BFWKJuocSRhECmt+Src=\r\n=zGl7\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"maintainers":[{"name":"scotthovestadt","email":"scott.hovestadt@gmail.com"},{"name":"rubennorte","email":"rubennorte@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"aaronabramov","email":"aaron@abramov.io"},{"name":"davidzilburg","email":"davidzilburg@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_29.4.2_1675777528838_0.06390212643485005"},"_hasShrinkwrap":false},"29.4.3":{"name":"jest-diff","version":"29.4.3","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"./build/index.js","types":"./build/index.d.ts","exports":{".":{"types":"./build/index.d.ts","default":"./build/index.js"},"./package.json":"./package.json"},"dependencies":{"chalk":"^4.0.0","diff-sequences":"^29.4.3","jest-get-type":"^29.4.3","pretty-format":"^29.4.3"},"devDependencies":{"@jest/test-utils":"^29.4.3","strip-ansi":"^6.0.0"},"engines":{"node":"^14.15.0 || ^16.10.0 || >=18.0.0"},"publishConfig":{"access":"public"},"gitHead":"a49c88610e49a3242576160740a32a2fe11161e1","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@29.4.3","_nodeVersion":"18.14.0","_npmVersion":"lerna/1.13.0/node@v18.14.0+arm64 (darwin)","dist":{"integrity":"sha512-YB+ocenx7FZ3T5O9lMVMeLYV4265socJKtkwgk/6YUz/VsEzYDkiMuMhWzZmxm3wDRQvayJu/PjkjjSkjoHsCA==","shasum":"42f4eb34d0bf8c0fb08b0501069b87e8e84df347","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-29.4.3.tgz","fileCount":14,"unpackedSize":78349,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICvPbIZ0EFnRWIUTkWX9icA+W8M3viju8JhaQg1QJwQcAiBppyRnqF1aB/EYl7R9YGZGCT/YA9/DbKGKy46qhOZzTQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj7MiiACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmopwxAAgfHCb1YcjG59Kg/IenvDi46kwnnIJU7QHUbO/zZA5xfnccZV\r\nQO4CTEtsOh8vN5XWF37wzbS4T350VErQMvHUMHPpSGxDuKaXNIw/vK6lWICO\r\nOK3wytNZYn4ChFRA59pzvHqdkRsEkIyuFTSeHyCmBCtTBRymwAUWwNFEvA4Q\r\nBn3C8G9hQ9BKhVPViQQa/3Kq9M2Ce6i5FABRAmctAWKW7Ao7F8NnU+NAj3HZ\r\nkRBKW8e9TgkGK9G1RSZHbAZil60rq3Q8gYCOT2jR147zslwBIfRawzC9vp3P\r\nAA3Al2xEfHumcbH/WE228o+u2gzRxz05aBsoOmvGjV235WYj3koR9Sd9gC1g\r\nXyj6LJvMkUuLBvt/Ar5Jba1TrEurnT5QoKtmh3G9W2Dq6Z9aYSNPMvaqGSYr\r\nolsDvGXLBZIUjUnKbALeFrZQpsQTURRpFP4jnOFjac7a54wtgfQ+dqXkc62o\r\nQhKjAzjZBms/Q7Al58zfhdxNTSi06mrdzBSk0SMpXmroWZpUIcbuUdagkIQ6\r\nMrxkD5FcHZZX1NFTXZq1aK0XcwGixyqzIhQisM5QEWok0GMf4e3NYx7HtUVN\r\nrqdOG+Os9TwYHyTim+a/y2QB/r7mgjhMPFfqcpKGmspArp0P6Z1S1PZcV0J+\r\nJhcrte+kRBqkHgZ/1Za3fRMV3xR08MjS7dU=\r\n=GlkD\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"maintainers":[{"name":"scotthovestadt","email":"scott.hovestadt@gmail.com"},{"name":"rubennorte","email":"rubennorte@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"aaronabramov","email":"aaron@abramov.io"},{"name":"davidzilburg","email":"davidzilburg@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_29.4.3_1676462242166_0.8056646371076788"},"_hasShrinkwrap":false},"29.5.0":{"name":"jest-diff","version":"29.5.0","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"./build/index.js","types":"./build/index.d.ts","exports":{".":{"types":"./build/index.d.ts","default":"./build/index.js"},"./package.json":"./package.json"},"dependencies":{"chalk":"^4.0.0","diff-sequences":"^29.4.3","jest-get-type":"^29.4.3","pretty-format":"^29.5.0"},"devDependencies":{"@jest/test-utils":"^29.5.0","strip-ansi":"^6.0.0"},"engines":{"node":"^14.15.0 || ^16.10.0 || >=18.0.0"},"publishConfig":{"access":"public"},"gitHead":"39f3beda6b396665bebffab94e8d7c45be30454c","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@29.5.0","_nodeVersion":"18.14.2","_npmVersion":"lerna/1.13.0/node@v18.14.2+arm64 (darwin)","dist":{"integrity":"sha512-LtxijLLZBduXnHSniy0WMdaHjmQnt3g5sa16W4p0HqukYTTsyTW3GD1q41TyGl5YFXj/5B2U6dlh5FM1LIMgxw==","shasum":"e0d83a58eb5451dcc1fa61b1c3ee4e8f5a290d63","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-29.5.0.tgz","fileCount":14,"unpackedSize":78349,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCHvRj5EWUFj2dNTUuoOPEhRFKAlJhr8qSywnCrKr1j3AIhAMosKBOugCvuW19l0b4JSsmc1CWofJo5VaID3/20cf3z"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkBeuqACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpnvRAAg/C7tAD8CCGmQ5BkuIYDNCuvSMEJYJfMDGDUMkE/VKvs0BE2\r\n/2cfqE04ESfhn5QvtoSZ1VQ5ycec7fzaEYO7atXmtjbTXTXlEcAu/7A3To9e\r\nQCs1ZdzQ0hj8co/w2906trleKMTFpGMZFK4mScakyiAO5I7yf0asChdc4908\r\nAbVZMWwTRt+DA6aLqlcmlEdUW7pvoZTXng1i+c3pYuSpKR2QnNlUdh2xMigs\r\nIku/4qMDOGtAUDn8/7f0V40lVR0lmfwuQ0ShPJhS8BeJXEzgDzT2TP1FjEOp\r\nEDh2F9BrHSgBJ/ruch31tgcQ1cs+ruwjfRSN1fKGWnoJ70gtg0T+Katxr3fE\r\nsRBSXErUq3JNwAFGSMNdady8DNogMZFfJ20tJkGtIRb6hVnxXaH/7t0uC1Cg\r\n29yXDDLxgMW+WxqxyYBb3Yr3kOJVBgvB9rCgkeZ14yTwgJOFWxn0GYM0jFVU\r\nFV9OgTlG3RpVT/SjnqbCum94ZDdOEV0LPIeYpA4JjHDl6ugCDdlLjyR/ty0W\r\nIN7JjxO00VDBX4BJbEnnShi6sTlWRQygtj5i+UrKBlsOTxdld5Qgf5n0/rke\r\nNQHubufZyQDDEmVqnFgCp03w8OCwByvKuDED5Yl5Ka2S9+WS3Z6V8YitCgyR\r\n80x6AcwyXNGUFkwwI1rO6BC1S7xL6FdiWGU=\r\n=hO+u\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"maintainers":[{"name":"scotthovestadt","email":"scott.hovestadt@gmail.com"},{"name":"rubennorte","email":"rubennorte@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"aaronabramov","email":"aaron@abramov.io"},{"name":"davidzilburg","email":"davidzilburg@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_29.5.0_1678109610416_0.9545248203598968"},"_hasShrinkwrap":false},"29.6.0":{"name":"jest-diff","version":"29.6.0","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"./build/index.js","types":"./build/index.d.ts","exports":{".":{"types":"./build/index.d.ts","default":"./build/index.js"},"./package.json":"./package.json"},"dependencies":{"chalk":"^4.0.0","diff-sequences":"^29.4.3","jest-get-type":"^29.4.3","pretty-format":"^29.6.0"},"devDependencies":{"@jest/test-utils":"^29.6.0","strip-ansi":"^6.0.0"},"engines":{"node":"^14.15.0 || ^16.10.0 || >=18.0.0"},"publishConfig":{"access":"public"},"gitHead":"c1e5b8a38ef54bb138409f89831942ebf6a7a67e","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@29.6.0","_nodeVersion":"18.16.1","_npmVersion":"lerna/1.13.0/node@v18.16.1+arm64 (darwin)","dist":{"integrity":"sha512-ZRm7cd2m9YyZ0N3iMyuo1iUiprxQ/MFpYWXzEEj7hjzL3WnDffKW8192XBDcrAI8j7hnrM1wed3bL/oEnYF/8w==","shasum":"9fe219a2f73a62ed6ac1c1a58e4965dc66836c4b","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-29.6.0.tgz","fileCount":14,"unpackedSize":78540,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDsChS0F5rvH5cdC8bInNZ5e+JUA4W9tqd1MpxFz8qWnAiEA8nX/KktdjZEBI94oZyizue6S7kesn6E/pcWQNxPWpDY="}]},"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"maintainers":[{"name":"scotthovestadt","email":"scott.hovestadt@gmail.com"},{"name":"rubennorte","email":"rubennorte@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"aaronabramov","email":"aaron@abramov.io"},{"name":"davidzilburg","email":"davidzilburg@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_29.6.0_1688484346723_0.0705230119063025"},"_hasShrinkwrap":false},"29.6.1":{"name":"jest-diff","version":"29.6.1","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"./build/index.js","types":"./build/index.d.ts","exports":{".":{"types":"./build/index.d.ts","default":"./build/index.js"},"./package.json":"./package.json"},"dependencies":{"chalk":"^4.0.0","diff-sequences":"^29.4.3","jest-get-type":"^29.4.3","pretty-format":"^29.6.1"},"devDependencies":{"@jest/test-utils":"^29.6.1","strip-ansi":"^6.0.0"},"engines":{"node":"^14.15.0 || ^16.10.0 || >=18.0.0"},"publishConfig":{"access":"public"},"gitHead":"1f019afdcdfc54a6664908bb45f343db4e3d0848","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@29.6.1","_nodeVersion":"18.16.1","_npmVersion":"lerna/1.13.0/node@v18.16.1+arm64 (darwin)","dist":{"integrity":"sha512-FsNCvinvl8oVxpNLttNQX7FAq7vR+gMDGj90tiP7siWw1UdakWUGqrylpsYrpvj908IYckm5Y0Q7azNAozU1Kg==","shasum":"13df6db0a89ee6ad93c747c75c85c70ba941e545","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-29.6.1.tgz","fileCount":14,"unpackedSize":78540,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCmTnq2/NU2EAWLFnjFgUtpZgAhV52JUt4/UpeTPpHKNAIhAOGhAVBZZiznvzd6Ob3e2eiGwneDnkyep9kdMLpYN8ZF"}]},"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"maintainers":[{"name":"scotthovestadt","email":"scott.hovestadt@gmail.com"},{"name":"rubennorte","email":"rubennorte@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"aaronabramov","email":"aaron@abramov.io"},{"name":"davidzilburg","email":"davidzilburg@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_29.6.1_1688653099966_0.9512998405191746"},"_hasShrinkwrap":false},"29.6.2":{"name":"jest-diff","version":"29.6.2","repository":{"type":"git","url":"git+https://github.com/facebook/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"./build/index.js","types":"./build/index.d.ts","exports":{".":{"types":"./build/index.d.ts","default":"./build/index.js"},"./package.json":"./package.json"},"dependencies":{"chalk":"^4.0.0","diff-sequences":"^29.4.3","jest-get-type":"^29.4.3","pretty-format":"^29.6.2"},"devDependencies":{"@jest/test-utils":"^29.6.2","strip-ansi":"^6.0.0"},"engines":{"node":"^14.15.0 || ^16.10.0 || >=18.0.0"},"publishConfig":{"access":"public"},"gitHead":"0fd5b1c37555f485c56a6ad2d6b010a72204f9f6","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/facebook/jest/issues"},"homepage":"https://github.com/facebook/jest#readme","_id":"jest-diff@29.6.2","_nodeVersion":"18.16.1","_npmVersion":"lerna/1.13.0/node@v18.16.1+arm64 (darwin)","dist":{"integrity":"sha512-t+ST7CB9GX5F2xKwhwCf0TAR17uNDiaPTZnVymP9lw0lssa9vG+AFyDZoeIHStU3WowFFwT+ky+er0WVl2yGhA==","shasum":"c36001e5543e82a0805051d3ceac32e6825c1c46","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-29.6.2.tgz","fileCount":14,"unpackedSize":78540,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGKPFWyKt7v7KvIBo/+Ui6NiB6IkOypC3biDz2Q1Zx61AiB+jTHZu3HcbFQB8pt5IaAqwzAsapSyAEKzlqPe6GhYOQ=="}]},"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"maintainers":[{"name":"scotthovestadt","email":"scott.hovestadt@gmail.com"},{"name":"rubennorte","email":"rubennorte@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"aaronabramov","email":"aaron@abramov.io"},{"name":"davidzilburg","email":"davidzilburg@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_29.6.2_1690449691429_0.8600745025680303"},"_hasShrinkwrap":false},"29.6.3":{"name":"jest-diff","version":"29.6.3","repository":{"type":"git","url":"git+https://github.com/jestjs/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"./build/index.js","types":"./build/index.d.ts","exports":{".":{"types":"./build/index.d.ts","default":"./build/index.js"},"./package.json":"./package.json"},"dependencies":{"chalk":"^4.0.0","diff-sequences":"^29.6.3","jest-get-type":"^29.6.3","pretty-format":"^29.6.3"},"devDependencies":{"@jest/test-utils":"^29.6.3","strip-ansi":"^6.0.0"},"engines":{"node":"^14.15.0 || ^16.10.0 || >=18.0.0"},"publishConfig":{"access":"public"},"gitHead":"fb7d95c8af6e0d65a8b65348433d8a0ea0725b5b","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/jestjs/jest/issues"},"homepage":"https://github.com/jestjs/jest#readme","_id":"jest-diff@29.6.3","_nodeVersion":"18.17.1","_npmVersion":"lerna/1.13.0/node@v18.17.1+arm64 (darwin)","dist":{"integrity":"sha512-3sw+AdWnwH9sSNohMRKA7JiYUJSRr/WS6+sEFfBuhxU5V5GlEVKfvUn8JuMHE0wqKowemR1C2aHy8VtXbaV8dQ==","shasum":"365c6b037ea8e67d2f2af68bc018fc18d44311f0","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-29.6.3.tgz","fileCount":14,"unpackedSize":78538,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEG3zyHsvAudC3+K+VJdLV29rkZLWWwDHoulmlgB3H6BAiEAnz+/OmGEvrq45edMT3YPHbLbuYeOCz8OQN1KeUvU07A="}]},"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"maintainers":[{"name":"scotthovestadt","email":"scott.hovestadt@gmail.com"},{"name":"rubennorte","email":"rubennorte@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"aaronabramov","email":"aaron@abramov.io"},{"name":"davidzilburg","email":"davidzilburg@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_29.6.3_1692621555990_0.2813707000623573"},"_hasShrinkwrap":false},"29.6.4":{"name":"jest-diff","version":"29.6.4","repository":{"type":"git","url":"git+https://github.com/jestjs/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"./build/index.js","types":"./build/index.d.ts","exports":{".":{"types":"./build/index.d.ts","default":"./build/index.js"},"./package.json":"./package.json"},"dependencies":{"chalk":"^4.0.0","diff-sequences":"^29.6.3","jest-get-type":"^29.6.3","pretty-format":"^29.6.3"},"devDependencies":{"@jest/test-utils":"^29.6.4","strip-ansi":"^6.0.0"},"engines":{"node":"^14.15.0 || ^16.10.0 || >=18.0.0"},"publishConfig":{"access":"public"},"gitHead":"55cd6a0aaf6f9178199dfa7af7a00fcaa7c421fd","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/jestjs/jest/issues"},"homepage":"https://github.com/jestjs/jest#readme","_id":"jest-diff@29.6.4","_nodeVersion":"20.5.1","_npmVersion":"lerna/1.13.0/node@v20.5.1+arm64 (darwin)","dist":{"integrity":"sha512-9F48UxR9e4XOEZvoUXEHSWY4qC4zERJaOfrbBg9JpbJOO43R1vN76REt/aMGZoY6GD5g84nnJiBIVlscegefpw==","shasum":"85aaa6c92a79ae8cd9a54ebae8d5b6d9a513314a","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-29.6.4.tgz","fileCount":14,"unpackedSize":78538,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDdv87926gAN8ki+Pcqn38WOPEffci3FxHXokwb8l6DAQIgTB6sJnLMjNJnL01eKaROIEuSagA4GLZXZTgsKlzAbdg="}]},"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"maintainers":[{"name":"scotthovestadt","email":"scott.hovestadt@gmail.com"},{"name":"rubennorte","email":"rubennorte@gmail.com"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"cpojer","email":"christoph.pojer@gmail.com"},{"name":"fb","email":"opensource+npm@fb.com"},{"name":"aaronabramov","email":"aaron@abramov.io"},{"name":"davidzilburg","email":"davidzilburg@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_29.6.4_1692875427382_0.5546889865067577"},"_hasShrinkwrap":false},"29.7.0":{"name":"jest-diff","version":"29.7.0","repository":{"type":"git","url":"git+https://github.com/jestjs/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"./build/index.js","types":"./build/index.d.ts","exports":{".":{"types":"./build/index.d.ts","default":"./build/index.js"},"./package.json":"./package.json"},"dependencies":{"chalk":"^4.0.0","diff-sequences":"^29.6.3","jest-get-type":"^29.6.3","pretty-format":"^29.7.0"},"devDependencies":{"@jest/test-utils":"^29.7.0","strip-ansi":"^6.0.0"},"engines":{"node":"^14.15.0 || ^16.10.0 || >=18.0.0"},"publishConfig":{"access":"public"},"gitHead":"4e56991693da7cd4c3730dc3579a1dd1403ee630","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/jestjs/jest/issues"},"homepage":"https://github.com/jestjs/jest#readme","_id":"jest-diff@29.7.0","_nodeVersion":"18.17.1","_npmVersion":"lerna/1.13.0/node@v18.17.1+arm64 (darwin)","dist":{"integrity":"sha512-LMIgiIrhigmPrs03JHpxUh2yISK3vLFPkAodPeo0+BuF7wA2FoQbkEg1u8gBYBThncu7e1oEDUfIXVuTqLRUjw==","shasum":"017934a66ebb7ecf6f205e84699be10afd70458a","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-29.7.0.tgz","fileCount":14,"unpackedSize":78538,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA3+bfL7A/p2SddNM+RjYGqtgkOXHI/m5PKfQ5XEYytTAiEArbLMOiN6uMQzts3jTI1N477nkGcfg/Rx4ubkNghR/y4="}]},"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"maintainers":[{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"cpojer","email":"christoph.pojer@gmail.com"},{"name":"aaronabramov","email":"aaron@abramov.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_29.7.0_1694501023675_0.882666342664844"},"_hasShrinkwrap":false},"30.0.0-alpha.1":{"name":"jest-diff","version":"30.0.0-alpha.1","repository":{"type":"git","url":"git+https://github.com/jestjs/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"./build/index.js","types":"./build/index.d.ts","exports":{".":{"types":"./build/index.d.ts","require":"./build/index.js","import":"./build/index.mjs","default":"./build/index.js"},"./package.json":"./package.json"},"dependencies":{"chalk":"^4.0.0","diff-sequences":"30.0.0-alpha.1","jest-get-type":"30.0.0-alpha.1","pretty-format":"30.0.0-alpha.1"},"devDependencies":{"@jest/test-utils":"30.0.0-alpha.1","strip-ansi":"^6.0.0"},"engines":{"node":"^16.10.0 || ^18.12.0 || >=20.0.0"},"publishConfig":{"access":"public"},"gitHead":"d005cb2505c041583e0c5636d006e08666a54b63","readme":"# jest-diff\n\nDisplay differences clearly so people can review changes confidently.\n\nThe `diff` named export serializes JavaScript **values**, compares them line-by-line, and returns a string which includes comparison lines.\n\nTwo named exports compare **strings** character-by-character:\n\n- `diffStringsUnified` returns a string.\n- `diffStringsRaw` returns an array of `Diff` objects.\n\nThree named exports compare **arrays of strings** line-by-line:\n\n- `diffLinesUnified` and `diffLinesUnified2` return a string.\n- `diffLinesRaw` returns an array of `Diff` objects.\n\n## Installation\n\nTo add this package as a dependency of a project, run either of the following commands:\n\n- `npm install jest-diff`\n- `yarn add jest-diff`\n\n## Usage of `diff()`\n\nGiven JavaScript **values**, `diff(a, b, options?)` does the following:\n\n1. **serialize** the values as strings using the `pretty-format` package\n2. **compare** the strings line-by-line using the `diff-sequences` package\n3. **format** the changed or common lines using the `chalk` package\n\nTo use this function, write either of the following:\n\n- `const {diff} = require('jest-diff');` in CommonJS modules\n- `import {diff} from 'jest-diff';` in ECMAScript modules\n\n### Example of `diff()`\n\n```js\nconst a = ['delete', 'common', 'changed from'];\nconst b = ['common', 'changed to', 'insert'];\n\nconst difference = diff(a, b);\n```\n\nThe returned **string** consists of:\n\n- annotation lines: describe the two change indicators with labels, and a blank line\n- comparison lines: similar to “unified” view on GitHub, but `Expected` lines are green, `Received` lines are red, and common lines are dim (by default, see Options)\n\n```diff\n- Expected\n+ Received\n\n  Array [\n-   \"delete\",\n    \"common\",\n-   \"changed from\",\n+   \"changed to\",\n+   \"insert\",\n  ]\n```\n\n### Edge cases of `diff()`\n\nHere are edge cases for the return value:\n\n- `' Comparing two different types of values. …'` if the arguments have **different types** according to the `jest-get-type` package (instances of different classes have the same `'object'` type)\n- `'Compared values have no visual difference.'` if the arguments have either **referential identity** according to `Object.is` method or **same serialization** according to the `pretty-format` package\n- `null` if either argument is a so-called **asymmetric matcher** in Jasmine or Jest\n\n## Usage of diffStringsUnified\n\nGiven **strings**, `diffStringsUnified(a, b, options?)` does the following:\n\n1. **compare** the strings character-by-character using the `diff-sequences` package\n2. **clean up** small (often coincidental) common substrings, also known as chaff\n3. **format** the changed or common lines using the `chalk` package\n\nAlthough the function is mainly for **multiline** strings, it compares any strings.\n\nWrite either of the following:\n\n- `const {diffStringsUnified} = require('jest-diff');` in CommonJS modules\n- `import {diffStringsUnified} from 'jest-diff';` in ECMAScript modules\n\n### Example of diffStringsUnified\n\n```js\nconst a = 'common\\nchanged from';\nconst b = 'common\\nchanged to';\n\nconst difference = diffStringsUnified(a, b);\n```\n\nThe returned **string** consists of:\n\n- annotation lines: describe the two change indicators with labels, and a blank line\n- comparison lines: similar to “unified” view on GitHub, and **changed substrings** have **inverse** foreground and background colors (that is, `from` has white-on-green and `to` has white-on-red, which the following example does not show)\n\n```diff\n- Expected\n+ Received\n\n  common\n- changed from\n+ changed to\n```\n\n### Performance of diffStringsUnified\n\nTo get the benefit of **changed substrings** within the comparison lines, a character-by-character comparison has a higher computational cost (in time and space) than a line-by-line comparison.\n\nIf the input strings can have **arbitrary length**, we recommend that the calling code set a limit, beyond which splits the strings, and then calls `diffLinesUnified` instead. For example, Jest falls back to line-by-line comparison if either string has length greater than 20K characters.\n\n## Usage of diffLinesUnified\n\nGiven **arrays of strings**, `diffLinesUnified(aLines, bLines, options?)` does the following:\n\n1. **compare** the arrays line-by-line using the `diff-sequences` package\n2. **format** the changed or common lines using the `chalk` package\n\nYou might call this function when strings have been split into lines and you do not need to see changed substrings within lines.\n\n### Example of diffLinesUnified\n\n```js\nconst aLines = ['delete', 'common', 'changed from'];\nconst bLines = ['common', 'changed to', 'insert'];\n\nconst difference = diffLinesUnified(aLines, bLines);\n```\n\n```diff\n- Expected\n+ Received\n\n- delete\n  common\n- changed from\n+ changed to\n+ insert\n```\n\n### Edge cases of diffLinesUnified or diffStringsUnified\n\nHere are edge cases for arguments and return values:\n\n- both `a` and `b` are empty strings: no comparison lines\n- only `a` is empty string: all comparison lines have `bColor` and `bIndicator` (see Options)\n- only `b` is empty string: all comparison lines have `aColor` and `aIndicator` (see Options)\n- `a` and `b` are equal non-empty strings: all comparison lines have `commonColor` and `commonIndicator` (see Options)\n\n## Usage of diffLinesUnified2\n\nGiven two **pairs** of arrays of strings, `diffLinesUnified2(aLinesDisplay, bLinesDisplay, aLinesCompare, bLinesCompare, options?)` does the following:\n\n1. **compare** the pair of `Compare` arrays line-by-line using the `diff-sequences` package\n2. **format** the corresponding lines in the pair of `Display` arrays using the `chalk` package\n\nJest calls this function to consider lines as common instead of changed if the only difference is indentation.\n\nYou might call this function for case insensitive or Unicode equivalence comparison of lines.\n\n### Example of diffLinesUnified2\n\n```js\nimport {format} from 'pretty-format';\n\nconst a = {\n  text: 'Ignore indentation in serialized object',\n  time: '2019-09-19T12:34:56.000Z',\n  type: 'CREATE_ITEM',\n};\nconst b = {\n  payload: {\n    text: 'Ignore indentation in serialized object',\n    time: '2019-09-19T12:34:56.000Z',\n  },\n  type: 'CREATE_ITEM',\n};\n\nconst difference = diffLinesUnified2(\n  // serialize with indentation to display lines\n  format(a).split('\\n'),\n  format(b).split('\\n'),\n  // serialize without indentation to compare lines\n  format(a, {indent: 0}).split('\\n'),\n  format(b, {indent: 0}).split('\\n'),\n);\n```\n\nThe `text` and `time` properties are common, because their only difference is indentation:\n\n```diff\n- Expected\n+ Received\n\n  Object {\n+   payload: Object {\n      text: 'Ignore indentation in serialized object',\n      time: '2019-09-19T12:34:56.000Z',\n+   },\n    type: 'CREATE_ITEM',\n  }\n```\n\nThe preceding example illustrates why (at least for indentation) it seems more intuitive that the function returns the common line from the `bLinesDisplay` array instead of from the `aLinesDisplay` array.\n\n## Usage of diffStringsRaw\n\nGiven **strings** and a boolean option, `diffStringsRaw(a, b, cleanup)` does the following:\n\n1. **compare** the strings character-by-character using the `diff-sequences` package\n2. optionally **clean up** small (often coincidental) common substrings, also known as chaff\n\nBecause `diffStringsRaw` returns the difference as **data** instead of a string, you can format it as your application requires (for example, enclosed in HTML markup for browser instead of escape sequences for console).\n\nThe returned **array** describes substrings as instances of the `Diff` class, which calling code can access like array tuples:\n\nThe value at index `0` is one of the following:\n\n| value | named export  | description           |\n| ----: | :------------ | :-------------------- |\n|   `0` | `DIFF_EQUAL`  | in `a` and in `b`     |\n|  `-1` | `DIFF_DELETE` | in `a` but not in `b` |\n|   `1` | `DIFF_INSERT` | in `b` but not in `a` |\n\nThe value at index `1` is a substring of `a` or `b` or both.\n\n### Example of diffStringsRaw with cleanup\n\n```js\nconst diffs = diffStringsRaw('changed from', 'changed to', true);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `0` | `'changed '`  |\n| `1` |          `-1` | `'from'`      |\n| `2` |           `1` | `'to'`        |\n\n### Example of diffStringsRaw without cleanup\n\n```js\nconst diffs = diffStringsRaw('changed from', 'changed to', false);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `0` | `'changed '`  |\n| `1` |          `-1` | `'fr'`        |\n| `2` |           `1` | `'t'`         |\n| `3` |           `0` | `'o'`         |\n| `4` |          `-1` | `'m'`         |\n\n### Advanced import for diffStringsRaw\n\nHere are all the named imports that you might need for the `diffStringsRaw` function:\n\n- `const {DIFF_DELETE, DIFF_EQUAL, DIFF_INSERT, Diff, diffStringsRaw} = require('jest-diff');` in CommonJS modules\n- `import {DIFF_DELETE, DIFF_EQUAL, DIFF_INSERT, Diff, diffStringsRaw} from 'jest-diff';` in ECMAScript modules\n\nTo write a **formatting** function, you might need the named constants (and `Diff` in TypeScript annotations).\n\nIf you write an application-specific **cleanup** algorithm, then you might need to call the `Diff` constructor:\n\n```js\nconst diffCommon = new Diff(DIFF_EQUAL, 'changed ');\nconst diffDelete = new Diff(DIFF_DELETE, 'from');\nconst diffInsert = new Diff(DIFF_INSERT, 'to');\n```\n\n## Usage of diffLinesRaw\n\nGiven **arrays of strings**, `diffLinesRaw(aLines, bLines)` does the following:\n\n- **compare** the arrays line-by-line using the `diff-sequences` package\n\nBecause `diffLinesRaw` returns the difference as **data** instead of a string, you can format it as your application requires.\n\n### Example of diffLinesRaw\n\n```js\nconst aLines = ['delete', 'common', 'changed from'];\nconst bLines = ['common', 'changed to', 'insert'];\n\nconst diffs = diffLinesRaw(aLines, bLines);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]`    |\n| --: | ------------: | :--------------- |\n| `0` |          `-1` | `'delete'`       |\n| `1` |           `0` | `'common'`       |\n| `2` |          `-1` | `'changed from'` |\n| `3` |           `1` | `'changed to'`   |\n| `4` |           `1` | `'insert'`       |\n\n### Edge case of diffLinesRaw\n\nIf you call `string.split('\\n')` for an empty string:\n\n- the result is `['']` an array which contains an empty string\n- instead of `[]` an empty array\n\nDepending of your application, you might call `diffLinesRaw` with either array.\n\n### Example of split method\n\n```js\nimport {diffLinesRaw} from 'jest-diff';\n\nconst a = 'non-empty string';\nconst b = '';\n\nconst diffs = diffLinesRaw(a.split('\\n'), b.split('\\n'));\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]`        |\n| --: | ------------: | :------------------- |\n| `0` |          `-1` | `'non-empty string'` |\n| `1` |           `1` | `''`                 |\n\nWhich you might format as follows:\n\n```diff\n- Expected  - 1\n+ Received  + 1\n\n- non-empty string\n+\n```\n\n### Example of splitLines0 function\n\nFor edge case behavior like the `diffLinesUnified` function, you might define a `splitLines0` function, which given an empty string, returns `[]` an empty array:\n\n```js\nexport const splitLines0 = string =>\n  string.length === 0 ? [] : string.split('\\n');\n```\n\n```js\nimport {diffLinesRaw} from 'jest-diff';\n\nconst a = '';\nconst b = 'line 1\\nline 2\\nline 3';\n\nconst diffs = diffLinesRaw(a.split('\\n'), b.split('\\n'));\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `1` | `'line 1'`    |\n| `1` |           `1` | `'line 2'`    |\n| `2` |           `1` | `'line 3'`    |\n\nWhich you might format as follows:\n\n```diff\n- Expected  - 0\n+ Received  + 3\n\n+ line 1\n+ line 2\n+ line 3\n```\n\nIn contrast to the `diffLinesRaw` function, the `diffLinesUnified` and `diffLinesUnified2` functions **automatically** convert array arguments computed by string `split` method, so callers do **not** need a `splitLine0` function.\n\n## Options\n\nThe default options are for the report when an assertion fails from the `expect` package used by Jest.\n\nFor other applications, you can provide an options object as a third argument:\n\n- `diff(a, b, options)`\n- `diffStringsUnified(a, b, options)`\n- `diffLinesUnified(aLines, bLines, options)`\n- `diffLinesUnified2(aLinesDisplay, bLinesDisplay, aLinesCompare, bLinesCompare, options)`\n\n### Properties of options object\n\n| name                              | default            |\n| :-------------------------------- | :----------------- |\n| `aAnnotation`                     | `'Expected'`       |\n| `aColor`                          | `chalk.green`      |\n| `aIndicator`                      | `'-'`              |\n| `bAnnotation`                     | `'Received'`       |\n| `bColor`                          | `chalk.red`        |\n| `bIndicator`                      | `'+'`              |\n| `changeColor`                     | `chalk.inverse`    |\n| `changeLineTrailingSpaceColor`    | `string => string` |\n| `commonColor`                     | `chalk.dim`        |\n| `commonIndicator`                 | `' '`              |\n| `commonLineTrailingSpaceColor`    | `string => string` |\n| `compareKeys`                     | `undefined`        |\n| `contextLines`                    | `5`                |\n| `emptyFirstOrLastLinePlaceholder` | `''`               |\n| `expand`                          | `true`             |\n| `includeChangeCounts`             | `false`            |\n| `omitAnnotationLines`             | `false`            |\n| `patchColor`                      | `chalk.yellow`     |\n\nFor more information about the options, see the following examples.\n\n### Example of options for labels\n\nIf the application is code modification, you might replace the labels:\n\n```js\nconst options = {\n  aAnnotation: 'Original',\n  bAnnotation: 'Modified',\n};\n```\n\n```diff\n- Original\n+ Modified\n\n  common\n- changed from\n+ changed to\n```\n\nThe `jest-diff` package does not assume that the 2 labels have equal length.\n\n### Example of options for colors of changed lines\n\nFor consistency with most diff tools, you might exchange the colors:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  aColor: chalk.red,\n  bColor: chalk.green,\n};\n```\n\n### Example of option for color of changed substrings\n\nAlthough the default inverse of foreground and background colors is hard to beat for changed substrings **within lines**, especially because it highlights spaces, if you want bold font weight on yellow background color:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  changeColor: chalk.bold.bgYellowBright,\n};\n```\n\n### Example of option to format trailing spaces\n\nBecause `diff()` does not display substring differences within lines, formatting can help you see when lines differ by the presence or absence of trailing spaces found by `/\\s+$/` regular expression.\n\n- If change lines have a background color, then you can see trailing spaces.\n- If common lines have default dim color, then you cannot see trailing spaces. You might want yellowish background color to see them.\n\n```js\nconst options = {\n  aColor: chalk.rgb(128, 0, 128).bgRgb(255, 215, 255), // magenta\n  bColor: chalk.rgb(0, 95, 0).bgRgb(215, 255, 215), // green\n  commonLineTrailingSpaceColor: chalk.bgYellow,\n};\n```\n\nThe value of a Color option is a function, which given a string, returns a string.\n\nIf you want to replace trailing spaces with middle dot characters:\n\n```js\nconst replaceSpacesWithMiddleDot = string => '·'.repeat(string.length);\n\nconst options = {\n  changeLineTrailingSpaceColor: replaceSpacesWithMiddleDot,\n  commonLineTrailingSpaceColor: replaceSpacesWithMiddleDot,\n};\n```\n\nIf you need the TypeScript type of a Color option:\n\n```ts\nimport {DiffOptionsColor} from 'jest-diff';\n```\n\n### Example of options for no colors\n\nTo store the difference in a file without escape codes for colors, provide an identity function:\n\n```js\nconst noColor = string => string;\n\nconst options = {\n  aColor: noColor,\n  bColor: noColor,\n  changeColor: noColor,\n  commonColor: noColor,\n  patchColor: noColor,\n};\n```\n\n### Example of options for indicators\n\nFor consistency with the `diff` command, you might replace the indicators:\n\n```js\nconst options = {\n  aIndicator: '<',\n  bIndicator: '>',\n};\n```\n\nThe `jest-diff` package assumes (but does not enforce) that the 3 indicators have equal length.\n\n### Example of options to limit common lines\n\nBy default, the output includes all common lines.\n\nTo emphasize the changes, you might limit the number of common “context” lines:\n\n```js\nconst options = {\n  contextLines: 1,\n  expand: false,\n};\n```\n\nA patch mark like `@@ -12,7 +12,9 @@` accounts for omitted common lines.\n\n### Example of option for color of patch marks\n\nIf you want patch marks to have the same dim color as common lines:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  expand: false,\n  patchColor: chalk.dim,\n};\n```\n\n### Example of option to include change counts\n\nTo display the number of changed lines at the right of annotation lines:\n\n```js\nconst a = ['common', 'changed from'];\nconst b = ['common', 'changed to', 'insert'];\n\nconst options = {\n  includeChangeCounts: true,\n};\n\nconst difference = diff(a, b, options);\n```\n\n```diff\n- Expected  - 1\n+ Received  + 2\n\n  Array [\n    \"common\",\n-   \"changed from\",\n+   \"changed to\",\n+   \"insert\",\n  ]\n```\n\n### Example of option to omit annotation lines\n\nTo display only the comparison lines:\n\n```js\nconst a = 'common\\nchanged from';\nconst b = 'common\\nchanged to';\n\nconst options = {\n  omitAnnotationLines: true,\n};\n\nconst difference = diffStringsUnified(a, b, options);\n```\n\n```diff\n  common\n- changed from\n+ changed to\n```\n\n### Example of option for empty first or last lines\n\nIf the **first** or **last** comparison line is **empty**, because the content is empty and the indicator is a space, you might not notice it.\n\nThe replacement option is a string whose default value is `''` empty string.\n\nBecause Jest trims the report when a matcher fails, it deletes an empty last line.\n\nTherefore, Jest uses as placeholder the downwards arrow with corner leftwards:\n\n```js\nconst options = {\n  emptyFirstOrLastLinePlaceholder: '↵', // U+21B5\n};\n```\n\nIf a content line is empty, then the corresponding comparison line is automatically trimmed to remove the margin space (represented as a middle dot below) for the default indicators:\n\n|         Indicator | untrimmed | trimmed |\n| ----------------: | :-------- | :------ |\n|      `aIndicator` | `'-·'`    | `'-'`   |\n|      `bIndicator` | `'+·'`    | `'+'`   |\n| `commonIndicator` | `' ·'`    | `''`    |\n\n### Example of option for sorting object keys\n\nWhen two objects are compared their keys are printed in alphabetical order by default. If this was not the original order of the keys the diff becomes harder to read as the keys are not in their original position.\n\nUse `compareKeys` to pass a function which will be used when sorting the object keys.\n\n```js\nconst a = {c: 'c', b: 'b1', a: 'a'};\nconst b = {c: 'c', b: 'b2', a: 'a'};\n\nconst options = {\n  // The keys will be in their original order\n  compareKeys: () => 0,\n};\n\nconst difference = diff(a, b, options);\n```\n\n```diff\n- Expected\n+ Received\n\n  Object {\n    \"c\": \"c\",\n-   \"b\": \"b1\",\n+   \"b\": \"b2\",\n    \"a\": \"a\",\n  }\n```\n\nDepending on the implementation of `compareKeys` any sort order can be used.\n\n```js\nconst a = {c: 'c', b: 'b1', a: 'a'};\nconst b = {c: 'c', b: 'b2', a: 'a'};\n\nconst options = {\n  // The keys will be in reverse order\n  compareKeys: (a, b) => (a > b ? -1 : 1),\n};\n\nconst difference = diff(a, b, options);\n```\n\n```diff\n- Expected\n+ Received\n\n  Object {\n    \"a\": \"a\",\n-   \"b\": \"b1\",\n+   \"b\": \"b2\",\n    \"c\": \"c\",\n  }\n```\n","readmeFilename":"README.md","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/jestjs/jest/issues"},"homepage":"https://github.com/jestjs/jest#readme","_id":"jest-diff@30.0.0-alpha.1","_nodeVersion":"20.9.0","_npmVersion":"lerna/1.13.0/node@v20.9.0+arm64 (darwin)","dist":{"integrity":"sha512-LbOnWwC5J+RyAQiHpUO3DLSXT2gAtP8K1UOOO0UwrqHPMg7xL/jXFG8PtbZhrZYDyXwU125xCzjDJEXgGEWdCw==","shasum":"135ad520de5eacc5e193af454e61b97d7d3a7e8d","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-30.0.0-alpha.1.tgz","fileCount":6,"unpackedSize":79786,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAfAaB/fESK6cE2Uv2P96f8l/halm0XErcP1JOdNT+pIAiAqhlzShmkl2rpukHKgthdSnYDb98FWhSBt+7bmo1gHQg=="}]},"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"maintainers":[{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"cpojer","email":"christoph.pojer@gmail.com"},{"name":"aaronabramov","email":"aaron@abramov.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_30.0.0-alpha.1_1698672790917_0.5573355563708229"},"_hasShrinkwrap":false},"30.0.0-alpha.2":{"name":"jest-diff","version":"30.0.0-alpha.2","repository":{"type":"git","url":"git+https://github.com/jestjs/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"./build/index.js","types":"./build/index.d.ts","exports":{".":{"types":"./build/index.d.ts","require":"./build/index.js","import":"./build/index.mjs","default":"./build/index.js"},"./package.json":"./package.json"},"dependencies":{"chalk":"^4.0.0","diff-sequences":"30.0.0-alpha.2","jest-get-type":"30.0.0-alpha.2","pretty-format":"30.0.0-alpha.2"},"devDependencies":{"@jest/test-utils":"30.0.0-alpha.2","strip-ansi":"^6.0.0"},"engines":{"node":"^16.10.0 || ^18.12.0 || >=20.0.0"},"publishConfig":{"access":"public"},"gitHead":"c04d13d7abd22e47b0997f6027886aed225c9ce4","readme":"# jest-diff\n\nDisplay differences clearly so people can review changes confidently.\n\nThe `diff` named export serializes JavaScript **values**, compares them line-by-line, and returns a string which includes comparison lines.\n\nTwo named exports compare **strings** character-by-character:\n\n- `diffStringsUnified` returns a string.\n- `diffStringsRaw` returns an array of `Diff` objects.\n\nThree named exports compare **arrays of strings** line-by-line:\n\n- `diffLinesUnified` and `diffLinesUnified2` return a string.\n- `diffLinesRaw` returns an array of `Diff` objects.\n\n## Installation\n\nTo add this package as a dependency of a project, run either of the following commands:\n\n- `npm install jest-diff`\n- `yarn add jest-diff`\n\n## Usage of `diff()`\n\nGiven JavaScript **values**, `diff(a, b, options?)` does the following:\n\n1. **serialize** the values as strings using the `pretty-format` package\n2. **compare** the strings line-by-line using the `diff-sequences` package\n3. **format** the changed or common lines using the `chalk` package\n\nTo use this function, write either of the following:\n\n- `const {diff} = require('jest-diff');` in CommonJS modules\n- `import {diff} from 'jest-diff';` in ECMAScript modules\n\n### Example of `diff()`\n\n```js\nconst a = ['delete', 'common', 'changed from'];\nconst b = ['common', 'changed to', 'insert'];\n\nconst difference = diff(a, b);\n```\n\nThe returned **string** consists of:\n\n- annotation lines: describe the two change indicators with labels, and a blank line\n- comparison lines: similar to “unified” view on GitHub, but `Expected` lines are green, `Received` lines are red, and common lines are dim (by default, see Options)\n\n```diff\n- Expected\n+ Received\n\n  Array [\n-   \"delete\",\n    \"common\",\n-   \"changed from\",\n+   \"changed to\",\n+   \"insert\",\n  ]\n```\n\n### Edge cases of `diff()`\n\nHere are edge cases for the return value:\n\n- `' Comparing two different types of values. …'` if the arguments have **different types** according to the `jest-get-type` package (instances of different classes have the same `'object'` type)\n- `'Compared values have no visual difference.'` if the arguments have either **referential identity** according to `Object.is` method or **same serialization** according to the `pretty-format` package\n- `null` if either argument is a so-called **asymmetric matcher** in Jasmine or Jest\n\n## Usage of diffStringsUnified\n\nGiven **strings**, `diffStringsUnified(a, b, options?)` does the following:\n\n1. **compare** the strings character-by-character using the `diff-sequences` package\n2. **clean up** small (often coincidental) common substrings, also known as chaff\n3. **format** the changed or common lines using the `chalk` package\n\nAlthough the function is mainly for **multiline** strings, it compares any strings.\n\nWrite either of the following:\n\n- `const {diffStringsUnified} = require('jest-diff');` in CommonJS modules\n- `import {diffStringsUnified} from 'jest-diff';` in ECMAScript modules\n\n### Example of diffStringsUnified\n\n```js\nconst a = 'common\\nchanged from';\nconst b = 'common\\nchanged to';\n\nconst difference = diffStringsUnified(a, b);\n```\n\nThe returned **string** consists of:\n\n- annotation lines: describe the two change indicators with labels, and a blank line\n- comparison lines: similar to “unified” view on GitHub, and **changed substrings** have **inverse** foreground and background colors (that is, `from` has white-on-green and `to` has white-on-red, which the following example does not show)\n\n```diff\n- Expected\n+ Received\n\n  common\n- changed from\n+ changed to\n```\n\n### Performance of diffStringsUnified\n\nTo get the benefit of **changed substrings** within the comparison lines, a character-by-character comparison has a higher computational cost (in time and space) than a line-by-line comparison.\n\nIf the input strings can have **arbitrary length**, we recommend that the calling code set a limit, beyond which splits the strings, and then calls `diffLinesUnified` instead. For example, Jest falls back to line-by-line comparison if either string has length greater than 20K characters.\n\n## Usage of diffLinesUnified\n\nGiven **arrays of strings**, `diffLinesUnified(aLines, bLines, options?)` does the following:\n\n1. **compare** the arrays line-by-line using the `diff-sequences` package\n2. **format** the changed or common lines using the `chalk` package\n\nYou might call this function when strings have been split into lines and you do not need to see changed substrings within lines.\n\n### Example of diffLinesUnified\n\n```js\nconst aLines = ['delete', 'common', 'changed from'];\nconst bLines = ['common', 'changed to', 'insert'];\n\nconst difference = diffLinesUnified(aLines, bLines);\n```\n\n```diff\n- Expected\n+ Received\n\n- delete\n  common\n- changed from\n+ changed to\n+ insert\n```\n\n### Edge cases of diffLinesUnified or diffStringsUnified\n\nHere are edge cases for arguments and return values:\n\n- both `a` and `b` are empty strings: no comparison lines\n- only `a` is empty string: all comparison lines have `bColor` and `bIndicator` (see Options)\n- only `b` is empty string: all comparison lines have `aColor` and `aIndicator` (see Options)\n- `a` and `b` are equal non-empty strings: all comparison lines have `commonColor` and `commonIndicator` (see Options)\n\n## Usage of diffLinesUnified2\n\nGiven two **pairs** of arrays of strings, `diffLinesUnified2(aLinesDisplay, bLinesDisplay, aLinesCompare, bLinesCompare, options?)` does the following:\n\n1. **compare** the pair of `Compare` arrays line-by-line using the `diff-sequences` package\n2. **format** the corresponding lines in the pair of `Display` arrays using the `chalk` package\n\nJest calls this function to consider lines as common instead of changed if the only difference is indentation.\n\nYou might call this function for case insensitive or Unicode equivalence comparison of lines.\n\n### Example of diffLinesUnified2\n\n```js\nimport {format} from 'pretty-format';\n\nconst a = {\n  text: 'Ignore indentation in serialized object',\n  time: '2019-09-19T12:34:56.000Z',\n  type: 'CREATE_ITEM',\n};\nconst b = {\n  payload: {\n    text: 'Ignore indentation in serialized object',\n    time: '2019-09-19T12:34:56.000Z',\n  },\n  type: 'CREATE_ITEM',\n};\n\nconst difference = diffLinesUnified2(\n  // serialize with indentation to display lines\n  format(a).split('\\n'),\n  format(b).split('\\n'),\n  // serialize without indentation to compare lines\n  format(a, {indent: 0}).split('\\n'),\n  format(b, {indent: 0}).split('\\n'),\n);\n```\n\nThe `text` and `time` properties are common, because their only difference is indentation:\n\n```diff\n- Expected\n+ Received\n\n  Object {\n+   payload: Object {\n      text: 'Ignore indentation in serialized object',\n      time: '2019-09-19T12:34:56.000Z',\n+   },\n    type: 'CREATE_ITEM',\n  }\n```\n\nThe preceding example illustrates why (at least for indentation) it seems more intuitive that the function returns the common line from the `bLinesDisplay` array instead of from the `aLinesDisplay` array.\n\n## Usage of diffStringsRaw\n\nGiven **strings** and a boolean option, `diffStringsRaw(a, b, cleanup)` does the following:\n\n1. **compare** the strings character-by-character using the `diff-sequences` package\n2. optionally **clean up** small (often coincidental) common substrings, also known as chaff\n\nBecause `diffStringsRaw` returns the difference as **data** instead of a string, you can format it as your application requires (for example, enclosed in HTML markup for browser instead of escape sequences for console).\n\nThe returned **array** describes substrings as instances of the `Diff` class, which calling code can access like array tuples:\n\nThe value at index `0` is one of the following:\n\n| value | named export  | description           |\n| ----: | :------------ | :-------------------- |\n|   `0` | `DIFF_EQUAL`  | in `a` and in `b`     |\n|  `-1` | `DIFF_DELETE` | in `a` but not in `b` |\n|   `1` | `DIFF_INSERT` | in `b` but not in `a` |\n\nThe value at index `1` is a substring of `a` or `b` or both.\n\n### Example of diffStringsRaw with cleanup\n\n```js\nconst diffs = diffStringsRaw('changed from', 'changed to', true);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `0` | `'changed '`  |\n| `1` |          `-1` | `'from'`      |\n| `2` |           `1` | `'to'`        |\n\n### Example of diffStringsRaw without cleanup\n\n```js\nconst diffs = diffStringsRaw('changed from', 'changed to', false);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `0` | `'changed '`  |\n| `1` |          `-1` | `'fr'`        |\n| `2` |           `1` | `'t'`         |\n| `3` |           `0` | `'o'`         |\n| `4` |          `-1` | `'m'`         |\n\n### Advanced import for diffStringsRaw\n\nHere are all the named imports that you might need for the `diffStringsRaw` function:\n\n- `const {DIFF_DELETE, DIFF_EQUAL, DIFF_INSERT, Diff, diffStringsRaw} = require('jest-diff');` in CommonJS modules\n- `import {DIFF_DELETE, DIFF_EQUAL, DIFF_INSERT, Diff, diffStringsRaw} from 'jest-diff';` in ECMAScript modules\n\nTo write a **formatting** function, you might need the named constants (and `Diff` in TypeScript annotations).\n\nIf you write an application-specific **cleanup** algorithm, then you might need to call the `Diff` constructor:\n\n```js\nconst diffCommon = new Diff(DIFF_EQUAL, 'changed ');\nconst diffDelete = new Diff(DIFF_DELETE, 'from');\nconst diffInsert = new Diff(DIFF_INSERT, 'to');\n```\n\n## Usage of diffLinesRaw\n\nGiven **arrays of strings**, `diffLinesRaw(aLines, bLines)` does the following:\n\n- **compare** the arrays line-by-line using the `diff-sequences` package\n\nBecause `diffLinesRaw` returns the difference as **data** instead of a string, you can format it as your application requires.\n\n### Example of diffLinesRaw\n\n```js\nconst aLines = ['delete', 'common', 'changed from'];\nconst bLines = ['common', 'changed to', 'insert'];\n\nconst diffs = diffLinesRaw(aLines, bLines);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]`    |\n| --: | ------------: | :--------------- |\n| `0` |          `-1` | `'delete'`       |\n| `1` |           `0` | `'common'`       |\n| `2` |          `-1` | `'changed from'` |\n| `3` |           `1` | `'changed to'`   |\n| `4` |           `1` | `'insert'`       |\n\n### Edge case of diffLinesRaw\n\nIf you call `string.split('\\n')` for an empty string:\n\n- the result is `['']` an array which contains an empty string\n- instead of `[]` an empty array\n\nDepending of your application, you might call `diffLinesRaw` with either array.\n\n### Example of split method\n\n```js\nimport {diffLinesRaw} from 'jest-diff';\n\nconst a = 'non-empty string';\nconst b = '';\n\nconst diffs = diffLinesRaw(a.split('\\n'), b.split('\\n'));\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]`        |\n| --: | ------------: | :------------------- |\n| `0` |          `-1` | `'non-empty string'` |\n| `1` |           `1` | `''`                 |\n\nWhich you might format as follows:\n\n```diff\n- Expected  - 1\n+ Received  + 1\n\n- non-empty string\n+\n```\n\n### Example of splitLines0 function\n\nFor edge case behavior like the `diffLinesUnified` function, you might define a `splitLines0` function, which given an empty string, returns `[]` an empty array:\n\n```js\nexport const splitLines0 = string =>\n  string.length === 0 ? [] : string.split('\\n');\n```\n\n```js\nimport {diffLinesRaw} from 'jest-diff';\n\nconst a = '';\nconst b = 'line 1\\nline 2\\nline 3';\n\nconst diffs = diffLinesRaw(a.split('\\n'), b.split('\\n'));\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `1` | `'line 1'`    |\n| `1` |           `1` | `'line 2'`    |\n| `2` |           `1` | `'line 3'`    |\n\nWhich you might format as follows:\n\n```diff\n- Expected  - 0\n+ Received  + 3\n\n+ line 1\n+ line 2\n+ line 3\n```\n\nIn contrast to the `diffLinesRaw` function, the `diffLinesUnified` and `diffLinesUnified2` functions **automatically** convert array arguments computed by string `split` method, so callers do **not** need a `splitLine0` function.\n\n## Options\n\nThe default options are for the report when an assertion fails from the `expect` package used by Jest.\n\nFor other applications, you can provide an options object as a third argument:\n\n- `diff(a, b, options)`\n- `diffStringsUnified(a, b, options)`\n- `diffLinesUnified(aLines, bLines, options)`\n- `diffLinesUnified2(aLinesDisplay, bLinesDisplay, aLinesCompare, bLinesCompare, options)`\n\n### Properties of options object\n\n| name                              | default            |\n| :-------------------------------- | :----------------- |\n| `aAnnotation`                     | `'Expected'`       |\n| `aColor`                          | `chalk.green`      |\n| `aIndicator`                      | `'-'`              |\n| `bAnnotation`                     | `'Received'`       |\n| `bColor`                          | `chalk.red`        |\n| `bIndicator`                      | `'+'`              |\n| `changeColor`                     | `chalk.inverse`    |\n| `changeLineTrailingSpaceColor`    | `string => string` |\n| `commonColor`                     | `chalk.dim`        |\n| `commonIndicator`                 | `' '`              |\n| `commonLineTrailingSpaceColor`    | `string => string` |\n| `compareKeys`                     | `undefined`        |\n| `contextLines`                    | `5`                |\n| `emptyFirstOrLastLinePlaceholder` | `''`               |\n| `expand`                          | `true`             |\n| `includeChangeCounts`             | `false`            |\n| `omitAnnotationLines`             | `false`            |\n| `patchColor`                      | `chalk.yellow`     |\n\nFor more information about the options, see the following examples.\n\n### Example of options for labels\n\nIf the application is code modification, you might replace the labels:\n\n```js\nconst options = {\n  aAnnotation: 'Original',\n  bAnnotation: 'Modified',\n};\n```\n\n```diff\n- Original\n+ Modified\n\n  common\n- changed from\n+ changed to\n```\n\nThe `jest-diff` package does not assume that the 2 labels have equal length.\n\n### Example of options for colors of changed lines\n\nFor consistency with most diff tools, you might exchange the colors:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  aColor: chalk.red,\n  bColor: chalk.green,\n};\n```\n\n### Example of option for color of changed substrings\n\nAlthough the default inverse of foreground and background colors is hard to beat for changed substrings **within lines**, especially because it highlights spaces, if you want bold font weight on yellow background color:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  changeColor: chalk.bold.bgYellowBright,\n};\n```\n\n### Example of option to format trailing spaces\n\nBecause `diff()` does not display substring differences within lines, formatting can help you see when lines differ by the presence or absence of trailing spaces found by `/\\s+$/` regular expression.\n\n- If change lines have a background color, then you can see trailing spaces.\n- If common lines have default dim color, then you cannot see trailing spaces. You might want yellowish background color to see them.\n\n```js\nconst options = {\n  aColor: chalk.rgb(128, 0, 128).bgRgb(255, 215, 255), // magenta\n  bColor: chalk.rgb(0, 95, 0).bgRgb(215, 255, 215), // green\n  commonLineTrailingSpaceColor: chalk.bgYellow,\n};\n```\n\nThe value of a Color option is a function, which given a string, returns a string.\n\nIf you want to replace trailing spaces with middle dot characters:\n\n```js\nconst replaceSpacesWithMiddleDot = string => '·'.repeat(string.length);\n\nconst options = {\n  changeLineTrailingSpaceColor: replaceSpacesWithMiddleDot,\n  commonLineTrailingSpaceColor: replaceSpacesWithMiddleDot,\n};\n```\n\nIf you need the TypeScript type of a Color option:\n\n```ts\nimport {DiffOptionsColor} from 'jest-diff';\n```\n\n### Example of options for no colors\n\nTo store the difference in a file without escape codes for colors, provide an identity function:\n\n```js\nconst noColor = string => string;\n\nconst options = {\n  aColor: noColor,\n  bColor: noColor,\n  changeColor: noColor,\n  commonColor: noColor,\n  patchColor: noColor,\n};\n```\n\n### Example of options for indicators\n\nFor consistency with the `diff` command, you might replace the indicators:\n\n```js\nconst options = {\n  aIndicator: '<',\n  bIndicator: '>',\n};\n```\n\nThe `jest-diff` package assumes (but does not enforce) that the 3 indicators have equal length.\n\n### Example of options to limit common lines\n\nBy default, the output includes all common lines.\n\nTo emphasize the changes, you might limit the number of common “context” lines:\n\n```js\nconst options = {\n  contextLines: 1,\n  expand: false,\n};\n```\n\nA patch mark like `@@ -12,7 +12,9 @@` accounts for omitted common lines.\n\n### Example of option for color of patch marks\n\nIf you want patch marks to have the same dim color as common lines:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  expand: false,\n  patchColor: chalk.dim,\n};\n```\n\n### Example of option to include change counts\n\nTo display the number of changed lines at the right of annotation lines:\n\n```js\nconst a = ['common', 'changed from'];\nconst b = ['common', 'changed to', 'insert'];\n\nconst options = {\n  includeChangeCounts: true,\n};\n\nconst difference = diff(a, b, options);\n```\n\n```diff\n- Expected  - 1\n+ Received  + 2\n\n  Array [\n    \"common\",\n-   \"changed from\",\n+   \"changed to\",\n+   \"insert\",\n  ]\n```\n\n### Example of option to omit annotation lines\n\nTo display only the comparison lines:\n\n```js\nconst a = 'common\\nchanged from';\nconst b = 'common\\nchanged to';\n\nconst options = {\n  omitAnnotationLines: true,\n};\n\nconst difference = diffStringsUnified(a, b, options);\n```\n\n```diff\n  common\n- changed from\n+ changed to\n```\n\n### Example of option for empty first or last lines\n\nIf the **first** or **last** comparison line is **empty**, because the content is empty and the indicator is a space, you might not notice it.\n\nThe replacement option is a string whose default value is `''` empty string.\n\nBecause Jest trims the report when a matcher fails, it deletes an empty last line.\n\nTherefore, Jest uses as placeholder the downwards arrow with corner leftwards:\n\n```js\nconst options = {\n  emptyFirstOrLastLinePlaceholder: '↵', // U+21B5\n};\n```\n\nIf a content line is empty, then the corresponding comparison line is automatically trimmed to remove the margin space (represented as a middle dot below) for the default indicators:\n\n|         Indicator | untrimmed | trimmed |\n| ----------------: | :-------- | :------ |\n|      `aIndicator` | `'-·'`    | `'-'`   |\n|      `bIndicator` | `'+·'`    | `'+'`   |\n| `commonIndicator` | `' ·'`    | `''`    |\n\n### Example of option for sorting object keys\n\nWhen two objects are compared their keys are printed in alphabetical order by default. If this was not the original order of the keys the diff becomes harder to read as the keys are not in their original position.\n\nUse `compareKeys` to pass a function which will be used when sorting the object keys.\n\n```js\nconst a = {c: 'c', b: 'b1', a: 'a'};\nconst b = {c: 'c', b: 'b2', a: 'a'};\n\nconst options = {\n  // The keys will be in their original order\n  compareKeys: () => 0,\n};\n\nconst difference = diff(a, b, options);\n```\n\n```diff\n- Expected\n+ Received\n\n  Object {\n    \"c\": \"c\",\n-   \"b\": \"b1\",\n+   \"b\": \"b2\",\n    \"a\": \"a\",\n  }\n```\n\nDepending on the implementation of `compareKeys` any sort order can be used.\n\n```js\nconst a = {c: 'c', b: 'b1', a: 'a'};\nconst b = {c: 'c', b: 'b2', a: 'a'};\n\nconst options = {\n  // The keys will be in reverse order\n  compareKeys: (a, b) => (a > b ? -1 : 1),\n};\n\nconst difference = diff(a, b, options);\n```\n\n```diff\n- Expected\n+ Received\n\n  Object {\n    \"a\": \"a\",\n-   \"b\": \"b1\",\n+   \"b\": \"b2\",\n    \"c\": \"c\",\n  }\n```\n","readmeFilename":"README.md","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/jestjs/jest/issues"},"homepage":"https://github.com/jestjs/jest#readme","_id":"jest-diff@30.0.0-alpha.2","_nodeVersion":"20.9.0","_npmVersion":"lerna/2.7.0/node@v20.9.0+arm64 (darwin)","dist":{"integrity":"sha512-kUCMNs5DhLmB959SXz4TbPVcFi+Da0Uz7FJjlKF02jgYI8EHrmVhL3l8Yw747gOkXW9iK+wU/cKSVq5TRBFrvQ==","shasum":"cbf567523bd0d03c430a9ce5b4e752417be0b055","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-30.0.0-alpha.2.tgz","fileCount":6,"unpackedSize":79782,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD/ixzIbXcQW4Dc8XJK/4gErJGSKgMY04IeFVmrybPJ5QIhANMN+JXMZwMU8P7B7lnkhBNnlNxpzkB0D1+GAsOakfDp"}]},"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"maintainers":[{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"cpojer","email":"christoph.pojer@gmail.com"},{"name":"aaronabramov","email":"aaron@abramov.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_30.0.0-alpha.2_1700126900833_0.7625677538359752"},"_hasShrinkwrap":false},"30.0.0-alpha.3":{"name":"jest-diff","version":"30.0.0-alpha.3","repository":{"type":"git","url":"git+https://github.com/jestjs/jest.git","directory":"packages/jest-diff"},"license":"MIT","main":"./build/index.js","types":"./build/index.d.ts","exports":{".":{"types":"./build/index.d.ts","require":"./build/index.js","import":"./build/index.mjs","default":"./build/index.js"},"./package.json":"./package.json"},"dependencies":{"chalk":"^4.0.0","diff-sequences":"30.0.0-alpha.3","jest-get-type":"30.0.0-alpha.3","pretty-format":"30.0.0-alpha.3"},"devDependencies":{"@jest/test-utils":"30.0.0-alpha.3","strip-ansi":"^6.0.0"},"engines":{"node":"^16.10.0 || ^18.12.0 || >=20.0.0"},"publishConfig":{"access":"public"},"gitHead":"e267aff33d105399f2134bad7c8f82285104f3da","readme":"# jest-diff\n\nDisplay differences clearly so people can review changes confidently.\n\nThe `diff` named export serializes JavaScript **values**, compares them line-by-line, and returns a string which includes comparison lines.\n\nTwo named exports compare **strings** character-by-character:\n\n- `diffStringsUnified` returns a string.\n- `diffStringsRaw` returns an array of `Diff` objects.\n\nThree named exports compare **arrays of strings** line-by-line:\n\n- `diffLinesUnified` and `diffLinesUnified2` return a string.\n- `diffLinesRaw` returns an array of `Diff` objects.\n\n## Installation\n\nTo add this package as a dependency of a project, run either of the following commands:\n\n- `npm install jest-diff`\n- `yarn add jest-diff`\n\n## Usage of `diff()`\n\nGiven JavaScript **values**, `diff(a, b, options?)` does the following:\n\n1. **serialize** the values as strings using the `pretty-format` package\n2. **compare** the strings line-by-line using the `diff-sequences` package\n3. **format** the changed or common lines using the `chalk` package\n\nTo use this function, write either of the following:\n\n- `const {diff} = require('jest-diff');` in CommonJS modules\n- `import {diff} from 'jest-diff';` in ECMAScript modules\n\n### Example of `diff()`\n\n```js\nconst a = ['delete', 'common', 'changed from'];\nconst b = ['common', 'changed to', 'insert'];\n\nconst difference = diff(a, b);\n```\n\nThe returned **string** consists of:\n\n- annotation lines: describe the two change indicators with labels, and a blank line\n- comparison lines: similar to “unified” view on GitHub, but `Expected` lines are green, `Received` lines are red, and common lines are dim (by default, see Options)\n\n```diff\n- Expected\n+ Received\n\n  Array [\n-   \"delete\",\n    \"common\",\n-   \"changed from\",\n+   \"changed to\",\n+   \"insert\",\n  ]\n```\n\n### Edge cases of `diff()`\n\nHere are edge cases for the return value:\n\n- `' Comparing two different types of values. …'` if the arguments have **different types** according to the `jest-get-type` package (instances of different classes have the same `'object'` type)\n- `'Compared values have no visual difference.'` if the arguments have either **referential identity** according to `Object.is` method or **same serialization** according to the `pretty-format` package\n- `null` if either argument is a so-called **asymmetric matcher** in Jasmine or Jest\n\n## Usage of diffStringsUnified\n\nGiven **strings**, `diffStringsUnified(a, b, options?)` does the following:\n\n1. **compare** the strings character-by-character using the `diff-sequences` package\n2. **clean up** small (often coincidental) common substrings, also known as chaff\n3. **format** the changed or common lines using the `chalk` package\n\nAlthough the function is mainly for **multiline** strings, it compares any strings.\n\nWrite either of the following:\n\n- `const {diffStringsUnified} = require('jest-diff');` in CommonJS modules\n- `import {diffStringsUnified} from 'jest-diff';` in ECMAScript modules\n\n### Example of diffStringsUnified\n\n```js\nconst a = 'common\\nchanged from';\nconst b = 'common\\nchanged to';\n\nconst difference = diffStringsUnified(a, b);\n```\n\nThe returned **string** consists of:\n\n- annotation lines: describe the two change indicators with labels, and a blank line\n- comparison lines: similar to “unified” view on GitHub, and **changed substrings** have **inverse** foreground and background colors (that is, `from` has white-on-green and `to` has white-on-red, which the following example does not show)\n\n```diff\n- Expected\n+ Received\n\n  common\n- changed from\n+ changed to\n```\n\n### Performance of diffStringsUnified\n\nTo get the benefit of **changed substrings** within the comparison lines, a character-by-character comparison has a higher computational cost (in time and space) than a line-by-line comparison.\n\nIf the input strings can have **arbitrary length**, we recommend that the calling code set a limit, beyond which splits the strings, and then calls `diffLinesUnified` instead. For example, Jest falls back to line-by-line comparison if either string has length greater than 20K characters.\n\n## Usage of diffLinesUnified\n\nGiven **arrays of strings**, `diffLinesUnified(aLines, bLines, options?)` does the following:\n\n1. **compare** the arrays line-by-line using the `diff-sequences` package\n2. **format** the changed or common lines using the `chalk` package\n\nYou might call this function when strings have been split into lines and you do not need to see changed substrings within lines.\n\n### Example of diffLinesUnified\n\n```js\nconst aLines = ['delete', 'common', 'changed from'];\nconst bLines = ['common', 'changed to', 'insert'];\n\nconst difference = diffLinesUnified(aLines, bLines);\n```\n\n```diff\n- Expected\n+ Received\n\n- delete\n  common\n- changed from\n+ changed to\n+ insert\n```\n\n### Edge cases of diffLinesUnified or diffStringsUnified\n\nHere are edge cases for arguments and return values:\n\n- both `a` and `b` are empty strings: no comparison lines\n- only `a` is empty string: all comparison lines have `bColor` and `bIndicator` (see Options)\n- only `b` is empty string: all comparison lines have `aColor` and `aIndicator` (see Options)\n- `a` and `b` are equal non-empty strings: all comparison lines have `commonColor` and `commonIndicator` (see Options)\n\n## Usage of diffLinesUnified2\n\nGiven two **pairs** of arrays of strings, `diffLinesUnified2(aLinesDisplay, bLinesDisplay, aLinesCompare, bLinesCompare, options?)` does the following:\n\n1. **compare** the pair of `Compare` arrays line-by-line using the `diff-sequences` package\n2. **format** the corresponding lines in the pair of `Display` arrays using the `chalk` package\n\nJest calls this function to consider lines as common instead of changed if the only difference is indentation.\n\nYou might call this function for case insensitive or Unicode equivalence comparison of lines.\n\n### Example of diffLinesUnified2\n\n```js\nimport {format} from 'pretty-format';\n\nconst a = {\n  text: 'Ignore indentation in serialized object',\n  time: '2019-09-19T12:34:56.000Z',\n  type: 'CREATE_ITEM',\n};\nconst b = {\n  payload: {\n    text: 'Ignore indentation in serialized object',\n    time: '2019-09-19T12:34:56.000Z',\n  },\n  type: 'CREATE_ITEM',\n};\n\nconst difference = diffLinesUnified2(\n  // serialize with indentation to display lines\n  format(a).split('\\n'),\n  format(b).split('\\n'),\n  // serialize without indentation to compare lines\n  format(a, {indent: 0}).split('\\n'),\n  format(b, {indent: 0}).split('\\n'),\n);\n```\n\nThe `text` and `time` properties are common, because their only difference is indentation:\n\n```diff\n- Expected\n+ Received\n\n  Object {\n+   payload: Object {\n      text: 'Ignore indentation in serialized object',\n      time: '2019-09-19T12:34:56.000Z',\n+   },\n    type: 'CREATE_ITEM',\n  }\n```\n\nThe preceding example illustrates why (at least for indentation) it seems more intuitive that the function returns the common line from the `bLinesDisplay` array instead of from the `aLinesDisplay` array.\n\n## Usage of diffStringsRaw\n\nGiven **strings** and a boolean option, `diffStringsRaw(a, b, cleanup)` does the following:\n\n1. **compare** the strings character-by-character using the `diff-sequences` package\n2. optionally **clean up** small (often coincidental) common substrings, also known as chaff\n\nBecause `diffStringsRaw` returns the difference as **data** instead of a string, you can format it as your application requires (for example, enclosed in HTML markup for browser instead of escape sequences for console).\n\nThe returned **array** describes substrings as instances of the `Diff` class, which calling code can access like array tuples:\n\nThe value at index `0` is one of the following:\n\n| value | named export  | description           |\n| ----: | :------------ | :-------------------- |\n|   `0` | `DIFF_EQUAL`  | in `a` and in `b`     |\n|  `-1` | `DIFF_DELETE` | in `a` but not in `b` |\n|   `1` | `DIFF_INSERT` | in `b` but not in `a` |\n\nThe value at index `1` is a substring of `a` or `b` or both.\n\n### Example of diffStringsRaw with cleanup\n\n```js\nconst diffs = diffStringsRaw('changed from', 'changed to', true);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `0` | `'changed '`  |\n| `1` |          `-1` | `'from'`      |\n| `2` |           `1` | `'to'`        |\n\n### Example of diffStringsRaw without cleanup\n\n```js\nconst diffs = diffStringsRaw('changed from', 'changed to', false);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `0` | `'changed '`  |\n| `1` |          `-1` | `'fr'`        |\n| `2` |           `1` | `'t'`         |\n| `3` |           `0` | `'o'`         |\n| `4` |          `-1` | `'m'`         |\n\n### Advanced import for diffStringsRaw\n\nHere are all the named imports that you might need for the `diffStringsRaw` function:\n\n- `const {DIFF_DELETE, DIFF_EQUAL, DIFF_INSERT, Diff, diffStringsRaw} = require('jest-diff');` in CommonJS modules\n- `import {DIFF_DELETE, DIFF_EQUAL, DIFF_INSERT, Diff, diffStringsRaw} from 'jest-diff';` in ECMAScript modules\n\nTo write a **formatting** function, you might need the named constants (and `Diff` in TypeScript annotations).\n\nIf you write an application-specific **cleanup** algorithm, then you might need to call the `Diff` constructor:\n\n```js\nconst diffCommon = new Diff(DIFF_EQUAL, 'changed ');\nconst diffDelete = new Diff(DIFF_DELETE, 'from');\nconst diffInsert = new Diff(DIFF_INSERT, 'to');\n```\n\n## Usage of diffLinesRaw\n\nGiven **arrays of strings**, `diffLinesRaw(aLines, bLines)` does the following:\n\n- **compare** the arrays line-by-line using the `diff-sequences` package\n\nBecause `diffLinesRaw` returns the difference as **data** instead of a string, you can format it as your application requires.\n\n### Example of diffLinesRaw\n\n```js\nconst aLines = ['delete', 'common', 'changed from'];\nconst bLines = ['common', 'changed to', 'insert'];\n\nconst diffs = diffLinesRaw(aLines, bLines);\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]`    |\n| --: | ------------: | :--------------- |\n| `0` |          `-1` | `'delete'`       |\n| `1` |           `0` | `'common'`       |\n| `2` |          `-1` | `'changed from'` |\n| `3` |           `1` | `'changed to'`   |\n| `4` |           `1` | `'insert'`       |\n\n### Edge case of diffLinesRaw\n\nIf you call `string.split('\\n')` for an empty string:\n\n- the result is `['']` an array which contains an empty string\n- instead of `[]` an empty array\n\nDepending of your application, you might call `diffLinesRaw` with either array.\n\n### Example of split method\n\n```js\nimport {diffLinesRaw} from 'jest-diff';\n\nconst a = 'non-empty string';\nconst b = '';\n\nconst diffs = diffLinesRaw(a.split('\\n'), b.split('\\n'));\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]`        |\n| --: | ------------: | :------------------- |\n| `0` |          `-1` | `'non-empty string'` |\n| `1` |           `1` | `''`                 |\n\nWhich you might format as follows:\n\n```diff\n- Expected  - 1\n+ Received  + 1\n\n- non-empty string\n+\n```\n\n### Example of splitLines0 function\n\nFor edge case behavior like the `diffLinesUnified` function, you might define a `splitLines0` function, which given an empty string, returns `[]` an empty array:\n\n```js\nexport const splitLines0 = string =>\n  string.length === 0 ? [] : string.split('\\n');\n```\n\n```js\nimport {diffLinesRaw} from 'jest-diff';\n\nconst a = '';\nconst b = 'line 1\\nline 2\\nline 3';\n\nconst diffs = diffLinesRaw(a.split('\\n'), b.split('\\n'));\n```\n\n| `i` | `diffs[i][0]` | `diffs[i][1]` |\n| --: | ------------: | :------------ |\n| `0` |           `1` | `'line 1'`    |\n| `1` |           `1` | `'line 2'`    |\n| `2` |           `1` | `'line 3'`    |\n\nWhich you might format as follows:\n\n```diff\n- Expected  - 0\n+ Received  + 3\n\n+ line 1\n+ line 2\n+ line 3\n```\n\nIn contrast to the `diffLinesRaw` function, the `diffLinesUnified` and `diffLinesUnified2` functions **automatically** convert array arguments computed by string `split` method, so callers do **not** need a `splitLine0` function.\n\n## Options\n\nThe default options are for the report when an assertion fails from the `expect` package used by Jest.\n\nFor other applications, you can provide an options object as a third argument:\n\n- `diff(a, b, options)`\n- `diffStringsUnified(a, b, options)`\n- `diffLinesUnified(aLines, bLines, options)`\n- `diffLinesUnified2(aLinesDisplay, bLinesDisplay, aLinesCompare, bLinesCompare, options)`\n\n### Properties of options object\n\n| name                              | default            |\n| :-------------------------------- | :----------------- |\n| `aAnnotation`                     | `'Expected'`       |\n| `aColor`                          | `chalk.green`      |\n| `aIndicator`                      | `'-'`              |\n| `bAnnotation`                     | `'Received'`       |\n| `bColor`                          | `chalk.red`        |\n| `bIndicator`                      | `'+'`              |\n| `changeColor`                     | `chalk.inverse`    |\n| `changeLineTrailingSpaceColor`    | `string => string` |\n| `commonColor`                     | `chalk.dim`        |\n| `commonIndicator`                 | `' '`              |\n| `commonLineTrailingSpaceColor`    | `string => string` |\n| `compareKeys`                     | `undefined`        |\n| `contextLines`                    | `5`                |\n| `emptyFirstOrLastLinePlaceholder` | `''`               |\n| `expand`                          | `true`             |\n| `includeChangeCounts`             | `false`            |\n| `omitAnnotationLines`             | `false`            |\n| `patchColor`                      | `chalk.yellow`     |\n\nFor more information about the options, see the following examples.\n\n### Example of options for labels\n\nIf the application is code modification, you might replace the labels:\n\n```js\nconst options = {\n  aAnnotation: 'Original',\n  bAnnotation: 'Modified',\n};\n```\n\n```diff\n- Original\n+ Modified\n\n  common\n- changed from\n+ changed to\n```\n\nThe `jest-diff` package does not assume that the 2 labels have equal length.\n\n### Example of options for colors of changed lines\n\nFor consistency with most diff tools, you might exchange the colors:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  aColor: chalk.red,\n  bColor: chalk.green,\n};\n```\n\n### Example of option for color of changed substrings\n\nAlthough the default inverse of foreground and background colors is hard to beat for changed substrings **within lines**, especially because it highlights spaces, if you want bold font weight on yellow background color:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  changeColor: chalk.bold.bgYellowBright,\n};\n```\n\n### Example of option to format trailing spaces\n\nBecause `diff()` does not display substring differences within lines, formatting can help you see when lines differ by the presence or absence of trailing spaces found by `/\\s+$/` regular expression.\n\n- If change lines have a background color, then you can see trailing spaces.\n- If common lines have default dim color, then you cannot see trailing spaces. You might want yellowish background color to see them.\n\n```js\nconst options = {\n  aColor: chalk.rgb(128, 0, 128).bgRgb(255, 215, 255), // magenta\n  bColor: chalk.rgb(0, 95, 0).bgRgb(215, 255, 215), // green\n  commonLineTrailingSpaceColor: chalk.bgYellow,\n};\n```\n\nThe value of a Color option is a function, which given a string, returns a string.\n\nIf you want to replace trailing spaces with middle dot characters:\n\n```js\nconst replaceSpacesWithMiddleDot = string => '·'.repeat(string.length);\n\nconst options = {\n  changeLineTrailingSpaceColor: replaceSpacesWithMiddleDot,\n  commonLineTrailingSpaceColor: replaceSpacesWithMiddleDot,\n};\n```\n\nIf you need the TypeScript type of a Color option:\n\n```ts\nimport {DiffOptionsColor} from 'jest-diff';\n```\n\n### Example of options for no colors\n\nTo store the difference in a file without escape codes for colors, provide an identity function:\n\n```js\nconst noColor = string => string;\n\nconst options = {\n  aColor: noColor,\n  bColor: noColor,\n  changeColor: noColor,\n  commonColor: noColor,\n  patchColor: noColor,\n};\n```\n\n### Example of options for indicators\n\nFor consistency with the `diff` command, you might replace the indicators:\n\n```js\nconst options = {\n  aIndicator: '<',\n  bIndicator: '>',\n};\n```\n\nThe `jest-diff` package assumes (but does not enforce) that the 3 indicators have equal length.\n\n### Example of options to limit common lines\n\nBy default, the output includes all common lines.\n\nTo emphasize the changes, you might limit the number of common “context” lines:\n\n```js\nconst options = {\n  contextLines: 1,\n  expand: false,\n};\n```\n\nA patch mark like `@@ -12,7 +12,9 @@` accounts for omitted common lines.\n\n### Example of option for color of patch marks\n\nIf you want patch marks to have the same dim color as common lines:\n\n```ts\nimport chalk = require('chalk');\n\nconst options = {\n  expand: false,\n  patchColor: chalk.dim,\n};\n```\n\n### Example of option to include change counts\n\nTo display the number of changed lines at the right of annotation lines:\n\n```js\nconst a = ['common', 'changed from'];\nconst b = ['common', 'changed to', 'insert'];\n\nconst options = {\n  includeChangeCounts: true,\n};\n\nconst difference = diff(a, b, options);\n```\n\n```diff\n- Expected  - 1\n+ Received  + 2\n\n  Array [\n    \"common\",\n-   \"changed from\",\n+   \"changed to\",\n+   \"insert\",\n  ]\n```\n\n### Example of option to omit annotation lines\n\nTo display only the comparison lines:\n\n```js\nconst a = 'common\\nchanged from';\nconst b = 'common\\nchanged to';\n\nconst options = {\n  omitAnnotationLines: true,\n};\n\nconst difference = diffStringsUnified(a, b, options);\n```\n\n```diff\n  common\n- changed from\n+ changed to\n```\n\n### Example of option for empty first or last lines\n\nIf the **first** or **last** comparison line is **empty**, because the content is empty and the indicator is a space, you might not notice it.\n\nThe replacement option is a string whose default value is `''` empty string.\n\nBecause Jest trims the report when a matcher fails, it deletes an empty last line.\n\nTherefore, Jest uses as placeholder the downwards arrow with corner leftwards:\n\n```js\nconst options = {\n  emptyFirstOrLastLinePlaceholder: '↵', // U+21B5\n};\n```\n\nIf a content line is empty, then the corresponding comparison line is automatically trimmed to remove the margin space (represented as a middle dot below) for the default indicators:\n\n|         Indicator | untrimmed | trimmed |\n| ----------------: | :-------- | :------ |\n|      `aIndicator` | `'-·'`    | `'-'`   |\n|      `bIndicator` | `'+·'`    | `'+'`   |\n| `commonIndicator` | `' ·'`    | `''`    |\n\n### Example of option for sorting object keys\n\nWhen two objects are compared their keys are printed in alphabetical order by default. If this was not the original order of the keys the diff becomes harder to read as the keys are not in their original position.\n\nUse `compareKeys` to pass a function which will be used when sorting the object keys.\n\n```js\nconst a = {c: 'c', b: 'b1', a: 'a'};\nconst b = {c: 'c', b: 'b2', a: 'a'};\n\nconst options = {\n  // The keys will be in their original order\n  compareKeys: () => 0,\n};\n\nconst difference = diff(a, b, options);\n```\n\n```diff\n- Expected\n+ Received\n\n  Object {\n    \"c\": \"c\",\n-   \"b\": \"b1\",\n+   \"b\": \"b2\",\n    \"a\": \"a\",\n  }\n```\n\nDepending on the implementation of `compareKeys` any sort order can be used.\n\n```js\nconst a = {c: 'c', b: 'b1', a: 'a'};\nconst b = {c: 'c', b: 'b2', a: 'a'};\n\nconst options = {\n  // The keys will be in reverse order\n  compareKeys: (a, b) => (a > b ? -1 : 1),\n};\n\nconst difference = diff(a, b, options);\n```\n\n```diff\n- Expected\n+ Received\n\n  Object {\n    \"a\": \"a\",\n-   \"b\": \"b1\",\n+   \"b\": \"b2\",\n    \"c\": \"c\",\n  }\n```\n","readmeFilename":"README.md","description":"Display differences clearly so people can review changes confidently.","bugs":{"url":"https://github.com/jestjs/jest/issues"},"homepage":"https://github.com/jestjs/jest#readme","_id":"jest-diff@30.0.0-alpha.3","_nodeVersion":"20.11.1","_npmVersion":"lerna/3.2.1/node@v20.11.1+arm64 (darwin)","dist":{"integrity":"sha512-cY3JM566pqIjfjww9OKYu4dExYGxsDI53/II57d+R1OpikffSAKvliqoejeCpivVwOir6qkcq5jY0l6pq90Orw==","shasum":"309cd09fe2f7a9c94a4bfbc0831625de74664497","tarball":"https://registry.npmjs.org/jest-diff/-/jest-diff-30.0.0-alpha.3.tgz","fileCount":6,"unpackedSize":79696,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDKCYoUZDE6NlFOiCl3JeYRZh+/57cyfh/517WBb8SlnAIgTex5uRMtXlp06ym3UYU3R/fC47AysNIcJwspZv9yVUA="}]},"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"maintainers":[{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"cpojer","email":"christoph.pojer@gmail.com"},{"name":"aaronabramov","email":"aaron@abramov.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-diff_30.0.0-alpha.3_1708427346695_0.333562389892498"},"_hasShrinkwrap":false}},"readme":"","maintainers":[{"email":"sbekkhus91@gmail.com","name":"simenb"},{"email":"christoph.pojer@gmail.com","name":"cpojer"},{"email":"aaron@abramov.io","name":"aaronabramov"},{"email":"operations@openjsf.org","name":"openjs-operations"}],"time":{"modified":"2024-02-26T15:57:39.042Z","created":"2016-07-02T06:32:14.622Z","0.0.0":"2016-07-02T06:32:14.622Z","13.3.0-alpha.a44f195f":"2016-07-11T09:56:53.066Z","13.3.0-alpha.4eb0c908":"2016-07-11T10:04:37.262Z","13.3.0-alpha.ffc7404b":"2016-07-11T10:20:17.975Z","13.3.0-alpha.8b48d59e":"2016-07-13T06:14:10.890Z","13.3.0-alpha.g8b48d59":"2016-07-13T06:39:43.098Z","13.4.0-alpha.d2632006":"2016-07-27T08:57:19.451Z","14.0.0":"2016-07-27T09:14:44.286Z","14.2.0-alpha.ca8bfb6e":"2016-08-15T18:54:39.384Z","14.2.1-alpha.e21d71a4":"2016-08-16T21:18:39.211Z","14.2.2-alpha.22bd3c33":"2016-08-16T22:54:55.301Z","14.3.0-alpha.d13c163e":"2016-08-18T20:35:29.024Z","14.3.1-alpha.410cb91a":"2016-08-30T21:52:12.498Z","14.3.2-alpha.83c25417":"2016-08-31T18:50:40.333Z","15.0.0":"2016-08-31T18:55:33.553Z","15.0.1":"2016-09-01T01:00:46.551Z","15.1.0":"2016-09-01T16:27:39.648Z","15.2.0-alpha.c681f819":"2016-09-29T09:02:20.450Z","16.0.0":"2016-10-03T08:38:35.254Z","16.1.0-alpha.691b0e22":"2016-10-28T07:27:30.015Z","17.0.0":"2016-11-08T14:12:23.956Z","17.0.1":"2016-11-14T06:07:25.654Z","17.0.2":"2016-11-15T00:39:21.653Z","17.0.3":"2016-11-17T07:41:12.943Z","18.0.0":"2016-12-15T11:24:26.463Z","18.1.0":"2016-12-29T01:47:24.364Z","18.5.0-alpha.7da3df39":"2017-02-17T16:57:36.776Z","19.0.0":"2017-02-21T09:30:15.376Z","19.1.0-alpha.eed82034":"2017-03-17T00:41:32.996Z","19.2.0-alpha.993e64af":"2017-05-04T15:38:22.154Z","19.3.0-alpha.85402254":"2017-05-05T11:48:31.973Z","20.0.0":"2017-05-06T12:33:09.028Z","20.0.1":"2017-05-11T10:50:19.377Z","20.0.2":"2017-05-17T10:50:33.768Z","20.0.3":"2017-05-17T10:57:24.520Z","20.1.0-alpha.1":"2017-06-28T10:16:30.620Z","20.1.0-alpha.2":"2017-06-29T16:36:57.207Z","20.1.0-alpha.3":"2017-06-30T14:21:04.030Z","20.1.0-beta.1":"2017-07-13T10:33:53.931Z","20.1.0-chi.1":"2017-07-14T10:25:17.761Z","20.1.0-delta.1":"2017-07-18T08:47:05.398Z","20.1.0-delta.2":"2017-07-19T12:56:55.160Z","20.1.0-delta.3":"2017-07-25T22:12:30.846Z","20.1.0-delta.4":"2017-07-27T17:19:15.667Z","20.1.0-delta.5":"2017-08-01T16:33:40.855Z","20.1.0-echo.1":"2017-08-08T16:50:09.337Z","21.0.0-alpha.1":"2017-08-11T10:14:16.050Z","21.0.0-alpha.2":"2017-08-21T22:06:52.222Z","21.0.0-beta.1":"2017-08-24T21:27:22.201Z","21.0.0":"2017-09-04T15:01:59.558Z","21.0.2":"2017-09-08T14:19:37.685Z","21.1.0":"2017-09-14T01:50:20.853Z","21.2.0":"2017-09-26T20:22:23.570Z","21.2.1":"2017-09-27T22:15:07.995Z","21.3.0-alpha.1e3ee68e":"2017-09-28T14:20:48.595Z","21.3.0-alpha.eff7a1cf":"2017-10-01T16:46:55.240Z","21.3.0-beta.1":"2017-10-04T10:48:44.184Z","21.3.0-beta.2":"2017-10-13T09:54:12.519Z","21.3.0-beta.3":"2017-10-25T19:34:10.634Z","21.3.0-beta.4":"2017-10-26T13:27:05.286Z","21.3.0-beta.5":"2017-11-02T13:17:36.587Z","21.3.0-beta.6":"2017-11-03T16:21:40.978Z","21.3.0-beta.7":"2017-11-06T09:39:54.705Z","21.3.0-beta.8":"2017-11-07T17:43:51.697Z","21.3.0-beta.9":"2017-11-22T13:17:40.419Z","21.3.0-beta.10":"2017-11-25T12:39:30.825Z","21.3.0-beta.11":"2017-11-29T14:31:26.649Z","21.3.0-beta.12":"2017-12-05T18:48:41.286Z","21.3.0-beta.13":"2017-12-06T14:37:28.429Z","21.3.0-beta.14":"2017-12-12T10:52:41.456Z","21.3.0-beta.15":"2017-12-15T13:27:44.795Z","22.0.0":"2017-12-18T11:03:29.515Z","22.0.1":"2017-12-18T20:29:29.577Z","22.0.2":"2017-12-19T13:53:09.115Z","22.0.3":"2017-12-19T14:59:01.261Z","22.0.5":"2018-01-09T15:09:57.618Z","22.0.6":"2018-01-11T09:46:49.250Z","22.1.0":"2018-01-15T11:57:24.393Z","22.4.0":"2018-02-20T12:03:35.836Z","22.4.3":"2018-03-21T16:09:07.630Z","23.0.0-alpha.2":"2018-03-26T10:40:50.612Z","23.0.0-alpha.4":"2018-03-26T12:31:43.755Z","23.0.0-alpha.5":"2018-04-10T19:18:22.617Z","23.0.0-alpha.5r":"2018-04-11T05:52:51.709Z","23.0.0-alpha.6r":"2018-04-12T07:01:37.331Z","23.0.0-alpha.7":"2018-04-17T18:55:29.158Z","23.0.0-beta.0":"2018-04-20T10:10:56.666Z","23.0.0-beta.1":"2018-04-21T15:44:31.952Z","23.0.0-beta.2":"2018-04-26T21:17:43.488Z","23.0.0-alpha.3r":"2018-04-30T13:10:22.658Z","23.0.0-beta.3r":"2018-04-30T13:15:01.521Z","23.0.0-charlie.0":"2018-05-02T10:56:37.496Z","23.0.0-charlie.1":"2018-05-03T12:10:24.124Z","23.0.0-charlie.2":"2018-05-15T09:51:38.116Z","23.0.0-charlie.3":"2018-05-22T14:59:10.435Z","23.0.0-charlie.4":"2018-05-23T10:42:34.628Z","23.0.0":"2018-05-24T17:26:35.293Z","23.0.1":"2018-05-27T15:31:05.021Z","23.2.0":"2018-06-25T14:05:20.694Z","23.5.0":"2018-08-10T13:51:50.281Z","23.6.0":"2018-09-10T12:42:59.981Z","24.0.0-alpha.0":"2018-10-19T12:12:51.888Z","24.0.0-alpha.1":"2018-10-22T15:36:07.710Z","24.0.0-alpha.2":"2018-10-25T10:50:56.981Z","24.0.0-alpha.4":"2018-10-26T16:33:20.838Z","24.0.0-alpha.5":"2018-11-09T13:12:51.644Z","24.0.0-alpha.6":"2018-11-09T17:49:47.439Z","24.0.0-alpha.7":"2018-12-11T16:17:23.157Z","24.0.0-alpha.8":"2018-12-13T19:47:58.625Z","24.0.0-alpha.9":"2018-12-19T14:23:23.256Z","24.0.0-alpha.10":"2019-01-09T17:01:28.112Z","24.0.0-alpha.11":"2019-01-10T18:32:31.641Z","24.0.0-alpha.12":"2019-01-11T14:58:32.858Z","24.0.0-alpha.13":"2019-01-23T15:15:34.197Z","24.0.0-alpha.15":"2019-01-24T17:52:39.216Z","24.0.0-alpha.16":"2019-01-25T13:42:09.129Z","24.0.0":"2019-01-25T15:05:04.084Z","24.2.0-alpha.0":"2019-03-05T14:47:03.148Z","24.3.0":"2019-03-07T12:59:47.026Z","24.3.1":"2019-03-07T23:12:27.013Z","24.4.0":"2019-03-11T14:57:56.451Z","24.5.0":"2019-03-12T16:36:37.788Z","24.6.0":"2019-04-01T22:26:32.291Z","24.7.0":"2019-04-03T03:55:26.550Z","24.8.0":"2019-05-05T02:02:28.307Z","24.9.0":"2019-08-16T05:56:00.495Z","25.0.0":"2019-08-22T03:24:08.921Z","25.1.0":"2020-01-22T01:00:01.625Z","25.2.0-alpha.86":"2020-03-25T17:16:33.611Z","25.2.0":"2020-03-25T17:58:11.160Z","25.2.1-alpha.1":"2020-03-26T07:54:26.820Z","25.2.1-alpha.2":"2020-03-26T08:10:38.320Z","25.2.1":"2020-03-26T09:01:17.450Z","25.2.3":"2020-03-26T20:24:50.278Z","25.2.6":"2020-04-02T10:29:23.024Z","25.3.0":"2020-04-08T13:21:15.581Z","25.4.0":"2020-04-19T21:50:31.326Z","25.5.0":"2020-04-28T19:45:28.141Z","26.0.0-alpha.0":"2020-05-02T12:13:05.646Z","26.0.0-alpha.1":"2020-05-03T18:48:07.843Z","26.0.0-alpha.2":"2020-05-04T16:05:35.667Z","26.0.0":"2020-05-04T17:53:11.686Z","26.0.1-alpha.0":"2020-05-04T22:16:04.324Z","26.0.1":"2020-05-05T10:40:53.615Z","26.1.0":"2020-06-23T15:15:24.824Z","26.2.0":"2020-07-30T10:11:50.885Z","26.3.0":"2020-08-10T11:31:55.937Z","26.4.0":"2020-08-12T21:00:23.018Z","26.4.2":"2020-08-22T12:10:00.914Z","26.5.0":"2020-10-05T09:28:21.205Z","26.5.2":"2020-10-06T10:52:55.536Z","26.6.0":"2020-10-19T11:58:43.872Z","26.6.1":"2020-10-23T09:06:24.188Z","26.6.2":"2020-11-02T12:51:37.503Z","27.0.0-next.0":"2020-12-05T17:25:21.506Z","27.0.0-next.1":"2020-12-07T12:43:29.369Z","27.0.0-next.3":"2021-02-18T22:09:56.059Z","27.0.0-next.5":"2021-03-15T13:03:23.543Z","27.0.0-next.6":"2021-03-25T19:40:03.256Z","27.0.0-next.7":"2021-04-02T13:48:00.228Z","27.0.0-next.8":"2021-04-12T22:42:33.167Z","27.0.0-next.9":"2021-05-04T06:25:08.947Z","27.0.0-next.10":"2021-05-20T14:11:19.981Z","27.0.0-next.11":"2021-05-20T22:28:46.539Z","27.0.0":"2021-05-25T08:15:14.150Z","27.0.1":"2021-05-25T10:06:35.441Z","27.0.2":"2021-05-29T12:07:19.348Z","27.0.6":"2021-06-28T17:05:42.819Z","27.1.0":"2021-08-27T09:59:40.877Z","27.1.1":"2021-09-08T10:12:15.696Z","27.2.0":"2021-09-13T08:06:42.271Z","27.2.2":"2021-09-25T13:35:08.486Z","27.2.3":"2021-09-28T10:11:22.754Z","27.2.4":"2021-09-29T14:04:49.317Z","27.2.5":"2021-10-08T13:39:22.797Z","27.3.0":"2021-10-17T18:34:47.338Z","27.3.1":"2021-10-19T06:57:33.781Z","27.4.0":"2021-11-29T13:37:06.508Z","27.4.1":"2021-11-30T08:37:10.665Z","27.4.2":"2021-11-30T11:53:41.903Z","27.4.6":"2022-01-04T23:03:35.675Z","27.5.0":"2022-02-05T09:59:22.557Z","27.5.1":"2022-02-08T10:52:18.645Z","28.0.0-alpha.0":"2022-02-10T18:17:33.683Z","28.0.0-alpha.1":"2022-02-15T21:26:58.570Z","28.0.0-alpha.2":"2022-02-16T18:12:04.457Z","28.0.0-alpha.3":"2022-02-17T15:42:22.705Z","28.0.0-alpha.4":"2022-02-22T12:13:56.643Z","28.0.0-alpha.5":"2022-02-24T20:57:19.451Z","28.0.0-alpha.6":"2022-03-01T08:32:24.966Z","28.0.0-alpha.7":"2022-03-06T10:02:41.229Z","28.0.0-alpha.8":"2022-04-05T14:59:43.399Z","28.0.0-alpha.9":"2022-04-19T10:59:15.663Z","28.0.0":"2022-04-25T12:08:09.723Z","28.0.1":"2022-04-26T10:02:40.084Z","28.0.2":"2022-04-27T07:44:04.070Z","28.1.0":"2022-05-06T10:48:55.004Z","28.1.1":"2022-06-07T06:09:37.122Z","28.1.3":"2022-07-13T14:12:28.716Z","29.0.0-alpha.0":"2022-07-17T22:07:08.348Z","29.0.0-alpha.1":"2022-08-04T08:23:30.367Z","29.0.0-alpha.3":"2022-08-07T13:41:36.509Z","29.0.0-alpha.4":"2022-08-08T13:05:34.998Z","29.0.0-alpha.6":"2022-08-19T13:57:48.659Z","29.0.0":"2022-08-25T12:33:28.611Z","29.0.1":"2022-08-26T13:34:42.191Z","29.0.2":"2022-09-03T10:48:19.799Z","29.0.3":"2022-09-10T14:41:38.363Z","29.1.0":"2022-09-28T07:37:41.698Z","29.1.2":"2022-09-30T07:22:49.232Z","29.2.0":"2022-10-14T09:13:49.196Z","29.2.1":"2022-10-18T16:00:13.911Z","29.3.1":"2022-11-08T22:56:23.491Z","29.4.0":"2023-01-24T10:55:52.252Z","29.4.1":"2023-01-26T15:08:37.806Z","29.4.2":"2023-02-07T13:45:29.046Z","29.4.3":"2023-02-15T11:57:22.361Z","29.5.0":"2023-03-06T13:33:30.577Z","29.6.0":"2023-07-04T15:25:46.957Z","29.6.1":"2023-07-06T14:18:20.144Z","29.6.2":"2023-07-27T09:21:31.586Z","29.6.3":"2023-08-21T12:39:16.219Z","29.6.4":"2023-08-24T11:10:27.609Z","29.7.0":"2023-09-12T06:43:43.883Z","30.0.0-alpha.1":"2023-10-30T13:33:11.080Z","30.0.0-alpha.2":"2023-11-16T09:28:20.998Z","30.0.0-alpha.3":"2024-02-20T11:09:06.858Z"},"readmeFilename":"","repository":{"type":"git","url":"git+https://github.com/jestjs/jest.git","directory":"packages/jest-diff"},"license":"MIT","homepage":"https://github.com/jestjs/jest#readme","bugs":{"url":"https://github.com/jestjs/jest/issues"},"description":"Display differences clearly so people can review changes confidently."}