This commit is contained in:
Garrett Serack 2019-08-28 12:57:56 -07:00
Родитель 1aec2910cd
Коммит b5fd1df987
21 изменённых файлов: 268 добавлений и 265 удалений

Просмотреть файл

@ -25,9 +25,13 @@ rules:
"@typescript-eslint/no-parameter-properties": 'off'
"@typescript-eslint/no-angle-bracket-type-assertion" : 'off'
"require-atomic-updates" : 'off'
'@typescript-eslint/consistent-type-assertions' :
- error
- assertionStyle: 'angle-bracket'
"@typescript-eslint/array-type":
- 1
- generic
- error
- default: generic
indent:
- warn
- 2

Просмотреть файл

@ -1,54 +1,54 @@
var fs = require('fs');
function read(filename) {
const txt =fs.readFileSync(filename, 'utf8')
.replace(/\r/gm, '')
.replace(/\n/gm, '«')
.replace(/\/\*.*?\*\//gm,'')
.replace(/«/gm, '\n')
.replace(/\s+\/\/.*/g, '');
return JSON.parse( txt);
const txt = fs.readFileSync(filename, 'utf8')
.replace(/\r/gm, '')
.replace(/\n/gm, '«')
.replace(/\/\*.*?\*\//gm, '')
.replace(/«/gm, '\n')
.replace(/\s+\/\/.*/g, '');
return JSON.parse(txt);
}
function versionToInt(ver) {
let v = ver.replace(/[^\d\.]/g,'').split('.').slice(0,3);
while( v.length < 3) {
let v = ver.replace(/[^\d\.]/g, '').split('.').slice(0, 3);
while (v.length < 3) {
v.unshift(0);
}
let n = 0 ;
for( let i =0; i< v.length;i++ ) {
n = n + ((2**(i*16))*parseInt(v[v.length-1 - i]))
let n = 0;
for (let i = 0; i < v.length; i++) {
n = n + ((2 ** (i * 16)) * parseInt(v[v.length - 1 - i]))
}
return n;
}
const rush =read(`${__dirname}/../../rush.json`);
const rush = read(`${__dirname}/../../rush.json`);
const pjs = {};
// load all the projects
for( const each of rush.projects ) {
for (const each of rush.projects) {
const packageName = each.packageName;
const projectFolder = each.projectFolder;
pjs[packageName] = require(`${__dirname}/../../${projectFolder}/package.json`);
}
// verify that peer dependencies are the same version as they are building.
for( const pj of Object.getOwnPropertyNames(pjs) ){
for (const pj of Object.getOwnPropertyNames(pjs)) {
const each = pjs[pj];
for( const dep in each.dependencies ) {
for (const dep in each.dependencies) {
const ref = pjs[dep];
if( ref ) {
each.dependencies[dep] = `^${ref.version}`;
if (ref) {
each.dependencies[dep] = `~${ref.version}`;
}
}
}
function recordDeps(dependencies) {
for( const packageName in dependencies ) {
for (const packageName in dependencies) {
const packageVersion = dependencies[packageName];
if( packageList[packageName] ) {
if (packageList[packageName]) {
// same version?
if( packageList[packageName] === packageVersion ) {
if (packageList[packageName] === packageVersion) {
continue;
}
@ -56,12 +56,12 @@ function recordDeps(dependencies) {
const v = versionToInt(packageVersion);
if( v === 0) {
if (v === 0) {
console.error(`Unparsed version ${packageName}:${packageVersion}`);
process.exit(1);
}
const v2 = versionToInt(packageList[packageName]);
if( v > v2 ) {
if (v > v2) {
packageList[packageName] = packageVersion;
}
} else {
@ -69,9 +69,9 @@ function recordDeps(dependencies) {
}
}
}
function fixDeps(pj,dependencies) {
for( const packageName in dependencies ) {
if( dependencies[packageName] !== packageList[packageName] ) {
function fixDeps(pj, dependencies) {
for (const packageName in dependencies) {
if (dependencies[packageName] !== packageList[packageName]) {
console.log(`updating ${pj}:${packageName} from '${dependencies[packageName]}' to '${packageList[packageName]}'`)
dependencies[packageName] = packageList[packageName];
}
@ -80,23 +80,23 @@ function fixDeps(pj,dependencies) {
const packageList = {};
// now compare to see if someone has an exnternal package with different version
// than everyone else.
for( const pj of Object.getOwnPropertyNames(pjs) ){
for (const pj of Object.getOwnPropertyNames(pjs)) {
const each = pjs[pj];
recordDeps(each.dependencies);
recordDeps(each.devDependencies);
}
for( const pj of Object.getOwnPropertyNames(pjs) ){
for (const pj of Object.getOwnPropertyNames(pjs)) {
const each = pjs[pj];
fixDeps(pj,each.dependencies);
fixDeps(pj,each.devDependencies);
fixDeps(pj, each.dependencies);
fixDeps(pj, each.devDependencies);
}
// write out the results.
for( const each of rush.projects ) {
for (const each of rush.projects) {
const packageName = each.packageName;
const projectFolder = each.projectFolder;
fs.writeFileSync(`${__dirname}/../../${projectFolder}/package.json`, JSON.stringify(pjs[packageName], null, 2 ));
fs.writeFileSync(`${__dirname}/../../${projectFolder}/package.json`, JSON.stringify(pjs[packageName], null, 2));
}
console.log("project.json files updated");

Просмотреть файл

@ -1,7 +1,7 @@
{
"name": "@azure/library-template",
"private": true,
"version": "2.1.0",
"version": "1.0.0",
"description": "template project to copy/paste as for a new library in perks",
"main": "./dist/main.js",
"typings": "./dist/main.d.ts",
@ -14,8 +14,8 @@
},
"scripts": {
"build": "tsc -p .",
"watch": "tsc -p . --watch",
"eslint-fix" : "eslint . --fix --ext .ts",
"watch": "tsc -p . --watch",
"eslint-fix": "eslint . --fix --ext .ts",
"set-version": "node -e \"let pkg = require('./package.json'); require('child_process').exec('git rev-list --parents HEAD --count --full-history .', (o,stdout) => { const v = pkg.version.split('.'); v[v.length-1] = (parseInt(stdout.trim()) -1); const orig=JSON.stringify(pkg,null,2); pkg.version = v.join('.'); const delta = JSON.stringify(pkg,null,2 ); if( orig !== delta) require('fs').writeFileSync('./package.json',delta)})\"",
"reset-version": "node -e \"let pkg = require('./package.json'); const v = pkg.version.split('.'); v[v.length-1] = 0; const orig=JSON.stringify(pkg,null,2); pkg.version = v.join('.'); const delta = JSON.stringify(pkg,null,2 ); if( orig !== delta) require('fs').writeFileSync('./package.json',delta)\"",
"prepare": "npm run build",

Просмотреть файл

@ -1,6 +1,6 @@
{
"name": "@azure/async-io",
"version": "2.1.0",
"version": "3.0.0",
"description": "Asynchronous IO (for Azure Open Source Projects)",
"main": "./dist/main.js",
"typings": "./dist/main.d.ts",
@ -46,12 +46,12 @@
"@types/node": "10.12.19",
"mocha": "5.2.0",
"typescript": "~3.5.3",
"@typescript-eslint/eslint-plugin": "^1.13.0",
"@typescript-eslint/parser": "^1.13.0",
"eslint": "^6.1.0"
"@typescript-eslint/eslint-plugin": "~2.0.0",
"@typescript-eslint/parser": "~2.0.0",
"eslint": "~6.2.2"
},
"dependencies": {
"@azure/tasks": "^2.1.0",
"proper-lockfile": "^2.0.1"
"@azure/tasks": "~3.0.0",
"proper-lockfile": "~2.0.1"
}
}

Просмотреть файл

@ -1,135 +1,135 @@
import {
createMessageConnection, Logger,
RequestType0, RequestType1, RequestType2,
NotificationType2, NotificationType4
} from 'vscode-jsonrpc';
import { Readable } from 'stream';
import { Mapping, Message, RawSourceMap, Channel } from './types';
import { basename, dirname } from 'path';
namespace IAutoRestPluginTarget_Types {
export const GetPluginNames = new RequestType0<Array<string>, Error, void>('GetPluginNames');
export const Process = new RequestType2<string, string, boolean, Error, void>('Process');
}
interface IAutoRestPluginTarget {
GetPluginNames(): Promise<Array<string>>;
Process(pluginName: string, sessionId: string): Promise<boolean>;
}
namespace IAutoRestPluginInitiator_Types {
export const ReadFile = new RequestType2<string, string, string, Error, void>('ReadFile');
export const GetValue = new RequestType2<string, string, any, Error, void>('GetValue');
export const ListInputs = new RequestType2<string, string | undefined, Array<string>, Error, void>('ListInputs');
export const ProtectFiles = new NotificationType2<string, string, void>('ProtectFiles');
export const WriteFile = new NotificationType4<string, string, string, Array<Mapping> | RawSourceMap | undefined, void>('WriteFile');
export const Message = new NotificationType2<string, Message, void>('Message');
}
export interface IAutoRestPluginInitiator {
ReadFile(filename: string): Promise<string>;
GetValue(key: string): Promise<any>;
ListInputs(artifactType?: string): Promise<Array<string>>;
ProtectFiles(path: string): Promise<void>;
WriteFile(filename: string, content: string, sourceMap?: Array<Mapping> | RawSourceMap, artifactType?: string): void;
Message(message: Message): void;
UpdateConfigurationFile(filename: string, content: string): void;
GetConfigurationFile(filename: string): Promise<string>;
}
export type AutoRestPluginHandler = (initiator: IAutoRestPluginInitiator) => Promise<void>;
export class AutoRestExtension {
private readonly plugins: { [name: string]: AutoRestPluginHandler } = {};
public Add(name: string, handler: AutoRestPluginHandler): void {
this.plugins[name] = handler;
}
public async Run(input: NodeJS.ReadableStream = process.stdin, output: NodeJS.WritableStream = process.stdout): Promise<void> {
// connection setup
const channel = createMessageConnection(
input,
output,
{
error(message) { console.error('error: ', message); },
info(message) { console.error('info: ', message); },
log(message) { console.error('log: ', message); },
warn(message) { console.error('warn: ', message); }
}
);
channel.onRequest(IAutoRestPluginTarget_Types.GetPluginNames, async () => Object.keys(this.plugins));
channel.onRequest(IAutoRestPluginTarget_Types.Process, async (pluginName: string, sessionId: string) => {
try {
const handler = this.plugins[pluginName];
if (!handler) {
throw new Error(`Plugin host could not find requested plugin '${pluginName}'.`);
}
await handler({
async ProtectFiles(path: string): Promise<void> {
channel.sendNotification(IAutoRestPluginInitiator_Types.ProtectFiles, sessionId, path);
},
UpdateConfigurationFile(filename: string, content: string): void {
channel.sendNotification(IAutoRestPluginInitiator_Types.Message, sessionId, { Channel: Channel.Configuration, Key: [filename], Text: content });
},
async GetConfigurationFile(filename: string): Promise<string> {
const configurations = await channel.sendRequest(IAutoRestPluginInitiator_Types.GetValue, sessionId, 'configurationFiles');
const filenames = Object.getOwnPropertyNames(configurations);
if (filenames.length > 0) {
const basePath = dirname(filenames[0]);
for (const configFile of filenames) {
if (configFile.startsWith(basePath) && filename === basename(configFile)) {
return configurations[configFile];
}
}
}
return '';
},
async ReadFile(filename: string): Promise<string> {
return await channel.sendRequest(IAutoRestPluginInitiator_Types.ReadFile, sessionId, filename);
},
async GetValue(key: string): Promise<any> {
return await channel.sendRequest(IAutoRestPluginInitiator_Types.GetValue, sessionId, key);
},
async ListInputs(artifactType?: string): Promise<Array<string>> {
return await channel.sendRequest(IAutoRestPluginInitiator_Types.ListInputs, sessionId, artifactType);
},
WriteFile(filename: string, content: string, sourceMap?: Array<Mapping> | RawSourceMap, artifactType?: string): void {
if (artifactType) {
channel.sendNotification(IAutoRestPluginInitiator_Types.Message, sessionId, {
Channel: Channel.File,
Details: {
content: content,
type: artifactType,
uri: filename,
sourceMap: sourceMap
},
Text: content,
Key: [artifactType, filename]
});
} else {
channel.sendNotification(IAutoRestPluginInitiator_Types.WriteFile, sessionId, filename, content, sourceMap);
}
},
Message(message: Message): void {
channel.sendNotification(IAutoRestPluginInitiator_Types.Message, sessionId, message);
}
});
return true;
} catch (e) {
console.error(`PLUGIN FAILURE: ${e.message}, ${e.stack}, ${JSON.stringify(e, null, 2)}`);
channel.sendNotification(IAutoRestPluginInitiator_Types.Message, sessionId, <Message>{
Channel: 'fatal' as any,
Text: '' + e,
Details: e
});
return false;
}
});
// activate
channel.listen();
}
}
import {
createMessageConnection, Logger,
RequestType0, RequestType1, RequestType2,
NotificationType2, NotificationType4
} from 'vscode-jsonrpc';
import { Readable } from 'stream';
import { Mapping, Message, RawSourceMap, Channel } from './types';
import { basename, dirname } from 'path';
namespace IAutoRestPluginTargetTypes {
export const GetPluginNames = new RequestType0<Array<string>, Error, void>('GetPluginNames');
export const Process = new RequestType2<string, string, boolean, Error, void>('Process');
}
interface IAutoRestPluginTarget {
GetPluginNames(): Promise<Array<string>>;
Process(pluginName: string, sessionId: string): Promise<boolean>;
}
namespace IAutoRestPluginInitiatorTypes {
export const ReadFile = new RequestType2<string, string, string, Error, void>('ReadFile');
export const GetValue = new RequestType2<string, string, any, Error, void>('GetValue');
export const ListInputs = new RequestType2<string, string | undefined, Array<string>, Error, void>('ListInputs');
export const ProtectFiles = new NotificationType2<string, string, void>('ProtectFiles');
export const WriteFile = new NotificationType4<string, string, string, Array<Mapping> | RawSourceMap | undefined, void>('WriteFile');
export const Message = new NotificationType2<string, Message, void>('Message');
}
export interface IAutoRestPluginInitiator {
ReadFile(filename: string): Promise<string>;
GetValue(key: string): Promise<any>;
ListInputs(artifactType?: string): Promise<Array<string>>;
ProtectFiles(path: string): Promise<void>;
WriteFile(filename: string, content: string, sourceMap?: Array<Mapping> | RawSourceMap, artifactType?: string): void;
Message(message: Message): void;
UpdateConfigurationFile(filename: string, content: string): void;
GetConfigurationFile(filename: string): Promise<string>;
}
export type AutoRestPluginHandler = (initiator: IAutoRestPluginInitiator) => Promise<void>;
export class AutoRestExtension {
private readonly plugins: { [name: string]: AutoRestPluginHandler } = {};
public Add(name: string, handler: AutoRestPluginHandler): void {
this.plugins[name] = handler;
}
public async Run(input: NodeJS.ReadableStream = process.stdin, output: NodeJS.WritableStream = process.stdout): Promise<void> {
// connection setup
const channel = createMessageConnection(
input,
output,
{
error(message) { console.error('error: ', message); },
info(message) { console.error('info: ', message); },
log(message) { console.error('log: ', message); },
warn(message) { console.error('warn: ', message); }
}
);
channel.onRequest(IAutoRestPluginTargetTypes.GetPluginNames, async () => Object.keys(this.plugins));
channel.onRequest(IAutoRestPluginTargetTypes.Process, async (pluginName: string, sessionId: string) => {
try {
const handler = this.plugins[pluginName];
if (!handler) {
throw new Error(`Plugin host could not find requested plugin '${pluginName}'.`);
}
await handler({
async ProtectFiles(path: string): Promise<void> {
channel.sendNotification(IAutoRestPluginInitiatorTypes.ProtectFiles, sessionId, path);
},
UpdateConfigurationFile(filename: string, content: string): void {
channel.sendNotification(IAutoRestPluginInitiatorTypes.Message, sessionId, { Channel: Channel.Configuration, Key: [filename], Text: content });
},
async GetConfigurationFile(filename: string): Promise<string> {
const configurations = await channel.sendRequest(IAutoRestPluginInitiatorTypes.GetValue, sessionId, 'configurationFiles');
const filenames = Object.getOwnPropertyNames(configurations);
if (filenames.length > 0) {
const basePath = dirname(filenames[0]);
for (const configFile of filenames) {
if (configFile.startsWith(basePath) && filename === basename(configFile)) {
return configurations[configFile];
}
}
}
return '';
},
async ReadFile(filename: string): Promise<string> {
return await channel.sendRequest(IAutoRestPluginInitiatorTypes.ReadFile, sessionId, filename);
},
async GetValue(key: string): Promise<any> {
return await channel.sendRequest(IAutoRestPluginInitiatorTypes.GetValue, sessionId, key);
},
async ListInputs(artifactType?: string): Promise<Array<string>> {
return await channel.sendRequest(IAutoRestPluginInitiatorTypes.ListInputs, sessionId, artifactType);
},
WriteFile(filename: string, content: string, sourceMap?: Array<Mapping> | RawSourceMap, artifactType?: string): void {
if (artifactType) {
channel.sendNotification(IAutoRestPluginInitiatorTypes.Message, sessionId, {
Channel: Channel.File,
Details: {
content: content,
type: artifactType,
uri: filename,
sourceMap: sourceMap
},
Text: content,
Key: [artifactType, filename]
});
} else {
channel.sendNotification(IAutoRestPluginInitiatorTypes.WriteFile, sessionId, filename, content, sourceMap);
}
},
Message(message: Message): void {
channel.sendNotification(IAutoRestPluginInitiatorTypes.Message, sessionId, message);
}
});
return true;
} catch (e) {
console.error(`PLUGIN FAILURE: ${e.message}, ${e.stack}, ${JSON.stringify(e, null, 2)}`);
channel.sendNotification(IAutoRestPluginInitiatorTypes.Message, sessionId, <Message>{
Channel: <any>'fatal',
Text: '' + e,
Details: e
});
return false;
}
});
// activate
channel.listen();
}
}

Просмотреть файл

@ -1,6 +1,6 @@
{
"name": "@azure/autorest-extension-base",
"version": "2.0.0",
"version": "3.0.0",
"description": "Library for creating AutoRest extensions",
"main": "dist/exports.js",
"scripts": {
@ -30,9 +30,9 @@
"devDependencies": {
"@types/node": "10.12.19",
"typescript": "~3.5.3",
"@typescript-eslint/eslint-plugin": "^1.13.0",
"@typescript-eslint/parser": "^1.13.0",
"eslint": "^6.1.0"
"@typescript-eslint/eslint-plugin": "~2.0.0",
"@typescript-eslint/parser": "~2.0.0",
"eslint": "~6.2.2"
},
"dependencies": {
"vscode-jsonrpc": "^3.5.0"

Просмотреть файл

@ -1,6 +1,6 @@
{
"name": "@azure/codegen-csharp",
"version": "2.0.0",
"version": "3.0.0",
"description": "AutoRest code generator base classes for CSharp#",
"directories": {
"doc": "docs"
@ -36,13 +36,13 @@
"@types/node": "10.12.19",
"mocha": "5.2.0",
"mocha-typescript": "1.1.17",
"@typescript-eslint/eslint-plugin": "^1.13.0",
"@typescript-eslint/parser": "^1.13.0",
"eslint": "^6.1.0",
"@typescript-eslint/eslint-plugin": "~2.0.0",
"@typescript-eslint/parser": "~2.0.0",
"eslint": "~6.2.2",
"typescript": "~3.5.3"
},
"dependencies": {
"@azure/codegen": "^1.0.0",
"@azure/linq": "^2.1.0"
"@azure/codegen": "~2.0.0",
"@azure/linq": "~3.0.0"
}
}

Просмотреть файл

@ -8,7 +8,6 @@ import { Expression } from '../expression';
import { Parameter } from '../parameter';
import { StatementPossibilities, Statements } from './statement';
export class CatchStatement extends Statements {
public when?: Expression;

Просмотреть файл

@ -1,6 +1,6 @@
{
"name": "@azure/codegen",
"version": "1.0.0",
"version": "2.0.0",
"description": "Autorest Code generator common and base classes",
"directories": {
"doc": "docs"
@ -37,14 +37,14 @@
"mocha": "5.2.0",
"mocha-typescript": "1.1.17",
"typescript": "~3.5.3",
"@typescript-eslint/eslint-plugin": "^1.13.0",
"@typescript-eslint/parser": "^1.13.0",
"eslint": "^6.1.0",
"@typescript-eslint/eslint-plugin": "~2.0.0",
"@typescript-eslint/parser": "~2.0.0",
"eslint": "~6.2.2",
"@types/semver": "5.5.0"
},
"dependencies": {
"@azure/async-io": "^2.1.0",
"@azure/linq": "^2.1.0",
"@azure/async-io": "~3.0.0",
"@azure/linq": "~3.0.0",
"js-yaml": "3.13.1",
"semver": "^5.5.1",
"safe-eval": "^0.3.0"

Просмотреть файл

@ -1,6 +1,6 @@
{
"name": "@azure/autorest.codemodel-v3",
"version": "2.0.0",
"version": "3.0.0",
"description": "AutoRest code model library",
"directories": {
"doc": "docs"
@ -36,14 +36,14 @@
"@types/node": "10.12.19",
"mocha": "5.2.0",
"mocha-typescript": "1.1.17",
"@typescript-eslint/eslint-plugin": "^1.13.0",
"@typescript-eslint/parser": "^1.13.0",
"eslint": "^6.1.0",
"@typescript-eslint/eslint-plugin": "~2.0.0",
"@typescript-eslint/parser": "~2.0.0",
"eslint": "~6.2.2",
"typescript": "~3.5.3"
},
"dependencies": {
"@azure/autorest-extension-base": "^2.0.0",
"@azure/codegen": "^1.0.0",
"@azure/linq": "^2.1.0"
"@azure/autorest-extension-base": "~3.0.0",
"@azure/codegen": "~2.0.0",
"@azure/linq": "~3.0.0"
}
}

Просмотреть файл

@ -1,6 +1,6 @@
{
"name": "@azure/datastore",
"version": "3.0.0",
"version": "4.0.0",
"description": "Virtualized Filesystem with parsing and sourcemaps (AutoRest)",
"main": "./dist/main.js",
"typings": "./dist/main.d.ts",
@ -47,16 +47,16 @@
"@types/jsonpath": "^0.2.0",
"@types/source-map": "0.5.0",
"mocha": "5.2.0",
"@typescript-eslint/eslint-plugin": "^1.13.0",
"@typescript-eslint/parser": "^1.13.0",
"eslint": "^6.1.0",
"@typescript-eslint/eslint-plugin": "~2.0.0",
"@typescript-eslint/parser": "~2.0.0",
"eslint": "~6.2.2",
"typescript": "~3.5.3"
},
"dependencies": {
"@azure/tasks": "^2.1.0",
"@azure/uri": "^2.1.0",
"@azure/linq": "^2.1.0",
"@azure/codegen": "^1.0.0",
"@azure/tasks": "~3.0.0",
"@azure/uri": "~3.0.0",
"@azure/linq": "~3.0.0",
"@azure/codegen": "~2.0.0",
"jsonpath": "1.0.0",
"safe-eval": "^0.3.0",
"source-map": "0.5.6",

Просмотреть файл

@ -1,6 +1,6 @@
{
"name": "@azure/deduplication",
"version": "2.0.0",
"version": "3.0.0",
"description": "Deduplication of elements in OpenAPI 3 documents",
"main": "./dist/main.js",
"typings": "./dist/main.d.ts",
@ -46,18 +46,18 @@
"@types/node": "10.12.19",
"mocha": "5.2.0",
"typescript": "~3.5.3",
"@typescript-eslint/eslint-plugin": "^1.13.0",
"@typescript-eslint/parser": "^1.13.0",
"eslint": "^6.1.0",
"@azure/async-io": "^2.1.0"
"@typescript-eslint/eslint-plugin": "~2.0.0",
"@typescript-eslint/parser": "~2.0.0",
"eslint": "~6.2.2",
"@azure/async-io": "~3.0.0"
},
"dependencies": {
"@azure/datastore": "^3.0.0",
"@azure/linq": "^2.1.0",
"@azure/tasks": "^2.1.0",
"@azure/object-comparison": "^2.1.0",
"@azure/openapi": "^2.1.0",
"@azure/codegen": "^1.0.0",
"@azure/datastore": "~4.0.0",
"@azure/linq": "~3.0.0",
"@azure/tasks": "~3.0.0",
"@azure/object-comparison": "~3.0.0",
"@azure/openapi": "~3.0.0",
"@azure/codegen": "~2.0.0",
"compare-versions": "^3.4.0"
}
}

Просмотреть файл

@ -1,6 +1,6 @@
{
"name": "@azure/eventing",
"version": "2.1.0",
"version": "3.0.0",
"description": "Typescript-based eventing framework (for Azure Open Source Projects)",
"engines": {
"node": ">=7.10.0"
@ -44,12 +44,12 @@
"@types/node": "10.12.19",
"@types/mocha": "5.2.5",
"mocha": "5.2.0",
"@typescript-eslint/eslint-plugin": "^1.13.0",
"@typescript-eslint/parser": "^1.13.0",
"eslint": "^6.1.0",
"@typescript-eslint/eslint-plugin": "~2.0.0",
"@typescript-eslint/parser": "~2.0.0",
"eslint": "~6.2.2",
"typescript": "~3.5.3"
},
"dependencies": {
"@azure/tasks": "^2.1.0"
"@azure/tasks": "~3.0.0"
}
}

Просмотреть файл

@ -1,6 +1,6 @@
{
"name": "@azure/extension",
"version": "2.2.0",
"version": "3.0.0",
"description": "Yarn-Based extension aquisition (for Azure Open Source Projects)",
"engines": {
"node": ">=7.10.0"
@ -49,15 +49,15 @@
"@types/mocha": "5.2.5",
"@types/semver": "5.5.0",
"mocha": "5.2.0",
"@typescript-eslint/eslint-plugin": "^1.13.0",
"@typescript-eslint/parser": "^1.13.0",
"eslint": "^6.1.0",
"@typescript-eslint/eslint-plugin": "~2.0.0",
"@typescript-eslint/parser": "~2.0.0",
"eslint": "~6.2.2",
"typescript": "~3.5.3"
},
"dependencies": {
"@azure/async-io": "^2.1.0",
"@azure/eventing": "^2.1.0",
"@azure/tasks": "^2.1.0",
"@azure/async-io": "~3.0.0",
"@azure/eventing": "~3.0.0",
"@azure/tasks": "~3.0.0",
"npm-package-arg": "6.1.0",
"semver": "^5.5.1",
"pacote": "9.2.3"

Просмотреть файл

@ -1,6 +1,6 @@
{
"name": "@azure/linq",
"version": "2.1.0",
"version": "3.0.0",
"description": "LINQ-like functionality for Typescript.",
"main": "./dist/main.js",
"typings": "./dist/main.d.ts",
@ -45,9 +45,9 @@
"@types/mocha": "5.2.5",
"@types/node": "10.12.19",
"mocha": "5.2.0",
"@typescript-eslint/eslint-plugin": "^1.13.0",
"@typescript-eslint/parser": "^1.13.0",
"eslint": "^6.1.0",
"@typescript-eslint/eslint-plugin": "~2.0.0",
"@typescript-eslint/parser": "~2.0.0",
"eslint": "~6.2.2",
"typescript": "~3.5.3"
},
"dependencies": {}

Просмотреть файл

@ -1,6 +1,6 @@
{
"name": "@azure/oai2-to-oai3",
"version": "3.0.0",
"version": "4.0.0",
"description": "OpenAPI2 to OpenAPI3 conversion library that maintains souremaps for use with AutoRest",
"main": "./dist/main.js",
"typings": "./dist/main.d.ts",
@ -47,16 +47,16 @@
"@types/js-yaml": "3.12.1",
"mocha": "5.2.0",
"typescript": "~3.5.3",
"@azure/async-io": "^2.1.0",
"@azure/async-io": "~3.0.0",
"source-map-support": "0.5.9",
"@typescript-eslint/eslint-plugin": "^1.13.0",
"@typescript-eslint/parser": "^1.13.0",
"eslint": "^6.1.0",
"@typescript-eslint/eslint-plugin": "~2.0.0",
"@typescript-eslint/parser": "~2.0.0",
"eslint": "~6.2.2",
"@types/source-map": "0.5.0"
},
"dependencies": {
"@azure/datastore": "^3.0.0",
"@azure/openapi": "^2.1.0",
"@azure/datastore": "~4.0.0",
"@azure/openapi": "~3.0.0",
"source-map": "0.5.6"
}
}

Просмотреть файл

@ -1,6 +1,6 @@
{
"name": "@azure/object-comparison",
"version": "2.1.0",
"version": "3.0.0",
"description": "Library to compare objects",
"main": "./dist/main.js",
"typings": "./dist/main.d.ts",
@ -45,9 +45,9 @@
"@types/mocha": "5.2.5",
"@types/node": "10.12.19",
"mocha": "5.2.0",
"@typescript-eslint/eslint-plugin": "^1.13.0",
"@typescript-eslint/parser": "^1.13.0",
"eslint": "^6.1.0",
"@typescript-eslint/eslint-plugin": "~2.0.0",
"@typescript-eslint/parser": "~2.0.0",
"eslint": "~6.2.2",
"typescript": "~3.5.3"
},
"dependencies": {}

Просмотреть файл

@ -1,6 +1,6 @@
{
"name": "@azure/openapi",
"version": "2.1.0",
"version": "3.0.0",
"description": "OpenAPI common code for Azure Tools.",
"main": "./dist/main.js",
"typings": "./dist/main.d.ts",
@ -45,12 +45,12 @@
"@types/mocha": "5.2.5",
"@types/node": "10.12.19",
"mocha": "5.2.0",
"@typescript-eslint/eslint-plugin": "^1.13.0",
"@typescript-eslint/parser": "^1.13.0",
"eslint": "^6.1.0",
"@typescript-eslint/eslint-plugin": "~2.0.0",
"@typescript-eslint/parser": "~2.0.0",
"eslint": "~6.2.2",
"typescript": "~3.5.3"
},
"dependencies": {
"@azure/linq": "^2.1.0"
"@azure/linq": "~3.0.0"
}
}

Просмотреть файл

@ -1,6 +1,6 @@
{
"name": "@azure/tasks",
"version": "2.1.0",
"version": "3.0.0",
"description": "Async tasks for Azure Open Source Projects",
"engines": {
"node": ">=7.10.0"
@ -45,9 +45,9 @@
"mocha": "5.2.0",
"mocha-typescript": "1.1.17",
"typescript": "~3.5.3",
"@typescript-eslint/eslint-plugin": "^1.13.0",
"@typescript-eslint/parser": "^1.13.0",
"eslint": "^6.1.0",
"@typescript-eslint/eslint-plugin": "~2.0.0",
"@typescript-eslint/parser": "~2.0.0",
"eslint": "~6.2.2",
"source-map-support": "0.5.9"
},
"dependencies": {}

Просмотреть файл

@ -1,6 +1,6 @@
{
"name": "@azure/uri",
"version": "2.1.0",
"version": "3.0.0",
"description": "Common URI handling code.",
"main": "./dist/main.js",
"typings": "./dist/main.d.ts",
@ -45,15 +45,15 @@
"@types/mocha": "5.2.5",
"@types/node": "10.12.19",
"mocha": "5.2.0",
"@typescript-eslint/eslint-plugin": "^1.13.0",
"@typescript-eslint/parser": "^1.13.0",
"eslint": "^6.1.0",
"@typescript-eslint/eslint-plugin": "~2.0.0",
"@typescript-eslint/parser": "~2.0.0",
"eslint": "~6.2.2",
"typescript": "~3.5.3"
},
"dependencies": {
"get-uri": "^2.0.2",
"urijs": "^1.19.1",
"get-uri": "~2.0.2",
"urijs": "~1.19.1",
"file-url": "2.0.2",
"@azure/async-io": "^2.1.0"
"@azure/async-io": "~3.0.0"
}
}

Просмотреть файл

@ -7,4 +7,4 @@
"prepare": "(pwsh -v || npm --silent run show-error) && pwsh -noprofile ./.scripts/verify-install.ps1",
"show-error": "echo ====== &echo ====== & echo ====== & echo REQUIRED: Install PowerShell-core 6.1 or greater (see readme.md) & echo ====== & echo ====== & echo ====== & exit 1"
}
}
}