From 73391a10175ce28760e67bb564236e3a97da6f59 Mon Sep 17 00:00:00 2001 From: Michael Laktionov Date: Fri, 22 Oct 2021 18:37:47 +0300 Subject: [PATCH] make ua-parser-js non-updatable due to ua-parser-js library hijacking --- package-lock.json | 2 +- package.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 8fb902d..618f7dd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "react-device-detect", - "version": "2.0.0", + "version": "2.1.1", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 12179d0..6f04dd8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-device-detect", - "version": "2.0.1", + "version": "2.1.1", "description": "Detect device type and render your component according to it", "main": "dist/lib.js", "typings": "./index.d.ts", @@ -62,6 +62,6 @@ "rollup-plugin-node-resolve": "^5.2.0" }, "dependencies": { - "ua-parser-js": "^0.7.28" + "ua-parser-js": "0.7.28" } }