UNPKG

@alma-cdk/cross-region-parameter

Version:

Store AWS SSM Parameter Store Parameters into another AWS Region with AWS CDK

15 lines (12 loc) 329 B
'use strict'; var define = require('define-properties'); var getPolyfill = require('./polyfill'); module.exports = function shimTrimEnd() { var polyfill = getPolyfill(); define( String.prototype, { trimEnd: polyfill }, { trimEnd: function () { return String.prototype.trimEnd !== polyfill; } } ); return polyfill; };