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

@servicetitan/culture

Package Overview
Dependencies
Maintainers
5
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 25.9.0 to 26.0.0

2

./dist/index.js

@@ -11,3 +11,3 @@ import { jsx as _jsx } from "react/jsx-runtime";

export const withCultureSingletons = (singletons) => [...(singletons !== null && singletons !== void 0 ? singletons : []), CultureApi, CultureStore];
export const provideWithCulture = ((stores, fallback) => (Component) => props => (_jsx(Provider, Object.assign({ singletons: withCultureSingletons(stores === null || stores === void 0 ? void 0 : stores.singletons), instances: stores === null || stores === void 0 ? void 0 : stores.instances, fallback: fallback }, { children: _jsx(CultureProvider, { children: _jsx(Component, Object.assign({}, props)) }) }))));
export const provideWithCulture = ((stores, options) => (Component) => props => (_jsx(Provider, Object.assign({ singletons: withCultureSingletons(stores === null || stores === void 0 ? void 0 : stores.singletons), instances: stores === null || stores === void 0 ? void 0 : stores.instances }, options, { children: _jsx(CultureProvider, { children: _jsx(Component, Object.assign({}, props)) }) }))));
//# sourceMappingURL=index.js.map

@@ -12,6 +12,3 @@ import { FC, ReactNode } from 'react';

export declare const withCultureSingletons: (singletons?: Parameters<typeof provide>[0]['singletons']) => Parameters<typeof provide>[0]['singletons'];
export declare const provideWithCulture: (stores: {
singletons?: import("@servicetitan/react-ioc/dist/provider").ProviderConfigEntry<any>[] | undefined;
instances?: import("@servicetitan/react-ioc/dist/provider").ProviderConfigEntry<any>[] | undefined;
}, fallback?: JSX.Element | undefined) => <T extends import("react").StatelessComponent<any> | import("react").ClassicComponentClass<any> | import("react").ComponentClass<any, any>>(target: T) => T & import("@servicetitan/react-ioc/dist/provide").WrappedComponent<T>;
export declare const provideWithCulture: import("@servicetitan/react-ioc/dist/provide").ProvideDecorator;
//# sourceMappingURL=index.d.ts.map

@@ -11,3 +11,3 @@ import { jsx as _jsx } from "react/jsx-runtime";

export const withCultureSingletons = (singletons) => [...(singletons !== null && singletons !== void 0 ? singletons : []), CultureApi, CultureStore];
export const provideWithCulture = ((stores, fallback) => (Component) => props => (_jsx(Provider, Object.assign({ singletons: withCultureSingletons(stores === null || stores === void 0 ? void 0 : stores.singletons), instances: stores === null || stores === void 0 ? void 0 : stores.instances, fallback: fallback }, { children: _jsx(CultureProvider, { children: _jsx(Component, Object.assign({}, props)) }) }))));
export const provideWithCulture = ((stores, options) => (Component) => props => (_jsx(Provider, Object.assign({ singletons: withCultureSingletons(stores === null || stores === void 0 ? void 0 : stores.singletons), instances: stores === null || stores === void 0 ? void 0 : stores.instances }, options, { children: _jsx(CultureProvider, { children: _jsx(Component, Object.assign({}, props)) }) }))));
//# sourceMappingURL=index.js.map
{
"name": "@servicetitan/culture",
"version": "25.9.0",
"version": "26.0.0",
"description": "",

@@ -22,9 +22,9 @@ "homepage": "https://docs.st.dev/docs/frontend/culture",

"devDependencies": {
"@servicetitan/react-ioc": "^21.6.0",
"@types/react": "~17.0.38",
"react": "~17.0.2"
"@servicetitan/react-ioc": "^23.2.1",
"@types/react": "~18.2.55",
"react": "~18.2.0"
},
"peerDependencies": {
"@servicetitan/react-ioc": ">21.0.0",
"react": "~17.0.2"
"react": ">=17.0.2"
},

@@ -37,3 +37,3 @@ "publishConfig": {

},
"gitHead": "72d081af4ab3deb72dab7d4fc93a4c2e473b726f"
"gitHead": "2027b0cb3bb4a06b8e381e3e9af8469a30b20f11"
}

Sorry, the diff of this file is not supported yet

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