Comparing version 4.0.5 to 4.0.6
import Decimal from 'decimal.js'; | ||
const MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || Math.pow(2, 53) - 1; | ||
const MAX_SAFE_INTEGER = (Number.MAX_SAFE_INTEGER === undefined) ? Math.pow(2, 53) - 1 : Number.MAX_SAFE_INTEGER; | ||
export class DeLorean { | ||
@@ -4,0 +4,0 @@ constructor() { |
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@babel/runtime/regenerator'), require('@babel/runtime/helpers/asyncToGenerator'), require('@babel/runtime/helpers/classCallCheck'), require('@babel/runtime/helpers/createClass'), require('decimal.js')) : | ||
typeof define === 'function' && define.amd ? define(['exports', '@babel/runtime/regenerator', '@babel/runtime/helpers/asyncToGenerator', '@babel/runtime/helpers/classCallCheck', '@babel/runtime/helpers/createClass', 'decimal.js'], factory) : | ||
factory(global.vehicles = {},global._regeneratorRuntime,global._asyncToGenerator,global._classCallCheck,global._createClass,global.Decimal); | ||
}(typeof self !== 'undefined' ? self : this, function (exports,_regeneratorRuntime,_asyncToGenerator,_classCallCheck,_createClass,Decimal) { 'use strict'; | ||
(global = global || self, factory(global.vehicles = {}, global._regeneratorRuntime, global._asyncToGenerator, global._classCallCheck, global._createClass, global.Decimal)); | ||
}(this, function (exports, _regeneratorRuntime, _asyncToGenerator, _classCallCheck, _createClass, Decimal) { 'use strict'; | ||
@@ -13,3 +13,3 @@ _regeneratorRuntime = _regeneratorRuntime && _regeneratorRuntime.hasOwnProperty('default') ? _regeneratorRuntime['default'] : _regeneratorRuntime; | ||
var MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || Math.pow(2, 53) - 1; | ||
var MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER === undefined ? Math.pow(2, 53) - 1 : Number.MAX_SAFE_INTEGER; | ||
var DeLorean = | ||
@@ -16,0 +16,0 @@ /*#__PURE__*/ |
@@ -12,3 +12,3 @@ "use strict"; | ||
const MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || Math.pow(2, 53) - 1; | ||
const MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER === undefined ? Math.pow(2, 53) - 1 : Number.MAX_SAFE_INTEGER; | ||
@@ -15,0 +15,0 @@ class DeLorean { |
@@ -26,3 +26,3 @@ { | ||
"@commitlint/config-angular": "^7.1.2", | ||
"@types/sinon": "^7.0.0", | ||
"@types/sinon": "^7.0.2", | ||
"chai": "^4.2.0", | ||
@@ -32,3 +32,3 @@ "commitizen": "^3.0.5", | ||
"eslint": "^5.10.0", | ||
"eslint-config-holy-grail": "^32.0.0", | ||
"eslint-config-holy-grail": "^33.0.0", | ||
"grunt": "^1.0.3", | ||
@@ -43,4 +43,4 @@ "grunt-babel": "^8.0.0", | ||
"gruntify-eslint": "^5.0.0", | ||
"husky": "^1.2.1", | ||
"karma": "^3.1.3", | ||
"husky": "^1.3.0", | ||
"karma": "^3.1.4", | ||
"karma-chrome-launcher": "^2.2.0", | ||
@@ -56,3 +56,3 @@ "karma-firefox-launcher": "^1.1.0", | ||
"mocha": "^5.2.0", | ||
"rollup": "^0.68.0", | ||
"rollup": "^0.68.1", | ||
"rollup-plugin-babel": "^4.1.0", | ||
@@ -62,7 +62,7 @@ "sinon": "^7.2.2", | ||
"ts-loader": "^5.3.1", | ||
"tsconfig-holy-grail": "^9.0.4", | ||
"tslint": "^5.11.0", | ||
"tslint-config-holy-grail": "^38.0.10", | ||
"tsconfig-holy-grail": "^9.0.6", | ||
"tslint": "^5.12.0", | ||
"tslint-config-holy-grail": "^39.0.0", | ||
"typescript": "^3.2.2", | ||
"webpack": "^4.27.1" | ||
"webpack": "^4.28.0" | ||
}, | ||
@@ -103,3 +103,3 @@ "engines": { | ||
"types": "build/es2018/module.d.ts", | ||
"version": "4.0.5" | ||
"version": "4.0.6" | ||
} |
@@ -7,3 +7,3 @@ import Decimal from 'decimal.js'; | ||
const MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || Math.pow(2, 53) - 1; | ||
const MAX_SAFE_INTEGER = (Number.MAX_SAFE_INTEGER === undefined) ? Math.pow(2, 53) - 1 : Number.MAX_SAFE_INTEGER; | ||
@@ -10,0 +10,0 @@ export class DeLorean implements IVehicle { |
@@ -9,5 +9,5 @@ import Decimal from 'decimal.js'; | ||
private _vehicles: { deLorean: DeLorean, scale: number }[]; | ||
private _vehicles: { deLorean: DeLorean; scale: number }[]; | ||
constructor (...vehicles: { deLorean: DeLorean, scale: number }[]) { | ||
constructor (...vehicles: { deLorean: DeLorean; scale: number }[]) { | ||
this._ongoingJourney = null; | ||
@@ -14,0 +14,0 @@ this._vehicles = vehicles; |
Sorry, the diff of this file is not supported yet
40384