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

@navikt/appstatus-react

Package Overview
Dependencies
Maintainers
13
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@navikt/appstatus-react - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1-beta.0

1

lib/types/index.d.ts

@@ -14,2 +14,3 @@ import { SanityStatusMessage } from './sanityObjects';

dataset: string;
apiVersion?: string;
token?: string;

@@ -16,0 +17,0 @@ }

3

lib/utils/index.js

@@ -27,3 +27,4 @@ "use strict";

sanityConfigPropIsValid(config['projectId']) &&
sanityConfigPropIsValid(config['dataset']));
sanityConfigPropIsValid(config['dataset']) &&
sanityConfigPropIsValid(config['apiVersion']));
}

@@ -30,0 +31,0 @@ catch (_a) {

import { SanityConfig } from '../types';
export declare const getAppSanityClient: ({ projectId, dataset, token }: SanityConfig) => import("@sanity/client").SanityClient;
export declare const getAppSanityClient: ({ projectId, dataset, apiVersion, token }: SanityConfig) => import("@sanity/client").SanityClient;

@@ -8,6 +8,7 @@ "use strict";

const client_1 = __importDefault(require("@sanity/client"));
const getAppSanityClient = ({ projectId, dataset, token = '' }) => {
const getAppSanityClient = ({ projectId, dataset, apiVersion = '', token = '' }) => {
return client_1.default({
projectId,
dataset,
apiVersion,
token,

@@ -14,0 +15,0 @@ useCdn: false,

{
"name": "@navikt/appstatus-react",
"version": "2.0.0",
"version": "2.0.1-beta.0",
"private": false,

@@ -5,0 +5,0 @@ "scripts": {

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