mirror of
https://github.com/faisalman/ua-parser-js.git
synced 2025-09-27 07:58:45 +03:00
Compare commits
2 Commits
21c14c61db
...
ac1d06d2ee
Author | SHA1 | Date | |
---|---|---|---|
|
ac1d06d2ee | ||
|
7dcbb8def3 |
6
src/enums/ua-parser-enums.d.ts
vendored
6
src/enums/ua-parser-enums.d.ts
vendored
@ -171,7 +171,7 @@ export const BrowserType: Readonly<{
|
|||||||
LIBRARY: "library",
|
LIBRARY: "library",
|
||||||
}>;
|
}>;
|
||||||
|
|
||||||
export const CPUName: Readonly<{
|
export const CPUArch: Readonly<{
|
||||||
'68K': "68k",
|
'68K': "68k",
|
||||||
ALPHA: "alpha",
|
ALPHA: "alpha",
|
||||||
ARM: "arm",
|
ARM: "arm",
|
||||||
@ -192,9 +192,9 @@ export const CPUName: Readonly<{
|
|||||||
X86_64: "amd64",
|
X86_64: "amd64",
|
||||||
}>;
|
}>;
|
||||||
/**
|
/**
|
||||||
* @deprecated Use `CPUName` instead
|
* @deprecated Use `CPUArch` instead
|
||||||
*/
|
*/
|
||||||
export const CPU: typeof CPUName;
|
export const CPU: typeof CPUArch;
|
||||||
|
|
||||||
export const DeviceType: Readonly<{
|
export const DeviceType: Readonly<{
|
||||||
CONSOLE: "console",
|
CONSOLE: "console",
|
||||||
|
@ -178,7 +178,7 @@ const BrowserType = Object.freeze({
|
|||||||
LIBRARY: 'library'
|
LIBRARY: 'library'
|
||||||
});
|
});
|
||||||
|
|
||||||
const CPUName = Object.freeze({
|
const CPUArch = Object.freeze({
|
||||||
'68K': '68k',
|
'68K': '68k',
|
||||||
ALPHA: 'alpha',
|
ALPHA: 'alpha',
|
||||||
ARM : 'arm',
|
ARM : 'arm',
|
||||||
@ -199,9 +199,9 @@ const CPUName = Object.freeze({
|
|||||||
X86_64: 'amd64'
|
X86_64: 'amd64'
|
||||||
});
|
});
|
||||||
/**
|
/**
|
||||||
* @deprecated Use `CPUName` instead
|
* @deprecated Use `CPUArch` instead
|
||||||
*/
|
*/
|
||||||
const CPU = CPUName;
|
const CPU = CPUArch;
|
||||||
|
|
||||||
const DeviceType = Object.freeze({
|
const DeviceType = Object.freeze({
|
||||||
CONSOLE: 'console',
|
CONSOLE: 'console',
|
||||||
@ -688,7 +688,7 @@ module.exports = {
|
|||||||
OS, // deprecated
|
OS, // deprecated
|
||||||
BrowserName,
|
BrowserName,
|
||||||
BrowserType,
|
BrowserType,
|
||||||
CPUName,
|
CPUArch,
|
||||||
DeviceType,
|
DeviceType,
|
||||||
DeviceVendor,
|
DeviceVendor,
|
||||||
EngineName,
|
EngineName,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user