Socket
Socket
Sign inDemoInstall

taskcluster-lib-api

Package Overview
Dependencies
Maintainers
9
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

taskcluster-lib-api - npm Package Compare versions

Comparing version 7.0.0 to 7.0.1

2

lib/api.js

@@ -831,3 +831,3 @@ 'use strict';

});
assert(/^[a-zA-Z][a-zA-Z0-9_-]*$/.test(options.name), 'api name "' + options.name + '" is not valid');
assert(/^[a-z][a-z0-9_-]*$/.test(options.name), 'api name "' + options.name + '" is not valid');
this._options = _.defaults({

@@ -834,0 +834,0 @@ errorCodes: _.defaults({}, options.errorCodes || {}, errors.ERROR_CODES)

@@ -95,3 +95,3 @@ {

"maxLength": 22,
"pattern": "^[a-zA-Z][a-zA-Z0-9_-]*$"
"pattern": "^[a-z][a-z0-9_-]*$"
},

@@ -98,0 +98,0 @@ "entries": {

{
"name": "taskcluster-lib-api",
"version": "7.0.0",
"version": "7.0.1",
"author": "Jonas Finnemann Jensen <jopsen@gmail.com>",

@@ -5,0 +5,0 @@ "description": "taskcluster-lib-api",

@@ -18,3 +18,3 @@ TaskCluster API

title: 'My API',
name: 'my-api', // Must match /^[a-zA-Z][a-zA-Z0-9_-]*$/
name: 'my-api', // Must match /^[a-z][a-z0-9_-]*$/
description: [

@@ -81,3 +81,4 @@ "Long string with **markdown** support, used for writing docs",

* `name` (required) - a simple name for the service that will become part of a url
This must match the regex `/^[a-zA-Z][a-zA-Z0-9_-]*$/`
This must match the regex `/^[a-z][a-z0-9_-]*$/`. It will be the following part of a url:
`https://whatever.net/api/<name>/v1/endpoint`.
* `schemaPrefix` - the prefix for the schema definitions for this service

@@ -84,0 +85,0 @@ * `params` - patterns for URL parameters that apply to all methods (see below)

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