@microlink/mql 0.11.0-2 → 0.11.0-4

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.
@@ -1,4 +1,5 @@
1
1
  {
2
- "main": "../src/lightweight.js",
2
+ "main": "index.js",
3
+ "type": "module",
3
4
  "types": "index.d.ts"
4
5
  }
package/package.json CHANGED
@@ -2,14 +2,14 @@
2
2
  "name": "@microlink/mql",
3
3
  "description": "Microlink Query Language. The official HTTP client to interact with Microlink API for Node.js, browsers & Deno.",
4
4
  "homepage": "https://microlink.io/mql",
5
- "version": "0.11.0-2",
5
+ "version": "0.11.0-4",
6
6
  "types": "index.d.ts",
7
7
  "browser": "src/lightweight.js",
8
8
  "umd:main": "dist/mql.js",
9
9
  "unpkg": "dist/mql.js",
10
10
  "exports": {
11
11
  ".": {
12
- "import": "./src/lightweight.mjs",
12
+ "import": "./lightweight/index.js",
13
13
  "require": "./src/node.js"
14
14
  }
15
15
  },
package/src/node.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  import require$$1 from 'whoops';
2
2
  import require$$2 from 'url-http/lightweight';
3
3
  import require$$3 from 'got';
4
- import { flattie as require$$4 } from 'flattie';
4
+ import require$$4 from 'flattie';
5
5
 
6
6
  function getDefaultExportFromCjs (x) {
7
7
  return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
@@ -142,7 +142,7 @@ node$1.exports = factory_1({
142
142
  urlHttp: require$$2,
143
143
  got: require$$3.extend({ headers: { 'user-agent': undefined } }),
144
144
  flatten: require$$4.flattie,
145
- VERSION: '0.11.0-1'
145
+ VERSION: '0.11.0-3'
146
146
  });
147
147
 
148
148
  var render = node$1.exports.render = (input, { width = '650px' } = {}) => {