Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

lolex

Package Overview
Dependencies
Maintainers
4
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lolex - npm Package Compare versions

Comparing version 2.4.1 to 2.4.2

4

History.md

@@ -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

6

lolex.js

@@ -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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc