Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

redo and fix PR #399 #400

Merged
merged 1 commit into from
Mar 7, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"files.exclude": {
"**/.git": true,
"**/.DS_Store": true,
"build": true,
"build": false,
"node_modules": true,
}
}
18 changes: 13 additions & 5 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,25 @@
// ${cwd}: the current working directory of the spawned process

{
"version": "0.1.0",
"version": "2.0.0",
"command": "npm",
"isShellCommand": true,
"args": [
"run"
],
"tasks": [
{
"taskName": "build",
"args": [],
"isBuildCommand": true
"label": "build",
"type": "shell",
"command": "npm",
"args": [
"run",
"build"
],
"problemMatcher": [],
"group": {
"_id": "build",
"isDefault": false
}
}
]
}
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ ews-javascript-api
==================
# CHANGELOG

# Whats new v0.11.0
* **BREAKING** dependencies upgraded to latest version of commonjs module (still avoiding pure esm modules). The code is now compiled to es6 target, must use nodejs version >= 10
* Security update: updated all dependency to latest version.

# Whats new v0.10.0
* new/fix: #324 Autodiscover is back again, improved and supports DNS fallback using Autodiscover SRV records

Expand Down
15 changes: 1 addition & 14 deletions COPYRIGHT
Original file line number Diff line number Diff line change
@@ -1,18 +1,5 @@
WinJS (https://github.com/winjs/winjs)

Copyright (c) Microsoft Corporation
All rights reserved.
MIT License


q (https://github.com/kriskowal/q)
Copyright 2009–2014 Kristopher Michael Kowal. All rights reserved.
MIT License


xmldom (https://github.com/jindw/xmldom)
@xmldom/xmldom (https://github.com/xmldom/xmldom)
selected MIT license (http://opensource.org/licenses/MIT)
[xmldom is licensed under MIT or LGPL]


moment/moment-timezone (http://momentjs.com, https://github.com/moment/)
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,10 +180,10 @@ exch.GetUserAvailability(attendee, timeWindow, ews.AvailabilityData.FreeBusyAndS
# Use with React Native

there is some issues with how react native exposes native browser methods, here are changes needs to be done to us `ews-js-api-browser` with react native.
Add following lines to some place before requiring `ews-js-api-browser`. you need to use `xmldom` and `base-64` packages.
Add following lines to some place before requiring `ews-js-api-browser`. you need to use `@xmldom/xmldom` and `base-64` packages.
```js
if (!global.DOMParser) {
global.DOMParser = require('xmldom').DOMParser;
global.DOMParser = require('@xmldom/xmldom').DOMParser;
}
if (!global.atob || !global.btoa) {
global.atob = require('base-64').decode;
Expand Down
Loading