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

abl-lang

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

abl-lang - npm Package Compare versions

Comparing version 0.2.1 to 0.3.0

bundle/en/api.json

2

package.json
{
"name": "abl-lang",
"title": "ABL - lang",
"version": "0.2.1",
"version": "0.3.0",
"license": "MIT",

@@ -6,0 +6,0 @@ "description": "description",

"use strict";
const languages = {
en: require("./../bundle/en")
};
import fs from "fs";
import path from "path";
const bundle = "../bundle";
const languages = {};
if (!getAvailableLanguages().length) {
fs.readdirSync(path.join(__dirname, bundle)).forEach(lang => {
languages[lang] = {};
fs.readdirSync(path.join(__dirname, bundle, lang)).forEach(file => {
languages[lang][file.slice(0, -5)] = require(path.join(__dirname, bundle, lang, file))
});
});
}
export function getAvailableLanguages() {
return ["en"];
return Object.keys(languages);
}

@@ -11,0 +22,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