{"_id":"babel-plugin-transform-define","_rev":"3115312","name":"babel-plugin-transform-define","description":"Babel plugin that replaces member expressions and typeof statements with strings","dist-tags":{"latest":"2.1.4"},"maintainers":[{"name":"ceceppa","email":""},{"name":"formidable-owner","email":""},{"name":"formidablelabs","email":"holler@formidablelabs.com"},{"name":"keithluchtel","email":""},{"name":"mariano-formidable","email":"mariano.martinez@formidable.com"},{"name":"mjackson","email":""},{"name":"ryan.roemer","email":""},{"name":"sarahformidable","email":""},{"name":"sarmeyer","email":"sarahmichellemeyer@gmail.com"}],"time":{"modified":"2023-11-27T05:51:11.000Z","created":"2016-03-21T07:07:32.330Z","2.1.4":"2023-09-19T12:40:00.069Z","2.1.3":"2023-07-27T14:08:02.271Z","2.1.2":"2023-05-23T19:44:17.119Z","2.1.1":"2023-05-15T20:08:40.073Z","2.1.0":"2022-09-15T14:03:06.794Z","2.0.1":"2021-09-10T19:11:55.783Z","2.0.0":"2019-10-23T19:36:11.550Z","1.3.2":"2019-10-22T17:06:12.281Z","1.3.1":"2019-01-02T06:00:32.555Z","1.3.0":"2017-05-23T00:51:17.807Z","1.2.0":"2016-08-25T17:20:57.236Z","1.1.0":"2016-08-19T15:26:23.283Z","1.0.1":"2016-03-21T17:35:21.846Z","1.0.0":"2016-03-21T07:07:32.330Z"},"users":{"nraibaud":true,"sergiodxa":true,"langri-sha":true,"curiousdannii":true,"jsalis":true,"dgeibi":true},"repository":{"type":"git","url":"git+https://github.com/FormidableLabs/babel-plugin-transform-define.git"},"versions":{"2.1.4":{"name":"babel-plugin-transform-define","description":"Babel plugin that replaces member expressions and typeof statements with strings","version":"2.1.4","contributors":[{"name":"Eric Baer","email":"me@ericbaer.com","url":"https://github.com/baer"},{"name":"Michael Jackson","email":"mjijackson@gmail.com","url":"https://github.com/mjackson"},{"name":"Andy Edwards","email":"jedwards@fastmail.com","url":"https://github.com/jedwards1211"}],"homepage":"https://github.com/FormidableLabs/babel-plugin-transform-define","bugs":{"url":"https://github.com/FormidableLabs/babel-plugin-transform-define/issues"},"repository":{"type":"git","url":"git+https://github.com/FormidableLabs/babel-plugin-transform-define.git"},"private":false,"dependencies":{"lodash":"^4.17.11","traverse":"0.6.6"},"devDependencies":{"@babel/cli":"^7.15.4","@babel/core":"^7.15.5","@babel/preset-env":"^7.15.6","@changesets/cli":"^2.26.1","@svitejs/changesets-changelog-github-compact":"^0.1.1","babel-eslint":"^10.0.3","eslint":"^7.32.0","eslint-config-formidable":"^4.0.0","eslint-plugin-filenames":"^1.3.2","eslint-plugin-import":"^2.24.2","eslint-plugin-promise":"^5.1.0","mocha":"^9.1.1"},"main":"lib","scripts":{"preversion":"yarn run check","lint":"eslint .","test":"mocha test/index.js","check":"yarn run lint && yarn run test"},"engines":{"node":">= 8.x.x"},"publishConfig":{"provenance":true},"license":"MIT","keywords":["babel-plugin","babel-transform","babel","define","DefinePlugin","webpack"],"gitHead":"808eb232a7be73c991d253346dbf8da596800126","_id":"babel-plugin-transform-define@2.1.4","_nodeVersion":"18.17.1","_npmVersion":"9.6.7","dist":{"shasum":"8f7088211176a55a72788d584ceea9f691a021c1","size":5130,"noattachment":false,"key":"/babel-plugin-transform-define/-/babel-plugin-transform-define-2.1.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/babel-plugin-transform-define/download/babel-plugin-transform-define-2.1.4.tgz"},"_npmUser":{"name":"formidablelabs","email":"npm@formidablelabs.com"},"directories":{},"maintainers":[{"name":"ceceppa","email":""},{"name":"formidable-owner","email":""},{"name":"formidablelabs","email":"holler@formidablelabs.com"},{"name":"keithluchtel","email":""},{"name":"mariano-formidable","email":"mariano.martinez@formidable.com"},{"name":"mjackson","email":""},{"name":"ryan.roemer","email":""},{"name":"sarahformidable","email":""},{"name":"sarmeyer","email":"sarahmichellemeyer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-plugin-transform-define_2.1.4_1695127199858_0.3690939675433753"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-09-19T12:40:00.069Z","publish_time":1695127200069,"_source_registry_name":"default","_cnpm_publish_time":1695127200069},"2.1.3":{"name":"babel-plugin-transform-define","description":"Babel plugin that replaces member expressions and typeof statements with strings","version":"2.1.3","contributors":[{"name":"Eric Baer","email":"me@ericbaer.com","url":"https://github.com/baer"},{"name":"Michael Jackson","email":"mjijackson@gmail.com","url":"https://github.com/mjackson"},{"name":"Andy Edwards","email":"jedwards@fastmail.com","url":"https://github.com/jedwards1211"}],"homepage":"https://github.com/FormidableLabs/babel-plugin-transform-define","bugs":{"url":"https://github.com/FormidableLabs/babel-plugin-transform-define/issues"},"repository":{"type":"git","url":"git+https://github.com/FormidableLabs/babel-plugin-transform-define.git"},"private":false,"dependencies":{"lodash":"^4.17.11","traverse":"0.6.6"},"devDependencies":{"@babel/cli":"^7.15.4","@babel/core":"^7.15.5","@babel/preset-env":"^7.15.6","@changesets/cli":"^2.26.1","@svitejs/changesets-changelog-github-compact":"^0.1.1","babel-eslint":"^10.0.3","eslint":"^7.32.0","eslint-config-formidable":"^4.0.0","eslint-plugin-filenames":"^1.3.2","eslint-plugin-import":"^2.24.2","eslint-plugin-promise":"^5.1.0","mocha":"^9.1.1"},"main":"lib","scripts":{"preversion":"yarn run check","lint":"eslint .","test":"mocha test/index.js","check":"yarn run lint && yarn run test"},"engines":{"node":">= 8.x.x"},"publishConfig":{"provenance":true},"license":"MIT","keywords":["babel-plugin","babel-transform","babel","define","DefinePlugin","webpack"],"gitHead":"31c8286381b5a8e7fea2e6f0cbd8367766200d19","_id":"babel-plugin-transform-define@2.1.3","_nodeVersion":"18.17.0","_npmVersion":"9.6.7","dist":{"shasum":"dd84e224b02440a2fed0a3a231bf110803914dee","size":5070,"noattachment":false,"key":"/babel-plugin-transform-define/-/babel-plugin-transform-define-2.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/babel-plugin-transform-define/download/babel-plugin-transform-define-2.1.3.tgz"},"_npmUser":{"name":"formidablelabs","email":"npm@formidablelabs.com"},"directories":{},"maintainers":[{"name":"ceceppa","email":""},{"name":"formidable-owner","email":""},{"name":"formidablelabs","email":"holler@formidablelabs.com"},{"name":"keithluchtel","email":""},{"name":"mariano-formidable","email":"mariano.martinez@formidable.com"},{"name":"mjackson","email":""},{"name":"ryan.roemer","email":""},{"name":"sarahformidable","email":""},{"name":"sarmeyer","email":"sarahmichellemeyer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-plugin-transform-define_2.1.3_1690466882056_0.4550664941546867"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-07-27T14:08:02.271Z","publish_time":1690466882271,"_source_registry_name":"default","_cnpm_publish_time":1690466882271},"2.1.2":{"name":"babel-plugin-transform-define","description":"Babel plugin that replaces member expressions and typeof statements with strings","version":"2.1.2","contributors":[{"name":"Eric Baer","email":"me@ericbaer.com","url":"https://github.com/baer"},{"name":"Michael Jackson","email":"mjijackson@gmail.com","url":"https://github.com/mjackson"},{"name":"Andy Edwards","email":"jedwards@fastmail.com","url":"https://github.com/jedwards1211"}],"homepage":"https://github.com/FormidableLabs/babel-plugin-transform-define","bugs":{"url":"https://github.com/FormidableLabs/babel-plugin-transform-define/issues"},"repository":{"type":"git","url":"git+https://github.com/FormidableLabs/babel-plugin-transform-define.git"},"private":false,"dependencies":{"lodash":"^4.17.11","traverse":"0.6.6"},"devDependencies":{"@babel/cli":"^7.15.4","@babel/core":"^7.15.5","@babel/preset-env":"^7.15.6","@changesets/cli":"^2.26.1","@svitejs/changesets-changelog-github-compact":"^0.1.1","babel-eslint":"^10.0.3","eslint":"^7.32.0","eslint-config-formidable":"^4.0.0","eslint-plugin-filenames":"^1.3.2","eslint-plugin-import":"^2.24.2","eslint-plugin-promise":"^5.1.0","mocha":"^9.1.1"},"main":"lib","scripts":{"preversion":"yarn run check","lint":"eslint .","test":"mocha test/index.js","check":"yarn run lint && yarn run test"},"engines":{"node":">= 8.x.x"},"publishConfig":{"provenance":true},"license":"MIT","keywords":["babel-plugin","babel-transform","babel","define","DefinePlugin","webpack"],"gitHead":"456048447bd695585304791e831ca0b8c61e8315","_id":"babel-plugin-transform-define@2.1.2","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"shasum":"d23e692cf14c68af90ca81500cd953f84678ca28","size":4963,"noattachment":false,"key":"/babel-plugin-transform-define/-/babel-plugin-transform-define-2.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/babel-plugin-transform-define/download/babel-plugin-transform-define-2.1.2.tgz"},"_npmUser":{"name":"formidablelabs","email":"npm@formidablelabs.com"},"directories":{},"maintainers":[{"name":"ceceppa","email":""},{"name":"formidable-owner","email":""},{"name":"formidablelabs","email":"holler@formidablelabs.com"},{"name":"keithluchtel","email":""},{"name":"mariano-formidable","email":"mariano.martinez@formidable.com"},{"name":"mjackson","email":""},{"name":"ryan.roemer","email":""},{"name":"sarahformidable","email":""},{"name":"sarmeyer","email":"sarahmichellemeyer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-plugin-transform-define_2.1.2_1684871056929_0.0724516819020351"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-05-23T19:44:17.119Z","publish_time":1684871057119,"_source_registry_name":"default","_cnpm_publish_time":1684871057119},"2.1.1":{"name":"babel-plugin-transform-define","description":"Babel plugin that replaces member expressions and typeof statements with strings","version":"2.1.1","contributors":[{"name":"Eric Baer","email":"me@ericbaer.com","url":"https://github.com/baer"},{"name":"Michael Jackson","email":"mjijackson@gmail.com","url":"https://github.com/mjackson"},{"name":"Andy Edwards","email":"jedwards@fastmail.com","url":"https://github.com/jedwards1211"}],"homepage":"https://github.com/FormidableLabs/babel-plugin-transform-define","bugs":{"url":"https://github.com/FormidableLabs/babel-plugin-transform-define/issues"},"repository":{"type":"git","url":"git://github.com/FormidableLabs/babel-plugin-transform-define.git"},"private":false,"dependencies":{"lodash":"^4.17.11","traverse":"0.6.6"},"devDependencies":{"@babel/cli":"^7.15.4","@babel/core":"^7.15.5","@babel/preset-env":"^7.15.6","babel-eslint":"^10.0.3","eslint":"^7.32.0","eslint-config-formidable":"^4.0.0","eslint-plugin-filenames":"^1.3.2","eslint-plugin-import":"^2.24.2","eslint-plugin-promise":"^5.1.0","mocha":"^9.1.1"},"main":"lib","scripts":{"preversion":"yarn run check","lint":"eslint .","test":"mocha test/index.js","check":"yarn run lint && yarn run test"},"engines":{"node":">= 8.x.x"},"license":"MIT","keywords":["babel-plugin","babel-transform","babel","define","DefinePlugin","webpack"],"licenseText":"The MIT License (MIT)\nCopyright (c) 2016 Formidable\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","_id":"babel-plugin-transform-define@2.1.1","dist":{"shasum":"d3e1490c31f917f4d2fc524ff058f16d8c860728","size":5003,"noattachment":false,"key":"/babel-plugin-transform-define/-/babel-plugin-transform-define-2.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/babel-plugin-transform-define/download/babel-plugin-transform-define-2.1.1.tgz"},"_npmUser":{"name":"gksander","email":"gksander93@gmail.com"},"directories":{},"maintainers":[{"name":"ceceppa","email":""},{"name":"formidable-owner","email":""},{"name":"formidablelabs","email":"holler@formidablelabs.com"},{"name":"keithluchtel","email":""},{"name":"mariano-formidable","email":"mariano.martinez@formidable.com"},{"name":"mjackson","email":""},{"name":"ryan.roemer","email":""},{"name":"sarahformidable","email":""},{"name":"sarmeyer","email":"sarahmichellemeyer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-plugin-transform-define_2.1.1_1684181319939_0.2384672663829306"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-05-15T20:08:40.073Z","publish_time":1684181320073,"_source_registry_name":"default","_cnpm_publish_time":1684181320073},"2.1.0":{"name":"babel-plugin-transform-define","description":"Babel plugin that replaces member expressions and typeof statements with strings","version":"2.1.0","contributors":[{"name":"Eric Baer","email":"me@ericbaer.com","url":"https://github.com/baer"},{"name":"Michael Jackson","email":"mjijackson@gmail.com","url":"https://github.com/mjackson"},{"name":"Andy Edwards","email":"jedwards@fastmail.com","url":"https://github.com/jedwards1211"}],"homepage":"https://github.com/FormidableLabs/babel-plugin-transform-define","bugs":{"url":"https://github.com/FormidableLabs/babel-plugin-transform-define/issues"},"repository":{"type":"git","url":"git://github.com/FormidableLabs/babel-plugin-transform-define.git"},"private":false,"dependencies":{"lodash":"^4.17.11","traverse":"0.6.6"},"devDependencies":{"@babel/cli":"^7.15.4","@babel/core":"^7.15.5","@babel/preset-env":"^7.15.6","babel-eslint":"^10.0.3","eslint":"^7.32.0","eslint-config-formidable":"^4.0.0","eslint-plugin-filenames":"^1.3.2","eslint-plugin-import":"^2.24.2","eslint-plugin-promise":"^5.1.0","mocha":"^9.1.1"},"main":"lib","scripts":{"preversion":"yarn run check","lint":"eslint .","test":"mocha test/index.js","check":"yarn run lint && yarn run test"},"engines":{"node":">= 8.x.x"},"license":"MIT","keywords":["babel-plugin","babel-transform","babel","define","DefinePlugin","webpack"],"gitHead":"1458aedd418d73343539a4b41ff68e333c78468b","_id":"babel-plugin-transform-define@2.1.0","_nodeVersion":"16.15.1","_npmVersion":"8.11.0","dist":{"shasum":"32d2e97cf40cffc1b809756a258b611e72036e41","size":4826,"noattachment":false,"key":"/babel-plugin-transform-define/-/babel-plugin-transform-define-2.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/babel-plugin-transform-define/download/babel-plugin-transform-define-2.1.0.tgz"},"_npmUser":{"name":"gksander","email":"gksander93@gmail.com"},"directories":{},"maintainers":[{"name":"ceceppa","email":""},{"name":"formidable-owner","email":""},{"name":"formidablelabs","email":"holler@formidablelabs.com"},{"name":"keithluchtel","email":""},{"name":"mariano-formidable","email":"mariano.martinez@formidable.com"},{"name":"mjackson","email":""},{"name":"ryan.roemer","email":""},{"name":"sarahformidable","email":""},{"name":"sarmeyer","email":"sarahmichellemeyer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-plugin-transform-define_2.1.0_1663250586637_0.13453235356873816"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-09-15T14:21:10.468Z","publish_time":1663250586794,"_cnpm_publish_time":1663250586794},"2.0.1":{"name":"babel-plugin-transform-define","description":"Babel plugin that replaces member expressions and typeof statements with strings","version":"2.0.1","contributors":[{"name":"Eric Baer","email":"me@ericbaer.com","url":"https://github.com/baer"},{"name":"Michael Jackson","email":"mjijackson@gmail.com","url":"https://github.com/mjackson"},{"name":"Andy Edwards","email":"jedwards@fastmail.com","url":"https://github.com/jedwards1211"}],"homepage":"https://github.com/FormidableLabs/babel-plugin-transform-define","bugs":{"url":"https://github.com/FormidableLabs/babel-plugin-transform-define/issues"},"repository":{"type":"git","url":"git://github.com/FormidableLabs/babel-plugin-transform-define.git"},"private":false,"dependencies":{"lodash":"^4.17.11","traverse":"0.6.6"},"devDependencies":{"@babel/cli":"^7.6.4","@babel/core":"^7.6.4","@babel/preset-env":"^7.6.3","babel-eslint":"^10.0.3","eslint":"^5.13.0","eslint-config-formidable":"^4.0.0","eslint-plugin-filenames":"^1.3.2","eslint-plugin-import":"^2.16.0","eslint-plugin-promise":"^4.0.1","mocha":"^6.2.2"},"main":"lib","scripts":{"preversion":"yarn run check","lint":"eslint .","test":"mocha test/index.js","check":"yarn run lint && yarn run test"},"engines":{"node":">= 8.x.x"},"license":"MIT","keywords":["babel-plugin","babel-transform","babel","define","DefinePlugin","webpack"],"gitHead":"351a7a36b65e0fb2cf115f90ce59a9442912353f","_id":"babel-plugin-transform-define@2.0.1","_nodeVersion":"14.17.0","_npmVersion":"6.14.13","dist":{"shasum":"6a34fd6ea89989feb75721ee4cce817ec779be7f","size":4584,"noattachment":false,"key":"/babel-plugin-transform-define/-/babel-plugin-transform-define-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/babel-plugin-transform-define/download/babel-plugin-transform-define-2.0.1.tgz"},"_npmUser":{"name":"ryan.roemer","email":"ryan@loose-bits.com"},"directories":{},"maintainers":[{"name":"ceceppa","email":""},{"name":"formidable-owner","email":""},{"name":"formidablelabs","email":"holler@formidablelabs.com"},{"name":"keithluchtel","email":""},{"name":"mariano-formidable","email":"mariano.martinez@formidable.com"},{"name":"mjackson","email":""},{"name":"ryan.roemer","email":""},{"name":"sarahformidable","email":""},{"name":"sarmeyer","email":"sarahmichellemeyer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-plugin-transform-define_2.0.1_1631301115605_0.3499629796634727"},"_hasShrinkwrap":false,"publish_time":1631301115783,"_cnpm_publish_time":1631301115783},"2.0.0":{"name":"babel-plugin-transform-define","description":"Babel plugin that replaces member expressions and typeof statements with strings","version":"2.0.0","contributors":[{"name":"Eric Baer","email":"me@ericbaer.com","url":"https://github.com/baer"},{"name":"Michael Jackson","email":"mjijackson@gmail.com","url":"https://github.com/mjackson"},{"name":"Andy Edwards","email":"jedwards@fastmail.com","url":"https://github.com/jedwards1211"}],"homepage":"https://github.com/FormidableLabs/babel-plugin-transform-define","bugs":{"url":"https://github.com/FormidableLabs/babel-plugin-transform-define/issues"},"repository":{"type":"git","url":"git://github.com/FormidableLabs/babel-plugin-transform-define.git"},"private":false,"dependencies":{"lodash":"^4.17.11","traverse":"0.6.6"},"devDependencies":{"@babel/cli":"^7.6.4","@babel/core":"^7.6.4","@babel/preset-env":"^7.6.3","babel-eslint":"^10.0.3","eslint":"^5.13.0","eslint-config-formidable":"^4.0.0","eslint-plugin-filenames":"^1.3.2","eslint-plugin-import":"^2.16.0","eslint-plugin-promise":"^4.0.1","mocha":"^6.2.2"},"main":"lib","scripts":{"preversion":"yarn run check","lint":"eslint .","test":"mocha test/index.js","check":"yarn run lint && yarn run test"},"engines":{"node":">= 8.x.x"},"license":"MIT","keywords":["babel-plugin","babel-transform","babel","define","DefinePlugin","webpack"],"gitHead":"6f96ff73a4cca0c3e1d9b261b11af82caeebba06","_id":"babel-plugin-transform-define@2.0.0","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"ryan.roemer","email":"ryan@loose-bits.com"},"dist":{"shasum":"79c3536635f899aabaf830b194b25519465675a4","size":4224,"noattachment":false,"key":"/babel-plugin-transform-define/-/babel-plugin-transform-define-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/babel-plugin-transform-define/download/babel-plugin-transform-define-2.0.0.tgz"},"maintainers":[{"name":"ceceppa","email":""},{"name":"formidable-owner","email":""},{"name":"formidablelabs","email":"holler@formidablelabs.com"},{"name":"keithluchtel","email":""},{"name":"mariano-formidable","email":"mariano.martinez@formidable.com"},{"name":"mjackson","email":""},{"name":"ryan.roemer","email":""},{"name":"sarahformidable","email":""},{"name":"sarmeyer","email":"sarahmichellemeyer@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-plugin-transform-define_2.0.0_1571859371415_0.3611676548180702"},"_hasShrinkwrap":false,"publish_time":1571859371550,"_cnpm_publish_time":1571859371550},"1.3.2":{"name":"babel-plugin-transform-define","description":"Babel plugin that replaces member expressions and typeof statements with strings","version":"1.3.2","contributors":[{"name":"Eric Baer","email":"me@ericbaer.com","url":"https://github.com/baer"},{"name":"Michael Jackson","email":"mjijackson@gmail.com","url":"https://github.com/mjackson"},{"name":"Andy Edwards","email":"jedwards@fastmail.com","url":"https://github.com/jedwards1211"}],"homepage":"https://github.com/FormidableLabs/babel-plugin-transform-define","bugs":{"url":"https://github.com/FormidableLabs/babel-plugin-transform-define/issues"},"repository":{"type":"git","url":"git://github.com/FormidableLabs/babel-plugin-transform-define.git"},"private":false,"dependencies":{"lodash":"^4.17.11","traverse":"0.6.6"},"devDependencies":{"assert-transform":"^1.0.0","babel-cli":"^6.6.5","babel-core":"^6.13.2","babel-eslint":"6.1.2","babel-preset-es2015":"^6.6.0","eslint":"3.19.0","eslint-config-formidable":"3.0.0","eslint-plugin-filenames":"1.1.0","eslint-plugin-import":"1.13.0","mocha":"^5.2.0","rimraf":"^2.5.2"},"main":"lib","scripts":{"preversion":"yarn clean && yarn build && yarn run check","clean":"rimraf lib","build":"babel src -d lib","lint":"eslint src","test":"mocha test/index.js","check":"yarn run lint && yarn run test"},"engines":{"node":">= 4.x.x"},"license":"MIT","keywords":["babel-plugin","babel-transform","babel","define","DefinePlugin","webpack"],"gitHead":"4d29517c33d094775e0f50d8b6959090cabae62d","_id":"babel-plugin-transform-define@1.3.2","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"ryan.roemer","email":"ryan@loose-bits.com"},"dist":{"shasum":"4bdbfe35a839fc206e0f60a7a9ae3b82d5e11808","size":4542,"noattachment":false,"key":"/babel-plugin-transform-define/-/babel-plugin-transform-define-1.3.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/babel-plugin-transform-define/download/babel-plugin-transform-define-1.3.2.tgz"},"maintainers":[{"name":"ceceppa","email":""},{"name":"formidable-owner","email":""},{"name":"formidablelabs","email":"holler@formidablelabs.com"},{"name":"keithluchtel","email":""},{"name":"mariano-formidable","email":"mariano.martinez@formidable.com"},{"name":"mjackson","email":""},{"name":"ryan.roemer","email":""},{"name":"sarahformidable","email":""},{"name":"sarmeyer","email":"sarahmichellemeyer@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-plugin-transform-define_1.3.2_1571763972156_0.8502058220897994"},"_hasShrinkwrap":false,"publish_time":1571763972281,"_cnpm_publish_time":1571763972281},"1.3.1":{"name":"babel-plugin-transform-define","description":"Babel plugin that replaces member expressions and typeof statements with strings","version":"1.3.1","contributors":[{"name":"Eric Baer","email":"me@ericbaer.com","url":"https://github.com/baer"},{"name":"Michael Jackson","email":"mjijackson@gmail.com","url":"https://github.com/mjackson"},{"name":"Andy Edwards","email":"jedwards@fastmail.com","url":"https://github.com/jedwards1211"}],"homepage":"https://github.com/FormidableLabs/babel-plugin-transform-define","bugs":{"url":"https://github.com/FormidableLabs/babel-plugin-transform-define/issues"},"repository":{"type":"git","url":"git://github.com/FormidableLabs/babel-plugin-transform-define.git"},"private":false,"dependencies":{"lodash":"^4.17.11","traverse":"0.6.6"},"devDependencies":{"assert-transform":"^1.0.0","babel-cli":"^6.6.5","babel-core":"^6.13.2","babel-eslint":"6.1.2","babel-preset-es2015":"^6.6.0","eslint":"3.19.0","eslint-config-formidable":"3.0.0","eslint-plugin-filenames":"1.1.0","eslint-plugin-import":"1.13.0","mocha":"^5.2.0","rimraf":"^2.5.2"},"main":"lib","scripts":{"build":"babel ./src -d lib","check":"npm run clean && npm run build && npm run test && npm run lint","clean":"rimraf lib/","lint":"eslint src","prepublish":"npm run clean && npm run build","release":"node ./scripts/release.js","test":"mocha ./test/index.js"},"engines":{"node":">= 4.x.x"},"license":"MIT","keywords":["babel-plugin","babel-transform","babel","define","DefinePlugin","webpack"],"gitHead":"13615f72b23f76fc2c2a339387295297c333cdf7","_id":"babel-plugin-transform-define@1.3.1","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"boygirl","email":"lauren.eastridge@formidable.com"},"dist":{"shasum":"b21b7bad3b84cf8e3f07cdc8c660b99cbbc01213","size":7841,"noattachment":false,"key":"/babel-plugin-transform-define/-/babel-plugin-transform-define-1.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/babel-plugin-transform-define/download/babel-plugin-transform-define-1.3.1.tgz"},"maintainers":[{"name":"ceceppa","email":""},{"name":"formidable-owner","email":""},{"name":"formidablelabs","email":"holler@formidablelabs.com"},{"name":"keithluchtel","email":""},{"name":"mariano-formidable","email":"mariano.martinez@formidable.com"},{"name":"mjackson","email":""},{"name":"ryan.roemer","email":""},{"name":"sarahformidable","email":""},{"name":"sarmeyer","email":"sarahmichellemeyer@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-plugin-transform-define_1.3.1_1546408832426_0.29584924782736"},"_hasShrinkwrap":false,"publish_time":1546408832555,"_cnpm_publish_time":1546408832555},"1.3.0":{"name":"babel-plugin-transform-define","description":"Babel plugin that replaces member expressions and typeof statements with strings","version":"1.3.0","contributors":[{"name":"Eric Baer","email":"me@ericbaer.com","url":"https://github.com/baer"},{"name":"Michael Jackson","email":"mjijackson@gmail.com","url":"https://github.com/mjackson"},{"name":"Andy Edwards","email":"jedwards@fastmail.com","url":"https://github.com/jedwards1211"}],"homepage":"https://github.com/FormidableLabs/babel-plugin-transform-define","bugs":{"url":"https://github.com/FormidableLabs/babel-plugin-transform-define/issues"},"repository":{"type":"git","url":"git://github.com/FormidableLabs/babel-plugin-transform-define.git"},"private":false,"dependencies":{"lodash":"4.17.4","traverse":"0.6.6"},"devDependencies":{"assert-transform":"^1.0.0","babel-core":"^6.13.2","babel-cli":"^6.6.5","babel-eslint":"6.1.2","babel-preset-es2015":"^6.6.0","eslint-config-formidable":"3.0.0","eslint-plugin-filenames":"1.1.0","eslint-plugin-import":"1.13.0","eslint":"3.19.0","mocha":"^3.0.2","rimraf":"^2.5.2"},"main":"lib","scripts":{"build":"babel ./src -d lib","check":"npm run clean && npm run build && npm run test && npm run lint","clean":"rimraf lib/","lint":"eslint src","prepublish":"npm run clean && npm run build","release":"node ./scripts/release.js","test":"mocha ./test/index.js"},"engines":{"node":">= 4.x.x"},"license":"MIT","keywords":["babel-plugin","babel-transform","babel","define","DefinePlugin","webpack"],"gitHead":"43e7a1efa32e96aec0c9f408d77e41ae882e527f","_id":"babel-plugin-transform-define@1.3.0","_shasum":"94c5f9459c810c738cc7c50cbd44a31829d6f319","_from":".","_npmVersion":"4.5.0","_nodeVersion":"6.10.3","_npmUser":{"name":"baer","email":"me@ericbaer.com"},"dist":{"shasum":"94c5f9459c810c738cc7c50cbd44a31829d6f319","size":7907,"noattachment":false,"key":"/babel-plugin-transform-define/-/babel-plugin-transform-define-1.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/babel-plugin-transform-define/download/babel-plugin-transform-define-1.3.0.tgz"},"maintainers":[{"name":"ceceppa","email":""},{"name":"formidable-owner","email":""},{"name":"formidablelabs","email":"holler@formidablelabs.com"},{"name":"keithluchtel","email":""},{"name":"mariano-formidable","email":"mariano.martinez@formidable.com"},{"name":"mjackson","email":""},{"name":"ryan.roemer","email":""},{"name":"sarahformidable","email":""},{"name":"sarmeyer","email":"sarahmichellemeyer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-plugin-transform-define-1.3.0.tgz_1495500677725_0.25295560946688056"},"directories":{},"publish_time":1495500677807,"_hasShrinkwrap":false,"_cnpm_publish_time":1495500677807},"1.2.0":{"name":"babel-plugin-transform-define","description":"Babel plugin that replaces member expressions and typeof statements with strings","version":"1.2.0","contributors":[{"name":"Eric Baer","email":"me@ericbaer.com","url":"https://github.com/baer"},{"name":"Michael Jackson","email":"mjijackson@gmail.com","url":"https://github.com/mjackson"}],"homepage":"https://github.com/FormidableLabs/babel-plugin-transform-define","bugs":{"url":"https://github.com/FormidableLabs/babel-plugin-transform-define/issues"},"repository":{"type":"git","url":"git://github.com/FormidableLabs/babel-plugin-transform-define.git"},"private":false,"dependencies":{"lodash.get":"4.4.2","traverse":"0.6.6"},"devDependencies":{"assert-transform":"^1.0.0","babel-core":"^6.13.2","babel-cli":"^6.6.5","babel-eslint":"6.1.2","babel-preset-es2015":"^6.6.0","eslint-config-formidable":"1.0.1","eslint-plugin-filenames":"1.1.0","eslint-plugin-import":"1.13.0","eslint":"2.10.2","mocha":"^3.0.2","rimraf":"^2.5.2"},"main":"lib","scripts":{"build":"babel ./src -d lib","check":"npm run clean && npm run build && npm run test && npm run lint","clean":"rimraf lib/","lint":"eslint src","prepublish":"npm run clean && npm run build","release":"node ./scripts/release.js","test":"mocha ./test/index.js"},"engines":{"node":">= 4.x.x"},"license":"MIT","keywords":["babel-plugin","babel-transform","babel","define","DefinePlugin","webpack"],"gitHead":"cb7a530195638f025eae5ae2274f1b6b2647766d","_id":"babel-plugin-transform-define@1.2.0","_shasum":"f036bda05162f29a542e434f585da1ccf1e7ec6a","_from":".","_npmVersion":"3.10.6","_nodeVersion":"4.4.7","_npmUser":{"name":"formidable","email":"admin@formidablelabs.com"},"dist":{"shasum":"f036bda05162f29a542e434f585da1ccf1e7ec6a","size":7505,"noattachment":false,"key":"/babel-plugin-transform-define/-/babel-plugin-transform-define-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/babel-plugin-transform-define/download/babel-plugin-transform-define-1.2.0.tgz"},"maintainers":[{"name":"ceceppa","email":""},{"name":"formidable-owner","email":""},{"name":"formidablelabs","email":"holler@formidablelabs.com"},{"name":"keithluchtel","email":""},{"name":"mariano-formidable","email":"mariano.martinez@formidable.com"},{"name":"mjackson","email":""},{"name":"ryan.roemer","email":""},{"name":"sarahformidable","email":""},{"name":"sarmeyer","email":"sarahmichellemeyer@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/babel-plugin-transform-define-1.2.0.tgz_1472145657009_0.31527472543530166"},"directories":{},"publish_time":1472145657236,"_cnpm_publish_time":1472145657236,"_hasShrinkwrap":false},"1.1.0":{"name":"babel-plugin-transform-define","description":"Babel plugin that replaces member expressions and typeof statements with strings","version":"1.1.0","author":{"name":"Michael Jackson"},"homepage":"https://github.com/FormidableLabs/babel-plugin-transform-define","bugs":{"url":"https://github.com/FormidableLabs/babel-plugin-transform-define/issues"},"repository":{"type":"git","url":"git://github.com/FormidableLabs/babel-plugin-transform-define.git"},"private":false,"dependencies":{},"devDependencies":{"assert-transform":"^1.0.0","babel-core":"^6.13.2","babel-cli":"^6.6.5","babel-eslint":"6.1.2","babel-preset-es2015":"^6.6.0","eslint-config-formidable":"1.0.1","eslint-plugin-filenames":"1.1.0","eslint-plugin-import":"1.13.0","eslint":"2.10.2","readline-sync":"^1.4.1","mocha":"^3.0.2","rimraf":"^2.5.2"},"main":"lib","scripts":{"build":"babel ./modules -d lib","check":"npm run clean && npm run build && npm run test && npm run lint","clean":"rimraf lib/","lint":"eslint modules","prepublish":"npm run clean && npm run build","release":"node ./scripts/release.js","test":"mocha ./test/index.js"},"engines":{"node":">= 4.x.x"},"license":"MIT","gitHead":"ad3c122ebfab61d67e46f7530f324b1d582c2eac","_id":"babel-plugin-transform-define@1.1.0","_shasum":"d99617425b9bfe89fa8ce198c223d2ad486b652b","_from":".","_npmVersion":"3.10.6","_nodeVersion":"4.4.7","_npmUser":{"name":"formidable","email":"admin@formidablelabs.com"},"dist":{"shasum":"d99617425b9bfe89fa8ce198c223d2ad486b652b","size":6039,"noattachment":false,"key":"/babel-plugin-transform-define/-/babel-plugin-transform-define-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/babel-plugin-transform-define/download/babel-plugin-transform-define-1.1.0.tgz"},"maintainers":[{"name":"ceceppa","email":""},{"name":"formidable-owner","email":""},{"name":"formidablelabs","email":"holler@formidablelabs.com"},{"name":"keithluchtel","email":""},{"name":"mariano-formidable","email":"mariano.martinez@formidable.com"},{"name":"mjackson","email":""},{"name":"ryan.roemer","email":""},{"name":"sarahformidable","email":""},{"name":"sarmeyer","email":"sarahmichellemeyer@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/babel-plugin-transform-define-1.1.0.tgz_1471620383056_0.3930513598024845"},"directories":{},"publish_time":1471620383283,"_cnpm_publish_time":1471620383283,"_hasShrinkwrap":false},"1.0.1":{"name":"babel-plugin-transform-define","version":"1.0.1","description":"Babel plugin that replaces member expressions and typeof statements with strings","author":{"name":"Michael Jackson"},"license":"MIT","main":"lib","scripts":{"build":"rimraf lib && babel ./modules -d lib","release":"node ./scripts/release.js","prepublish":"npm run build"},"dependencies":{"babel-cli":"^6.6.5","babel-preset-es2015":"^6.6.0","rimraf":"^2.5.2"},"babel":{"presets":["es2015"]},"repository":{"type":"git","url":"git+https://github.com/mjackson/babel-plugin-transform-define.git"},"devDependencies":{"readline-sync":"^1.4.1"},"gitHead":"274ab3eb80749f07e502932e03ee2f1c58718edd","bugs":{"url":"https://github.com/mjackson/babel-plugin-transform-define/issues"},"homepage":"https://github.com/mjackson/babel-plugin-transform-define#readme","_id":"babel-plugin-transform-define@1.0.1","_shasum":"4b353b07941911ca9cde8a268b1fda66f4c71b98","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.3.0","_npmUser":{"name":"mjackson","email":"mjijackson@gmail.com"},"dist":{"shasum":"4b353b07941911ca9cde8a268b1fda66f4c71b98","size":2376,"noattachment":false,"key":"/babel-plugin-transform-define/-/babel-plugin-transform-define-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/babel-plugin-transform-define/download/babel-plugin-transform-define-1.0.1.tgz"},"maintainers":[{"name":"ceceppa","email":""},{"name":"formidable-owner","email":""},{"name":"formidablelabs","email":"holler@formidablelabs.com"},{"name":"keithluchtel","email":""},{"name":"mariano-formidable","email":"mariano.martinez@formidable.com"},{"name":"mjackson","email":""},{"name":"ryan.roemer","email":""},{"name":"sarahformidable","email":""},{"name":"sarmeyer","email":"sarahmichellemeyer@gmail.com"}],"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/babel-plugin-transform-define-1.0.1.tgz_1458581721376_0.012796635506674647"},"directories":{},"publish_time":1458581721846,"_cnpm_publish_time":1458581721846,"_hasShrinkwrap":false},"1.0.0":{"name":"babel-plugin-transform-define","version":"1.0.0","description":"Babel plugin that replaces member expressions and typeof statements with strings","author":{"name":"Michael Jackson"},"license":"MIT","main":"lib","scripts":{"build":"rimraf lib && babel ./modules -d lib","release":"node ./scripts/release.js","prepublish":"npm run build"},"dependencies":{"babel-cli":"^6.6.5","babel-preset-es2015":"^6.6.0","rimraf":"^2.5.2"},"babel":{"presets":["es2015"]},"repository":{"type":"git","url":"git+https://github.com/mjackson/babel-plugin-transform-define.git"},"devDependencies":{"readline-sync":"^1.4.1"},"gitHead":"c745eb81a8c4169beaa2da62ff621b829071d0e3","bugs":{"url":"https://github.com/mjackson/babel-plugin-transform-define/issues"},"homepage":"https://github.com/mjackson/babel-plugin-transform-define#readme","_id":"babel-plugin-transform-define@1.0.0","_shasum":"4dc6ee7e4ac3c8670c99c9b7014d7dc43890c5c2","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.3.0","_npmUser":{"name":"mjackson","email":"mjijackson@gmail.com"},"dist":{"shasum":"4dc6ee7e4ac3c8670c99c9b7014d7dc43890c5c2","size":2306,"noattachment":false,"key":"/babel-plugin-transform-define/-/babel-plugin-transform-define-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/babel-plugin-transform-define/download/babel-plugin-transform-define-1.0.0.tgz"},"maintainers":[{"name":"ceceppa","email":""},{"name":"formidable-owner","email":""},{"name":"formidablelabs","email":"holler@formidablelabs.com"},{"name":"keithluchtel","email":""},{"name":"mariano-formidable","email":"mariano.martinez@formidable.com"},{"name":"mjackson","email":""},{"name":"ryan.roemer","email":""},{"name":"sarahformidable","email":""},{"name":"sarmeyer","email":"sarahmichellemeyer@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/babel-plugin-transform-define-1.0.0.tgz_1458544051864_0.3124631862156093"},"directories":{},"publish_time":1458544052330,"_cnpm_publish_time":1458544052330,"_hasShrinkwrap":false}},"readme":"<a href=\"https://formidable.com/open-source/\" target=\"_blank\">\n  <img alt=\"Babel Plugin Transform Define — Formidable, We build the modern web\" src=\"https://raw.githubusercontent.com/FormidableLabs/babel-plugin-transform-define/master/babel-plugin-transform-define-Hero.png\" />\n</a>\n\n<p align=\"center\">\n  <a title='Build Status' href=\"https://raw.githubusercontent.com/FormidableLabs/babel-plugin-transform-define/master/LICENSE\">\n    <img src='https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square' />\n  </a>\n  <a href=\"https://badge.fury.io/js/babel-plugin-transform-define\">\n    <img src=\"https://badge.fury.io/js/babel-plugin-transform-define.svg\" alt=\"npm version\" height=\"18\">\n  </a>\n  <a href='https://github.com/FormidableLabs/babel-plugin-transform-define/actions'>\n    <img src='https://github.com/FormidableLabs/babel-plugin-transform-define/workflows/CI/badge.svg' />\n  </a>\n  <a href='https://github.com/FormidableLabs/babel-plugin-transform-define#maintenance-status'>\n    <img alt=\"Maintenance Status\" src='https://img.shields.io/badge/maintenance-stable-yellow.svg?color=yellow&style=flat' />\n  </a>\n</p>\n\n<h4 align=\"center\">\n  Compile time code replacement for babel similar to Webpack's <a href='https://webpack.js.org/plugins/define-plugin/'>DefinePlugin</a>\n</h4>\n\n***\n\n## Quick Start\n\n```shell\n$ npm install --save-dev babel-plugin-transform-define\n```\n\n**.babelrc**\n\n```json\n{\n  \"plugins\": [\n    [\"transform-define\", {\n      \"process.env.NODE_ENV\": \"production\",\n      \"typeof window\": \"object\"\n    }]\n  ]\n}\n```\n\n**.babelrc.js**\n\n```js\n// E.g., any dynamic logic with JS, environment variables, etc.\nconst overrides = require(\"./another-path.js\");\n\nmodule.exports = {\n  plugins: [\n    [\"transform-define\", {\n      \"process.env.NODE_ENV\": \"production\",\n      \"typeof window\": \"object\",\n      ...overrides\n    }]\n  ]\n};\n```\n\n## Reference Documentation\n\n`babel-plugin-transform-define` can transform certain types of code as a babel transformation.\n\n##### `Identifiers`\n\n*.babelrc*\n```json\n{\n  \"plugins\": [\n    [\"transform-define\", {\n      \"VERSION\": \"1.0.0\",\n    }]\n  ]\n}\n```\n\n*Source Code*\n```js\nVERSION;\n\nwindow.__MY_COMPANY__ = {\n  version: VERSION\n};\n```\n\n*Output Code*\n```js\n\"1.0.0\";\n\nwindow.__MY_COMPANY__ = {\n  version: \"1.0.0\"\n};\n```\n***\n##### `Member Expressions`\n\n*.babelrc*\n```json\n{\n  \"plugins\": [\n    [\"transform-define\", {\n      \"process.env.NODE_ENV\": \"production\"\n    }]\n  ]\n}\n```\n\n*Source Code*\n```js\nif (process.env.NODE_ENV === \"production\") {\n  console.log(true);\n}\n```\n\n*Output Code*\n```js\nif (true) {\n  console.log(true);\n}\n```\n***\n##### `Unary Expressions`\n\n*.babelrc*\n```json\n{\n  \"plugins\": [\n    [\"transform-define\", {\n      \"typeof window\": \"object\"\n    }]\n  ]\n}\n```\n\n*Source Code*\n```js\ntypeof window;\ntypeof window === \"object\";\n```\n\n*Output Code*\n```js\n'object';\ntrue;\n```\n\n\n***\n\n## License\n\n[MIT License](http://opensource.org/licenses/MIT)\n\n\n## Maintenance Status\n\n**Stable:** Formidable is not planning to develop any new features for this project. We are still responding to bug reports and security concerns. We are still welcoming PRs for this project, but PRs that include new features should be small and easy to integrate and should not include breaking changes.\n","_attachments":{},"homepage":"https://github.com/FormidableLabs/babel-plugin-transform-define","bugs":{"url":"https://github.com/FormidableLabs/babel-plugin-transform-define/issues"},"license":"MIT"}