{"_id":"babel-plugin-transform-builtin-extend","_rev":"15-d5b1240611cba777875c8290d522e29a","name":"babel-plugin-transform-builtin-extend","description":"A plugin for Babel 6 supports extending from builtin types based on static analysis.","dist-tags":{"latest":"1.1.2"},"versions":{"1.0.0":{"name":"babel-plugin-transform-builtin-extend","description":"A plugin for Babel 6 supports extending from builtin types based on static analysis.","version":"1.0.0","author":{"name":"Logan Smyth","email":"loganfsmyth@gmail.com"},"main":"lib","license":"MIT","repository":{"type":"git","url":"git+https://github.com/loganfsmyth/babel-plugin-transform-builtin-extend.git"},"bugs":{"url":"https://github.com/loganfsmyth/babel-plugin-transform-builtin-extend/issues"},"keywords":["babel","babel-plugin","es6","classes"],"devDependencies":{"babel-cli":"^6.2.0","babel-plugin-transform-runtime":"^6.1.18","babel-preset-es2015":"^6.1.18","chai":"^3.4.1","mocha":"^2.3.4"},"dependencies":{"babel-runtime":"^6.2.0","babel-template":"^6.3.0"},"scripts":{"build":"babel src -d lib","watch":"babel src -d lib -w","prepublish":"npm run build","test":"babel-node node_modules/.bin/_mocha --recursive test"},"gitHead":"544c5416fdc82fff8aa4f479ecfc124eb4767887","homepage":"https://github.com/loganfsmyth/babel-plugin-transform-builtin-extend#readme","_id":"babel-plugin-transform-builtin-extend@1.0.0","_shasum":"ad592fbd563ab4b72f844765a39c0e332c879b23","_from":".","_npmVersion":"3.4.1","_nodeVersion":"5.1.0","_npmUser":{"name":"loganfsmyth","email":"loganfsmyth@gmail.com"},"dist":{"shasum":"ad592fbd563ab4b72f844765a39c0e332c879b23","tarball":"https://registry.npmjs.org/babel-plugin-transform-builtin-extend/-/babel-plugin-transform-builtin-extend-1.0.0.tgz","integrity":"sha512-auKzA1pFpA1GASr2ceVmvsmNWu0tFsTE7M0BTVo1kMoGFhaZHNPo+FfHy/OxE2cYx/WXJb6/wNszZ9H3uO+O8g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD/9fOKu1ZBeOlAlwXASOr/GRaR+7pN6hAXxBDmsj8PWQIhAO/PjDcx/Xbbs2sBCgMYVsu46sm5LserK2jv8y631flF"}]},"maintainers":[{"name":"loganfsmyth","email":"loganfsmyth@gmail.com"}],"directories":{}},"1.1.0":{"name":"babel-plugin-transform-builtin-extend","description":"A plugin for Babel 6 supports extending from builtin types based on static analysis.","version":"1.1.0","author":{"name":"Logan Smyth","email":"loganfsmyth@gmail.com"},"main":"lib","license":"MIT","repository":{"type":"git","url":"git+https://github.com/loganfsmyth/babel-plugin-transform-builtin-extend.git"},"bugs":{"url":"https://github.com/loganfsmyth/babel-plugin-transform-builtin-extend/issues"},"keywords":["babel","babel-plugin","es6","classes"],"devDependencies":{"babel-cli":"^6.2.0","babel-plugin-transform-runtime":"^6.1.18","babel-preset-es2015":"^6.1.18","chai":"^3.4.1","mocha":"^2.3.4"},"dependencies":{"babel-runtime":"^6.2.0","babel-template":"^6.3.0"},"scripts":{"build":"babel src -d lib","watch":"babel src -d lib -w","prepublish":"npm run build","test":"babel-node node_modules/.bin/_mocha --recursive test"},"gitHead":"bd8e26e70571c3b0d30455ff8e91c70b9236b4d0","homepage":"https://github.com/loganfsmyth/babel-plugin-transform-builtin-extend#readme","_id":"babel-plugin-transform-builtin-extend@1.1.0","_shasum":"460c9f3801467ea373366987c9638f939867dfa4","_from":".","_npmVersion":"3.4.1","_nodeVersion":"5.1.0","_npmUser":{"name":"loganfsmyth","email":"loganfsmyth@gmail.com"},"dist":{"shasum":"460c9f3801467ea373366987c9638f939867dfa4","tarball":"https://registry.npmjs.org/babel-plugin-transform-builtin-extend/-/babel-plugin-transform-builtin-extend-1.1.0.tgz","integrity":"sha512-ONSMF/cAq3lJGr4bbbkQhIH3uQjfZSCxEMHgcw2EdVQCUnc0Kc2m0kIDqEmvwpvayyoXdTv/FhdfNKaReaSHdA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCG/VsVtCYgpAnSyvrpp6WTV5Fz/unywtjOdRLbHpYe1gIhALuUktsZNP/PrefW9FojE+lRFhBpILHFOj7u9aGPm4UR"}]},"maintainers":[{"name":"loganfsmyth","email":"loganfsmyth@gmail.com"}],"directories":{}},"1.1.1":{"name":"babel-plugin-transform-builtin-extend","description":"A plugin for Babel 6 supports extending from builtin types based on static analysis.","version":"1.1.1","author":{"name":"Logan Smyth","email":"loganfsmyth@gmail.com"},"main":"lib","license":"MIT","repository":{"type":"git","url":"git+https://github.com/loganfsmyth/babel-plugin-transform-builtin-extend.git"},"bugs":{"url":"https://github.com/loganfsmyth/babel-plugin-transform-builtin-extend/issues"},"keywords":["babel","babel-plugin","es6","classes"],"devDependencies":{"babel-cli":"^6.2.0","babel-plugin-transform-runtime":"^6.1.18","babel-preset-es2015":"^6.1.18","chai":"^3.4.1","mocha":"^2.3.4"},"dependencies":{"babel-runtime":"^6.2.0","babel-template":"^6.3.0"},"scripts":{"build":"babel src -d lib","watch":"babel src -d lib -w","prepublish":"npm run build","test":"babel-node node_modules/.bin/_mocha --recursive test"},"gitHead":"e89e5cd253e0cfd13c3d584b3e6e2e660bdc4a61","homepage":"https://github.com/loganfsmyth/babel-plugin-transform-builtin-extend#readme","_id":"babel-plugin-transform-builtin-extend@1.1.1","_shasum":"c84de34ac739b5d1ba0df16c095108ab945f5d77","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"loganfsmyth","email":"loganfsmyth@gmail.com"},"dist":{"shasum":"c84de34ac739b5d1ba0df16c095108ab945f5d77","tarball":"https://registry.npmjs.org/babel-plugin-transform-builtin-extend/-/babel-plugin-transform-builtin-extend-1.1.1.tgz","integrity":"sha512-phRgQXNHgoLCkTDjrtZskpyoiFBUcEB77SdQXQ7yeUUWS1v4OtIgVDy0RwUw/5iv1S/XxvIYgkm2OfzTgSqYrw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCWuFJmWqeAPmYqb6j9waVxzBdeQiO4b2pZPz1DWrromQIhAPj99CQNet3s9Li01aYDA6p/HecacVSbsZWpR/8huRL4"}]},"maintainers":[{"name":"loganfsmyth","email":"loganfsmyth@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/babel-plugin-transform-builtin-extend-1.1.1.tgz_1486754830518_0.032872534822672606"},"directories":{}},"1.1.2":{"name":"babel-plugin-transform-builtin-extend","description":"A plugin for Babel 6 supports extending from builtin types based on static analysis.","version":"1.1.2","author":{"name":"Logan Smyth","email":"loganfsmyth@gmail.com"},"main":"lib","license":"MIT","repository":{"type":"git","url":"git+https://github.com/loganfsmyth/babel-plugin-transform-builtin-extend.git"},"bugs":{"url":"https://github.com/loganfsmyth/babel-plugin-transform-builtin-extend/issues"},"keywords":["babel","babel-plugin","es6","classes"],"devDependencies":{"babel-cli":"^6.2.0","babel-plugin-transform-runtime":"^6.1.18","babel-preset-es2015":"^6.1.18","chai":"^3.4.1","mocha":"^2.3.4"},"dependencies":{"babel-runtime":"^6.2.0","babel-template":"^6.3.0"},"scripts":{"build":"babel src -d lib","watch":"babel src -d lib -w","prepublish":"npm run build","test":"babel-node node_modules/.bin/_mocha --recursive test"},"gitHead":"96c102445b8ff8949d44aa2ba083b9aaacee5149","homepage":"https://github.com/loganfsmyth/babel-plugin-transform-builtin-extend#readme","_id":"babel-plugin-transform-builtin-extend@1.1.2","_shasum":"5e96fecf58b8fa1ed74efcad88475b2af3c9116e","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"loganfsmyth","email":"loganfsmyth@gmail.com"},"dist":{"shasum":"5e96fecf58b8fa1ed74efcad88475b2af3c9116e","tarball":"https://registry.npmjs.org/babel-plugin-transform-builtin-extend/-/babel-plugin-transform-builtin-extend-1.1.2.tgz","integrity":"sha512-foUQxHjMiLNynzJaBKrIoZfoRY22S620MLafGC5UfnBEwqcBODIFcgwqqzHE8Hj590lbUJCQ2uBo9y08+sYIkQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCSNSVJFXG+Ge28XgzEVDDX1K9Meo/st5M+tToVhL7YKgIgasB1BmFLhdV0mT5xBqu2p1bhkdlwz5p639Q9SPCq2H0="}]},"maintainers":[{"name":"loganfsmyth","email":"loganfsmyth@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/babel-plugin-transform-builtin-extend-1.1.2.tgz_1486755007109_0.22559013892896473"},"directories":{}}},"readme":"\n# Babel Builtin Constructor extension plugin\n\nThis is a Babel 6 plugin to enable extending builtin types like \"Error\" and \"Array\" and such,\nwhich require special treatment and require static analysis to detect.\n\n\n## Usage\n\nIn your Babel 6 configuration, for example in a `.babelrc` you might have\n\n\n```\n{\n    \"plugins\": [\n        [\"babel-plugin-transform-builtin-extend\", {\n            globals: [\"Error\", \"Array\"]\n        }]\n    ]\n}\n```\n\nwhich would enable the plugin and configure it to look for any class extending `Error` or `Array` globals.\n\n## IE<=10\n\nOn older browsers that do not support reassigning the prototype of an existing object, you will need to\nenable the `approximate` mode, which will fall back to the Babel 5 behavior of using simple ES5 inheritance\nto approximate extending a class, though your results may vary depending on your goals.\n\n\n```\n{\n    \"plugins\": [\n        [\"babel-plugin-transform-builtin-extend\", {\n            globals: [\"Error\", \"Array\"],\n            approximate: true\n        }]\n    ]\n}\n```\n\n## Limitations\n\nThis plugin will only reles on assigning `__proto__` for static property inheritance from parent constructors.\nIf you are relying on this, it will not work on IE<=10 and any other browsers that don't support `__proto__`.\n","maintainers":[{"name":"loganfsmyth","email":"loganfsmyth@gmail.com"}],"time":{"modified":"2022-06-13T04:04:05.337Z","created":"2015-12-11T08:06:20.497Z","1.0.0":"2015-12-11T08:06:20.497Z","1.1.0":"2015-12-11T16:50:37.181Z","1.1.1":"2017-02-10T19:27:10.761Z","1.1.2":"2017-02-10T19:30:08.937Z"},"homepage":"https://github.com/loganfsmyth/babel-plugin-transform-builtin-extend#readme","keywords":["babel","babel-plugin","es6","classes"],"repository":{"type":"git","url":"git+https://github.com/loganfsmyth/babel-plugin-transform-builtin-extend.git"},"author":{"name":"Logan Smyth","email":"loganfsmyth@gmail.com"},"bugs":{"url":"https://github.com/loganfsmyth/babel-plugin-transform-builtin-extend/issues"},"license":"MIT","readmeFilename":"README.md","users":{"mjurincic":true,"timdp":true,"classicoldsong":true,"ziflex":true,"tzq1011":true,"cocorax":true,"nardhar":true}}