{"_id":"with","_rev":"68248","name":"with","description":"Compile time `with` for strict mode JavaScript","dist-tags":{"canary":"7.0.2-canary-3","latest":"7.0.2"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},{"name":"with-bot","email":""}],"time":{"modified":"2021-06-03T10:22:39.000Z","created":"2013-05-21T09:59:07.739Z","7.0.2":"2020-05-29T10:53:38.392Z","7.0.2-canary-3":"2020-05-29T10:53:03.025Z","7.0.1":"2020-05-27T15:12:22.173Z","7.0.1-canary-2":"2020-05-27T15:11:48.436Z","7.0.0":"2020-05-25T22:32:12.283Z","7.0.0-canary-1":"2020-05-25T22:30:50.359Z","6.0.0":"2018-06-01T16:04:45.733Z","5.1.1":"2016-06-04T01:07:42.365Z","5.1.0":"2016-06-03T16:14:36.732Z","5.0.2":"2016-06-03T15:43:43.578Z","5.0.1":"2016-06-03T15:40:08.848Z","5.0.0":"2015-04-08T22:42:23.299Z","4.0.3":"2015-04-06T21:17:47.492Z","4.0.2":"2015-03-29T00:21:32.381Z","4.0.1":"2015-02-07T22:47:22.032Z","4.0.0":"2014-09-22T16:22:10.195Z","3.0.1":"2014-08-19T17:05:27.350Z","3.0.0":"2014-02-03T14:28:38.318Z","2.0.0":"2013-10-01T09:17:48.479Z","1.1.1":"2013-08-25T01:55:46.202Z","1.1.0":"2013-06-16T01:32:57.310Z","1.0.4":"2013-05-31T16:01:01.164Z","1.0.3":"2013-05-24T18:11:14.397Z","1.0.2":"2013-05-21T10:09:32.988Z","1.0.1":"2013-05-21T10:05:18.949Z","1.0.0":"2013-05-21T09:59:07.739Z"},"users":{"pgilad":true},"author":{"name":"ForbesLindesay"},"repository":{"type":"git","url":"git+https://github.com/pugjs/with.git"},"versions":{"7.0.2":{"name":"with","version":"7.0.2","description":"Compile time `with` for strict mode JavaScript","main":"lib/index.js","scripts":{"build":"tsc","postbuild":"rimraf lib/**/__tests__","lint":"tslint './src/**/*.{ts,tsx}' -t verbose -p .","prettier:write":"prettier --ignore-path .gitignore --write './**/*.{md,json,yaml,js,jsx,ts,tsx}'","prettier:check":"prettier --ignore-path .gitignore --list-different './**/*.{md,json,yaml,js,jsx,ts,tsx}'","pretest":"yarn build","test":"mocha test/index.js -R spec"},"repository":{"type":"git","url":"git+https://github.com/pugjs/with.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","dependencies":{"@babel/parser":"^7.9.6","@babel/types":"^7.9.6","assert-never":"^1.2.1","babel-walk":"3.0.0-canary-5"},"devDependencies":{"@forbeslindesay/tsconfig":"^2.0.0","@types/node":"^14.0.5","mocha":"*","prettier":"^2.0.5","rimraf":"^3.0.2","tslint":"^6.1.2","typescript":"^3.9.3","uglify-js":"^2.6.2"},"engines":{"node":">= 10.0.0"},"gitHead":"fcae468cb1ca7205a2a07dc9680f390a453b4e49","bugs":{"url":"https://github.com/pugjs/with/issues"},"homepage":"https://github.com/pugjs/with#readme","_id":"with@7.0.2","_nodeVersion":"12.16.3","_npmVersion":"6.14.4","dist":{"shasum":"ccee3ad542d25538a7a7a80aad212b9828495bac","size":11708,"noattachment":false,"key":"/with/-/with-7.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/with/download/with-7.0.2.tgz"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},{"name":"with-bot","email":""}],"_npmUser":{"name":"with-bot","email":"with-bot@rollingversions.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/with_7.0.2_1590749618188_0.30489362884125804"},"_hasShrinkwrap":false,"publish_time":1590749618392,"_cnpm_publish_time":1590749618392},"7.0.2-canary-3":{"name":"with","version":"7.0.2-canary-3","description":"Compile time `with` for strict mode JavaScript","main":"lib/index.js","scripts":{"build":"tsc","postbuild":"rimraf lib/**/__tests__","lint":"tslint './src/**/*.{ts,tsx}' -t verbose -p .","prettier:write":"prettier --ignore-path .gitignore --write './**/*.{md,json,yaml,js,jsx,ts,tsx}'","prettier:check":"prettier --ignore-path .gitignore --list-different './**/*.{md,json,yaml,js,jsx,ts,tsx}'","pretest":"yarn build","test":"mocha test/index.js -R spec"},"repository":{"type":"git","url":"git+https://github.com/pugjs/with.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","dependencies":{"@babel/parser":"^7.9.6","@babel/types":"^7.9.6","assert-never":"^1.2.1","babel-walk":"3.0.0-canary-5"},"devDependencies":{"@forbeslindesay/tsconfig":"^2.0.0","@types/node":"^14.0.5","mocha":"*","prettier":"^2.0.5","rimraf":"^3.0.2","tslint":"^6.1.2","typescript":"^3.9.3","uglify-js":"^2.6.2"},"engines":{"node":">= 10.0.0"},"readmeFilename":"README.md","gitHead":"fcae468cb1ca7205a2a07dc9680f390a453b4e49","bugs":{"url":"https://github.com/pugjs/with/issues"},"homepage":"https://github.com/pugjs/with#readme","_id":"with@7.0.2-canary-3","_nodeVersion":"12.16.3","_npmVersion":"6.14.4","dist":{"shasum":"0cf24192010d56e750e8b5a02678c42be28f93e1","size":11715,"noattachment":false,"key":"/with/-/with-7.0.2-canary-3.tgz","tarball":"http://registry.cnpm.dingdandao.com/with/download/with-7.0.2-canary-3.tgz"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},{"name":"with-bot","email":""}],"_npmUser":{"name":"with-bot","email":"with-bot@rollingversions.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/with_7.0.2-canary-3_1590749582886_0.21731864787719046"},"_hasShrinkwrap":false,"publish_time":1590749583025,"_cnpm_publish_time":1590749583025},"7.0.1":{"name":"with","version":"7.0.1","description":"Compile time `with` for strict mode JavaScript","main":"lib/index.js","scripts":{"build":"tsc","postbuild":"rimraf lib/**/__tests__","lint":"tslint './src/**/*.{ts,tsx}' -t verbose -p .","prettier:write":"prettier --ignore-path .gitignore --write './**/*.{md,json,yaml,js,jsx,ts,tsx}'","prettier:check":"prettier --ignore-path .gitignore --list-different './**/*.{md,json,yaml,js,jsx,ts,tsx}'","pretest":"yarn build","test":"mocha test/index.js -R spec"},"repository":{"type":"git","url":"git+https://github.com/pugjs/with.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","dependencies":{"@babel/parser":"^7.9.6","@babel/types":"^7.9.6","assert-never":"^1.2.1","babel-walk":"3.0.0-canary-5"},"devDependencies":{"@forbeslindesay/tsconfig":"^2.0.0","@types/node":"^14.0.5","mocha":"*","prettier":"^2.0.5","rimraf":"^3.0.2","tslint":"^6.1.2","typescript":"^3.9.3","uglify-js":"^2.6.2"},"engines":{"node":">= 10.0.0"},"gitHead":"02b8f64a1e298c68b4eff4c0fc6ee999cc3db783","bugs":{"url":"https://github.com/pugjs/with/issues"},"homepage":"https://github.com/pugjs/with#readme","_id":"with@7.0.1","_nodeVersion":"12.16.3","_npmVersion":"6.14.4","dist":{"shasum":"6e714121465f55d6734e5b7b9fa5351c49eb73e7","size":19579,"noattachment":false,"key":"/with/-/with-7.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/with/download/with-7.0.1.tgz"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},{"name":"with-bot","email":""}],"_npmUser":{"name":"with-bot","email":"with-bot@rollingversions.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/with_7.0.1_1590592342041_0.5151517442363276"},"_hasShrinkwrap":false,"publish_time":1590592342173,"_cnpm_publish_time":1590592342173},"7.0.1-canary-2":{"name":"with","version":"7.0.1-canary-2","description":"Compile time `with` for strict mode JavaScript","main":"lib/index.js","scripts":{"build":"tsc","postbuild":"rimraf lib/**/__tests__","lint":"tslint './src/**/*.{ts,tsx}' -t verbose -p .","prettier:write":"prettier --ignore-path .gitignore --write './**/*.{md,json,yaml,js,jsx,ts,tsx}'","prettier:check":"prettier --ignore-path .gitignore --list-different './**/*.{md,json,yaml,js,jsx,ts,tsx}'","pretest":"yarn build","test":"mocha test/index.js -R spec"},"repository":{"type":"git","url":"git+https://github.com/pugjs/with.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","dependencies":{"@babel/parser":"^7.9.6","@babel/types":"^7.9.6","assert-never":"^1.2.1","babel-walk":"3.0.0-canary-5"},"devDependencies":{"@forbeslindesay/tsconfig":"^2.0.0","@types/node":"^14.0.5","mocha":"*","prettier":"^2.0.5","rimraf":"^3.0.2","tslint":"^6.1.2","typescript":"^3.9.3","uglify-js":"^2.6.2"},"engines":{"node":">= 10.0.0"},"readmeFilename":"README.md","gitHead":"02b8f64a1e298c68b4eff4c0fc6ee999cc3db783","bugs":{"url":"https://github.com/pugjs/with/issues"},"homepage":"https://github.com/pugjs/with#readme","_id":"with@7.0.1-canary-2","_nodeVersion":"12.16.3","_npmVersion":"6.14.4","dist":{"shasum":"ff49bc52404663935a56f4dbfa39350afc698e9b","size":19582,"noattachment":false,"key":"/with/-/with-7.0.1-canary-2.tgz","tarball":"http://registry.cnpm.dingdandao.com/with/download/with-7.0.1-canary-2.tgz"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},{"name":"with-bot","email":""}],"_npmUser":{"name":"with-bot","email":"with-bot@rollingversions.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/with_7.0.1-canary-2_1590592308317_0.468911710433108"},"_hasShrinkwrap":false,"publish_time":1590592308436,"_cnpm_publish_time":1590592308436},"7.0.0":{"name":"with","version":"7.0.0","description":"Compile time `with` for strict mode JavaScript","main":"lib/index.js","scripts":{"build":"tsc","postbuild":"rimraf lib/**/__tests__","lint":"tslint './src/**/*.{ts,tsx}' -t verbose -p .","prettier:write":"prettier --ignore-path .gitignore --write './**/*.{md,json,yaml,js,jsx,ts,tsx}'","prettier:check":"prettier --ignore-path .gitignore --list-different './**/*.{md,json,yaml,js,jsx,ts,tsx}'","pretest":"yarn build","test":"mocha test/index.js -R spec"},"repository":{"type":"git","url":"git+https://github.com/pugjs/with.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","dependencies":{"@babel/parser":"^7.9.6","@babel/types":"^7.9.6","assert-never":"^1.2.1","babel-walk":"3.0.0-canary-5"},"devDependencies":{"@forbeslindesay/tsconfig":"^2.0.0","@types/node":"^14.0.5","mocha":"*","prettier":"^2.0.5","rimraf":"^3.0.2","tslint":"^6.1.2","typescript":"^3.9.3","uglify-js":"^2.6.2"},"engines":{"node":">= 10.0.0"},"gitHead":"6d6c0c0285340090f80208a1e330516834cf8824","bugs":{"url":"https://github.com/pugjs/with/issues"},"homepage":"https://github.com/pugjs/with#readme","_id":"with@7.0.0","_nodeVersion":"12.16.3","_npmVersion":"6.14.4","dist":{"shasum":"60b88622fb56482a5ba7fa8ebe1a880d7b64a6e3","size":19562,"noattachment":false,"key":"/with/-/with-7.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/with/download/with-7.0.0.tgz"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},{"name":"with-bot","email":""}],"_npmUser":{"name":"with-bot","email":"with-bot@rollingversions.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/with_7.0.0_1590445932156_0.03421315929259894"},"_hasShrinkwrap":false,"publish_time":1590445932283,"_cnpm_publish_time":1590445932283},"7.0.0-canary-1":{"name":"with","version":"7.0.0-canary-1","description":"Compile time `with` for strict mode JavaScript","main":"lib/index.js","scripts":{"build":"tsc","postbuild":"rimraf lib/**/__tests__","lint":"tslint './src/**/*.{ts,tsx}' -t verbose -p .","prettier:write":"prettier --ignore-path .gitignore --write './**/*.{md,json,yaml,js,jsx,ts,tsx}'","prettier:check":"prettier --ignore-path .gitignore --list-different './**/*.{md,json,yaml,js,jsx,ts,tsx}'","pretest":"yarn build","test":"mocha test/index.js -R spec"},"repository":{"type":"git","url":"git+https://github.com/pugjs/with.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","dependencies":{"@babel/parser":"^7.9.6","@babel/types":"^7.9.6","assert-never":"^1.2.1","babel-walk":"3.0.0-canary-5"},"devDependencies":{"@forbeslindesay/tsconfig":"^2.0.0","@types/node":"^14.0.5","mocha":"*","prettier":"^2.0.5","rimraf":"^3.0.2","tslint":"^6.1.2","typescript":"^3.9.3","uglify-js":"^2.6.2"},"engines":{"node":">= 10.0.0"},"readmeFilename":"README.md","gitHead":"6d6c0c0285340090f80208a1e330516834cf8824","bugs":{"url":"https://github.com/pugjs/with/issues"},"homepage":"https://github.com/pugjs/with#readme","_id":"with@7.0.0-canary-1","_nodeVersion":"12.16.3","_npmVersion":"6.14.4","dist":{"shasum":"de105b79b83668cfd45dd4d6347d06fcd020b872","size":19563,"noattachment":false,"key":"/with/-/with-7.0.0-canary-1.tgz","tarball":"http://registry.cnpm.dingdandao.com/with/download/with-7.0.0-canary-1.tgz"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},{"name":"with-bot","email":""}],"_npmUser":{"name":"with-bot","email":"with-bot@rollingversions.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/with_7.0.0-canary-1_1590445850256_0.0011167615742095904"},"_hasShrinkwrap":false,"publish_time":1590445850359,"_cnpm_publish_time":1590445850359},"6.0.0":{"name":"with","version":"6.0.0","description":"Compile time `with` for strict mode JavaScript","main":"lib/index.js","scripts":{"prepublish":"babel -d lib src","test":"babel-node node_modules/mocha/bin/_mocha test/index.js -R spec"},"repository":{"type":"git","url":"git+https://github.com/pugjs/with.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","dependencies":{"babel-runtime":"^6.11.6","babel-types":"^6.15.0","babylon":"^6.9.1","babylon-walk":"^1.0.2"},"devDependencies":{"babel-cli":"^6.14.0","babel-plugin-add-module-exports":"^0.2.1","babel-plugin-transform-runtime":"^6.15.0","babel-preset-es2015":"^6.14.0","mocha":"*","uglify-js":"^2.6.2"},"gitHead":"13cabec8b5dc6202c97bc102e19494329b0b9293","bugs":{"url":"https://github.com/pugjs/with/issues"},"homepage":"https://github.com/pugjs/with#readme","_id":"with@6.0.0","_npmVersion":"6.1.0","_nodeVersion":"10.3.0","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"dist":{"shasum":"00223660fa0d0aeb4776965e61f902410c4c9d86","size":6757,"noattachment":false,"key":"/with/-/with-6.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/with/download/with-6.0.0.tgz"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},{"name":"with-bot","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/with_6.0.0_1527869085615_0.8682703317474285"},"_hasShrinkwrap":false,"publish_time":1527869085733,"_cnpm_publish_time":1527869085733},"5.1.1":{"name":"with","version":"5.1.1","description":"Compile time `with` for strict mode JavaScript","main":"index.js","scripts":{"test":"mocha test/index.js -R spec"},"repository":{"type":"git","url":"git+https://github.com/pugjs/with.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","dependencies":{"acorn":"^3.1.0","acorn-globals":"^3.0.0"},"devDependencies":{"mocha":"~2.5.3","uglify-js":"^2.4.15"},"gitHead":"f82a273663f5fbbd6d8f48109ed6150a5382b7df","bugs":{"url":"https://github.com/pugjs/with/issues"},"homepage":"https://github.com/pugjs/with#readme","_id":"with@5.1.1","_shasum":"fa4daa92daf32c4ea94ed453c81f04686b575dfe","_from":".","_npmVersion":"3.8.3","_nodeVersion":"5.10.1","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},{"name":"with-bot","email":""}],"dist":{"shasum":"fa4daa92daf32c4ea94ed453c81f04686b575dfe","size":3255,"noattachment":false,"key":"/with/-/with-5.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/with/download/with-5.1.1.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/with-5.1.1.tgz_1465002459935_0.3367472938261926"},"directories":{},"publish_time":1465002462365,"_cnpm_publish_time":1465002462365,"_hasShrinkwrap":false},"5.1.0":{"name":"with","version":"5.1.0","description":"Compile time `with` for strict mode JavaScript","main":"index.js","scripts":{"test":"mocha test/index.js -R spec"},"repository":{"type":"git","url":"git+https://github.com/pugjs/with.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","dependencies":{"acorn":"^3.1.0","acorn-globals":"^3.0.0"},"devDependencies":{"mocha":"~2.5.3","uglify-js":"^2.4.15"},"gitHead":"fe635fe85e303899bda71d2e33db02620b051aa4","bugs":{"url":"https://github.com/pugjs/with/issues"},"homepage":"https://github.com/pugjs/with#readme","_id":"with@5.1.0","_shasum":"5aba66430eeacbf5bb4b457f933182adfde74728","_from":".","_npmVersion":"3.8.9","_nodeVersion":"6.2.0","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"dist":{"shasum":"5aba66430eeacbf5bb4b457f933182adfde74728","size":3939,"noattachment":false,"key":"/with/-/with-5.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/with/download/with-5.1.0.tgz"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},{"name":"with-bot","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/with-5.1.0.tgz_1464970474468_0.13334792386740446"},"directories":{},"publish_time":1464970476732,"_cnpm_publish_time":1464970476732,"_hasShrinkwrap":false},"5.0.2":{"name":"with","version":"5.0.2","description":"Compile time `with` for strict mode JavaScript","main":"index.js","scripts":{"test":"mocha test/index.js -R spec"},"repository":{"type":"git","url":"git+https://github.com/pugjs/with.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","dependencies":{"acorn":"^3.1.0","acorn-globals":"^1.0.3"},"devDependencies":{"mocha":"~1.12.0","uglify-js":"^2.4.15"},"gitHead":"9af250e656e093f53ac8023058079d7b786bf77d","bugs":{"url":"https://github.com/pugjs/with/issues"},"homepage":"https://github.com/pugjs/with#readme","_id":"with@5.0.2","_shasum":"ccc620101bd0d854a75eae49db6bfb9073e449e7","_from":".","_npmVersion":"3.8.9","_nodeVersion":"6.2.0","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"dist":{"shasum":"ccc620101bd0d854a75eae49db6bfb9073e449e7","size":3896,"noattachment":false,"key":"/with/-/with-5.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/with/download/with-5.0.2.tgz"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},{"name":"with-bot","email":""}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/with-5.0.2.tgz_1464968622058_0.7711699099745601"},"directories":{},"publish_time":1464968623578,"_cnpm_publish_time":1464968623578,"_hasShrinkwrap":false},"5.0.1":{"name":"with","version":"5.0.1","description":"Compile time `with` for strict mode JavaScript","main":"index.js","scripts":{"test":"mocha test/index.js -R spec"},"repository":{"type":"git","url":"git+https://github.com/ForbesLindesay/with.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","dependencies":{"acorn":"^3.1.0","acorn-globals":"^1.0.3"},"devDependencies":{"mocha":"~1.12.0","uglify-js":"^2.4.15"},"gitHead":"cd495641c94c6595eb6e95b1c8f525df7b21ef16","bugs":{"url":"https://github.com/ForbesLindesay/with/issues"},"homepage":"https://github.com/ForbesLindesay/with#readme","_id":"with@5.0.1","_shasum":"7c0406304f691361c435d8dcf212dcb0b396dab2","_from":".","_npmVersion":"3.8.9","_nodeVersion":"6.2.0","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"dist":{"shasum":"7c0406304f691361c435d8dcf212dcb0b396dab2","size":3901,"noattachment":false,"key":"/with/-/with-5.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/with/download/with-5.0.1.tgz"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},{"name":"with-bot","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/with-5.0.1.tgz_1464968406318_0.30175173794850707"},"directories":{},"publish_time":1464968408848,"_cnpm_publish_time":1464968408848,"_hasShrinkwrap":false},"5.0.0":{"name":"with","version":"5.0.0","description":"Compile time `with` for strict mode JavaScript","main":"index.js","scripts":{"test":"mocha test/index.js -R spec"},"repository":{"type":"git","url":"https://github.com/ForbesLindesay/with.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","dependencies":{"acorn":"^1.0.1","acorn-globals":"^1.0.3"},"devDependencies":{"mocha":"~1.12.0","uglify-js":"^2.4.15"},"gitHead":"03b473ddfbc71abe2ed73c0269ec22b30067362d","bugs":{"url":"https://github.com/ForbesLindesay/with/issues"},"homepage":"https://github.com/ForbesLindesay/with","_id":"with@5.0.0","_shasum":"e5b054aa14f7494accc69211387c65c7ac70d415","_from":".","_npmVersion":"2.7.1","_nodeVersion":"1.6.2","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},{"name":"with-bot","email":""}],"dist":{"shasum":"e5b054aa14f7494accc69211387c65c7ac70d415","size":4043,"noattachment":false,"key":"/with/-/with-5.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/with/download/with-5.0.0.tgz"},"directories":{},"publish_time":1428532943299,"_cnpm_publish_time":1428532943299,"_hasShrinkwrap":false},"4.0.3":{"name":"with","version":"4.0.3","description":"Compile time `with` for strict mode JavaScript","main":"index.js","scripts":{"test":"mocha test/index.js -R spec"},"repository":{"type":"git","url":"https://github.com/ForbesLindesay/with.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","dependencies":{"acorn":"^1.0.1","acorn-globals":"^1.0.3"},"devDependencies":{"mocha":"~1.12.0","uglify-js":"^2.4.15"},"gitHead":"38351aea899040937ab8c7c9ce43b3ad1d498bed","bugs":{"url":"https://github.com/ForbesLindesay/with/issues"},"homepage":"https://github.com/ForbesLindesay/with","_id":"with@4.0.3","_shasum":"eefd154e9e79d2c8d3417b647a8f14d9fecce14e","_from":".","_npmVersion":"2.7.1","_nodeVersion":"1.6.2","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},{"name":"with-bot","email":""}],"dist":{"shasum":"eefd154e9e79d2c8d3417b647a8f14d9fecce14e","size":4021,"noattachment":false,"key":"/with/-/with-4.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/with/download/with-4.0.3.tgz"},"directories":{},"publish_time":1428355067492,"_cnpm_publish_time":1428355067492,"_hasShrinkwrap":false},"4.0.2":{"name":"with","version":"4.0.2","description":"Compile time `with` for strict mode JavaScript","main":"index.js","scripts":{"test":"mocha test/index.js -R spec"},"repository":{"type":"git","url":"https://github.com/ForbesLindesay/with.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","dependencies":{"acorn":"^1.0.1","acorn-globals":"^1.0.1"},"devDependencies":{"mocha":"~1.12.0","uglify-js":"^2.4.15"},"gitHead":"0ef234b62e9a6a674e129122efd896a0824e0a44","bugs":{"url":"https://github.com/ForbesLindesay/with/issues"},"homepage":"https://github.com/ForbesLindesay/with","_id":"with@4.0.2","_shasum":"528547b8f394e1ee7d78257e5a810b7b43d65fee","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},{"name":"with-bot","email":""}],"dist":{"shasum":"528547b8f394e1ee7d78257e5a810b7b43d65fee","size":3295,"noattachment":false,"key":"/with/-/with-4.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/with/download/with-4.0.2.tgz"},"directories":{},"publish_time":1427588492381,"_cnpm_publish_time":1427588492381,"_hasShrinkwrap":false},"4.0.1":{"name":"with","version":"4.0.1","description":"Compile time `with` for strict mode JavaScript","main":"index.js","scripts":{"test":"mocha test/index.js -R spec"},"repository":{"type":"git","url":"https://github.com/ForbesLindesay/with.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","dependencies":{"acorn":"^0.11.0","acorn-globals":"^1.0.1"},"devDependencies":{"mocha":"~1.12.0","uglify-js":"^2.4.15"},"gitHead":"34b6905f5a2d4c9c483982cb4368f7ec2cdfe7b5","bugs":{"url":"https://github.com/ForbesLindesay/with/issues"},"homepage":"https://github.com/ForbesLindesay/with","_id":"with@4.0.1","_shasum":"accd7a7c321f2d83e303e51c02bb7eb1fff19c32","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},{"name":"with-bot","email":""}],"dist":{"shasum":"accd7a7c321f2d83e303e51c02bb7eb1fff19c32","size":3165,"noattachment":false,"key":"/with/-/with-4.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/with/download/with-4.0.1.tgz"},"directories":{},"publish_time":1423349242032,"_cnpm_publish_time":1423349242032,"_hasShrinkwrap":false},"4.0.0":{"name":"with","version":"4.0.0","description":"Compile time `with` for strict mode JavaScript","main":"index.js","scripts":{"test":"mocha test/index.js -R spec"},"repository":{"type":"git","url":"https://github.com/ForbesLindesay/with.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","dependencies":{"acorn":"^0.8.0","acorn-globals":"^1.0.1"},"devDependencies":{"mocha":"~1.12.0","uglify-js":"^2.4.15"},"gitHead":"4560e51e3bf4016eaf52b4c2156532bceb2bedb1","bugs":{"url":"https://github.com/ForbesLindesay/with/issues"},"homepage":"https://github.com/ForbesLindesay/with","_id":"with@4.0.0","_shasum":"7a78d6642d9b72960a71d1c0c45fd6dd1b878dc7","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"forbeslindesay","email":"forbes@lindeay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},{"name":"with-bot","email":""}],"dist":{"shasum":"7a78d6642d9b72960a71d1c0c45fd6dd1b878dc7","size":3199,"noattachment":false,"key":"/with/-/with-4.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/with/download/with-4.0.0.tgz"},"directories":{},"publish_time":1411402930195,"_cnpm_publish_time":1411402930195,"_hasShrinkwrap":false},"3.0.1":{"name":"with","version":"3.0.1","description":"Compile time `with` for strict mode JavaScript","main":"index.js","scripts":{"test":"mocha -R spec"},"repository":{"type":"git","url":"https://github.com/ForbesLindesay/with.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","dependencies":{"uglify-js":"~2.4.12"},"devDependencies":{"mocha":"~1.12.0"},"gitHead":"588a8a3ebeff2b539a2a361449a2c6843566aeda","bugs":{"url":"https://github.com/ForbesLindesay/with/issues"},"homepage":"https://github.com/ForbesLindesay/with","_id":"with@3.0.1","_shasum":"08354da410243cf6173fb142bb04e6c66f96f854","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"forbeslindesay","email":"forbes@lindeay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},{"name":"with-bot","email":""}],"dist":{"shasum":"08354da410243cf6173fb142bb04e6c66f96f854","size":6821,"noattachment":false,"key":"/with/-/with-3.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/with/download/with-3.0.1.tgz"},"directories":{},"publish_time":1408467927350,"_cnpm_publish_time":1408467927350,"_hasShrinkwrap":false},"3.0.0":{"name":"with","version":"3.0.0","description":"Compile time `with` for strict mode JavaScript","main":"index.js","scripts":{"test":"mocha -R spec"},"repository":{"type":"git","url":"https://github.com/ForbesLindesay/with.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","dependencies":{"uglify-js":"~2.4.12"},"devDependencies":{"mocha":"~1.12.0"},"bugs":{"url":"https://github.com/ForbesLindesay/with/issues"},"homepage":"https://github.com/ForbesLindesay/with","_id":"with@3.0.0","dist":{"shasum":"38f5d5859bb974c9dad8812372b51dae4b9594cc","size":6702,"noattachment":false,"key":"/with/-/with-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/with/download/with-3.0.0.tgz"},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"forbeslindesay","email":"forbes@lindeay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},{"name":"with-bot","email":""}],"directories":{},"publish_time":1391437718318,"_cnpm_publish_time":1391437718318,"_hasShrinkwrap":false},"2.0.0":{"name":"with","version":"2.0.0","description":"Compile time `with` for strict mode JavaScript","main":"index.js","scripts":{"test":"mocha -R spec"},"repository":{"type":"git","url":"https://github.com/ForbesLindesay/with.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","dependencies":{"uglify-js":"2.4.0"},"devDependencies":{"mocha":"~1.12.0"},"readmeFilename":"README.md","bugs":{"url":"https://github.com/ForbesLindesay/with/issues"},"_id":"with@2.0.0","dist":{"shasum":"ec01ff021db9df05639047147ede012f5e6d0afd","size":5931,"noattachment":false,"key":"/with/-/with-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/with/download/with-2.0.0.tgz"},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"forbeslindesay","email":"forbes@lindeay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},{"name":"with-bot","email":""}],"directories":{},"publish_time":1380619068479,"_cnpm_publish_time":1380619068479,"_hasShrinkwrap":false},"1.1.1":{"name":"with","version":"1.1.1","description":"Compile time `with` for strict mode JavaScript","main":"index.js","scripts":{"test":"mocha -R spec"},"repository":{"type":"git","url":"https://github.com/ForbesLindesay/with.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","dependencies":{"uglify-js":"2.4.0"},"devDependencies":{"mocha":"~1.12.0"},"readmeFilename":"README.md","bugs":{"url":"https://github.com/ForbesLindesay/with/issues"},"_id":"with@1.1.1","dist":{"shasum":"66bd6664deb318b2482dd0424ccdebe822434ac0","size":2151,"noattachment":false,"key":"/with/-/with-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/with/download/with-1.1.1.tgz"},"_from":".","_npmVersion":"1.2.32","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},{"name":"with-bot","email":""}],"directories":{},"publish_time":1377395746202,"_cnpm_publish_time":1377395746202,"_hasShrinkwrap":false},"1.1.0":{"name":"with","version":"1.1.0","description":"Compile time `with` for strict mode JavaScript","main":"index.js","scripts":{"test":"mocha -R spec"},"repository":{"type":"git","url":"https://github.com/ForbesLindesay/with.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","dependencies":{"uglify-js":"2.3.6"},"devDependencies":{"mocha":"~1.9.0"},"readmeFilename":"README.md","_id":"with@1.1.0","dist":{"shasum":"7f722ce4050ab55310777327b014194c544c66dd","size":2071,"noattachment":false,"key":"/with/-/with-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/with/download/with-1.1.0.tgz"},"_from":".","_npmVersion":"1.2.10","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},{"name":"with-bot","email":""}],"directories":{},"publish_time":1371346377310,"_cnpm_publish_time":1371346377310,"_hasShrinkwrap":false},"1.0.4":{"name":"with","version":"1.0.4","description":"Compile time `with` for strict mode JavaScript","main":"index.js","scripts":{"test":"mocha -R spec"},"repository":{"type":"git","url":"https://github.com/ForbesLindesay/with.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","dependencies":{"lexical-scope":"0.0.12"},"devDependencies":{"mocha":"~1.9.0"},"readmeFilename":"README.md","_id":"with@1.0.4","dist":{"shasum":"67b70e967742b915b1934507628151194e34daeb","size":2016,"noattachment":false,"key":"/with/-/with-1.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/with/download/with-1.0.4.tgz"},"_from":".","_npmVersion":"1.2.10","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},{"name":"with-bot","email":""}],"directories":{},"publish_time":1370016061164,"_cnpm_publish_time":1370016061164,"_hasShrinkwrap":false},"1.0.3":{"name":"with","version":"1.0.3","description":"Compile time `with` for strict mode JavaScript","main":"index.js","scripts":{"test":"mocha -R spec"},"repository":{"type":"git","url":"https://github.com/ForbesLindesay/with.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","dependencies":{"lexical-scope":"0.0.11"},"devDependencies":{"mocha":"~1.9.0"},"readmeFilename":"README.md","_id":"with@1.0.3","dist":{"shasum":"0eee05e1d49da5eb04467b5343bb49142cbc7be3","size":1907,"noattachment":false,"key":"/with/-/with-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/with/download/with-1.0.3.tgz"},"_from":".","_npmVersion":"1.2.10","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},{"name":"with-bot","email":""}],"directories":{},"publish_time":1369419074397,"_cnpm_publish_time":1369419074397,"_hasShrinkwrap":false},"1.0.2":{"name":"with","version":"1.0.2","description":"Compile time `with` for strict mode JavaScript","main":"index.js","scripts":{"test":"mocha -R spec"},"repository":{"type":"git","url":"https://github.com/ForbesLindesay/with.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","dependencies":{"lexical-scope":"0.0.11"},"devDependencies":{"mocha":"~1.9.0"},"readmeFilename":"README.md","_id":"with@1.0.2","dist":{"shasum":"8e61943446fc4cb1658d416843e635381bd8011a","size":1906,"noattachment":false,"key":"/with/-/with-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/with/download/with-1.0.2.tgz"},"_from":".","_npmVersion":"1.2.10","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},{"name":"with-bot","email":""}],"directories":{},"publish_time":1369130972988,"_cnpm_publish_time":1369130972988,"_hasShrinkwrap":false},"1.0.1":{"name":"with","version":"1.0.1","description":"Compile time `with` for strict mode JavaScript","main":"index.js","scripts":{"test":"mocha -R spec"},"repository":{"type":"git","url":"https://github.com/ForbesLindesay/with.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","dependencies":{"lexical-scope":"0.0.11"},"devDependencies":{"mocha":"~1.9.0"},"readmeFilename":"README.md","_id":"with@1.0.1","dist":{"shasum":"d6ef2fd62fd0022058f55d13af17eede5a7d905e","size":1857,"noattachment":false,"key":"/with/-/with-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/with/download/with-1.0.1.tgz"},"_from":".","_npmVersion":"1.2.10","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},{"name":"with-bot","email":""}],"directories":{},"publish_time":1369130718949,"_cnpm_publish_time":1369130718949,"_hasShrinkwrap":false},"1.0.0":{"name":"with","version":"1.0.0","description":"Compile time `with` for strict mode JavaScript","main":"index.js","scripts":{"test":"mocha -R spec"},"repository":{"type":"git","url":"https://github.com/ForbesLindesay/with.git"},"author":{"name":"ForbesLindesay"},"license":"MIT","dependencies":{"lexical-scope":"0.0.11"},"devDependencies":{"mocha":"~1.9.0"},"readmeFilename":"README.md","_id":"with@1.0.0","dist":{"shasum":"ed8fc0c2c5b5a8772db1305940f0b3a8d14c0068","size":1852,"noattachment":false,"key":"/with/-/with-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/with/download/with-1.0.0.tgz"},"_from":".","_npmVersion":"1.2.10","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},{"name":"with-bot","email":""}],"directories":{},"publish_time":1369130347739,"_cnpm_publish_time":1369130347739,"_hasShrinkwrap":false}},"readme":"# with\n\nCompile time `with` for strict mode JavaScript\n\n[![Build Status](https://img.shields.io/github/workflow/status/pugjs/with/Publish%20Canary/master?style=for-the-badge)](https://github.com/pugjs/with/actions?query=workflow%3A%22Publish+Canary%22)\n[![Rolling Versions](https://img.shields.io/badge/Rolling%20Versions-Enabled-brightgreen?style=for-the-badge)](https://rollingversions.com/pugjs/with)\n[![NPM version](https://img.shields.io/npm/v/with?style=for-the-badge)](https://www.npmjs.com/package/with)\n\n## Installation\n\n    $ npm install with\n\n## Usage\n\n```js\nvar addWith = require('with');\n\naddWith('obj', 'console.log(a)');\n// => ';(function (console, a) {\n//       console.log(a)\n//     }(\"console\" in obj ? obj.console :\n//                          typeof console!==\"undefined\" ? console : undefined,\n//       \"a\" in obj ? obj.a :\n//                    typeof a !== \"undefined\" ? a : undefined));'\n\naddWith('obj', 'console.log(a)', ['console']);\n// => ';(function (console, a) {\n//       console.log(a)\n//     }(\"a\" in obj ? obj.a :\n//                    typeof a !== \"undefined\" ? a : undefined));'\n```\n\n## API\n\n### addWith(obj, src[, exclude])\n\nThe idea is that this is roughly equivallent to:\n\n```js\nwith (obj) {\n  src;\n}\n```\n\nThere are a few differences though. For starters, assignments to variables will always remain contained within the with block.\n\ne.g.\n\n```js\nvar foo = 'foo';\nwith ({}) {\n  foo = 'bar';\n}\nassert(foo === 'bar'); // => This fails for compile time with but passes for native with\n\nvar obj = {foo: 'foo'};\nwith ({}) {\n  foo = 'bar';\n}\nassert(obj.foo === 'bar'); // => This fails for compile time with but passes for native with\n```\n\nIt also makes everything be declared, so you can always do:\n\n```js\nif (foo === undefined)\n```\n\ninstead of\n\n```js\nif (typeof foo === 'undefined')\n```\n\nThis is not the case if foo is in `exclude`. If a variable is excluded, we ignore it entirely. This is useful if you know a variable will be global as it can lead to efficiency improvements.\n\nIt is also safe to use in strict mode (unlike `with`) and it minifies properly (`with` disables virtually all minification).\n\n#### Parsing Errors\n\nwith internally uses babylon to parse code passed to `addWith`. If babylon throws an error, probably due to a syntax error, `addWith` returns an error wrapping the babylon error, so you can\nretrieve location information. `error.component` is `\"src\"` if the error is in the body or `\"obj\"` if it's in the object part of the with expression. `error.babylonError` is\nthe error thrown from babylon.\n\n## License\n\nMIT\n","_attachments":{},"homepage":"https://github.com/pugjs/with#readme","bugs":{"url":"https://github.com/pugjs/with/issues"},"license":"MIT"}