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

@omnicar/sam-format

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@omnicar/sam-format - npm Package Compare versions

Comparing version 0.0.32 to 0.0.34

0

dist/formatDate/formatDate.d.ts

@@ -0,0 +0,0 @@ import { IsoLocale } from '@omnicar/sam-types';

@@ -0,0 +0,0 @@ "use strict";

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });

@@ -0,0 +0,0 @@ import { IFormatNumberOptions as ISamFormatNumberOptions } from './IFormatNumberOptions';

@@ -0,0 +0,0 @@ "use strict";

import { IFormatNumberOptions } from '../IFormatNumberOptions';
export declare function formatCurrency(price: number, { showDecimals, symbolDisplayType, }?: IFormatNumberOptions): string;
import { IFormatNumberOptions } from '../IFormatNumberOptions';
export declare function formatMileage(mileage: number | string, opts?: IFormatNumberOptions): string;

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { NumberType, SymbolDisplayType } from './NumberTypes';

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
export declare type NumberType = 'MILEAGE' | 'CURRENCY';
export declare type SymbolDisplayType = 'APPEND' | 'PREPEND' | 'NONE';
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });

@@ -0,0 +0,0 @@ import { IsoLocale } from '@omnicar/sam-types';

8

dist/formatString/formatString.js

@@ -64,3 +64,11 @@ "use strict";

var formats = phoneMap.get('da-DK');
// if (!isoLocale) {
// // formats = phoneMap.get(defaults.isoName) // Use the "global" locale that is set.
// formats = phoneMap.get('da-DK')
// } else {
formats = phoneMap.get(useIsoLocale);
// }
// if (!formats) {
// formats = phoneMap.get('da-DK')
// }
if (!formats) {

@@ -67,0 +75,0 @@ throw Error("You requested locale \"" + (!isoLocale ? init_1.defaults.isoName : isoLocale) + "\", but there are no phone formats for that locale");

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });

@@ -0,0 +0,0 @@ export { formatDate, formatLocalizedDate } from './formatDate/formatDate';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { ISamFormatOptions } from './ISamFormatOptions';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { IsoLocale } from '@omnicar/sam-types';

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ export interface ILocaleConfiguration {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });

2

package.json

@@ -50,3 +50,3 @@ {

},
"version": "0.0.32"
"version": "0.0.34"
}

@@ -0,0 +0,0 @@ # SAM-format

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