Sha256: 9aec0459acb5bf600125f0e7463e4fcba3885b9c1f5e7f6e1818d9ae9a007456

Contents?: true

Size: 271 Bytes

Versions: 8

Compression:

Stored size: 271 Bytes

Contents

'use strict';

var implementation = require('./implementation');

module.exports = function getPolyfill() {
	if (String.prototype.matchAll) {
		try {
			''.matchAll(RegExp.prototype);
		} catch (e) {
			return String.prototype.matchAll;
		}
	}
	return implementation;
};

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
immosquare-cleaner-0.1.51 node_modules/string.prototype.matchall/polyfill.js
immosquare-cleaner-0.1.50 node_modules/string.prototype.matchall/polyfill.js
immosquare-cleaner-0.1.49 node_modules/string.prototype.matchall/polyfill.js
immosquare-cleaner-0.1.48 node_modules/string.prototype.matchall/polyfill.js
immosquare-cleaner-0.1.47 node_modules/string.prototype.matchall/polyfill.js
immosquare-cleaner-0.1.46 node_modules/string.prototype.matchall/polyfill.js
immosquare-cleaner-0.1.45 node_modules/string.prototype.matchall/polyfill.js
decidim-0.26.8 packages/eslint-config/node_modules/string.prototype.matchall/polyfill.js