'use strict';

var WM = require('es6-weak-map');
var hasNativeWeakMap = require('es6-weak-map/is-native-implemented');

// WeakMap for storing metadata
var metadata = hasNativeWeakMap ? new WeakMap() : new WM();

module.exports = metadata;

'use strict';

// WeakMap for storing metadata
var WM = require('es6-weak-map');
var metadata = new WM();

module.exports = metadata;

Remove conditional use of es6-weak-map
Fix: Remove conditional use of es6-weak-map
