* Add private method syntax support * Add private method spec support * Add private method loose support * Throw error if static private method is used * Add more isStatic & isMethod checks * Remove `writable:false` from private method inits `writable` is false by default. * Add private method func obj equality check * Throw if private accessor is used * Add check for fields === private method loose mode * Throw buildCodeFrameErrors instead of Errors * Move obj destructuring inside for loop * Remove "computed" from ClassPrivateMethod type def
26 lines
665 B
JSON
26 lines
665 B
JSON
{
|
|
"name": "@babel/plugin-proposal-private-methods",
|
|
"version": "7.1.0",
|
|
"description": "This plugin transforms private class methods",
|
|
"repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-proposal-private-methods",
|
|
"license": "MIT",
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"main": "lib/index.js",
|
|
"keywords": [
|
|
"babel-plugin"
|
|
],
|
|
"dependencies": {
|
|
"@babel/helper-plugin-utils": "^7.0.0",
|
|
"@babel/plugin-class-features": "^7.1.4"
|
|
},
|
|
"peerDependencies": {
|
|
"@babel/core": "^7.0.0-0"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.0.0",
|
|
"@babel/helper-plugin-test-runner": "^7.0.0"
|
|
}
|
|
}
|