ember-browser-services 4.0.0 → 4.0.3

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/CHANGELOG.md CHANGED
@@ -1,3 +1,26 @@
1
+ ## [4.0.3](https://github.com/CrowdStrike/ember-browser-services/compare/v4.0.2...v4.0.3) (2022-06-08)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **deps:** widen range for @embroider/addon-shim ([4db62b7](https://github.com/CrowdStrike/ember-browser-services/commit/4db62b7e738cf862eec5a0eccc549849017cb93b))
7
+
8
+ ## [4.0.2](https://github.com/CrowdStrike/ember-browser-services/compare/v4.0.1...v4.0.2) (2022-06-08)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * **package:** app-re-exports included non-public file ([f2c7ef1](https://github.com/CrowdStrike/ember-browser-services/commit/f2c7ef11c13d2364c79cc0996b2ea0a54b2f6a02))
14
+
15
+ ## [4.0.1](https://github.com/CrowdStrike/ember-browser-services/compare/v4.0.0...v4.0.1) (2022-06-07)
16
+
17
+
18
+ ### Bug Fixes
19
+
20
+ * **package:** addon-main specified incorrect path ([61e99ab](https://github.com/CrowdStrike/ember-browser-services/commit/61e99abb11c1c3cede8c9beb916d60f7650fbc0d))
21
+ * **package:** exports field did not specify test-support ([83a303f](https://github.com/CrowdStrike/ember-browser-services/commit/83a303f56f7ccfa2db92c4dc1cfbec982235ab3d))
22
+ * **package:** typesVersions was woefully incorrect ([3538f00](https://github.com/CrowdStrike/ember-browser-services/commit/3538f0072272604aa3cf460fb7ca47bd2233a9e7))
23
+
1
24
  # [4.0.0](https://github.com/CrowdStrike/ember-browser-services/compare/v3.0.5...v4.0.0) (2022-06-07)
2
25
 
3
26
 
@@ -9,3 +32,226 @@
9
32
  ### BREAKING CHANGES
10
33
 
11
34
  * this addon now requires ember-auto-import@v2
35
+
36
+ ## [3.0.5](https://github.com/CrowdStrike/ember-browser-services/compare/v3.0.4...v3.0.5) (2022-05-16)
37
+
38
+
39
+ ### Bug Fixes
40
+
41
+ * **package:** opt in to which files to include on npm, instead of the inverse ([f0d2dd9](https://github.com/CrowdStrike/ember-browser-services/commit/f0d2dd917e1453fdd3b146b5741d70aa033431fb))
42
+
43
+ ## [3.0.4](https://github.com/CrowdStrike/ember-browser-services/compare/v3.0.3...v3.0.4) (2022-04-21)
44
+
45
+
46
+ ### Bug Fixes
47
+
48
+ * **deps:** update dependency ember-cli-typescript to ^5.1.0 ([d2dd804](https://github.com/CrowdStrike/ember-browser-services/commit/d2dd8047b1850568a942fa6799838316974ab762))
49
+
50
+ ## [3.0.3](https://github.com/CrowdStrike/ember-browser-services/compare/v3.0.2...v3.0.3) (2022-02-18)
51
+
52
+
53
+ ### Bug Fixes
54
+
55
+ * **deps:** update dependency ember-window-mock to ^0.8.1 ([19d60dc](https://github.com/CrowdStrike/ember-browser-services/commit/19d60dc40c6bef507d93b1f1195888e3274cf1f3))
56
+
57
+ ## [3.0.2](https://github.com/CrowdStrike/ember-browser-services/compare/v3.0.1...v3.0.2) (2022-02-04)
58
+
59
+
60
+ ### Bug Fixes
61
+
62
+ * **deps:** update dependency ember-cli-typescript to v5 ([c02ec71](https://github.com/CrowdStrike/ember-browser-services/commit/c02ec71729073af33ee2b8242cf764806c21396f))
63
+
64
+ ## [3.0.1](https://github.com/CrowdStrike/ember-browser-services/compare/v3.0.0...v3.0.1) (2022-01-31)
65
+
66
+
67
+ ### Bug Fixes
68
+
69
+ * **deps:** update dependency ember-window-mock to ^0.8.0 ([a717bde](https://github.com/CrowdStrike/ember-browser-services/commit/a717bdeb01674ba69c649ed807b851281af58a90))
70
+
71
+ # [3.0.0](https://github.com/CrowdStrike/ember-browser-services/compare/v2.1.4...v3.0.0) (2022-01-20)
72
+
73
+
74
+ ### Bug Fixes
75
+
76
+ * **deps:** update dependency ember-cli-babel to ^7.26.11 ([5381024](https://github.com/CrowdStrike/ember-browser-services/commit/538102488b54da3db067bd56df2447249b29d5bd))
77
+
78
+
79
+ ### chore
80
+
81
+ * drop support for classic ember ([353195f](https://github.com/CrowdStrike/ember-browser-services/commit/353195f4baff841392ec9f730fbf94ba131d5bed))
82
+ * drop support for node 12 ([05d3a3b](https://github.com/CrowdStrike/ember-browser-services/commit/05d3a3b0760aabb749c4c4a6fcf501028c3eac5f))
83
+
84
+
85
+ ### BREAKING CHANGES
86
+
87
+ * ember octane is two years old
88
+ and is all that is supported. This addon may still work with
89
+ classic ember, but it will not be tested against (to help
90
+ simplify this addon's C.I. configuration)
91
+ * node 12 is no longer supported
92
+
93
+ ## [2.1.4](https://github.com/CrowdStrike/ember-browser-services/compare/v2.1.3...v2.1.4) (2021-12-17)
94
+
95
+
96
+ ### Bug Fixes
97
+
98
+ * **deps:** update dependency ember-cli-babel to ^7.26.10 ([3c2f6d6](https://github.com/CrowdStrike/ember-browser-services/commit/3c2f6d6f94ccf9f46a4cdd55653d38ceeb7e3018))
99
+
100
+ ## [2.1.3](https://github.com/CrowdStrike/ember-browser-services/compare/v2.1.2...v2.1.3) (2021-12-16)
101
+
102
+
103
+ ### Bug Fixes
104
+
105
+ * **deps:** update dependency ember-cli-babel to ^7.26.8 ([82d4fe6](https://github.com/CrowdStrike/ember-browser-services/commit/82d4fe6e2b3d19a78f06b54dece915364435f822))
106
+
107
+ ## [2.1.2](https://github.com/CrowdStrike/ember-browser-services/compare/v2.1.1...v2.1.2) (2021-12-15)
108
+
109
+
110
+ ### Bug Fixes
111
+
112
+ * **deps:** update dependency ember-cli-babel to ^7.26.7 ([1ba87de](https://github.com/CrowdStrike/ember-browser-services/commit/1ba87def8c8153e19ced80b335dfb000e3972a76))
113
+
114
+ ## [2.1.1](https://github.com/CrowdStrike/ember-browser-services/compare/v2.1.0...v2.1.1) (2021-12-06)
115
+
116
+
117
+ ### Bug Fixes
118
+
119
+ * **deps:** update dependency ember-cli-htmlbars to ^6.0.1 ([ee02fa1](https://github.com/CrowdStrike/ember-browser-services/commit/ee02fa1d7b190ed51ccc69fb12f87b7ac1f6717f))
120
+
121
+ # [2.1.0](https://github.com/CrowdStrike/ember-browser-services/compare/v2.0.2...v2.1.0) (2021-11-23)
122
+
123
+
124
+ ### Features
125
+
126
+ * support session-storage ([ffaf626](https://github.com/CrowdStrike/ember-browser-services/commit/ffaf6263080546c2dab2f5c62db40166dfc6f3a1))
127
+
128
+ ## [2.0.2](https://github.com/CrowdStrike/ember-browser-services/compare/v2.0.1...v2.0.2) (2021-11-18)
129
+
130
+
131
+ ### Bug Fixes
132
+
133
+ * **deps:** update dependency ember-cli-htmlbars to v6 ([a3115e3](https://github.com/CrowdStrike/ember-browser-services/commit/a3115e396af97177ce4b3824718ea18648ee0c60))
134
+
135
+ ## [2.0.1](https://github.com/CrowdStrike/ember-browser-services/compare/v2.0.0...v2.0.1) (2021-11-18)
136
+
137
+
138
+ ### Bug Fixes
139
+
140
+ * **support:** expand and fix support ([dcd8dd6](https://github.com/CrowdStrike/ember-browser-services/commit/dcd8dd68b2c0170456e82e999513bea6beecbafa))
141
+
142
+ # [2.0.0](https://github.com/CrowdStrike/ember-browser-services/compare/v1.1.8...v2.0.0) (2021-09-09)
143
+
144
+
145
+ ### Features
146
+
147
+ * utilize ember-window-mock for the underlying provider ([659f20f](https://github.com/CrowdStrike/ember-browser-services/commit/659f20f702873c942d6476301730107c71a566c4))
148
+
149
+
150
+ ### BREAKING CHANGES
151
+
152
+ * invalid hrefs will throw an error
153
+
154
+ ## [1.1.8](https://github.com/CrowdStrike/ember-browser-services/compare/v1.1.7...v1.1.8) (2021-08-31)
155
+
156
+
157
+ ### Bug Fixes
158
+
159
+ * **npm:** remove unneeded files from npm package ([ee0914c](https://github.com/CrowdStrike/ember-browser-services/commit/ee0914cc9e35db88dbd42ba1f0abdc73faa8c733))
160
+
161
+ ## [1.1.7](https://github.com/CrowdStrike/ember-browser-services/compare/v1.1.6...v1.1.7) (2021-08-31)
162
+
163
+
164
+ ### Bug Fixes
165
+
166
+ * **deps:** update dependency ember-cli-babel to ^7.26.6 ([37cf27f](https://github.com/CrowdStrike/ember-browser-services/commit/37cf27ffb7322152d6c3c347f8ac7e41e6416ce9))
167
+ * **deps:** update dependency ember-cli-typescript to ^4.2.1 ([ab1ab86](https://github.com/CrowdStrike/ember-browser-services/commit/ab1ab869df805acaea7045d5af2cd925fc1a55c7))
168
+
169
+ ## [1.1.6](https://github.com/CrowdStrike/ember-browser-services/compare/v1.1.5...v1.1.6) (2021-04-17)
170
+
171
+
172
+ ### Bug Fixes
173
+
174
+ * **navigator:** add app re-export ([7a9db4d](https://github.com/CrowdStrike/ember-browser-services/commit/7a9db4dc9afa62f5b3a20754747897f53aadf746))
175
+
176
+ ## [1.1.5](https://github.com/CrowdStrike/ember-browser-services/compare/v1.1.4...v1.1.5) (2021-04-17)
177
+
178
+
179
+ ### Bug Fixes
180
+
181
+ * **deps:** update dependency ember-cli-htmlbars to ^5.7.1 ([f4062bf](https://github.com/CrowdStrike/ember-browser-services/commit/f4062bfc2b417ef524c2ce28ba82d81cbbdb6e83))
182
+
183
+ ## [1.1.4](https://github.com/CrowdStrike/ember-browser-services/compare/v1.1.3...v1.1.4) (2021-03-15)
184
+
185
+
186
+ ### Bug Fixes
187
+
188
+ * **deps:** update dependency ember-cli-htmlbars to ^5.6.5 ([f60cc89](https://github.com/CrowdStrike/ember-browser-services/commit/f60cc89ad048429ae0a58890030a9b488b096d49))
189
+
190
+ ## [1.1.3](https://github.com/CrowdStrike/ember-browser-services/compare/v1.1.2...v1.1.3) (2021-03-09)
191
+
192
+
193
+ ### Bug Fixes
194
+
195
+ * **deps:** update dependency ember-cli-htmlbars to ^5.6.4 ([35d3b07](https://github.com/CrowdStrike/ember-browser-services/commit/35d3b07a99e4dc69889d29d87f25816be0bb3570))
196
+
197
+ ## [1.1.2](https://github.com/CrowdStrike/ember-browser-services/compare/v1.1.1...v1.1.2) (2021-02-27)
198
+
199
+
200
+ ### Bug Fixes
201
+
202
+ * **deps:** update dependency ember-cli-htmlbars to ^5.6.2 ([60820b8](https://github.com/CrowdStrike/ember-browser-services/commit/60820b8c5e9ce2d07b24565518b322d3e89088eb))
203
+
204
+ ## [1.1.1](https://github.com/CrowdStrike/ember-browser-services/compare/v1.1.0...v1.1.1) (2021-02-26)
205
+
206
+
207
+ ### Bug Fixes
208
+
209
+ * **deps:** update dependency ember-cli-htmlbars to ^5.6.0 ([455b0b3](https://github.com/CrowdStrike/ember-browser-services/commit/455b0b351218da31322c3ad12f9aee384c115fb5))
210
+
211
+ # [1.1.0](https://github.com/CrowdStrike/ember-browser-services/compare/v1.0.2...v1.1.0) (2021-02-22)
212
+
213
+
214
+ ### Features
215
+
216
+ * add normal object-style stubbing to the navigator ([3e50c60](https://github.com/CrowdStrike/ember-browser-services/commit/3e50c600dcce24ffeb9513b048dbfb42b464a9bf))
217
+ * add support for the navigator ([dc34355](https://github.com/CrowdStrike/ember-browser-services/commit/dc3435520823e4354daab32c6122b523d7a68697))
218
+
219
+ ## [1.0.2](https://github.com/CrowdStrike/ember-browser-services/compare/v1.0.1...v1.0.2) (2021-02-16)
220
+
221
+
222
+ ### Bug Fixes
223
+
224
+ * **deps:** update dependency ember-cli-babel to ^7.24.0 ([e84ab13](https://github.com/CrowdStrike/ember-browser-services/commit/e84ab13407e6b6b1832d57e4b606dccdbdac0513))
225
+
226
+ ## [1.0.1](https://github.com/CrowdStrike/ember-browser-services/compare/v1.0.0...v1.0.1) (2021-02-13)
227
+
228
+
229
+ ### Bug Fixes
230
+
231
+ * **ci:** disable persist-credentials option to actions/checkout ([c5fd21c](https://github.com/CrowdStrike/ember-browser-services/commit/c5fd21ce5a869828530dcad6216a6288c8c96662))
232
+
233
+ # 1.0.0 (2021-02-13)
234
+
235
+
236
+ ### Bug Fixes
237
+
238
+ * package.json scripts ([acdb13c](https://github.com/CrowdStrike/ember-browser-services/commit/acdb13c5fdfc7037d9f9a735b7a63903cfe059da))
239
+ * specify 'main' for the release branch for semantic release ([02c533a](https://github.com/CrowdStrike/ember-browser-services/commit/02c533a3e1ef97e638b605829f50a03e9608653d))
240
+ * update workflow configuration to reference branch 'main' ([2bcdac9](https://github.com/CrowdStrike/ember-browser-services/commit/2bcdac9f3bc87aa96b6e6f39d8de2db6311175f5))
241
+
242
+
243
+ ### chore
244
+
245
+ * drop support for node 10 ([e7a5550](https://github.com/CrowdStrike/ember-browser-services/commit/e7a55503f34affa76e9fa9111d3678f73c56f90c))
246
+
247
+
248
+ ### Features
249
+
250
+ * automatic releases based on conventional commits ([c43a9f2](https://github.com/CrowdStrike/ember-browser-services/commit/c43a9f21a8a397d7f2ad331f883edafb194b4cc8))
251
+ * copy over files - initial implementation ([6b02e23](https://github.com/CrowdStrike/ember-browser-services/commit/6b02e23712ee505ee3c184a31accf9322328b602))
252
+ * support all properties on Location ([c5329bb](https://github.com/CrowdStrike/ember-browser-services/commit/c5329bbf80b913e29e6e71cb58d4ea1174ba7893))
253
+
254
+
255
+ ### BREAKING CHANGES
256
+
257
+ * node 10 support dropped
package/addon-main.cjs CHANGED
@@ -1,6 +1,5 @@
1
1
  'use strict';
2
2
 
3
- const path = require('path');
4
3
  const { addonV1Shim } = require('@embroider/addon-shim');
5
4
 
6
- module.exports = addonV1Shim(path.dirname(__dirname));
5
+ module.exports = addonV1Shim(__dirname);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ember-browser-services",
3
- "version": "4.0.0",
3
+ "version": "4.0.3",
4
4
  "description": "Browser APIs as services for easier testing",
5
5
  "repository": "https://github.com/CrowdStrike/ember-browser-services",
6
6
  "license": "MIT",
@@ -10,10 +10,18 @@
10
10
  ],
11
11
  "exports": {
12
12
  ".": "./dist/index.js",
13
+ "./test-support": "./dist/test-support/index.js",
14
+ "./addon-main.js": "./addon-main.cjs",
13
15
  "./*": "./dist/*"
14
16
  },
15
17
  "typesVersions": {
16
18
  ">=4.0.0": {
19
+ "test-support": [
20
+ "dist/test-support/index.d.ts"
21
+ ],
22
+ "types": [
23
+ "dist/types.d.ts"
24
+ ],
17
25
  "*": [
18
26
  "dist/*"
19
27
  ]
@@ -39,7 +47,7 @@
39
47
  "prepublishOnly": "pnpm run build"
40
48
  },
41
49
  "dependencies": {
42
- "@embroider/addon-shim": "1.3.0",
50
+ "@embroider/addon-shim": "^1.3.0",
43
51
  "ember-window-mock": "^0.8.1"
44
52
  },
45
53
  "devDependencies": {
@@ -50,7 +58,7 @@
50
58
  "@babel/plugin-transform-typescript": "7.16.8",
51
59
  "@babel/preset-typescript": "7.16.7",
52
60
  "@embroider/addon-dev": "1.3.0",
53
- "@nullvoxpopuli/eslint-configs": "2.2.2",
61
+ "@nullvoxpopuli/eslint-configs": "2.2.22",
54
62
  "@semantic-release/changelog": "^5.0.0",
55
63
  "@semantic-release/git": "^9.0.0",
56
64
  "@types/ember__application": "^4.0.0",
@@ -72,7 +80,7 @@
72
80
  "eslint-plugin-simple-import-sort": "7.0.0",
73
81
  "prettier": "^2.2.1",
74
82
  "rollup": "2.69.1",
75
- "rollup-plugin-ts": "2.0.5",
83
+ "rollup-plugin-ts": "2.0.7",
76
84
  "semantic-release": "^17.0.0",
77
85
  "typescript": "4.6.2"
78
86
  },
@@ -87,7 +95,6 @@
87
95
  "type": "addon",
88
96
  "main": "./addon-main.cjs",
89
97
  "app-js": {
90
- "./services/browser/-proxy-service.js": "./dist/_app_/services/browser/-proxy-service.js",
91
98
  "./services/browser/document.js": "./dist/_app_/services/browser/document.js",
92
99
  "./services/browser/local-storage.js": "./dist/_app_/services/browser/local-storage.js",
93
100
  "./services/browser/navigator.js": "./dist/_app_/services/browser/navigator.js",
@@ -1 +0,0 @@
1
- export { default } from "ember-browser-services/services/browser/-proxy-service.js";