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

@devcycle/types

Package Overview
Dependencies
Maintainers
6
Versions
143
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@devcycle/types - npm Package Compare versions

Comparing version 1.0.7 to 1.0.9

src/types/validators/isNotBlank.d.ts

5

package.json
{
"name": "@devcycle/types",
"version": "1.0.7",
"version": "1.0.9",
"type": "commonjs",

@@ -12,4 +12,5 @@ "main": "./src/index.js",

"lodash": "^4.17.21",
"class-transformer": "0.5.1"
"class-transformer": "0.5.1",
"iso-639-1": "^2.1.13"
}
}

@@ -15,5 +15,2 @@ import { PublicEnvironment, PublicFeature, PublicProject, PublicVariable } from '../../config/configBody';

isAnonymous?: boolean;
/**
* Must be defined if `isAnonymous = false`
*/
user_id: string;

@@ -31,3 +28,3 @@ /**

/**
* ISO 639-1 two letter codes
* ISO 639-1 two-letter codes
*/

@@ -99,5 +96,2 @@ language?: string;

isAnonymous: boolean;
/**
* Must be defined if `isAnonymous = false`
*/
user_id: string;

@@ -115,3 +109,3 @@ /**

/**
* ISO 639-1 two letter codes
* ISO 639-1 two-letter codes
*/

@@ -118,0 +112,0 @@ language?: string;

@@ -18,2 +18,4 @@ "use strict";

const dvcJSON_1 = require("../../validators/dvcJSON");
const isNotBlank_1 = require("../../validators/isNotBlank");
const iso_639_1_1 = require("../../validators/iso-639-1");
exports.SDKTypeValues = ['client', 'server', 'mobile', 'api'];

@@ -48,2 +50,3 @@ const boolTransform = ({ value }) => {

class_validator_1.IsString(),
isNotBlank_1.IsNotBlank(),
class_validator_1.IsNotEmpty(),

@@ -63,2 +66,3 @@ __metadata("design:type", String)

__decorate([
iso_639_1_1.IsISO6391(),
class_validator_1.IsString(),

@@ -158,2 +162,3 @@ class_validator_1.IsOptional(),

class_validator_1.IsString(),
isNotBlank_1.IsNotBlank(),
class_validator_1.IsNotEmpty(),

@@ -173,2 +178,3 @@ __metadata("design:type", String)

__decorate([
iso_639_1_1.IsISO6391(),
class_validator_1.IsString(),

@@ -175,0 +181,0 @@ class_validator_1.IsOptional(),

src/types/apis/sdk/clientSDKAPI.js.map

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