mirror of
https://github.com/joelwmale/webhook-action.git
synced 2024-08-25 08:08:00 +00:00
1ada95e04a
- Convert project to Javascript/Typescript - Allow custom headers to be passed in (optional) - Allow body to be optional
27 lines
529 B
JavaScript
27 lines
529 B
JavaScript
'use strict';
|
|
|
|
var assign = require('./helpers/assign');
|
|
|
|
var ES5 = require('./es5');
|
|
var ES2015 = require('./es2015');
|
|
var ES2016 = require('./es2016');
|
|
var ES2017 = require('./es2017');
|
|
var ES2018 = require('./es2018');
|
|
var ES2019 = require('./es2019');
|
|
|
|
var ES = {
|
|
ES5: ES5,
|
|
ES6: ES2015,
|
|
ES2015: ES2015,
|
|
ES7: ES2016,
|
|
ES2016: ES2016,
|
|
ES2017: ES2017,
|
|
ES2018: ES2018,
|
|
ES2019: ES2019
|
|
};
|
|
assign(ES, ES5);
|
|
delete ES.CheckObjectCoercible; // renamed in ES6 to RequireObjectCoercible
|
|
assign(ES, ES2015);
|
|
|
|
module.exports = ES;
|