@vercel/analytics
Advanced tools
Comparing version 0.1.2 to 0.1.3
@@ -10,3 +10,3 @@ interface PageViewEvent { | ||
va?: (event: string, properties?: unknown) => void; | ||
vaq?: [event: string, properties?: unknown][]; | ||
vaq?: [string, unknown?][]; | ||
vai?: boolean; | ||
@@ -13,0 +13,0 @@ } |
@@ -26,3 +26,3 @@ // src/queue.ts | ||
script.src = "/va/script.js"; | ||
script.async = true; | ||
script.defer = true; | ||
document.head.appendChild(script); | ||
@@ -29,0 +29,0 @@ }; |
@@ -10,3 +10,3 @@ interface PageViewEvent { | ||
va?: (event: string, properties?: unknown) => void; | ||
vaq?: [event: string, properties?: unknown][]; | ||
vaq?: [string, unknown?][]; | ||
vai?: boolean; | ||
@@ -13,0 +13,0 @@ } |
@@ -29,3 +29,3 @@ // src/react.tsx | ||
script.src = "/va/script.js"; | ||
script.async = true; | ||
script.defer = true; | ||
document.head.appendChild(script); | ||
@@ -32,0 +32,0 @@ }; |
{ | ||
"name": "@vercel/analytics", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"keywords": [ | ||
@@ -8,2 +8,3 @@ "analytics", | ||
], | ||
"license": "MPL-2.0", | ||
"type": "module", | ||
@@ -10,0 +11,0 @@ "exports": { |
@@ -1,2 +0,2 @@ | ||
![Analytics](.github/banner.png) | ||
![Analytics](https://github.com/vercel/analytics/blob/main/.github/banner.png) | ||
@@ -3,0 +3,0 @@ <div align="center"><strong>Vercel Analytics for Audiences</strong></div> |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Copyleft License
License(Experimental) Copyleft license information was found
Found 1 instance in 1 package
SPDX disjunction
LicenseSPDX disjunction for an artifact's license information
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
Non-permissive License
License(Experimental) A license not known to be considered permissive was found
Found 1 instance in 1 package
Copyleft License
License(Experimental) Copyleft license information was found
Found 1 instance in 1 package
SPDX disjunction
LicenseSPDX disjunction for an artifact's license information
Found 1 instance in 1 package
Non-permissive License
License(Experimental) A license not known to be considered permissive was found
Found 1 instance in 1 package
35328
4
1