bare-module 3.1.15 → 3.2.0
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/README.md +12 -0
- package/index.js +3 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -163,6 +163,18 @@ If a package defines only a single export, `"."`, it may leave out the subpath e
|
|
|
163
163
|
|
|
164
164
|
##### Private imports
|
|
165
165
|
|
|
166
|
+
#### `"engines"`
|
|
167
|
+
|
|
168
|
+
```json
|
|
169
|
+
{
|
|
170
|
+
"engines": {
|
|
171
|
+
"bare": ">=1.0.5"
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
```
|
|
175
|
+
|
|
176
|
+
The engine requirements of the package. During module resolution, the versions declared by `Bare.versions` will be tested against the requirements declared by the package and resolution fail if they're not satisfied.
|
|
177
|
+
|
|
166
178
|
## API
|
|
167
179
|
|
|
168
180
|
#### `Module.constants`
|
package/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bare-module",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.2.0",
|
|
4
4
|
"description": "Module support for JavaScript",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"files": [
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"homepage": "https://github.com/holepunchto/bare-module#readme",
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"bare-bundle": "^1.0.0",
|
|
30
|
-
"bare-module-resolve": "^1.
|
|
30
|
+
"bare-module-resolve": "^1.6.0",
|
|
31
31
|
"bare-path": "^2.0.0",
|
|
32
32
|
"cjs-module-lexer": "^1.2.3",
|
|
33
33
|
"url-file-url": "^1.0.2"
|