From de960bf8036cd0f36255278b4356f066763eba2f Mon Sep 17 00:00:00 2001 From: Ryan Young Date: Fri, 25 Nov 2022 00:21:22 -0800 Subject: [PATCH 1/2] fix(5.0): restore missing math.mod() (#78) --- core/5.0/math.d.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/core/5.0/math.d.ts b/core/5.0/math.d.ts index fcbfa1f..f52893b 100644 --- a/core/5.0/math.d.ts +++ b/core/5.0/math.d.ts @@ -95,6 +95,12 @@ declare namespace math { */ function min(x: number, ...numbers: number[]): number; + /** + * Returns the remainder of the division of x by y that rounds the quotient + * towards zero. (integer/float) + */ + function mod(x: number, y: number): number; + /** * The value of π. */ From b224030d184a233c8b2eba021b04f07987b631be Mon Sep 17 00:00:00 2001 From: Perryvw Date: Mon, 28 Nov 2022 21:09:57 +0100 Subject: [PATCH 2/2] 2.13.1 --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 51ee9ed..a823693 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "lua-types", - "version": "2.13.0", + "version": "2.13.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "lua-types", - "version": "2.13.0", + "version": "2.13.1", "license": "MIT", "devDependencies": { "@types/jest": "^26.0.20", diff --git a/package.json b/package.json index 057c076..8b8472d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "lua-types", - "version": "2.13.0", + "version": "2.13.1", "description": "TypeScript definitions for Lua standard library", "keywords": [ "lua",