Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@locator/shared

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@locator/shared - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

1

dist/index.d.ts

@@ -28,2 +28,3 @@ export * from "./types";

export declare function detectSvelte(): boolean;
export declare function detectVue(): boolean;
export declare type SourceLocation = {

@@ -30,0 +31,0 @@ start: {

@@ -46,3 +46,16 @@ export * from "./types";

}
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
if (window.__SAPPER__) {
return true;
}
return false;
}
export function detectVue() {
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
if (window.__VUE__) {
return true;
}
return false;
}

4

package.json
{
"name": "@locator/shared",
"version": "0.1.3",
"version": "0.1.4",
"main": "./dist/index.js",

@@ -18,3 +18,3 @@ "license": "MIT",

},
"gitHead": "496da1f7c2e458861650c667fdd4c2296af9a0dc",
"gitHead": "1995de3282210cb5634577cd00156d4071d13ec3",
"files": [

@@ -21,0 +21,0 @@ "dist",

@@ -61,4 +61,20 @@ export * from "./types";

}
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
if (window.__SAPPER__) {
return true;
}
return false;
}
export function detectVue() {
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
if (window.__VUE__) {
return true;
}
return false;
}
export type SourceLocation = {

@@ -65,0 +81,0 @@ start: {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc