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

garlandtools-api

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

garlandtools-api - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

.babelrc

5

build/garlandtools-api.js

@@ -52,6 +52,9 @@ "use strict";

var lang = "en";
/**
* Set the language used by the library.
* @param {"en" | "de" | "fr" | "ja"} newLang
*/
function setLang(newLang) {
lang = newLang;
console.log(achievementURL());
}

@@ -58,0 +61,0 @@

21

package.json
{
"name": "garlandtools-api",
"version": "1.0.0",
"version": "1.0.1",
"description": "An unofficial Node wrapper for the Garland Tools API.",
"main": "build/garlandtools-api.js",
"files": [
"build/**/*"
],
"scripts": {

@@ -25,14 +22,14 @@ "babel": "babel",

"dependencies": {
"bent": "^7.3.7",
"cron": "^1.7.1",
"regenerator-runtime": "^0.13.5"
"bent": "^7.3.12",
"cron": "^1.8.2",
"regenerator-runtime": "^0.13.7"
},
"devDependencies": {
"@babel/cli": "^7.10.5",
"@babel/core": "^7.10.5",
"@babel/preset-env": "^7.10.4",
"@babel/register": "^7.10.5",
"mocha": "^8.0.1",
"@babel/cli": "^7.13.10",
"@babel/core": "^7.13.10",
"@babel/preset-env": "^7.13.10",
"@babel/register": "^7.13.8",
"mocha": "^8.3.1",
"should": "^13.2.3"
}
}

@@ -38,6 +38,5 @@ # garlandtools-api

// Wrapper properties
lang; // The lanugage. By default, this is "en".
clearCache(); // Clears the wrapper's cache manually.
setCacheTime(time); // Set the time to store data in milliseconds. By default, this is 1 hour.
setLang(lang); // Set the lanugage. By default, this is "en".
// API accessors

@@ -44,0 +43,0 @@ achievement(id); // An achievement's JSON listing.

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