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

@servicetitan/culture

Package Overview
Dependencies
Maintainers
9
Versions
266
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@servicetitan/culture - npm Package Compare versions

Comparing version 0.0.8 to 0.0.9

src/index.tsx

27

dist/index.d.ts

@@ -1,1 +0,26 @@

export * from './culture-context';
import React from 'react';
export interface Culture {
Name: string;
DateTimeFormat: {
MomentShortDatePattern: string;
MomentShortYearDatePattern: string;
MomentShortYearDateTimePattern: string;
};
NumberFormat: {
NumberDecimalSeparator: string;
NumberGroupSeparator: string;
};
PhoneFormat: {
PhoneFormatInfo: {
Pattern: RegExp;
};
PhoneMask: string;
SimplePhoneMask: string;
};
}
export declare const CULTURE_TOKEN: import("@servicetitan/react-ioc").SymbolToken<Culture>;
interface CultureProviderProps {
value: Culture;
}
export declare const CultureProvider: React.FC<CultureProviderProps>;
export {};

14

dist/index.js
"use strict";
function __export(m) {
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
}
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
__export(require("./culture-context"));
var react_1 = __importDefault(require("react"));
var react_ioc_1 = require("@servicetitan/react-ioc");
exports.CULTURE_TOKEN = react_ioc_1.symbolToken('CULTURE_TOKEN');
exports.CultureProvider = function (_a) {
var value = _a.value, children = _a.children;
return (react_1.default.createElement(react_ioc_1.Provider, { singletons: [{ provide: exports.CULTURE_TOKEN, useValue: value }] }, children));
};
//# sourceMappingURL=index.js.map
{
"name": "@servicetitan/culture",
"version": "0.0.8",
"version": "0.0.9",
"description": "",

@@ -17,5 +17,7 @@ "main": "./dist/index.js",

"devDependencies": {
"@servicetitan/react-ioc": "^3.0.4",
"react": "^16.12.0"
},
"peerDependencies": {
"@servicetitan/react-ioc": "^3.0.3",
"react": "^16.12.0"

@@ -26,3 +28,3 @@ },

},
"gitHead": "45e7473c61b79ea08998e622b8adacc5a0664fa5"
"gitHead": "94b2912044a7a465f5e908d5e20397ea3235b65b"
}

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