Socket
Socket
Sign inDemoInstall

@ng-apimock/protractor-plugin

Package Overview
Dependencies
149
Maintainers
2
Versions
22
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.19 to 1.1.0

pack/ng-apimock-protractor-plugin-1.1.0.tgz

7

CHANGELOG.md

@@ -6,2 +6,9 @@ # Changelog

# [1.1.0](https://github.com/ng-apimock/protractor-plugin/compare/v1.0.19...v1.1.0) (2020-07-08)
### Features
* 🎸 make endpoints base path configurable ([9a9cd21](https://github.com/ng-apimock/protractor-plugin/commit/9a9cd21fd23e9ad5f6b55c9f6a6856340cde548e)), closes [#15](https://github.com/ng-apimock/protractor-plugin/issues/15)
## [1.0.19](https://github.com/ng-apimock/protractor-plugin/compare/v1.0.18...v1.0.19) (2020-07-06)

@@ -8,0 +15,0 @@

13

dist/index.js

@@ -12,2 +12,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
const protractor_1 = require("protractor");
const protractor_plugin_1 = require("./protractor.plugin");

@@ -25,6 +26,10 @@ let plugin;

return __awaiter(this, void 0, void 0, function* () {
const baseUrl = (this.config.options && this.config.options.baseUrl)
? this.config.options.baseUrl
: undefined;
plugin = new protractor_plugin_1.ProtractorPlugin(baseUrl);
plugin = new protractor_plugin_1.ProtractorPlugin({
baseUrl: (this.config.options && this.config.options.baseUrl)
? this.config.options.baseUrl
: protractor_1.browser.baseUrl,
basePath: (this.config.options && this.config.options.basePath)
? this.config.options.basePath
: undefined
});
yield plugin.setNgApimockCookie();

@@ -31,0 +36,0 @@ });

@@ -1,6 +0,6 @@

import { BaseClient } from '@ng-apimock/base-client';
import { BaseClient, Configuration } from '@ng-apimock/base-client';
export declare class ProtractorPlugin extends BaseClient {
constructor(baseUrl?: string);
constructor(configuration: Configuration);
openUrl(url: string): Promise<any>;
setCookie(name: string, value: string): Promise<any>;
}

@@ -16,4 +16,4 @@ "use strict";

class ProtractorPlugin extends base_client_1.BaseClient {
constructor(baseUrl) {
super(baseUrl || protractor_1.browser.baseUrl);
constructor(configuration) {
super(configuration);
}

@@ -20,0 +20,0 @@ openUrl(url) {

{
"name": "@ng-apimock/protractor-plugin",
"description": "Protractor plugin for ng-apimock",
"version": "1.0.19",
"version": "1.1.0",
"homepage": "https://github.com/ng-apimock/protractor-plugin#readme",

@@ -46,3 +46,3 @@ "author": {

"@commitlint/config-conventional": "9.0.1",
"@ng-apimock/core": "2.0.1",
"@ng-apimock/core": "2.1.0",
"@ng-apimock/test-application": "1.0.17",

@@ -57,3 +57,3 @@ "@semantic-release/changelog": "5.0.1",

"@types/fs-extra": "9.0.1",
"@types/jest": "26.0.3",
"@types/jest": "26.0.4",
"@typescript-eslint/eslint-plugin": "3.6.0",

@@ -81,6 +81,6 @@ "@typescript-eslint/parser": "3.6.0",

"typescript": "3.9.6",
"wait-on": "5.0.1"
"wait-on": "5.0.3"
},
"dependencies": {
"@ng-apimock/base-client": "1.0.16"
"@ng-apimock/base-client": "2.0.0"
},

@@ -87,0 +87,0 @@ "peerDependencies": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc