protractor
Advanced tools
Comparing version 4.0.1 to 4.0.2
@@ -10,3 +10,5 @@ { | ||
"typings": "typings install", | ||
"postinstall": "typings install" | ||
"postinstall": "typings install", | ||
"pretest": "tsc", | ||
"test": "protractor conf.js" | ||
}, | ||
@@ -13,0 +15,0 @@ "dependencies": { |
@@ -13,4 +13,5 @@ { | ||
"typings/globals", | ||
"asyncAwait" | ||
"asyncAwait", | ||
"plugins.ts" | ||
] | ||
} |
"use strict"; | ||
; | ||
exports.protractor = global['protractor']; | ||
@@ -3,0 +4,0 @@ exports.browser = global['protractor']['browser']; |
@@ -19,2 +19,3 @@ import { | ||
} | ||
interface global {}; | ||
export var protractor: Protractor = global['protractor']; | ||
@@ -21,0 +22,0 @@ export var browser: Browser = global['protractor']['browser']; |
@@ -83,4 +83,4 @@ 'use strict'; | ||
runSequence( | ||
['webdriver:update', 'typings', 'jshint', 'format'], 'tsc', 'types', | ||
'ambient', 'tsc:globals', 'built:copy', done); | ||
['webdriver:update', 'typings', 'jshint', 'format'], 'tsc', 'tsc:globals', | ||
'types', 'ambient', 'built:copy', done); | ||
}); | ||
@@ -96,3 +96,2 @@ | ||
var contents = ''; | ||
contents += '/// <reference path="../typings/globals/q/index.d.ts" />\n'; | ||
files.forEach(file => { | ||
@@ -129,3 +128,3 @@ contents += parseTypingsFile(folder, file); | ||
// Remove webdriver types and http proxy agent | ||
// Remove webdriver types, q, http proxy agent | ||
line = removeTypes(line,'webdriver.ActionSequence'); | ||
@@ -138,2 +137,3 @@ line = removeTypes(line,'webdriver.promise.Promise<[a-zA-Z{},:; ]+>'); | ||
line = removeTypes(line,'HttpProxyAgent'); | ||
line = removeTypes(line,'Q.Promise<[a-zA-Z{},:; ]+>'); | ||
contents += line + '\n'; | ||
@@ -156,3 +156,2 @@ } | ||
var contents = ''; | ||
contents += '/// <reference path="../typings/globals/q/index.d.ts" />\n'; | ||
contents += 'declare namespace protractor {\n'; | ||
@@ -159,0 +158,0 @@ contents += fileContents + '\n'; |
@@ -65,3 +65,3 @@ { | ||
"license": "MIT", | ||
"version": "4.0.1" | ||
"version": "4.0.2" | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
812527
16873