Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle super in static class fields #3720

Merged
merged 2 commits into from
Aug 13, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
18 changes: 4 additions & 14 deletions LICENSE.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ License: MIT
By: Marijn Haverbeke, Ingvar Stepanyan, Adrian Heine
Repository: https://github.com/acornjs/acorn.git

> MIT License
>
> Copyright (C) 2012-2018 by various contributors (see AUTHORS)
>
> Permission is hereby granted, free of charge, to any person obtaining a copy
Expand Down Expand Up @@ -168,6 +170,8 @@ License: MIT
By: Marijn Haverbeke, Ingvar Stepanyan, Adrian Heine
Repository: https://github.com/acornjs/acorn.git

> MIT License
>
> Copyright (C) 2012-2018 by various contributors (see AUTHORS)
>
> Permission is hereby granted, free of charge, to any person obtaining a copy
Expand Down Expand Up @@ -249,13 +253,6 @@ Repository: micromatch/braces

---------------------------------------

## camelcase
License: MIT
By: Sindre Sorhus
Repository: sindresorhus/camelcase

---------------------------------------

## chokidar
License: MIT
By: Paul Miller, Elan Shanker
Expand Down Expand Up @@ -307,13 +304,6 @@ Repository: sindresorhus/date-time

---------------------------------------

## decamelize
License: MIT
By: Sindre Sorhus
Repository: sindresorhus/decamelize

---------------------------------------

## fill-range
License: MIT
By: Jon Schlinkert, Edo Rivai, Paul Miller, Rouven Weßling
Expand Down
472 changes: 298 additions & 174 deletions package-lock.json

Large diffs are not rendered by default.

