{"name":"diff","version":"8.0.4","description":"A JavaScript text diff implementation.","keywords":["diff","jsdiff","compare","patch","text","json","css","javascript"],"maintainers":[{"name":"explodingcabbage","email":""},{"name":"kpdecker","email":"kpdecker@gmail.com"}],"bugs":{"email":"kpdecker@gmail.com","url":"http://github.com/kpdecker/jsdiff/issues"},"license":"BSD-3-Clause","repository":{"type":"git","url":"https://github.com/kpdecker/jsdiff.git"},"engines":{"node":">=0.3.1"},"main":"./libcjs/index.js","module":"./libesm/index.js","browser":"./dist/diff.js","unpkg":"./dist/diff.js","exports":{".":{"import":{"types":"./libesm/index.d.ts","default":"./libesm/index.js"},"require":{"types":"./libcjs/index.d.ts","default":"./libcjs/index.js"}},"./package.json":"./package.json","./lib/*.js":{"import":{"types":"./libesm/*.d.ts","default":"./libesm/*.js"},"require":{"types":"./libcjs/*.d.ts","default":"./libcjs/*.js"}},"./lib/":{"import":{"types":"./libesm/","default":"./libesm/"},"require":{"types":"./libcjs/","default":"./libcjs/"}}},"type":"module","types":"libcjs/index.d.ts","scripts":{"clean":"rm -rf libcjs/ libesm/ dist/ coverage/ .nyc_output/","lint":"yarn eslint","build":"yarn lint && yarn generate-esm && yarn generate-cjs && yarn check-types && yarn run-rollup && yarn run-uglify","generate-cjs":"yarn tsc --module commonjs --outDir libcjs && node --eval \"fs.writeFileSync('libcjs/package.json', JSON.stringify({type:'commonjs',sideEffects:false}))\"","generate-esm":"yarn tsc --module nodenext --outDir libesm --target es6 && node --eval \"fs.writeFileSync('libesm/package.json', JSON.stringify({type:'module',sideEffects:false}))\"","check-types":"yarn run-tsd && yarn run-attw","test":"nyc yarn _test","_test":"yarn build && cross-env NODE_ENV=test yarn run-mocha","run-attw":"yarn attw --pack --entrypoints . && yarn attw --pack --entrypoints lib/diff/word.js --profile node16","run-tsd":"yarn tsd --typings libesm/ && yarn tsd --files test-d/","run-rollup":"rollup -c rollup.config.mjs","run-uglify":"uglifyjs dist/diff.js -c -o dist/diff.min.js","run-mocha":"mocha --require ./runtime 'test/**/*.js'"},"devDependencies":{"@arethetypeswrong/cli":"^0.18.2","@babel/core":"^7.29.0","@babel/preset-env":"^7.29.2","@babel/register":"^7.28.6","@colors/colors":"^1.6.0","@eslint/js":"^10.0.1","babel-loader":"^10.1.1","babel-plugin-istanbul":"^7.0.1","chai":"^6.2.2","cross-env":"^10.1.0","eslint":"^10.1.0","globals":"^17.4.0","karma":"^6.4.4","karma-mocha":"^2.0.1","karma-mocha-reporter":"^2.2.5","karma-sourcemap-loader":"^0.4.0","karma-webpack":"^5.0.1","mocha":"^11.7.5","nyc":"^18.0.0","rollup":"^4.60.0","tsd":"^0.33.0","typescript":"^5.9.3","typescript-eslint":"^8.57.1","uglify-js":"^3.19.3","webpack":"^5.105.4","webpack-dev-server":"^5.2.3"},"nyc":{"require":["@babel/register"],"reporter":["lcov","text"],"sourceMap":false,"instrument":false,"check-coverage":true,"branches":100,"lines":100,"functions":100,"statements":100},"packageManager":"yarn@4.12.0","_id":"diff@8.0.4","gitHead":"2d42fc673b9c20689e98c60c34dc81b03162c5c9","dist":{"shasum":"4f5baf3188b9b2431117b962eb20ba330fadf696","size":126146,"noattachment":false,"key":"/diff/-/diff-8.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/diff/download/diff-8.0.4.tgz"},"_npmUser":{"name":"explodingcabbage","email":"markrobertamery+npm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/diff_8.0.4_1774265070387_0.12845812816245572"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-03-23T11:24:30.551Z","publish_time":1774265070551,"_source_registry_name":"default","_cnpm_publish_time":1774265070551,"dist-tags":{"latest":"8.0.4","tmp":"3.5.1"}}