superagent 7.0.2 → 7.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.lib.eslintrc DELETED
@@ -1,27 +0,0 @@
1
- {
2
- "extends": ["eslint:recommended", "plugin:node/recommended"],
3
- "env": {
4
- "browser": true
5
- },
6
- "rules": {
7
- "node/no-deprecated-api": "off",
8
- "no-console": "off",
9
- "no-unused-vars": "off",
10
- "no-empty": "off",
11
- "node/no-unsupported-features/node-builtins": "off",
12
- "no-func-assign": "off",
13
- "no-global-assign": ["error", {"exceptions": ["exports"]}],
14
- "no-fallthrough": "off",
15
- "no-constant-condition": "off",
16
- "node/no-exports-assign": "off",
17
- "no-unsafe-finally": "off"
18
- },
19
- "overrides": [
20
- {
21
- "files": [ "lib/client.js" ],
22
- "globals": {
23
- "ActiveXObject": "readable"
24
- }
25
- }
26
- ]
27
- }
package/.remarkignore DELETED
@@ -1,3 +0,0 @@
1
- CONTRIBUTING.md
2
- HISTORY.md
3
- docs
package/.zuul.yml DELETED
@@ -1,16 +0,0 @@
1
- ui: mocha-bdd
2
- server: ./test/support/server.js
3
- tunnel_host: http://focusaurus.com
4
- browsers:
5
- - name: chrome
6
- version: latest
7
- - name: firefox
8
- version: latest
9
- - name: safari
10
- version: latest
11
- - name: ie
12
- version: 9..latest
13
- browserify:
14
- - transform:
15
- name: babelify
16
- configFile: './.dist.babelrc'
package/CONTRIBUTING.md DELETED
@@ -1,7 +0,0 @@
1
- When submitting a PR, your chance of acceptance increases if you do the following:
2
-
3
- * Code style is consistent with existing in the file.
4
- * Tests are passing (client and server).
5
- * You add a test for the failing issue you are fixing.
6
- * Code changes are focused on the area of discussion.
7
- * Do not rebuild the distribution files or increment version numbers.
package/Makefile DELETED
@@ -1,62 +0,0 @@
1
-
2
- NODETESTS ?= test/*.js test/node/*.js
3
- BROWSERTESTS ?= test/*.js test/client/*.js
4
- REPORTER = spec
5
-
6
- test:
7
- @if [ "x$(BROWSER)" = "x" ]; then make test-node; else make test-browser; fi
8
-
9
- test-node:
10
- @NODE_ENV=test ./node_modules/.bin/mocha \
11
- --require should \
12
- --trace-warnings \
13
- --throw-deprecation \
14
- --reporter $(REPORTER) \
15
- --timeout 5000 \
16
- --exit \
17
- $(NODETESTS)
18
-
19
- test-node-http2:
20
- @NODE_ENV=test HTTP2_TEST=1 node ./node_modules/.bin/mocha \
21
- --require should \
22
- --trace-warnings \
23
- --throw-deprecation \
24
- --reporter $(REPORTER) \
25
- --timeout 5000 \
26
- --exit \
27
- $(NODETESTS)
28
-
29
- test-cov: lib-cov
30
- SUPERAGENT_COV=1 $(MAKE) test REPORTER=html-cov > coverage.html
31
-
32
- test-browser:
33
- SAUCE_APPIUM_VERSION=1.7 ./node_modules/.bin/zuul -- $(BROWSERTESTS)
34
-
35
- test-browser-local:
36
- ./node_modules/.bin/zuul --no-coverage --local 4000 -- $(BROWSERTESTS)
37
-
38
- lib-cov:
39
- jscoverage lib lib-cov
40
-
41
- test-server:
42
- @node test/server
43
-
44
- docs: index.html test-docs docs/index.md
45
-
46
- index.html: docs/index.md docs/head.html docs/tail.html
47
- marked < $< \
48
- | cat docs/head.html - docs/tail.html \
49
- > $@
50
-
51
- docclean:
52
- rm -f index.html docs/test.html
53
-
54
- test-docs: docs/head.html docs/tail.html
55
- make test REPORTER=doc \
56
- | cat docs/head.html - docs/tail.html \
57
- > docs/test.html
58
-
59
- clean:
60
- rm -fr components
61
-
62
- .PHONY: test-cov test docs test-docs clean test-browser-local
package/SECURITY.md DELETED
@@ -1,6 +0,0 @@
1
- # Security Policy
2
-
3
-
4
- ## Reporting a Vulnerability
5
-
6
- Please report security issues to `niftylettuce@gmail.com`
package/docs/head.html DELETED
@@ -1,11 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <meta charset="utf8">
5
- <title>SuperAgent — elegant API for AJAX in Node and browsers</title>
6
- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/tocbot/3.0.0/tocbot.css">
7
- <link rel="stylesheet" href="docs/style.css">
8
- </head>
9
- <body>
10
- <ul id="menu"></ul>
11
- <div id="content">
Binary file