New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@counterscale/server

Package Overview
Dependencies
Maintainers
0
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@counterscale/server - npm Package Compare versions

Comparing version 3.0.0-alpha.9 to 3.0.0-alpha.10

build/client/assets/_index-DmYJtGPc.js

12

build/client/tracker.js

@@ -74,9 +74,9 @@ (() => {

}
const s = {
const u = {
client: void 0
};
function k(t) {
if (s.client)
if (u.client)
throw new Error("Counterscale has already been initialized.");
s.client = new P(t);
u.client = new P(t);
}

@@ -94,3 +94,3 @@ function U() {

}
function u() {
function s() {
const t = U(), e = (t == null ? void 0 : t.getAttribute("data-site-id")) || S(), n = t == null ? void 0 : t.src.replace("tracker.js", "collect");

@@ -106,8 +106,8 @@ !e || !n || k({

document.addEventListener("DOMContentLoaded", () => {
u();
s();
});
return;
}
u();
s();
})();
})()
{
"name": "@counterscale/server",
"version": "3.0.0-alpha.9",
"description": "Counterscale Server",
"homepage": "https://counterscale.dev",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/benvinegar/counterscale",
"directory": "packages/server"
},
"engines": {
"node": ">=20.0.0"
},
"files": [
"build",
"app",
"workers",
"wrangler.json"
],
"scripts": {
"dev": "react-router dev",
"build": "react-router build",
"preview": "wrangler dev",
"deploy": "wrangler deploy",
"lint": "eslint --ignore-path ../../.gitignore --ignore-pattern public/tracker.js --cache --cache-location ./node_modules/.cache/eslint .",
"test": "TZ=EST vitest run",
"test-ci": "TZ=EST vitest run --coverage",
"typecheck": "react-router typegen && tsc",
"prepare": "husky",
"types:gen": "wrangler types",
"copytracker": "cp ../tracker/dist/loader/tracker.js ./public/tracker.js"
},
"dependencies": {
"@cloudflare/kv-asset-handler": "^0.3.3",
"@counterscale/tracker": "*",
"@radix-ui/react-select": "^2.1.0",
"@radix-ui/react-slot": "^1.1.0",
"@react-router/cloudflare": "^7.0.0",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.1",
"dayjs": "^1.11.11",
"isbot": "^5.1.9",
"lucide-react": "^0.395.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-router": "^7.0.0",
"recharts": "2.13",
"run": "^1.5.0",
"tailwind-merge": "^2.3.0",
"tailwindcss-animate": "^1.0.7",
"ua-parser-js": "^1.0.38"
},
"devDependencies": {
"@cloudflare/workers-types": "^4.20240620.0",
"@react-router/dev": "^7.0.0",
"@react-router/fs-routes": "^7.0.0",
"@testing-library/react": "^16.2.0",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@types/recharts": "^1.8.29",
"@types/ua-parser-js": "^0.7.39",
"@typescript-eslint/eslint-plugin": "^7.13.1",
"@typescript-eslint/parser": "^7.13.1",
"@vitest/coverage-istanbul": "2.1",
"@vitest/coverage-v8": "2.1",
"autoprefixer": "^10.4.19",
"eslint": "^8.57.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsx-a11y": "^6.9.0",
"eslint-plugin-react": "^7.34.3",
"eslint-plugin-react-hooks": "^4.6.2",
"husky": "^9.0.11",
"jsdom": "^23.2.0",
"node-mocks-http": "^1.14.1",
"postcss": "^8.4.38",
"resize-observer-polyfill": "^1.5.1",
"tailwindcss": "^3.4.4",
"typescript": "^5.7.2",
"vite": "^5.3.1",
"vite-tsconfig-paths": "^4.3.2",
"vitest": "2.1",
"vitest-dom": "^0.1.1",
"wrangler": "^3.61.0"
},
"postcss": {
"plugins": {
"tailwindcss": {},
"autoprefixer": {}
}
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
"name": "@counterscale/server",
"version": "3.0.0-alpha.10",
"description": "Counterscale Server",
"homepage": "https://counterscale.dev",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/benvinegar/counterscale",
"directory": "packages/server"
},
"engines": {
"node": ">=20.0.0"
},
"files": [
"build",
"app",
"workers",
"wrangler.json"
],
"dependencies": {
"@cloudflare/kv-asset-handler": "^0.3.3",
"@counterscale/tracker": "*",
"@radix-ui/react-select": "^2.1.0",
"@radix-ui/react-slot": "^1.1.0",
"@react-router/cloudflare": "7.1.1",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.1",
"dayjs": "^1.11.11",
"isbot": "^5.1.9",
"lucide-react": "^0.395.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-router": "7.1.1",
"recharts": "2.13",
"run": "^1.5.0",
"tailwind-merge": "^2.3.0",
"tailwindcss-animate": "^1.0.7",
"ua-parser-js": "^1.0.38"
},
"devDependencies": {
"@cloudflare/workers-types": "^4.20240620.0",
"@react-router/dev": "7.1.1",
"@react-router/fs-routes": "7.1.1",
"@testing-library/react": "^16.2.0",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@types/recharts": "^1.8.29",
"@types/ua-parser-js": "^0.7.39",
"@typescript-eslint/eslint-plugin": "^7.13.1",
"@typescript-eslint/parser": "^7.13.1",
"@vitest/coverage-istanbul": "2.1",
"@vitest/coverage-v8": "2.1",
"autoprefixer": "^10.4.19",
"eslint": "^8.57.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsx-a11y": "^6.9.0",
"eslint-plugin-react": "^7.34.3",
"eslint-plugin-react-hooks": "^4.6.2",
"husky": "^9.0.11",
"jsdom": "^23.2.0",
"node-mocks-http": "^1.14.1",
"postcss": "^8.4.38",
"resize-observer-polyfill": "^1.5.1",
"tailwindcss": "^3.4.4",
"typescript": "^5.7.2",
"vite": "^5.3.1",
"vite-tsconfig-paths": "^4.3.2",
"vitest": "2.1",
"vitest-dom": "^0.1.1"
},
"peerDependencies": {
"wrangler": "^3.61.0"
},
"postcss": {
"plugins": {
"tailwindcss": {},
"autoprefixer": {}
}
}
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"scripts": {
"dev": "react-router dev",
"build": "react-router build",
"preview": "wrangler dev",
"deploy": "wrangler deploy",
"lint": "eslint --ignore-path ../../.gitignore --ignore-pattern public/tracker.js --cache --cache-location ./node_modules/.cache/eslint .",
"test": "TZ=EST vitest run",
"test-ci": "TZ=EST vitest run --coverage",
"typecheck": "react-router typegen && tsc",
"types:gen": "wrangler types",
"copytracker": "cp ../tracker/dist/loader/tracker.js ./public/tracker.js"
}
}

Sorry, the diff of this file is too big to display

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