38 changes: 19 additions & 19 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,31 +66,31 @@
"devDependencies": {
"@rollup/plugin-alias": "^3.1.1",
"@rollup/plugin-buble": "^0.21.3",
"@rollup/plugin-commonjs": "^14.0.0",
"@rollup/plugin-commonjs": "^15.0.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^8.4.0",
"@rollup/plugin-node-resolve": "^9.0.0",
"@rollup/plugin-replace": "^2.3.3",
"@types/micromatch": "^4.0.1",
"@types/node": "^14.0.23",
"@types/node": "^14.0.27",
"@types/require-relative": "^0.8.0",
"@types/signal-exit": "^3.0.0",
"@types/yargs-parser": "^15.0.0",
"acorn": "^7.3.1",
"acorn-class-fields": "^0.3.6",
"acorn": "^8.0.1",
"acorn-class-fields": "^0.3.7",
"acorn-jsx": "^5.2.0",
"acorn-numeric-separator": "^0.3.3",
"acorn-static-class-features": "^0.2.3",
"acorn-walk": "^7.2.0",
"acorn-numeric-separator": "^0.3.6",
"acorn-static-class-features": "^0.2.4",
"acorn-walk": "^8.0.0",
"buble": "^0.20.0",
"chokidar": "^3.4.1",
"chokidar": "^3.4.2",
"codecov": "^3.7.2",
"colorette": "^1.2.1",
"core-js": "^3.6.5",
"cross-os": "^1.3.0",
"date-time": "^3.1.0",
"es5-shim": "^4.5.14",
"es6-shim": "^0.35.5",
"eslint": "^7.4.0",
"eslint": "^7.6.0",
"eslint-plugin-import": "^2.22.0",
"execa": "^4.0.3",
"fixturify": "^2.1.0",
Expand All @@ -102,18 +102,18 @@
"magic-string": "^0.25.7",
"markdownlint-cli": "^0.23.2",
"micromatch": "^4.0.2",
"mocha": "^8.0.1",
"mocha": "^8.1.1",
"node-fetch": "^2.6.0",
"nyc": "^15.1.0",
"prettier": "^2.0.5",
"pretty-bytes": "^5.3.0",
"pretty-ms": "^7.0.0",
"require-relative": "^0.8.7",
"requirejs": "^2.3.6",
"rollup": "^2.21.0",
"rollup-plugin-license": "^2.1.0",
"rollup": "^2.23.1",
"rollup-plugin-license": "^2.2.0",
"rollup-plugin-string": "^3.0.0",
"rollup-plugin-terser": "^6.1.0",
"rollup-plugin-terser": "^7.0.0",
"rollup-plugin-thatworks": "^1.0.4",
"rollup-plugin-typescript": "^1.0.1",
"rollup-pluginutils": "^2.8.2",
Expand All @@ -123,13 +123,13 @@
"source-map": "^0.7.3",
"source-map-support": "^0.5.19",
"sourcemap-codec": "^1.4.8",
"systemjs": "^6.3.3",
"terser": "^4.8.0",
"tslib": "^2.0.0",
"tslint": "^6.1.2",
"systemjs": "^6.5.0",
"terser": "^5.0.0",
"tslib": "^2.0.1",
"tslint": "^6.1.3",
"typescript": "^3.9.7",
"url-parse": "^1.4.7",
"yargs-parser": "^18.1.3"
"yargs-parser": "^19.0.1"
},
"files": [
"dist/**/*.js",
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
define(['exports', 'external', './other'], function (exports, external, other) { 'use strict';
define(['external', './other'], function (external, other) { 'use strict';

external = external && Object.prototype.hasOwnProperty.call(external, 'default') ? external['default'] : external;

Expand All @@ -8,9 +8,6 @@ define(['exports', 'external', './other'], function (exports, external, other) {

var commonjs = 42;

exports.__moduleExports = commonjs;
exports.default = commonjs;

Object.defineProperty(exports, '__esModule', { value: true });
return commonjs;

});
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ define(['external', './commonjs'], function (external, commonjs) { 'use strict';

external = external && Object.prototype.hasOwnProperty.call(external, 'default') ? external['default'] : external;

console.log(commonjs.default, external);
console.log(commonjs, external);

});
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ define(['exports'], function (exports) { 'use strict';
value: value
};

exports.__moduleExports = other;
exports.default = other;
exports.value = value;

Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }

var external = _interopDefault(require('external'));
Expand All @@ -13,5 +11,4 @@ console.log(external, value);

var commonjs = 42;

exports.__moduleExports = commonjs;
exports.default = commonjs;
module.exports = commonjs;
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'defau
var external = _interopDefault(require('external'));
var commonjs = require('./commonjs.js');

console.log(commonjs.default, external);
console.log(commonjs, external);
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,5 @@ var other = {
value: value
};

exports.__moduleExports = other;
exports.default = other;
exports.value = value;

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,3 @@ console.log(external$1, value);
var commonjs = 42;

export default commonjs;
export { commonjs as __moduleExports };
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ var other = {
};

export default other;
export { other as __moduleExports, value };
export { value };

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ System.register(['external', './other.js'], function (exports) {

console.log(external, value);

var commonjs = function (v) { return exports({ default: v, __moduleExports: v }), v; }(42);
var commonjs = exports('default', 42);

}
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ System.register([], function (exports) {

var value = exports('value', 43);

var other = function (v) { return exports({ default: v, __moduleExports: v }), v; }({
var other = exports('default', {
value: value
});

Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
define(['exports', 'external', './other'], function (exports, external, other) { 'use strict';
define(['external', './other'], function (external, other) { 'use strict';

external = external && Object.prototype.hasOwnProperty.call(external, 'default') ? external['default'] : external;

Expand All @@ -8,9 +8,6 @@ define(['exports', 'external', './other'], function (exports, external, other) {

var commonjs = 42;

exports.__moduleExports = commonjs;
exports.default = commonjs;

Object.defineProperty(exports, '__esModule', { value: true });
return commonjs;

});
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ define(['external', './commonjs'], function (external, commonjs) { 'use strict';

external = external && Object.prototype.hasOwnProperty.call(external, 'default') ? external['default'] : external;

console.log(commonjs.default, external);
console.log(commonjs, external);

});
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ define(['exports'], function (exports) { 'use strict';
value: value
};

exports.__moduleExports = other;
exports.default = other;
exports.value = value;

Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }

var external = _interopDefault(require('external'));
Expand All @@ -13,5 +11,4 @@ console.log(external, value);

var commonjs = 42;

exports.__moduleExports = commonjs;
exports.default = commonjs;
module.exports = commonjs;
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'defau
var external = _interopDefault(require('external'));
var commonjs = require('./commonjs.js');

console.log(commonjs.default, external);
console.log(commonjs, external);
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,5 @@ var other = {
value: value
};

exports.__moduleExports = other;
exports.default = other;
exports.value = value;

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,3 @@ console.log(external$1, value);
var commonjs = 42;

export default commonjs;
export { commonjs as __moduleExports };
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ var other = {
};

export default other;
export { other as __moduleExports, value };
export { value };

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ System.register(['external', './other.js'], function (exports) {

console.log(external, value);

var commonjs = function (v) { return exports({ default: v, __moduleExports: v }), v; }(42);
var commonjs = exports('default', 42);

}
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ System.register([], function (exports) {

var value = exports('value', 43);

var other = function (v) { return exports({ default: v, __moduleExports: v }), v; }({
var other = exports('default', {
value: value
});

Expand Down