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

@wix/data-backend-public-sdk-poc

Package Overview
Dependencies
Maintainers
0
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wix/data-backend-public-sdk-poc - npm Package Compare versions

Comparing version 1.0.78 to 1.0.79

build/cjs/context.js.map

1

build/cjs/context.js

@@ -28,1 +28,2 @@ "use strict";

exports.data = __importStar(require("@wix/data-backend-public-sdk-poc_data/context"));
//# sourceMappingURL=context.js.map

@@ -29,1 +29,2 @@ "use strict";

exports.data = data;
//# sourceMappingURL=index.js.map

@@ -28,1 +28,2 @@ "use strict";

exports.data = __importStar(require("@wix/data-backend-public-sdk-poc_data/meta"));
//# sourceMappingURL=meta.js.map
export * as data from '@wix/data-backend-public-sdk-poc_data/context';
//# sourceMappingURL=context.js.map
import * as data from '@wix/data-backend-public-sdk-poc_data';
export { data };
//# sourceMappingURL=index.js.map
export * as data from '@wix/data-backend-public-sdk-poc_data/meta';
//# sourceMappingURL=meta.js.map

6

package.json
{
"name": "@wix/data-backend-public-sdk-poc",
"version": "1.0.78",
"version": "1.0.79",
"publishConfig": {

@@ -24,3 +24,3 @@ "registry": "https://registry.npmjs.org/",

"dependencies": {
"@wix/data-backend-public-sdk-poc_data": "1.0.30"
"@wix/data-backend-public-sdk-poc_data": "1.0.31"
},

@@ -50,3 +50,3 @@ "devDependencies": {

},
"falconPackageHash": "d72a64ca3078db1a014ed53403e656cc299705ea6fe7d115ec847ebe"
"falconPackageHash": "d1c5f35251b72541933260e522df16881d7f396e23af570b647b6108"
}

@@ -16,2 +16,6 @@ type HostModule<T, H extends Host> = {

/**
* Optional name of the environment, use for logging
*/
name?: string;
/**
* Optional bast url to use for API requests, for example `www.wixapis.com`

@@ -276,2 +280,68 @@ */

/**
Returns a boolean for whether the given type is `never`.
@link https://github.com/microsoft/TypeScript/issues/31751#issuecomment-498526919
@link https://stackoverflow.com/a/53984913/10292952
@link https://www.zhenghao.io/posts/ts-never
Useful in type utilities, such as checking if something does not occur.
@example
```
import type {IsNever, And} from 'type-fest';
// https://github.com/andnp/SimplyTyped/blob/master/src/types/strings.ts
type AreStringsEqual<A extends string, B extends string> =
And<
IsNever<Exclude<A, B>> extends true ? true : false,
IsNever<Exclude<B, A>> extends true ? true : false
>;
type EndIfEqual<I extends string, O extends string> =
AreStringsEqual<I, O> extends true
? never
: void;
function endIfEqual<I extends string, O extends string>(input: I, output: O): EndIfEqual<I, O> {
if (input === output) {
process.exit(0);
}
}
endIfEqual('abc', 'abc');
//=> never
endIfEqual('abc', '123');
//=> void
```
@category Type Guard
@category Utilities
*/
type IsNever<T> = [T] extends [never] ? true : false;
/**
An if-else-like type that resolves depending on whether the given type is `never`.
@see {@link IsNever}
@example
```
import type {IfNever} from 'type-fest';
type ShouldBeTrue = IfNever<never>;
//=> true
type ShouldBeBar = IfNever<'not never', 'foo', 'bar'>;
//=> 'bar'
```
@category Type Guard
@category Utilities
*/
type IfNever<T, TypeIfNever = true, TypeIfNotNever = false> = (
IsNever<T> extends true ? TypeIfNever : TypeIfNotNever
);
/**
Extract the keys from a type where the value type of the key extends the given `Condition`.

@@ -308,17 +378,15 @@

*/
type ConditionalKeys<Base, Condition> = NonNullable<
// Wrap in `NonNullable` to strip away the `undefined` type from the produced union.
type ConditionalKeys<Base, Condition> =
{
// Map through all the keys of the given base type.
[Key in keyof Base]:
[Key in keyof Base]-?:
// Pick only keys with types extending the given `Condition` type.
Base[Key] extends Condition
// Retain this key since the condition passes.
? Key
// Retain this key
// If the value for the key extends never, only include it if `Condition` also extends never
? IfNever<Base[Key], IfNever<Condition, Key, never>, Key>
// Discard this key since the condition fails.
: never;
// Convert the produced object into a union type of the keys which passed the conditional test.
}[keyof Base]
>;
}[keyof Base];

@@ -325,0 +393,0 @@ /**

@@ -16,2 +16,6 @@ type HostModule<T, H extends Host> = {

/**
* Optional name of the environment, use for logging
*/
name?: string;
/**
* Optional bast url to use for API requests, for example `www.wixapis.com`

@@ -276,2 +280,68 @@ */

/**
Returns a boolean for whether the given type is `never`.
@link https://github.com/microsoft/TypeScript/issues/31751#issuecomment-498526919
@link https://stackoverflow.com/a/53984913/10292952
@link https://www.zhenghao.io/posts/ts-never
Useful in type utilities, such as checking if something does not occur.
@example
```
import type {IsNever, And} from 'type-fest';
// https://github.com/andnp/SimplyTyped/blob/master/src/types/strings.ts
type AreStringsEqual<A extends string, B extends string> =
And<
IsNever<Exclude<A, B>> extends true ? true : false,
IsNever<Exclude<B, A>> extends true ? true : false
>;
type EndIfEqual<I extends string, O extends string> =
AreStringsEqual<I, O> extends true
? never
: void;
function endIfEqual<I extends string, O extends string>(input: I, output: O): EndIfEqual<I, O> {
if (input === output) {
process.exit(0);
}
}
endIfEqual('abc', 'abc');
//=> never
endIfEqual('abc', '123');
//=> void
```
@category Type Guard
@category Utilities
*/
type IsNever<T> = [T] extends [never] ? true : false;
/**
An if-else-like type that resolves depending on whether the given type is `never`.
@see {@link IsNever}
@example
```
import type {IfNever} from 'type-fest';
type ShouldBeTrue = IfNever<never>;
//=> true
type ShouldBeBar = IfNever<'not never', 'foo', 'bar'>;
//=> 'bar'
```
@category Type Guard
@category Utilities
*/
type IfNever<T, TypeIfNever = true, TypeIfNotNever = false> = (
IsNever<T> extends true ? TypeIfNever : TypeIfNotNever
);
/**
Extract the keys from a type where the value type of the key extends the given `Condition`.

@@ -308,17 +378,15 @@

*/
type ConditionalKeys<Base, Condition> = NonNullable<
// Wrap in `NonNullable` to strip away the `undefined` type from the produced union.
type ConditionalKeys<Base, Condition> =
{
// Map through all the keys of the given base type.
[Key in keyof Base]:
[Key in keyof Base]-?:
// Pick only keys with types extending the given `Condition` type.
Base[Key] extends Condition
// Retain this key since the condition passes.
? Key
// Retain this key
// If the value for the key extends never, only include it if `Condition` also extends never
? IfNever<Base[Key], IfNever<Condition, Key, never>, Key>
// Discard this key since the condition fails.
: never;
// Convert the produced object into a union type of the keys which passed the conditional test.
}[keyof Base]
>;
}[keyof Base];

@@ -325,0 +393,0 @@ /**

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