mappersmith
Advanced tools
Comparing version 2.43.3 to 2.43.4
# Changelog | ||
## 2.43.4 | ||
### Patch Changes | ||
- 7356e30: Expose deep imports for backwards compatibility | ||
## 2.43.3 | ||
@@ -4,0 +10,0 @@ |
@@ -16,2 +16,3 @@ import { configs } from './mappersmith'; | ||
export type { AsyncFunction, AsyncFunctions, Client, ClientBuilder } from './client-builder'; | ||
export type { MethodDescriptor, MethodDescriptorParams } from './method-descriptor'; | ||
/** | ||
@@ -18,0 +19,0 @@ * @deprecated, use ManifestOptions instead |
{ | ||
"name": "mappersmith", | ||
"version": "2.43.3", | ||
"version": "2.43.4", | ||
"description": "It is a lightweight rest client for node.js and the browser", | ||
@@ -18,6 +18,2 @@ "author": "Tulio Ornelas <ornelas.tulio@gmail.com>", | ||
}, | ||
"./test": { | ||
"import": "./esm/test/index.mjs", | ||
"require": "./test/index.js" | ||
}, | ||
"./gateway": { | ||
@@ -138,2 +134,30 @@ "import": "./esm/gateway/index.mjs", | ||
"require": "./client-builder.js" | ||
}, | ||
"./manifest": { | ||
"import": "./esm/manifest.mjs", | ||
"require": "./manifest.js" | ||
}, | ||
"./mappersmith": { | ||
"import": "./esm/mappersmith.mjs", | ||
"require": "./mappersmith.js" | ||
}, | ||
"./method-descriptor": { | ||
"import": "./esm/method-descriptor.mjs", | ||
"require": "./method-descriptor.js" | ||
}, | ||
"./request": { | ||
"import": "./esm/request.mjs", | ||
"require": "./request.js" | ||
}, | ||
"./response": { | ||
"import": "./esm/response.mjs", | ||
"require": "./response.js" | ||
}, | ||
"./test": { | ||
"import": "./esm/test/index.mjs", | ||
"require": "./test/index.js" | ||
}, | ||
"./version": { | ||
"import": "./esm/version.mjs", | ||
"require": "./version.js" | ||
} | ||
@@ -192,3 +216,3 @@ }, | ||
"devDependencies": { | ||
"@babel/preset-env": "^7.23.8", | ||
"@babel/preset-env": "^7.23.9", | ||
"@babel/preset-typescript": "^7.22.11", | ||
@@ -198,8 +222,8 @@ "@babel/register": "^7.23.7", | ||
"@chiragrupani/karma-chromium-edge-launcher": "^2.3.1", | ||
"@types/jest": "^29.5.4", | ||
"@types/jest": "^29.5.12", | ||
"@types/karma": "^6.3.4", | ||
"@types/node": "^20.11.5", | ||
"@types/node": "^20.11.16", | ||
"@types/webpack": "^5.28.5", | ||
"@typescript-eslint/eslint-plugin": "^6.19.0", | ||
"@typescript-eslint/parser": "^6.5.0", | ||
"@typescript-eslint/eslint-plugin": "^6.20.0", | ||
"@typescript-eslint/parser": "^6.21.0", | ||
"babel-jest": "^29.6.4", | ||
@@ -220,3 +244,3 @@ "babel-loader": "^9.1.3", | ||
"eslint-plugin-import": "^2.29.1", | ||
"eslint-plugin-n": "^16.0.2", | ||
"eslint-plugin-n": "^16.6.2", | ||
"eslint-plugin-promise": "^6.1.1", | ||
@@ -226,3 +250,3 @@ "express": "^4.18.2", | ||
"jasmine": "^5.1.0", | ||
"jasmine-core": "^5.1.1", | ||
"jasmine-core": "^5.1.2", | ||
"jest": "^29.6.4", | ||
@@ -236,15 +260,15 @@ "jest-environment-jsdom": "^29.6.4", | ||
"karma-spec-reporter": "^0.0.36", | ||
"karma-webpack": "^5.0.0", | ||
"karma-webpack": "^5.0.1", | ||
"mockdate": "^3.0.5", | ||
"multer": "^1.4.5-lts.1", | ||
"node-fetch": "<3.0.0", | ||
"prettier": "^3.0.3", | ||
"prettier": "^3.2.5", | ||
"puppeteer": "^21.7.0", | ||
"regenerator-runtime": "^0.14.0", | ||
"ts-jest": "^29.1.1", | ||
"ts-jest": "^29.1.2", | ||
"ts-node": "^10.9.1", | ||
"tsup": "^8.0.1", | ||
"tsup": "^8.0.2", | ||
"typescript": "^5.2.2", | ||
"wait-on": "^7.0.1", | ||
"webpack": "^5.89.0", | ||
"webpack": "^5.90.1", | ||
"whatwg-fetch": "^3.6.20" | ||
@@ -251,0 +275,0 @@ }, |
@@ -1392,17 +1392,8 @@ [![npm version](https://badge.fury.io/js/mappersmith.svg)](http://badge.fury.io/js/mappersmith) | ||
### WIP | ||
Build esm, umd and cjs with a single command: | ||
```sh | ||
yarn tsup | ||
``` | ||
### Package project only | ||
Useful for testing a branch against local projects. Run the build step, and yarn link to the `lib/` folder: | ||
Useful for testing a branch against local projects. Run the build step, and yarn link to the `dist/` folder: | ||
```sh | ||
yarn build:project | ||
touch lib/yarn.lock | ||
yarn publish:prepare | ||
``` | ||
@@ -1412,3 +1403,3 @@ | ||
```sh | ||
yarn link ../mappersmith/lib | ||
yarn link ../mappersmith/dist | ||
``` | ||
@@ -1423,2 +1414,3 @@ | ||
yarn changeset version | ||
yarn copy:version:src | ||
``` | ||
@@ -1425,0 +1417,0 @@ |
@@ -69,2 +69,4 @@ /* eslint-disable @typescript-eslint/no-var-requires */ | ||
export type { AsyncFunction, AsyncFunctions, Client, ClientBuilder } from './client-builder' | ||
export type { MethodDescriptor, MethodDescriptorParams } from './method-descriptor' | ||
/** | ||
@@ -71,0 +73,0 @@ * @deprecated, use ManifestOptions instead |
@@ -1,1 +0,1 @@ | ||
export const version = '2.43.3' | ||
export const version = '2.43.4' |
@@ -1,1 +0,1 @@ | ||
export declare const version = "2.43.3"; | ||
export declare const version = "2.43.4"; |
@@ -24,3 +24,3 @@ "use strict"; | ||
module.exports = __toCommonJS(version_exports); | ||
const version = "2.43.3"; | ||
const version = "2.43.4"; | ||
// Annotate the CommonJS export names for ESM import in node: | ||
@@ -27,0 +27,0 @@ 0 && (module.exports = { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
979542
347
12754
1451
16