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

@celo/base

Package Overview
Dependencies
Maintainers
19
Versions
98
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@celo/base - npm Package Compare versions

Comparing version 1.0.0-dev to 1.0.0

3

lib/currencies.d.ts

@@ -23,5 +23,2 @@ export declare enum CURRENCY_ENUM {

};
export declare const currencyTranslations: {
[key: string]: any;
};
export {};
"use strict";
var _a, _b, _c;
var _a, _b;
Object.defineProperty(exports, "__esModule", { value: true });

@@ -42,20 +42,2 @@ var CURRENCY_ENUM;

_b);
var currencyTranslationsENUS = {
CeloDollars: 'Celo Dollars',
CeloDollar: 'Celo Dollar',
Dollar: 'Dollar',
Dollars: 'Dollars',
dollars: 'dollars',
};
var currencyTranslationsESAR = {
CeloDollars: 'Celo Dólares',
CeloDollar: 'Celo Dólar',
Dollar: 'Dólar',
Dollars: 'Dólares',
dollars: 'dólares',
};
exports.currencyTranslations = (_c = {},
_c['en-US'] = currencyTranslationsENUS,
_c['es-419'] = currencyTranslationsESAR,
_c);
//# sourceMappingURL=currencies.js.map

2

lib/string.d.ts
export declare function appendPath(baseUrl: string, path: string): string;
export declare function normalizeAccents(str: string): string;
export declare const StringBase: {
appendPath: typeof appendPath;
normalizeAccents: typeof normalizeAccents;
};

@@ -11,5 +11,11 @@ "use strict";

exports.appendPath = appendPath;
// https://stackoverflow.com/questions/990904/remove-accents-diacritics-in-a-string-in-javascript
function normalizeAccents(str) {
return str.normalize('NFD').replace(/[\u0300-\u036f]/g, '');
}
exports.normalizeAccents = normalizeAccents;
exports.StringBase = {
appendPath: appendPath,
normalizeAccents: normalizeAccents,
};
//# sourceMappingURL=string.js.map
{
"name": "@celo/base",
"version": "1.0.0-dev",
"version": "1.0.0",
"description": "Celo base common utils, no dependencies",

@@ -13,2 +13,3 @@ "author": "Celo",

"clean": "tsc -b . --clean",
"docs": "typedoc && ts-node ../utils/scripts/linkdocs.ts base",
"test": "jest --runInBand --ci",

@@ -15,0 +16,0 @@ "test:verbose": "jest --verbose",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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