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

tf2-static-schema

Package Overview
Dependencies
Maintainers
1
Versions
101
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tf2-static-schema - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

4

core/update.js

@@ -27,4 +27,4 @@ const fs = require('fs-extra');

const tempDirExists = await fs.exists(dir);
if (!tempDirExists) await fs.mkdir(dir);
const staticDirExists = await fs.exists(dir);
if (!staticDirExists) await fs.mkdir(dir);

@@ -31,0 +31,0 @@ const response = await fetchAll(apiKey);

{
"name": "tf2-static-schema",
"version": "1.0.0",
"version": "1.0.1",
"description": "Updates TF2 schema into temporary files that you can lazy load in your app.",

@@ -5,0 +5,0 @@ "main": "./",

# TF2 Static Schema
This package keeps TF2 schema files up to date in the temp folder.
I've created this package due to the other option being running everything locally for your app which seems illogical due to lack of updates TF2 receives.
This is a work in progress, bear in mind the API can change.
## Reason I've created this
- Unrealibity of steam servers
- Lack of TF2 updates making it illogical to update locally every X hour
- Loading just what you want into your app!
## Instalation

@@ -8,0 +12,0 @@ If you're only using `schema.static`, install like:

@@ -10,3 +10,3 @@ const path = require('path');

function getDir() {
return path.join(__dirname, '../', './temp');
return path.join(__dirname, '../', './static');
}

@@ -13,0 +13,0 @@

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