mirror of
https://github.com/Redocly/redoc.git
synced 2025-01-26 23:54:07 +03:00
Update angular2 to the latest alpha + migrate
This commit is contained in:
parent
47cd65f2a3
commit
66aa19404a
|
@ -1,6 +1,7 @@
|
|||
'use strict';
|
||||
|
||||
import {Component, View, CORE_DIRECTIVES} from 'angular2/angular2';
|
||||
import {Component, View} from 'angular2/core';
|
||||
import {CORE_DIRECTIVES} from 'angular2/common';
|
||||
|
||||
@Component({
|
||||
selector: 'tabs'
|
||||
|
@ -8,7 +9,7 @@ import {Component, View, CORE_DIRECTIVES} from 'angular2/angular2';
|
|||
@View({
|
||||
template: `
|
||||
<ul>
|
||||
<li *ng-for="#tab of tabs" [ng-class]="{active: tab.active}" (click)="selectTab(tab)"
|
||||
<li *ngFor="#tab of tabs" [ngClass]="{active: tab.active}" (click)="selectTab(tab)"
|
||||
class="tab-{{tab.tabStatus}}"> {{tab.tabTitle}}
|
||||
</li>
|
||||
</ul>
|
||||
|
@ -39,7 +40,7 @@ export class Tabs {
|
|||
|
||||
@Component({
|
||||
selector: 'tab',
|
||||
inputs: ['tabTitle: tab-title', 'tabStatus: tab-status']
|
||||
inputs: ['tabTitle', 'tabStatus']
|
||||
})
|
||||
@View({
|
||||
template: `
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
<div class="zippy zippy-{{type}}" [ng-class]="{'zippy-empty': empty}">
|
||||
<div class="zippy zippy-{{type}}" [ngClass]="{'zippy-empty': empty}">
|
||||
<div class="zippy-title" (click)="toggle()">
|
||||
<span class="zippy-indicator">{{ visible ? '▾' : '▸' }}</span>
|
||||
<span class="zippy-indicator">{{ visible ? '▾' : '▸' }}</span>
|
||||
{{title}}
|
||||
</div>
|
||||
<div class="zippy-content" [ng-class]="{'zippy-hidden': !visible}">
|
||||
<div class="zippy-content" [ngClass]="{'zippy-hidden': !visible}">
|
||||
<ng-content></ng-content>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
'use strict';
|
||||
|
||||
import {Component, View, EventEmitter, CORE_DIRECTIVES} from 'angular2/angular2';
|
||||
import {Component, View, EventEmitter} from 'angular2/core';
|
||||
import {CORE_DIRECTIVES} from 'angular2/common';
|
||||
|
||||
@Component({
|
||||
selector: 'zippy',
|
||||
|
|
|
@ -1,15 +1,15 @@
|
|||
<h1 class="api-info-header">{{data.title}} ({{data.version}})</h1>
|
||||
<p *ng-if="data.description" inner-html="{{data.description | marked}}"> </p>
|
||||
<p *ngIf="data.description" innerHtml="{{data.description | marked}}"> </p>
|
||||
<p>
|
||||
<!-- TODO: create separate components for contact and license ? -->
|
||||
<span *ng-if="data.contact"> Contact:
|
||||
<a *ng-if="data.contact.url" href="{{data.contact.url}}">
|
||||
<span *ngIf="data.contact"> Contact:
|
||||
<a *ngIf="data.contact.url" href="{{data.contact.url}}">
|
||||
{{data.contact.name || data.contact.url}}</a>
|
||||
<a *ng-if="data.contact.email" href="mailto:{{data.contact.email}}">
|
||||
<a *ngIf="data.contact.email" href="mailto:{{data.contact.email}}">
|
||||
{{data.contact.email}}</a>
|
||||
</span>
|
||||
<span *ng-if="data.license"> License:
|
||||
<a *ng-if="data.license.url" href="{{data.license.url}}"> {{data.license.name}} </a>
|
||||
<span *ng-if="!data.license.url"> {{data.license.name}} </span>
|
||||
<span *ngIf="data.license"> License:
|
||||
<a *ngIf="data.license.url" href="{{data.license.url}}"> {{data.license.name}} </a>
|
||||
<span *ngIf="!data.license.url"> {{data.license.name}} </span>
|
||||
</span>
|
||||
</p>
|
||||
|
|
|
@ -1,20 +1,20 @@
|
|||
<small *ng-if="errorMessage">{{errorMessage}}</small>
|
||||
<span *ng-if="isTrivial" class="param-type param-type-trivial" [ng-class]="type">{{_displayType}}</span>
|
||||
<div *ng-if="!isTrivial" class="params-wrap" [ng-class]="{'params-array': isArray}">
|
||||
<div *ng-for="#prop of data.properties" class="param-wrap">
|
||||
<small *ngIf="errorMessage">{{errorMessage}}</small>
|
||||
<span *ngIf="isTrivial" class="param-type param-type-trivial" [ngClass]="type">{{_displayType}}</span>
|
||||
<div *ngIf="!isTrivial" class="params-wrap" [ngClass]="{'params-array': isArray}">
|
||||
<div *ngFor="#prop of data.properties" class="param-wrap">
|
||||
<div class="param">
|
||||
<div class="param-name">
|
||||
<span>{{prop._name}}</span>
|
||||
</div>
|
||||
<div class="param-info">
|
||||
<div>
|
||||
<span class="param-type" [ng-class]="prop.type">{{prop._displayType}} {{prop._displayFormat}}</span>
|
||||
<span *ng-if="prop.isRequired" class="param-required">Required</span>
|
||||
<span class="param-type" [ngClass]="prop.type">{{prop._displayType}} {{prop._displayFormat}}</span>
|
||||
<span *ngIf="prop.isRequired" class="param-required">Required</span>
|
||||
</div>
|
||||
<div class="param-description" inner-html="{{prop.description | marked}}"></div>
|
||||
<div class="param-description" innerHtml="{{prop.description | marked}}"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="param-schema" [ng-class]="{'param-array': prop._isArray}" *ng-if="prop._pointer">
|
||||
<div class="param-schema" [ngClass]="{'param-array': prop._isArray}" *ngIf="prop._pointer">
|
||||
<json-schema pointer="{{prop._pointer}}" [is-array]='prop._isArray'>
|
||||
</json-schema>
|
||||
</div>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
'use strict';
|
||||
|
||||
import {RedocComponent, BaseComponent} from '../base';
|
||||
import {ElementRef} from 'angular2/angular2';
|
||||
import {ElementRef} from 'angular2/core';
|
||||
import JsonPointer from '../../utils/JsonPointer';
|
||||
|
||||
@RedocComponent({
|
||||
|
|
|
@ -8,7 +8,7 @@ import 'json-formatter-js/dist/style.css!';
|
|||
import JSONSchemaView from 'json-schema-view-js/src/index';
|
||||
import 'json-schema-view-js/dist/style.css!';
|
||||
|
||||
import {ElementRef} from 'angular2/angular2';
|
||||
import {ElementRef} from 'angular2/core';
|
||||
|
||||
@RedocComponent({
|
||||
selector: 'schema',
|
||||
|
|
|
@ -4,20 +4,20 @@
|
|||
<a class="share-link" href="#{{tag}}{{pointer}}"></a>{{data.methodInfo.summary}}
|
||||
</h2>
|
||||
<h3 class="method-endpoint">
|
||||
<span class="http-method" [ng-class]="data.method">{{data.method}}</span>
|
||||
<span class="http-method" [ngClass]="data.method">{{data.method}}</span>
|
||||
<span class="api-url">{{data.apiUrl}}</span> <span class="path">{{data.path}}</span>
|
||||
</h3>
|
||||
<div class="method-tags" *ng-if="data.methodInfo.tags.length">
|
||||
<a *ng-for="#tag of data.methodInfo.tags" attr.href="#{{tag}}"> {{tag}} </a>
|
||||
<div class="method-tags" *ngIf="data.methodInfo.tags.length">
|
||||
<a *ngFor="#tag of data.methodInfo.tags" attr.href="#{{tag}}"> {{tag}} </a>
|
||||
</div>
|
||||
<p *ng-if="data.methodInfo.description" class="method-description"
|
||||
inner-html="{{data.methodInfo.description | marked}}">
|
||||
<p *ngIf="data.methodInfo.description" class="method-description"
|
||||
innerHtml="{{data.methodInfo.description | marked}}">
|
||||
</p>
|
||||
<params-list pointer="{{pointer}}/parameters"> </params-list>
|
||||
<responses-list pointer="{{pointer}}/responses"> </responses-list>
|
||||
</div>
|
||||
<div class="method-samples">
|
||||
<div *ng-if="data.bodyParam">
|
||||
<div *ngIf="data.bodyParam">
|
||||
<header> Body sample </header>
|
||||
<schema-sample pointer="{{data.bodyParam._pointer}}/schema"> </schema-sample>
|
||||
</div>
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
<div class="methods">
|
||||
<div class="tag" *ng-for="#tag of data.tags">
|
||||
<div class="tag" *ngFor="#tag of data.tags">
|
||||
<div class="tag-info" [attr.tag]="tag.name">
|
||||
<h1 class="sharable-header"> <a class="share-link" href="#{{tag.name}}"></a>{{tag.name}} </h1>
|
||||
<p *ng-if="tag.description" inner-html="{{ tag.description | marked }}"> </p>
|
||||
<p *ngIf="tag.description" innerHtml="{{ tag.description | marked }}"> </p>
|
||||
</div>
|
||||
<method *ng-for="#method of tag.methods" [pointer]="method.pointer" [attr.pointer]="method.pointer"
|
||||
<method *ngFor="#method of tag.methods" [pointer]="method.pointer" [attr.pointer]="method.pointer"
|
||||
[attr.tag]="method.tag" [tag]="method.tag"></method>
|
||||
</tag>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1,23 +1,23 @@
|
|||
<h2 class="param-list-header" *ng-if="data.params.length"> Parameters </h2>
|
||||
<h2 class="param-list-header" *ngIf="data.params.length"> Parameters </h2>
|
||||
<div class="params-wrap">
|
||||
<div *ng-for="#param of data.params" class="param">
|
||||
<div *ngFor="#param of data.params" class="param">
|
||||
<div class="param-name">
|
||||
<span> {{param.name}} </span>
|
||||
</div>
|
||||
<div class="param-info">
|
||||
<div>
|
||||
<span class="param-type" [ng-class]="param.type">{{param.type}}</span>
|
||||
<span *ng-if="param.required" class="param-required">Required</span>
|
||||
<span class="param-type" [ngClass]="param.type">{{param.type}}</span>
|
||||
<span *ngIf="param.required" class="param-required">Required</span>
|
||||
</div>
|
||||
<div class="param-description" inner-html="{{param.description | marked}}"></div>
|
||||
<div class="param-description" innerHtml="{{param.description | marked}}"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div *ng-if="data.bodyParam">
|
||||
<h2 class="param-list-header" *ng-if="data.bodyParam"> Request Body </h2>
|
||||
<div *ngIf="data.bodyParam">
|
||||
<h2 class="param-list-header" *ngIf="data.bodyParam"> Request Body </h2>
|
||||
|
||||
<div class="body-param-description" inner-html="{{data.bodyParam.description | marked}}"></div>
|
||||
<div class="body-param-description" innerHtml="{{data.bodyParam.description | marked}}"></div>
|
||||
<div>
|
||||
<json-schema pointer="{{data.bodyParam.pointer}}/schema">
|
||||
</json-schema>
|
||||
|
|
|
@ -5,7 +5,7 @@ import SchemaManager from '../../utils/SchemaManager';
|
|||
import ApiInfo from '../ApiInfo/api-info';
|
||||
import MethodsList from '../MethodsList/methods-list';
|
||||
import SideMenu from '../SideMenu/side-menu';
|
||||
import {ChangeDetectionStrategy} from 'angular2/angular2';
|
||||
import {ChangeDetectionStrategy} from 'angular2/core';
|
||||
|
||||
@RedocComponent({
|
||||
selector: 'redoc',
|
||||
|
|
|
@ -1,19 +1,19 @@
|
|||
<h2 class="responses-list-header" *ng-if="data.responses.length"> Responses </h2>
|
||||
<zippy *ng-for="#response of data.responses" title="{{response.code}} {{response.description}}"
|
||||
<h2 class="responses-list-header" *ngIf="data.responses.length"> Responses </h2>
|
||||
<zippy *ngFor="#response of data.responses" title="{{response.code}} {{response.description}}"
|
||||
[type]="response.type" [empty]="!response.schema">
|
||||
<div *ng-if="response.headers" class="response-headers">
|
||||
<div *ngIf="response.headers" class="response-headers">
|
||||
<header>
|
||||
Headers
|
||||
</header>
|
||||
<div class="header" *ng-for="#header of response.headers">
|
||||
<div class="header" *ngFor="#header of response.headers">
|
||||
<div class="header-name"> {{header.name}} </div>
|
||||
<div class="header-type"> {{header.type}} </div>
|
||||
<div class="header-description" inner-html="{{header.description | marked}}"> </div>
|
||||
<div class="header-description" innerHtml="{{header.description | marked}}"> </div>
|
||||
</div>
|
||||
</div>
|
||||
<header>
|
||||
Response schema
|
||||
</header>
|
||||
<json-schema *ng-if="response.schema" class="schema type" pointer="{{response.pointer}}/schema">
|
||||
<json-schema *ngIf="response.schema" class="schema type" pointer="{{response.pointer}}/schema">
|
||||
</json-schema>
|
||||
</zippy>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<header *ng-if="data.responses.length"> Responses samples </header>
|
||||
<tabs *ng-if="data.responses.length">
|
||||
<tab *ng-for="#response of data.responses" tab-title="{{response.code}} {{response.description}}"
|
||||
[tab-status]="response.type">
|
||||
<schema-sample [pointer]="response.pointer"><schema-sample>
|
||||
<header *ngIf="data.responses.length"> Responses samples </header>
|
||||
<tabs *ngIf="data.responses.length">
|
||||
<tab *ngFor="#response of data.responses" tabTitle="{{response.code}} {{response.description}}"
|
||||
[tabStatus]="response.type">
|
||||
<schema-sample [pointer]="response.pointer"></schema-sample>
|
||||
</tab>
|
||||
</tabs>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<div class="snippet">
|
||||
<!-- in case sample is not available for some reason -->
|
||||
<pre *ng-if="data.sample == null"> Sample unavailable </pre>
|
||||
<pre *ngIf="data.sample == null"> Sample unavailable </pre>
|
||||
<pre>{{data.sample | json}}</pre>
|
||||
</div>
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
<h2 class="menu-header"> Api reference </h2>
|
||||
<div *ng-for="var cat of data.menu; #idx = index" class="menu-cat">
|
||||
<div *ngFor="var cat of data.menu; #idx = index" class="menu-cat">
|
||||
|
||||
<label class="menu-cat-header" (click)="activateAndScroll(idx, -1)" [ng-class]="{active: cat.active}"> {{cat.name}}</label>
|
||||
<ul class="menu-subitems" [ng-class]="{active: cat.active}">
|
||||
<li *ng-for="var method of cat.methods; var methIdx = index"
|
||||
[ng-class]="{active: method.active}"
|
||||
<label class="menu-cat-header" (click)="activateAndScroll(idx, -1)" [ngClass]="{active: cat.active}"> {{cat.name}}</label>
|
||||
<ul class="menu-subitems" [ngClass]="{active: cat.active}">
|
||||
<li *ngFor="var method of cat.methods; var methIdx = index"
|
||||
[ngClass]="{active: method.active}"
|
||||
(click)="activateAndScroll(idx, methIdx)">
|
||||
{{method.summary}}
|
||||
</li>
|
||||
|
|
|
@ -2,10 +2,12 @@
|
|||
|
||||
import {RedocComponent, BaseComponent} from '../base';
|
||||
import SchemaManager from '../../utils/SchemaManager';
|
||||
import {NgZone, ChangeDetectionStrategy} from 'angular2/angular2';
|
||||
import {NgZone, ChangeDetectionStrategy} from 'angular2/core';
|
||||
import {redocEvents} from '../../events';
|
||||
import scrollParent from 'scrollparent';
|
||||
|
||||
import {BrowserDomAdapter} from 'angular2/platform/browser';
|
||||
|
||||
const CHANGE = {
|
||||
NEXT : 1,
|
||||
BACK : -1,
|
||||
|
@ -29,6 +31,7 @@ export default class SideMenu extends BaseComponent {
|
|||
constructor(schemaMgr, zone) {
|
||||
super(schemaMgr);
|
||||
this.zone = zone;
|
||||
this.adapter = new BrowserDomAdapter();
|
||||
|
||||
this.scrollParent = scrollParent(document.querySelector('side-menu'));
|
||||
/*if (this.scrollParent.scrollHeight === this.scrollParent.clientHeight) {
|
||||
|
@ -67,8 +70,8 @@ export default class SideMenu extends BaseComponent {
|
|||
this.prevOffsetY = this.scrollY();
|
||||
let view = document.querySelector('redoc');
|
||||
this.viewBoxTop = view.offsetTop;
|
||||
this.scrollParent.addEventListener('scroll', () => this.scrollHandler());
|
||||
window.addEventListener('hashchange', evt => this.hashScroll(evt));
|
||||
this.adapter.on(this.scrollParent, 'scroll', () => this.scrollHandler());
|
||||
this.adapter.on(window, 'hashchange', evt => this.hashScroll(evt));
|
||||
}
|
||||
|
||||
activateAndScroll(idx, methodIdx) {
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
'use strict';
|
||||
import {Component, View, OnInit, CORE_DIRECTIVES, ChangeDetectionStrategy} from 'angular2/angular2';
|
||||
import {Component, View, OnInit, ChangeDetectionStrategy} from 'angular2/core';
|
||||
import {CORE_DIRECTIVES} from 'angular2/common';
|
||||
import SchemaManager from '../utils/SchemaManager';
|
||||
import JsonPointer from '../utils/JsonPointer';
|
||||
import {MarkedPipe, JsonPointerEscapePipe} from '../utils/pipes';
|
||||
|
@ -70,7 +71,7 @@ export class BaseComponent {
|
|||
/**
|
||||
* onInit method is run by angular2 after all component inputs are resolved
|
||||
*/
|
||||
onInit() {
|
||||
ngOnInit() {
|
||||
this.componentSchema = this.schemaMgr.byPointer(this.pointer || '');
|
||||
this.prepareModel();
|
||||
this.init();
|
||||
|
|
|
@ -22,16 +22,16 @@ describe('BaseComponent', () => {
|
|||
expect(component.componentSchema).to.not.exist;
|
||||
});
|
||||
|
||||
it('should set componentSchema based on pointer on onInit', () => {
|
||||
it('should set componentSchema based on pointer on ngOnInit', () => {
|
||||
component.pointer = '/tags';
|
||||
component.onInit();
|
||||
component.ngOnInit();
|
||||
component.componentSchema.should.be.equal(schemaMgr._schema.tags);
|
||||
});
|
||||
|
||||
it('should call prepareModel and init virtual methods after init', () => {
|
||||
sinon.spy(component, 'prepareModel');
|
||||
sinon.spy(component, 'init');
|
||||
component.onInit();
|
||||
component.ngOnInit();
|
||||
component.prepareModel.calledOnce.should.be.true;
|
||||
component.init.calledOnce.should.be.true;
|
||||
});
|
||||
|
@ -45,7 +45,7 @@ describe('BaseComponent', () => {
|
|||
let paramWithRef;
|
||||
before(() => {
|
||||
component.pointer = '/paths/test1/get';
|
||||
component.onInit();
|
||||
component.ngOnInit();
|
||||
component.dereference();
|
||||
paramWithRef = component.componentSchema.parameters[0];
|
||||
});
|
||||
|
@ -73,7 +73,7 @@ describe('BaseComponent', () => {
|
|||
let paramWithRef;
|
||||
before(() => {
|
||||
component.pointer = '/paths/test2/get';
|
||||
component.onInit();
|
||||
component.ngOnInit();
|
||||
component.dereference();
|
||||
paramWithRef = component.componentSchema.parameters[0];
|
||||
});
|
||||
|
@ -94,7 +94,7 @@ describe('BaseComponent', () => {
|
|||
let paramWithRef;
|
||||
before(() => {
|
||||
component.pointer = '/paths/test3/get';
|
||||
component.onInit();
|
||||
component.ngOnInit();
|
||||
component.dereference();
|
||||
paramWithRef = component.componentSchema.parameters[0];
|
||||
});
|
||||
|
@ -119,7 +119,7 @@ describe('BaseComponent', () => {
|
|||
let joined;
|
||||
before(() => {
|
||||
component.pointer = '/definitions/SimpleAllOf';
|
||||
component.onInit();
|
||||
component.ngOnInit();
|
||||
component.dereference();
|
||||
component.joinAllOf();
|
||||
joined = component.componentSchema;
|
||||
|
@ -148,7 +148,7 @@ describe('BaseComponent', () => {
|
|||
let joined;
|
||||
before(() => {
|
||||
component.pointer = '/definitions/AllOfWithRef';
|
||||
component.onInit();
|
||||
component.ngOnInit();
|
||||
component.dereference();
|
||||
component.joinAllOf();
|
||||
joined = component.componentSchema;
|
||||
|
@ -176,14 +176,14 @@ describe('BaseComponent', () => {
|
|||
describe('Incorrect or not supported allOf', () => {
|
||||
it('should throw when properties or required is set on the same level as allOf', () => {
|
||||
component.pointer = '/definitions/BadAllOf2';
|
||||
component.onInit();
|
||||
component.ngOnInit();
|
||||
component.dereference();
|
||||
component.joinAllOf.bind(component).should.throw();
|
||||
});
|
||||
|
||||
it('should throw when merging non-object schemas', () => {
|
||||
component.pointer = '/definitions/BadAllOf1';
|
||||
component.onInit();
|
||||
component.ngOnInit();
|
||||
component.dereference();
|
||||
component.joinAllOf.bind(component).should.throw();
|
||||
});
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
'use strict';
|
||||
|
||||
import {EventEmitter} from 'angular2/angular2';
|
||||
import {EventEmitter} from 'angular2/core';
|
||||
|
||||
var bootsrEmmiter = new EventEmitter();
|
||||
export var redocEvents = {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
'use strict';
|
||||
|
||||
import {bootstrap} from 'angular2/angular2';
|
||||
import {bootstrap} from 'angular2/platform/browser';
|
||||
import {Redoc} from './components/index';
|
||||
import SchemaManager from './utils/SchemaManager';
|
||||
import {redocEvents} from './events';
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
'use strict';
|
||||
|
||||
import {Pipe} from 'angular2/angular2';
|
||||
import {Pipe} from 'angular2/core';
|
||||
import {JsonPointer} from './JsonPointer';
|
||||
import marked from 'marked';
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
"configFile": "system.config.js",
|
||||
"dependencies": {
|
||||
"RomanGotsiy/json-schema-ref-parser": "github:RomanGotsiy/json-schema-ref-parser@master",
|
||||
"angular2": "npm:angular2@^2.0.0-alpha.46",
|
||||
"angular2": "npm:angular2@^2.0.0-alpha.53",
|
||||
"es6-shim": "github:es-shims/es6-shim@^0.33.6",
|
||||
"json-formatter-js": "npm:json-formatter-js@^0.2.0",
|
||||
"json-pointer": "npm:json-pointer@^0.3.0",
|
||||
|
|
|
@ -38,7 +38,7 @@ System.config({
|
|||
|
||||
map: {
|
||||
"RomanGotsiy/json-schema-ref-parser": "github:RomanGotsiy/json-schema-ref-parser@master",
|
||||
"angular2": "npm:angular2@2.0.0-alpha.46",
|
||||
"angular2": "npm:angular2@2.0.0-alpha.53",
|
||||
"babel": "npm:babel-core@5.8.25",
|
||||
"babel-runtime": "npm:babel-runtime@5.8.25",
|
||||
"clean-css": "npm:clean-css@3.4.6",
|
||||
|
@ -84,7 +84,7 @@ System.config({
|
|||
"assert": "npm:assert@1.3.0"
|
||||
},
|
||||
"github:jspm/nodelibs-buffer@0.1.0": {
|
||||
"buffer": "npm:buffer@3.5.2"
|
||||
"buffer": "npm:buffer@3.5.5"
|
||||
},
|
||||
"github:jspm/nodelibs-constants@0.1.0": {
|
||||
"constants-browserify": "npm:constants-browserify@0.0.1"
|
||||
|
@ -155,23 +155,19 @@ System.config({
|
|||
"github:jspm/nodelibs-zlib@0.1.0": {
|
||||
"browserify-zlib": "npm:browserify-zlib@0.1.4"
|
||||
},
|
||||
"npm:@reactivex/rxjs@5.0.0-alpha.7": {
|
||||
"buffer": "github:jspm/nodelibs-buffer@0.1.0",
|
||||
"path": "github:jspm/nodelibs-path@0.1.0",
|
||||
"process": "github:jspm/nodelibs-process@0.1.2"
|
||||
},
|
||||
"npm:amdefine@1.0.0": {
|
||||
"fs": "github:jspm/nodelibs-fs@0.1.2",
|
||||
"module": "github:jspm/nodelibs-module@0.1.0",
|
||||
"path": "github:jspm/nodelibs-path@0.1.0",
|
||||
"process": "github:jspm/nodelibs-process@0.1.2"
|
||||
},
|
||||
"npm:angular2@2.0.0-alpha.46": {
|
||||
"@reactivex/rxjs": "npm:@reactivex/rxjs@5.0.0-alpha.7",
|
||||
"buffer": "github:jspm/nodelibs-buffer@0.1.0",
|
||||
"npm:angular2@2.0.0-alpha.53": {
|
||||
"crypto": "github:jspm/nodelibs-crypto@0.1.0",
|
||||
"es6-promise": "npm:es6-promise@3.0.2",
|
||||
"es6-shim": "npm:es6-shim@0.33.13",
|
||||
"process": "github:jspm/nodelibs-process@0.1.2",
|
||||
"reflect-metadata": "npm:reflect-metadata@0.1.2",
|
||||
"rxjs": "npm:rxjs@5.0.0-alpha.14",
|
||||
"zone.js": "npm:zone.js@0.5.8"
|
||||
},
|
||||
"npm:argparse@1.0.3": {
|
||||
|
@ -183,9 +179,9 @@ System.config({
|
|||
"sprintf-js": "npm:sprintf-js@1.0.3",
|
||||
"util": "github:jspm/nodelibs-util@0.1.0"
|
||||
},
|
||||
"npm:asn1.js@4.0.0": {
|
||||
"npm:asn1.js@4.2.1": {
|
||||
"assert": "github:jspm/nodelibs-assert@0.1.0",
|
||||
"bn.js": "npm:bn.js@4.1.1",
|
||||
"bn.js": "npm:bn.js@4.5.1",
|
||||
"buffer": "github:jspm/nodelibs-buffer@0.1.0",
|
||||
"inherits": "npm:inherits@2.0.1",
|
||||
"minimalistic-assert": "npm:minimalistic-assert@1.0.0",
|
||||
|
@ -255,14 +251,14 @@ System.config({
|
|||
"inherits": "npm:inherits@2.0.1"
|
||||
},
|
||||
"npm:browserify-rsa@4.0.0": {
|
||||
"bn.js": "npm:bn.js@4.1.1",
|
||||
"bn.js": "npm:bn.js@4.5.1",
|
||||
"buffer": "github:jspm/nodelibs-buffer@0.1.0",
|
||||
"constants": "github:jspm/nodelibs-constants@0.1.0",
|
||||
"crypto": "github:jspm/nodelibs-crypto@0.1.0",
|
||||
"randombytes": "npm:randombytes@2.0.1"
|
||||
},
|
||||
"npm:browserify-sign@4.0.0": {
|
||||
"bn.js": "npm:bn.js@4.1.1",
|
||||
"bn.js": "npm:bn.js@4.5.1",
|
||||
"browserify-rsa": "npm:browserify-rsa@4.0.0",
|
||||
"buffer": "github:jspm/nodelibs-buffer@0.1.0",
|
||||
"create-hash": "npm:create-hash@1.1.2",
|
||||
|
@ -285,10 +281,13 @@ System.config({
|
|||
"buffer": "github:jspm/nodelibs-buffer@0.1.0",
|
||||
"systemjs-json": "github:systemjs/plugin-json@0.1.0"
|
||||
},
|
||||
"npm:buffer@3.5.2": {
|
||||
"npm:buffer@3.5.5": {
|
||||
"base64-js": "npm:base64-js@0.0.8",
|
||||
"child_process": "github:jspm/nodelibs-child_process@0.1.0",
|
||||
"fs": "github:jspm/nodelibs-fs@0.1.2",
|
||||
"ieee754": "npm:ieee754@1.1.6",
|
||||
"is-array": "npm:is-array@1.0.1"
|
||||
"isarray": "npm:isarray@1.0.0",
|
||||
"process": "github:jspm/nodelibs-process@0.1.2"
|
||||
},
|
||||
"npm:call-me-maybe@1.0.1": {
|
||||
"process": "github:jspm/nodelibs-process@0.1.2"
|
||||
|
@ -345,8 +344,11 @@ System.config({
|
|||
"npm:core-util-is@1.0.1": {
|
||||
"buffer": "github:jspm/nodelibs-buffer@0.1.0"
|
||||
},
|
||||
"npm:core-util-is@1.0.2": {
|
||||
"buffer": "github:jspm/nodelibs-buffer@0.1.0"
|
||||
},
|
||||
"npm:create-ecdh@4.0.0": {
|
||||
"bn.js": "npm:bn.js@4.1.1",
|
||||
"bn.js": "npm:bn.js@4.5.1",
|
||||
"buffer": "github:jspm/nodelibs-buffer@0.1.0",
|
||||
"crypto": "github:jspm/nodelibs-crypto@0.1.0",
|
||||
"elliptic": "npm:elliptic@6.0.2"
|
||||
|
@ -406,7 +408,7 @@ System.config({
|
|||
"minimalistic-assert": "npm:minimalistic-assert@1.0.0"
|
||||
},
|
||||
"npm:diffie-hellman@5.0.0": {
|
||||
"bn.js": "npm:bn.js@4.1.1",
|
||||
"bn.js": "npm:bn.js@4.5.1",
|
||||
"buffer": "github:jspm/nodelibs-buffer@0.1.0",
|
||||
"crypto": "github:jspm/nodelibs-crypto@0.1.0",
|
||||
"miller-rabin": "npm:miller-rabin@4.0.0",
|
||||
|
@ -414,7 +416,7 @@ System.config({
|
|||
"systemjs-json": "github:systemjs/plugin-json@0.1.0"
|
||||
},
|
||||
"npm:elliptic@6.0.2": {
|
||||
"bn.js": "npm:bn.js@4.1.1",
|
||||
"bn.js": "npm:bn.js@4.5.1",
|
||||
"brorand": "npm:brorand@1.0.5",
|
||||
"hash.js": "npm:hash.js@1.0.3",
|
||||
"inherits": "npm:inherits@2.0.1",
|
||||
|
@ -423,6 +425,9 @@ System.config({
|
|||
"npm:es6-promise@3.0.2": {
|
||||
"process": "github:jspm/nodelibs-process@0.1.2"
|
||||
},
|
||||
"npm:es6-shim@0.33.13": {
|
||||
"process": "github:jspm/nodelibs-process@0.1.2"
|
||||
},
|
||||
"npm:esprima@2.7.0": {
|
||||
"fs": "github:jspm/nodelibs-fs@0.1.2",
|
||||
"process": "github:jspm/nodelibs-process@0.1.2"
|
||||
|
@ -558,7 +563,7 @@ System.config({
|
|||
"process": "github:jspm/nodelibs-process@0.1.2"
|
||||
},
|
||||
"npm:miller-rabin@4.0.0": {
|
||||
"bn.js": "npm:bn.js@4.1.1",
|
||||
"bn.js": "npm:bn.js@4.5.1",
|
||||
"brorand": "npm:brorand@1.0.5"
|
||||
},
|
||||
"npm:mime-db@1.19.0": {
|
||||
|
@ -589,7 +594,7 @@ System.config({
|
|||
"process": "github:jspm/nodelibs-process@0.1.2"
|
||||
},
|
||||
"npm:parse-asn1@5.0.0": {
|
||||
"asn1.js": "npm:asn1.js@4.0.0",
|
||||
"asn1.js": "npm:asn1.js@4.2.1",
|
||||
"browserify-aes": "npm:browserify-aes@1.0.5",
|
||||
"buffer": "github:jspm/nodelibs-buffer@0.1.0",
|
||||
"create-hash": "npm:create-hash@1.1.2",
|
||||
|
@ -616,7 +621,7 @@ System.config({
|
|||
"assert": "github:jspm/nodelibs-assert@0.1.0"
|
||||
},
|
||||
"npm:public-encrypt@4.0.0": {
|
||||
"bn.js": "npm:bn.js@4.1.1",
|
||||
"bn.js": "npm:bn.js@4.5.1",
|
||||
"browserify-rsa": "npm:browserify-rsa@4.0.0",
|
||||
"buffer": "github:jspm/nodelibs-buffer@0.1.0",
|
||||
"create-hash": "npm:create-hash@1.1.2",
|
||||
|
@ -634,7 +639,7 @@ System.config({
|
|||
},
|
||||
"npm:readable-stream@1.1.13": {
|
||||
"buffer": "github:jspm/nodelibs-buffer@0.1.0",
|
||||
"core-util-is": "npm:core-util-is@1.0.1",
|
||||
"core-util-is": "npm:core-util-is@1.0.2",
|
||||
"events": "github:jspm/nodelibs-events@0.1.1",
|
||||
"inherits": "npm:inherits@2.0.1",
|
||||
"isarray": "npm:isarray@0.0.1",
|
||||
|
@ -693,6 +698,10 @@ System.config({
|
|||
"buffer": "github:jspm/nodelibs-buffer@0.1.0",
|
||||
"process": "github:jspm/nodelibs-process@0.1.2"
|
||||
},
|
||||
"npm:rxjs@5.0.0-alpha.14": {
|
||||
"buffer": "github:jspm/nodelibs-buffer@0.1.0",
|
||||
"process": "github:jspm/nodelibs-process@0.1.2"
|
||||
},
|
||||
"npm:sha.js@2.4.4": {
|
||||
"buffer": "github:jspm/nodelibs-buffer@0.1.0",
|
||||
"fs": "github:jspm/nodelibs-fs@0.1.2",
|
||||
|
|
Loading…
Reference in New Issue
Block a user