Socket
Socket
Sign inDemoInstall

@assecosolutions/fox-common-utils

Package Overview
Dependencies
Maintainers
4
Versions
96
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@assecosolutions/fox-common-utils - npm Package Compare versions

Comparing version 1.0.1-alpha.0 to 1.0.1

lib/iframe.util.d.ts

1

index.d.ts

@@ -7,1 +7,2 @@ export * from './lib/strict-mode';

export * from './lib/util';
export * from './lib/iframe.util';

9

lib/strict-mode/ensure.d.ts

@@ -1,2 +0,1 @@

import { HasGuid, MightHaveGuid } from './model';
/**

@@ -17,9 +16,1 @@ *

export declare const ensureNotNil: <T>(thing: T | null | undefined) => T;
/**
* Ensure that value's guid is not `null` | `undefined`.
*
* @param thing | `null` | `undefined`
* @returns thing
* @throws error if thing is `null` | `undefined` or thing.guid is `null` | `undefined`
*/
export declare const ensureGuidNotNull: <T extends MightHaveGuid>(thing: T | null | undefined) => T & HasGuid;

@@ -1,6 +0,3 @@

export interface MightHaveGuid {
guid?: string | null;
export interface HasId {
_id: string;
}
export interface HasGuid {
guid: string;
}
{
"name": "@assecosolutions/fox-common-utils",
"version": "1.0.1-alpha.0",
"version": "1.0.1",
"public": true,

@@ -21,8 +21,2 @@ "lib": {

"types": "./index.d.ts",
"exports": {
".": {
"types": "./index.d.ts",
"import": "./index.js"
}
},
"dependencies": {},

@@ -29,0 +23,0 @@ "peerDependencies": {

Sorry, the diff of this file is too big to display

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