@microsoft/ocsdk
Advanced tools
Comparing version 0.1.1-main.b8efde3 to 0.1.1-main.bc13c15
@@ -95,3 +95,3 @@ "use strict"; | ||
var classicIeVersionMatches = userAgent.match(new RegExp(_Enums.BrowserVendor.IE + " " + REGEX_VERSION)); | ||
var classicIeVersionMatches = userAgent.match(new RegExp(_Enums.BrowserVendor.IE + " " + REGEX_VERSION)); // eslint-disable-line security/detect-non-literal-regexp | ||
@@ -102,3 +102,3 @@ if (classicIeVersionMatches) { | ||
var ieVersionMatches = userAgent.match(new RegExp("rv:" + REGEX_VERSION)); | ||
var ieVersionMatches = userAgent.match(new RegExp("rv:" + REGEX_VERSION)); // eslint-disable-line security/detect-non-literal-regexp | ||
@@ -125,4 +125,5 @@ if (ieVersionMatches) { | ||
var matches = _this.getUserAgent().match(new RegExp(browserString + "/" + REGEX_VERSION)); | ||
var matches = _this.getUserAgent().match(new RegExp(browserString + "/" + REGEX_VERSION)); // eslint-disable-line security/detect-non-literal-regexp | ||
if (matches) { | ||
@@ -149,2 +150,2 @@ return matches[1]; | ||
}); | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9VdGlscy9Ccm93c2VySW5mby50cyJdLCJuYW1lcyI6WyJSRUdFWF9WRVJTSU9OIiwiVU5LTk9XTl9WRVJTSU9OIiwiQnJvd3NlckluZm8iLCJ1c2VyQWdlbnQiLCJzZWFyY2hTdHJpbmciLCJnZXRVc2VyQWdlbnQiLCJpbmRleE9mIiwidXNlckFnZW50Q29udGFpbnNTdHJpbmciLCJCcm93c2VyVmVuZG9yIiwiQ0hST01FIiwiRURHRSIsIkVER0VfQ0hST01JVU0iLCJpc09wZXJhIiwiT1BFUkEiLCJpc0VkZ2UiLCJpc0Nocm9tZSIsIkZJUkVGT1giLCJTQUZBUkkiLCJpc0llIiwiSUUiLCJVTktOT1dOIiwiZ2V0SWVWZXJzaW9uIiwiY2xhc3NpY0llVmVyc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PT0gQnJvd3NlclZlbmRvci5TQUZBUkkpIHtcbiAgICAgICAgYnJvd3NlclN0cmluZyA9IFwiVmVyc2lvblwiO1xuICAgICAgfVxuXG4gICAgICBpZiAoYnJvd3NlclN0cmluZyA9PT0gQnJvd3NlclZlbmRvci5PUEVSQSkge1xuICAgICAgICBicm93c2VyU3RyaW5nID0gXCJPUFJcIjtcbiAgICAgIH1cblxuICAgICAgaWYgKGJyb3dzZXJTdHJpbmcgPT09IEJyb3dzZXJWZW5kb3IuRURHRSkge1xuICAgICAgICBicm93c2VyU3RyaW5nID0gXCJFZGdlP1wiO1xuICAgICAgfVxuXG4gICAgICBjb25zdCBtYXRjaGVzOiBSZWdFeHBNYXRjaEFycmF5IHwgbnVsbCA9IHRoaXMuZ2V0VXNlckFnZW50KCkubWF0Y2gobmV3IFJlZ0V4cChicm93c2VyU3RyaW5nICsgXCIvXCIgKyBSRUdFWF9WRVJTSU9OKSk7XG5cbiAgICAgIGlmIChtYXRjaGVzKSB7XG4gICAgICAgIHJldHVybiBtYXRjaGVzWzFdO1xuICAgICAgfVxuXG4gICAgICByZXR1cm4gVU5LTk9XTl9WRVJTSU9OO1xuICAgIH07XG5cbiAgICBpZiAodGhpcy5pc0llKCkpIHtcbiAgICAgIHJldHVybiBnZXRJZVZlcnNpb24oKTtcbiAgICB9XG5cbiAgICByZXR1cm4gZ2V0T3RoZXJWZXJzaW9uKHRoaXMuZ2V0QnJvd3Nlck5hbWUoKSk7XG4gIH1cbn1cbiJdfQ== | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9VdGlscy9Ccm93c2VySW5mby50cyJdLCJuYW1lcyI6WyJSRUdFWF9WRVJTSU9OIiwiVU5LTk9XTl9WRVJTSU9OIiwiQnJvd3NlckluZm8iLCJ1c2VyQWdlbnQiLCJzZWFyY2hTdHJpbmciLCJnZXRVc2VyQWdlbnQiLCJpbmRleE9mIiwidX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Y2hlcykge1xuICAgICAgICByZXR1cm4gbWF0Y2hlc1sxXTtcbiAgICAgIH1cblxuICAgICAgcmV0dXJuIFVOS05PV05fVkVSU0lPTjtcbiAgICB9O1xuXG4gICAgaWYgKHRoaXMuaXNJZSgpKSB7XG4gICAgICByZXR1cm4gZ2V0SWVWZXJzaW9uKCk7XG4gICAgfVxuXG4gICAgcmV0dXJuIGdldE90aGVyVmVyc2lvbih0aGlzLmdldEJyb3dzZXJOYW1lKCkpO1xuICB9XG59XG4iXX0= |
{ | ||
"name": "@microsoft/ocsdk", | ||
"version": "0.1.1-main.b8efde3", | ||
"version": "0.1.1-main.bc13c15", | ||
"description": "Microsoft Omnichannel SDK", | ||
@@ -26,3 +26,3 @@ "files": [ | ||
"devDependencies": { | ||
"@babel/cli": "^7.10.1", | ||
"@babel/cli": "^7.12.1", | ||
"@babel/core": "^7.10.2", | ||
@@ -37,7 +37,7 @@ "@babel/plugin-proposal-class-properties": "^7.10.1", | ||
"@typescript-eslint/parser": "^3.3.0", | ||
"dts-bundle": "^0.7.3", | ||
"eslint": "^7.3.0", | ||
"eslint-plugin-security": "^1.4.0", | ||
"istanbul-instrumenter-loader": "^3.0.1", | ||
"jasmine": "^3.5.0", | ||
"karma": "^4.4.1", | ||
"karma": "^5.2.3", | ||
"karma-chrome-launcher": "^3.1.0", | ||
@@ -52,7 +52,5 @@ "karma-cli": "^2.0.0", | ||
"typescript": "^3.9.5", | ||
"uglify-js": "^3.6.8", | ||
"uglifyjs-webpack-plugin": "^2.2.0", | ||
"webpack": "^4.41.2", | ||
"webpack-cli": "^3.3.10", | ||
"webpack-dev-server": "^3.9.0", | ||
"webpack-dev-server": "^3.11.0", | ||
"webpack-merge": "^4.2.2" | ||
@@ -59,0 +57,0 @@ }, |
# Omnichannel SDK | ||
[![npm version](https://badge.fury.io/js/%40microsoft%2Focsdk.svg)](https://badge.fury.io/js/%40microsoft%2Focsdk) | ||
![Release CI](https://github.com/microsoft/omnichannel-sdk/workflows/Release%20CI/badge.svg) | ||
This repo contains the source code for getting up and running with the Omnichannel SDK on the web using standard web technologies and on mobile using React Native. | ||
@@ -4,0 +7,0 @@ |
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
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
1163272
28
6443
263