Comparing version 2.4.1 to 2.4.2
@@ -0,1 +1,5 @@ | ||
v2.4.2 / 2018-05-11 | ||
=================== | ||
* Upgrade Mochify to v5.6 (#162) fixed #170 | ||
* Access `Performance` via `_global` (#168) | ||
@@ -2,0 +6,0 @@ v2.4.1 / 2018-05-08 |
@@ -738,3 +738,3 @@ (function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.lolex = f()}})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){ | ||
var proto = Performance.prototype; | ||
var proto = _global.Performance.prototype; | ||
@@ -744,3 +744,5 @@ Object | ||
.forEach(function (name) { | ||
clock.performance[name] = proto[name]; | ||
if (Object.getOwnPropertyDescriptor(proto, name).writable) { | ||
clock.performance[name] = proto[name]; | ||
} | ||
}); | ||
@@ -747,0 +749,0 @@ |
{ | ||
"name": "lolex", | ||
"description": "Fake JavaScript timers", | ||
"version": "2.4.1", | ||
"version": "2.4.2", | ||
"homepage": "http://github.com/sinonjs/lolex", | ||
@@ -42,3 +42,3 @@ "author": "Christian Johansen", | ||
"mocha": "5.1.0", | ||
"mochify": "4.0.0", | ||
"mochify": "5.6.0", | ||
"npm-run-all": "4.1.2", | ||
@@ -45,0 +45,0 @@ "referee": "1.2.0", |
@@ -736,3 +736,3 @@ "use strict"; | ||
var proto = Performance.prototype; | ||
var proto = _global.Performance.prototype; | ||
@@ -742,3 +742,5 @@ Object | ||
.forEach(function (name) { | ||
clock.performance[name] = proto[name]; | ||
if (Object.getOwnPropertyDescriptor(proto, name).writable) { | ||
clock.performance[name] = proto[name]; | ||
} | ||
}); | ||
@@ -745,0 +747,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
77396
1429