@stackworx/react
Advanced tools
Comparing version 0.0.3 to 0.0.8
@@ -1,2 +0,2 @@ | ||
'use strict'; | ||
"use strict"; | ||
@@ -7,8 +7,11 @@ Object.defineProperty(exports, "__esModule", { | ||
exports.default = getMetaTagContent; | ||
/* | ||
* Extract a value from a meta tag, usually placed in the head of the html | ||
*/ | ||
function getMetaTagContent(tagName) { | ||
var metas = document.getElementsByTagName('meta'); | ||
var metas = document.getElementsByTagName("meta"); | ||
for (var i = 0; i < metas.length; i++) { | ||
if (metas[i].getAttribute('property') === tagName) { | ||
return metas[i].getAttribute('content'); | ||
if (metas[i].getAttribute("property") === tagName) { | ||
return metas[i].getAttribute("content"); | ||
} | ||
@@ -15,0 +18,0 @@ } |
{ | ||
"version": "0.0.3", | ||
"version": "0.0.8", | ||
"name": "@stackworx/react", | ||
@@ -4,0 +4,0 @@ "devDependencies": { |
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
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
2954
5
59
0
2