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

@lokse/core

Package Overview
Dependencies
Maintainers
2
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lokse/core - npm Package Compare versions

Comparing version 2.1.4 to 2.2.0

lib/config.d.ts

1

lib/constants.d.ts

@@ -0,1 +1,2 @@

export declare const NAME = "lokse";
export declare enum OutputFormat {

@@ -2,0 +3,0 @@ JSON = "json",

3

lib/constants.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.OutputFormat = void 0;
exports.OutputFormat = exports.NAME = void 0;
exports.NAME = "lokse";
var OutputFormat;

@@ -5,0 +6,0 @@ (function (OutputFormat) {

@@ -7,5 +7,6 @@ export { Reader, WorksheetReader, InvalidFilterError } from "./reader";

export { default as Line } from "./line";
export { OutputFormat } from "./constants";
export { OutputFormat, NAME } from "./constants";
export { FatalError } from "./errors";
export * from "./config";
export * from "./plugins";
export * from "./utils";

@@ -16,5 +16,7 @@ "use strict";

Object.defineProperty(exports, "OutputFormat", { enumerable: true, get: function () { return constants_1.OutputFormat; } });
Object.defineProperty(exports, "NAME", { enumerable: true, get: function () { return constants_1.NAME; } });
var errors_1 = require("./errors");
Object.defineProperty(exports, "FatalError", { enumerable: true, get: function () { return errors_1.FatalError; } });
tslib_1.__exportStar(require("./config"), exports);
tslib_1.__exportStar(require("./plugins"), exports);
tslib_1.__exportStar(require("./utils"), exports);
export declare const forceArray: <T>(val: T | T[] | null) => T[];
export declare const isEqualCaseInsensitive: (string1: string, string2: string) => boolean;
export declare const createSheetUrl: (sheetId: string) => string;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isEqualCaseInsensitive = exports.forceArray = void 0;
exports.createSheetUrl = exports.isEqualCaseInsensitive = exports.forceArray = void 0;
exports.forceArray = (val) => {

@@ -12,1 +12,2 @@ if (Array.isArray(val))

exports.isEqualCaseInsensitive = (string1, string2) => string1.toLowerCase() === string2.toLowerCase();
exports.createSheetUrl = (sheetId) => `https://docs.google.com/spreadsheets/d/${sheetId}`;
{
"name": "@lokse/core",
"description": "Core of localization from spreadsheet solution lokse",
"version": "2.1.4",
"version": "2.2.0",
"author": {

@@ -16,2 +16,4 @@ "name": "Lukas Horak",

"bluebird": "^3.7.2",
"cosmiconfig": "^7.0.0",
"cosmiconfig-ts-loader": "^0.1.1",
"dedent": "^0.7.0",

@@ -41,3 +43,3 @@ "google-spreadsheet": "^3.2.0",

},
"gitHead": "503e39ba324130047e1341aa652b125a4272d9b7"
"gitHead": "8c871fb1ef4b615bbd24b2757ed6c24ef5feb125"
}
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