Comparing version 1.3.2 to 1.3.3
{ | ||
"name": "platform", | ||
"version": "1.3.2", | ||
"version": "1.3.3", | ||
"description": "A platform detection library that works on nearly all JavaScript platforms.", | ||
@@ -15,8 +15,11 @@ "license": "MIT", | ||
"repository": "bestiejs/platform.js", | ||
"scripts": { "test": "echo \"See the repository CONTRIBUTING.md for testing instructions.\"" }, | ||
"scripts": { | ||
"doc": "docdown platform.js doc/README.md style=github title=\"Platform.js <sup>v${npm_package_version}</sup>\" toc=properties url=https://github.com/bestiejs/platform.js/blob/${npm_package_version}/platform.js", | ||
"test": "node test/test" | ||
}, | ||
"devDependencies": { | ||
"docdown": "~0.4.1", | ||
"docdown": "~0.7.1", | ||
"qunit-extras": "^1.5.0", | ||
"qunitjs": "~1.22.0", | ||
"requirejs": "^2.1.22" | ||
"requirejs": "^2.3.2" | ||
}, | ||
@@ -23,0 +26,0 @@ "files": [ |
@@ -87,5 +87,5 @@ /*! | ||
'6.2': '8', | ||
'6.1': '7 / Server 2008 R2', | ||
'6.0': 'Vista / Server 2008', | ||
'5.2': 'XP 64-bit / Server 2003', | ||
'6.1': 'Server 2008 R2 / 7', | ||
'6.0': 'Server 2008 / Vista', | ||
'5.2': 'Server 2003 / XP 64-bit', | ||
'5.1': 'XP', | ||
@@ -338,3 +338,3 @@ '5.01': '2000 SP1', | ||
/** A flag to indicate if the OS begins with "Name Version /". */ | ||
/** A flag to indicate if the OS ends with "/ Version" */ | ||
var isSpecialCasedOS; | ||
@@ -955,5 +955,4 @@ | ||
if (os) { | ||
data = | ||
/ ([\d.+]+)$/.exec(os) || | ||
(isSpecialCasedOS = /^[a-z]+ ([\d.+]+) \//i.exec(os)); | ||
data = / ([\d.+]+)$/.exec(os); | ||
isSpecialCasedOS = data && os.charAt(os.length - data[0].length - 1) == '/'; | ||
os = { | ||
@@ -1086,3 +1085,3 @@ 'architecture': 32, | ||
* Common values include: | ||
* "Windows", "Windows 7 / Server 2008 R2", "Windows Vista / Server 2008", | ||
* "Windows", "Windows Server 2008 R2 / 7", "Windows Server 2008 / Vista", | ||
* "Windows XP", "OS X", "Ubuntu", "Debian", "Fedora", "Red Hat", "SuSE", | ||
@@ -1089,0 +1088,0 @@ * "Android", "iOS" and "Windows Phone" |
@@ -1,2 +0,2 @@ | ||
# Platform.js v1.3.2 | ||
# Platform.js v1.3.3 | ||
@@ -3,0 +3,0 @@ A platform detection library that works on nearly all JavaScript platforms. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
43686
0
1063