Comparing version 0.0.1 to 0.0.2
@@ -28,6 +28,5 @@ System.config({ | ||
map: { | ||
"angular2": "npm:angular2@2.0.0-alpha.52", | ||
"angular2": "npm:angular2@2.0.0-beta.0", | ||
"reflect-metadata": "npm:reflect-metadata@0.1.2", | ||
"typescript": "npm:typescript@1.7.3", | ||
"zone.js": "npm:zone.js@0.5.8", | ||
"github:jspm/nodelibs-assert@0.1.0": { | ||
@@ -37,3 +36,3 @@ "assert": "npm:assert@1.3.0" | ||
"github:jspm/nodelibs-buffer@0.1.0": { | ||
"buffer": "npm:buffer@3.5.4" | ||
"buffer": "npm:buffer@3.5.5" | ||
}, | ||
@@ -67,3 +66,3 @@ "github:jspm/nodelibs-constants@0.1.0": { | ||
}, | ||
"npm:angular2@2.0.0-alpha.52": { | ||
"npm:angular2@2.0.0-beta.0": { | ||
"crypto": "github:jspm/nodelibs-crypto@0.1.0", | ||
@@ -74,8 +73,8 @@ "es6-promise": "npm:es6-promise@3.0.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" | ||
"rxjs": "npm:rxjs@5.0.0-beta.0", | ||
"zone.js": "npm:zone.js@0.5.10" | ||
}, | ||
"npm:asn1.js@4.2.1": { | ||
"assert": "github:jspm/nodelibs-assert@0.1.0", | ||
"bn.js": "npm:bn.js@4.5.0", | ||
"bn.js": "npm:bn.js@4.5.2", | ||
"buffer": "github:jspm/nodelibs-buffer@0.1.0", | ||
@@ -115,3 +114,3 @@ "inherits": "npm:inherits@2.0.1", | ||
"npm:browserify-rsa@4.0.0": { | ||
"bn.js": "npm:bn.js@4.5.0", | ||
"bn.js": "npm:bn.js@4.5.2", | ||
"buffer": "github:jspm/nodelibs-buffer@0.1.0", | ||
@@ -123,3 +122,3 @@ "constants": "github:jspm/nodelibs-constants@0.1.0", | ||
"npm:browserify-sign@4.0.0": { | ||
"bn.js": "npm:bn.js@4.5.0", | ||
"bn.js": "npm:bn.js@4.5.2", | ||
"browserify-rsa": "npm:browserify-rsa@4.0.0", | ||
@@ -139,3 +138,3 @@ "buffer": "github:jspm/nodelibs-buffer@0.1.0", | ||
}, | ||
"npm:buffer@3.5.4": { | ||
"npm:buffer@3.5.5": { | ||
"base64-js": "npm:base64-js@0.0.8", | ||
@@ -145,3 +144,3 @@ "child_process": "github:jspm/nodelibs-child_process@0.1.0", | ||
"ieee754": "npm:ieee754@1.1.6", | ||
"isarray": "npm:isarray@0.0.1", | ||
"isarray": "npm:isarray@1.0.0", | ||
"process": "github:jspm/nodelibs-process@0.1.2" | ||
@@ -162,3 +161,3 @@ }, | ||
"npm:create-ecdh@4.0.0": { | ||
"bn.js": "npm:bn.js@4.5.0", | ||
"bn.js": "npm:bn.js@4.5.2", | ||
"buffer": "github:jspm/nodelibs-buffer@0.1.0", | ||
@@ -202,3 +201,3 @@ "crypto": "github:jspm/nodelibs-crypto@0.1.0", | ||
"npm:diffie-hellman@5.0.0": { | ||
"bn.js": "npm:bn.js@4.5.0", | ||
"bn.js": "npm:bn.js@4.5.2", | ||
"buffer": "github:jspm/nodelibs-buffer@0.1.0", | ||
@@ -211,3 +210,3 @@ "crypto": "github:jspm/nodelibs-crypto@0.1.0", | ||
"npm:elliptic@6.0.2": { | ||
"bn.js": "npm:bn.js@4.5.0", | ||
"bn.js": "npm:bn.js@4.5.2", | ||
"brorand": "npm:brorand@1.0.5", | ||
@@ -236,3 +235,3 @@ "hash.js": "npm:hash.js@1.0.3", | ||
"npm:miller-rabin@4.0.0": { | ||
"bn.js": "npm:bn.js@4.5.0", | ||
"bn.js": "npm:bn.js@4.5.2", | ||
"brorand": "npm:brorand@1.0.5" | ||
@@ -265,3 +264,3 @@ }, | ||
"npm:public-encrypt@4.0.0": { | ||
"bn.js": "npm:bn.js@4.5.0", | ||
"bn.js": "npm:bn.js@4.5.2", | ||
"browserify-rsa": "npm:browserify-rsa@4.0.0", | ||
@@ -297,3 +296,3 @@ "buffer": "github:jspm/nodelibs-buffer@0.1.0", | ||
}, | ||
"npm:rxjs@5.0.0-alpha.14": { | ||
"npm:rxjs@5.0.0-beta.0": { | ||
"buffer": "github:jspm/nodelibs-buffer@0.1.0", | ||
@@ -323,3 +322,3 @@ "process": "github:jspm/nodelibs-process@0.1.2" | ||
}, | ||
"npm:zone.js@0.5.8": { | ||
"npm:zone.js@0.5.10": { | ||
"es6-promise": "npm:es6-promise@3.0.2", | ||
@@ -326,0 +325,0 @@ "process": "github:jspm/nodelibs-process@0.1.2" |
{ | ||
"name": "co-auther", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "", | ||
@@ -12,3 +12,3 @@ "main": "src/co-auther/co-auther.js", | ||
"watch": "tsc -p src -w", | ||
"postinstall": "jspm install && npm run webdriver", | ||
"afterinstall": "jspm install && npm run webdriver", | ||
"webdriver": "node_modules/protractor/bin/webdriver-manager update", | ||
@@ -27,3 +27,3 @@ "tsc-e2e": "tsc -p test/e2e", | ||
"devDependencies": { | ||
"angular2": "^2.0.0-alpha.52", | ||
"angular2": "^2.0.0-beta.0", | ||
"es6-promise": "^3.0.2", | ||
@@ -37,5 +37,5 @@ "es6-shim": "^0.33.13", | ||
"reflect-metadata": "^0.1.2", | ||
"rxjs": "^5.0.0-alpha.14", | ||
"rxjs": "^5.0.0-beta.0", | ||
"typescript": "^1.7.3", | ||
"zone.js": "^0.5.8" | ||
"zone.js": "^0.5.10" | ||
}, | ||
@@ -45,5 +45,4 @@ "jspm": { | ||
"dependencies": { | ||
"angular2": "npm:angular2@^2.0.0-alpha.52", | ||
"reflect-metadata": "npm:reflect-metadata@^0.1.2", | ||
"zone.js": "npm:zone.js@^0.5.8" | ||
"angular2": "npm:angular2@^2.0.0-beta.0", | ||
"reflect-metadata": "npm:reflect-metadata@^0.1.2" | ||
}, | ||
@@ -50,0 +49,0 @@ "devDependencies": { |
@@ -1,12 +0,11 @@ | ||
require('reflect-metadata'); | ||
require('zone.js'); | ||
var angular2_1 = require('angular2/angular2'); | ||
var browser_1 = require('angular2/platform/browser'); | ||
var core_1 = require('angular2/core'); | ||
var router_1 = require('angular2/router'); | ||
var http_1 = require('angular2/http'); | ||
var app_cmp_1 = require('./components/app-cmp'); | ||
angular2_1.bootstrap(app_cmp_1.AppCmp, [ | ||
browser_1.bootstrap(app_cmp_1.AppCmp, [ | ||
router_1.ROUTER_PROVIDERS, | ||
http_1.HTTP_PROVIDERS, | ||
angular2_1.bind(router_1.LocationStrategy).toClass(router_1.HashLocationStrategy) | ||
core_1.bind(router_1.LocationStrategy).toClass(router_1.HashLocationStrategy) | ||
]); | ||
//# sourceMappingURL=bootstrap.js.map |
@@ -1,4 +0,3 @@ | ||
import 'reflect-metadata' | ||
import 'zone.js' | ||
import { bind, bootstrap } from 'angular2/angular2' | ||
import { bootstrap } from 'angular2/platform/browser' | ||
import { bind } from 'angular2/core' | ||
import { ROUTER_PROVIDERS, LocationStrategy, HashLocationStrategy } from 'angular2/router' | ||
@@ -5,0 +4,0 @@ import { HTTP_PROVIDERS } from 'angular2/http' |
@@ -11,3 +11,3 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
// Angular | ||
var angular2_1 = require('angular2/angular2'); | ||
var core_1 = require('angular2/core'); | ||
var router_1 = require('angular2/router'); | ||
@@ -37,3 +37,3 @@ // Pages | ||
AppCmp = __decorate([ | ||
angular2_1.Component({ | ||
core_1.Component({ | ||
selector: 'app', | ||
@@ -40,0 +40,0 @@ template: "\n <div style=\"margin: 30px;\">\n <p style=\"font-weight: bold;\">co-auther demo</p>\n <a [routerLink]=\"['/Authenticate']\">Authenticate</a> | \n <a [routerLink]=\"['/LoggedIn']\">Logged In</a> | \n <a [routerLink]=\"['/InitialRequest']\">Initial Request</a> | \n <a (click)=\"logOut()\" style=\"cursor: pointer;\">Log out</a>\n <br><br>\n <router-outlet></router-outlet>\n </div>\n ", |
// Angular | ||
import { Component } from 'angular2/angular2' | ||
import { Component } from 'angular2/core' | ||
import { ROUTER_DIRECTIVES, RouteConfig } from 'angular2/router' | ||
@@ -4,0 +4,0 @@ |
@@ -10,3 +10,3 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
}; | ||
var angular2_1 = require('angular2/angular2'); | ||
var core_1 = require('angular2/core'); | ||
var router_1 = require('angular2/router'); | ||
@@ -21,3 +21,3 @@ var co_auther_1 = require('../../co-auther/co-auther'); | ||
AuthenticateCmp = __decorate([ | ||
angular2_1.Component({ | ||
core_1.Component({ | ||
selector: 'authenticate-cmp', | ||
@@ -24,0 +24,0 @@ template: "\n <label>Username<input #username type=\"text\"></label><br>\n <label>Password<input #password type=\"password\"></label><br>\n <button (click)=\"login(username.value, password.value)\">Login</button>\n " |
@@ -1,2 +0,2 @@ | ||
import { Component } from 'angular2/angular2' | ||
import { Component } from 'angular2/core' | ||
import { CanActivate } from 'angular2/router' | ||
@@ -3,0 +3,0 @@ import { activationHelper, getCoAuther } from '../../co-auther/co-auther' |
@@ -10,3 +10,3 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
}; | ||
var angular2_1 = require('angular2/angular2'); | ||
var core_1 = require('angular2/core'); | ||
var router_1 = require('angular2/router'); | ||
@@ -18,3 +18,3 @@ var co_auther_1 = require('../../co-auther/co-auther'); | ||
InitialRequestCmp = __decorate([ | ||
angular2_1.Component({ | ||
core_1.Component({ | ||
selector: 'initial-request-cmp', | ||
@@ -21,0 +21,0 @@ template: "Making initial request..." |
@@ -1,2 +0,2 @@ | ||
import { Component } from 'angular2/angular2' | ||
import { Component } from 'angular2/core' | ||
import { CanActivate } from 'angular2/router' | ||
@@ -3,0 +3,0 @@ import { activationHelper } from '../../co-auther/co-auther' |
@@ -10,3 +10,3 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
}; | ||
var angular2_1 = require('angular2/angular2'); | ||
var core_1 = require('angular2/core'); | ||
var router_1 = require('angular2/router'); | ||
@@ -18,3 +18,3 @@ var co_auther_1 = require('../../co-auther/co-auther'); | ||
LoggedInCmp = __decorate([ | ||
angular2_1.Component({ | ||
core_1.Component({ | ||
selector: 'logged-in-cmp', | ||
@@ -21,0 +21,0 @@ template: "Logged in!" |
@@ -1,2 +0,2 @@ | ||
import { Component } from 'angular2/angular2' | ||
import { Component } from 'angular2/core' | ||
import { CanActivate } from 'angular2/router' | ||
@@ -3,0 +3,0 @@ import { activationHelper } from '../../co-auther/co-auther' |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
Found 1 instance in 1 package
0
51620
1008