-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Support for soap attachments in response. #1148
Merged
Merged
Changes from 11 commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
5b9911f
Add support of MTOM attachments in response
davefej d5b3d02
create test for MTOM response attachment functionality
davefej 3a3e11d
typo fix lastReponseAttachments
davefej a7642f2
fix tests without mocking httpres
davefej 0fd4594
lint and coverage fixes
davefej f339f78
Fix getAttachment test fails on linux (LF to CRLF)
davefej c585fd2
improve code coverage and minor fixes
davefej d3e8954
Rename option mtomResponse to parseReponseAttachments
davefej 3de5eba
feat: add mtomAttachments to result
DPM1 49e2e63
Merge pull request #1 from casserus/mtom-attachments
davefej f799eb1
merge with master chages (axios)
9caad1a
lint fix
73a2b48
remove accidentally re-added request package
DPM1 7b4694c
Merge pull request #2 from casserus/remove-request-package
davefej File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,77 +1,82 @@ | ||
{ | ||
"name": "soap", | ||
"version": "0.40.0", | ||
"description": "A minimal node SOAP client", | ||
"engines": { | ||
"node": ">=10.0.0" | ||
}, | ||
"author": "Vinay Pulim <[email protected]>", | ||
"dependencies": { | ||
"axios": "^0.21.1", | ||
"axios-ntlm": "^1.1.6", | ||
"debug": "^4.3.1", | ||
"get-stream": "^6.0.1", | ||
"lodash": "^4.17.21", | ||
"sax": ">=0.6", | ||
"strip-bom": "^3.0.0", | ||
"uuid": "^8.3.2", | ||
"xml-crypto": "^2.1.0" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/vpulim/node-soap.git" | ||
}, | ||
"main": "./index.js", | ||
"types": "./lib/soap.d.ts", | ||
"directories": { | ||
"lib": "./lib", | ||
"test": "./test" | ||
}, | ||
"scripts": { | ||
"prepare": "npm run build", | ||
"build": "tsc -p .", | ||
"clean": "rm -rf lib", | ||
"watch": "tsc -w -p .", | ||
"lint": "tslint -p tsconfig.json", | ||
"toc": "./node_modules/.bin/doctoc Readme.md --github --maxlevel 3", | ||
"cover": "nyc --extension=.ts --reporter=lcov --reporter=html --reporter=text mocha --timeout 15000 --exit test/*-test.js test/security/*.js", | ||
"coveralls": "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js -v", | ||
"docs": "typedoc --out docs", | ||
"test": "mocha --timeout 15000 --bail --exit test/*-test.js test/security/*.js" | ||
}, | ||
"keywords": [ | ||
"soap" | ||
], | ||
"license": "MIT", | ||
"devDependencies": { | ||
"@types/debug": "^4.1.2", | ||
"@types/express": "^4.16.1", | ||
"@types/lodash": "^4.14.169", | ||
"@types/node": "^11.15.54", | ||
"@types/request": "^2.48.1", | ||
"@types/sax": "^1.0.1", | ||
"@types/uuid": "^8.3.0", | ||
"body-parser": "^1.15.2", | ||
"colors": "^1.3.3", | ||
"coveralls": "^3.0.5", | ||
"diff": "^4.0.1", | ||
"doctoc": "^1.4.0", | ||
"duplexer": "~0.1.1", | ||
"express": "^4.16.4", | ||
"finalhandler": "^1.1.1", | ||
"glob": "^7.1.7", | ||
"jshint": "^2.10.1", | ||
"mocha": "^6.1.4", | ||
"nyc": "^14.1.1", | ||
"readable-stream": "~2.0.2", | ||
"semver": "^5.6.0", | ||
"serve-static": "^1.14.1", | ||
"should": "^13.2.3", | ||
"sinon": "^1.17.7", | ||
"source-map-support": "^0.5.10", | ||
"timekeeper": "^2.1.2", | ||
"tslint": "^5.18.0", | ||
"typedoc": "^0.20.36", | ||
"typescript": "^3.3.3333" | ||
"name": "soap", | ||
"version": "0.40.0", | ||
"description": "A minimal node SOAP client", | ||
"engines": { | ||
"node": ">=10.0.0" | ||
}, | ||
"author": "Vinay Pulim <[email protected]>", | ||
"dependencies": { | ||
"content-type-parser": "^1.0.2", | ||
"formidable": "^1.2.2", | ||
"httpntlm": "^1.5.2", | ||
"request": ">=2.9.0", | ||
"axios": "^0.21.1", | ||
"axios-ntlm": "^1.1.6", | ||
"debug": "^4.3.1", | ||
"get-stream": "^6.0.1", | ||
"lodash": "^4.17.21", | ||
"sax": ">=0.6", | ||
"strip-bom": "^3.0.0", | ||
"uuid": "^8.3.2", | ||
"xml-crypto": "^2.1.0" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/vpulim/node-soap.git" | ||
}, | ||
"main": "./index.js", | ||
"types": "./lib/soap.d.ts", | ||
"directories": { | ||
"lib": "./lib", | ||
"test": "./test" | ||
}, | ||
"scripts": { | ||
"prepare": "npm run build", | ||
"build": "tsc -p .", | ||
"clean": "rm -rf lib", | ||
"watch": "tsc -w -p .", | ||
"lint": "tslint -p tsconfig.json", | ||
"toc": "./node_modules/.bin/doctoc Readme.md --github --maxlevel 3", | ||
"cover": "nyc --extension=.ts --reporter=lcov --reporter=html --reporter=text mocha --timeout 15000 --exit test/*-test.js test/security/*.js", | ||
"coveralls": "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js -v", | ||
"docs": "typedoc --out docs", | ||
"test": "mocha --timeout 15000 --bail --exit test/*-test.js test/security/*.js" | ||
}, | ||
"keywords": [ | ||
"soap" | ||
], | ||
"license": "MIT", | ||
"devDependencies": { | ||
"@types/debug": "^4.1.2", | ||
"@types/express": "^4.16.1", | ||
"@types/lodash": "^4.14.169", | ||
"@types/node": "^11.15.54", | ||
"@types/request": "^2.48.1", | ||
"@types/sax": "^1.0.1", | ||
"@types/uuid": "^8.3.0", | ||
"body-parser": "^1.15.2", | ||
"colors": "^1.3.3", | ||
"coveralls": "^3.0.5", | ||
"diff": "^4.0.1", | ||
"doctoc": "^1.4.0", | ||
"duplexer": "~0.1.1", | ||
"express": "^4.16.4", | ||
"finalhandler": "^1.1.1", | ||
"glob": "^7.1.7", | ||
"jshint": "^2.10.1", | ||
"mocha": "^6.1.4", | ||
"nyc": "^14.1.1", | ||
"readable-stream": "~2.0.2", | ||
"semver": "^5.6.0", | ||
"serve-static": "^1.14.1", | ||
"should": "^13.2.3", | ||
"sinon": "^1.17.7", | ||
"source-map-support": "^0.5.10", | ||
"timekeeper": "^2.1.2", | ||
"tslint": "^5.18.0", | ||
"typedoc": "^0.20.36", | ||
"typescript": "^3.3.3333" | ||
} | ||
} | ||
} | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please revert the white space changes in this file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi!
You compared with a previous commit, it is already fixed in the latest commit in master.
https://github.com/vpulim/node-soap/pull/1148/files