Socket
Socket
Sign inDemoInstall

mappersmith

Package Overview
Dependencies
Maintainers
3
Versions
121
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mappersmith - npm Package Compare versions

Comparing version 2.43.0 to 2.43.1

6

CHANGELOG.md
# Changelog
## 2.43.1
### Patch Changes
- 0177911: Fixes `middlewares` import path
## 2.43.0

@@ -4,0 +10,0 @@

58

package.json
{
"name": "mappersmith",
"version": "2.43.0",
"version": "2.43.1",
"description": "It is a lightweight rest client for node.js and the browser",

@@ -89,2 +89,46 @@ "author": "Tulio Ornelas <ornelas.tulio@gmail.com>",

"require": "./middleware/timeout.js"
},
"./middlewares": {
"import": "./esm/middlewares/index.mjs",
"require": "./middlewares/index.js"
},
"./middlewares/basic-auth": {
"import": "./esm/middlewares/basic-auth.mjs",
"require": "./middlewares/basic-auth.js"
},
"./middlewares/csrf": {
"import": "./esm/middlewares/csrf.mjs",
"require": "./middlewares/csrf.js"
},
"./middlewares/duration": {
"import": "./esm/middlewares/duration.mjs",
"require": "./middlewares/duration.js"
},
"./middlewares/encode-json": {
"import": "./esm/middlewares/encode-json.mjs",
"require": "./middlewares/encode-json.js"
},
"./middlewares/global-error-handler": {
"import": "./esm/middlewares/global-error-handler.mjs",
"require": "./middlewares/global-error-handler.js"
},
"./middlewares/log": {
"import": "./esm/middlewares/log.mjs",
"require": "./middlewares/log.js"
},
"./middlewares/retry": {
"import": "./esm/middlewares/retry/index.mjs",
"require": "./middlewares/retry/index.js"
},
"./middlewares/retry/v1": {
"import": "./esm/middlewares/retry/v1/index.mjs",
"require": "./middlewares/retry/v1/index.js"
},
"./middlewares/retry/v2": {
"import": "./esm/middlewares/retry/v2/index.mjs",
"require": "./middlewares/retry/v2/index.js"
},
"./middlewares/timeout": {
"import": "./esm/middlewares/timeout.mjs",
"require": "./middlewares/timeout.js"
}

@@ -146,3 +190,3 @@ },

"@babel/register": "^7.22.5",
"@changesets/cli": "^2.26.2",
"@changesets/cli": "^2.27.1",
"@chiragrupani/karma-chromium-edge-launcher": "^2.3.1",

@@ -152,3 +196,3 @@ "@types/jest": "^29.5.4",

"@types/node": "^20.5.7",
"@types/webpack": "^5.28.2",
"@types/webpack": "^5.28.5",
"@typescript-eslint/eslint-plugin": "^6.5.0",

@@ -166,6 +210,6 @@ "@typescript-eslint/parser": "^6.5.0",

"cross-env": "^7.0.3",
"eslint": "^8.48.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.0.0",
"eslint-config-standard": "^17.1.0",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-n": "^16.0.2",

@@ -197,6 +241,6 @@ "eslint-plugin-promise": "^6.1.1",

"wait-on": "^7.0.1",
"webpack": "^5.88.2",
"whatwg-fetch": "^3.6.18"
"webpack": "^5.89.0",
"whatwg-fetch": "^3.6.20"
},
"packageManager": "yarn@3.6.3"
}

@@ -1424,3 +1424,3 @@ [![npm version](https://badge.fury.io/js/mappersmith.svg)](http://badge.fury.io/js/mappersmith)

3. Merge the PR.
4. From main: pull the latest changes, and build the `lib/` folder which will be published to npm:
4. From `master`: pull the latest changes, and build the `dist/` folder which will be published to npm:

@@ -1431,3 +1431,3 @@ ```sh

5. Verify the release works, using `npm pack` to create a local tarball.
5. Verify the release works. If you are using `npm pack` to create a local tarball, delete this file after the verification has been done.
6. Finally, publish the contents of `dist/` folder to npm:

@@ -1437,5 +1437,13 @@

cd dist/
rm *.tgz # do not accidentally publish any tarball
npm publish
```
7. Tag the release and push the tags.
```sh
git tag 2.43.0
git push --tags
```
## Linting

@@ -1442,0 +1450,0 @@

2

src/version.ts

@@ -1,1 +0,1 @@

export const version = '2.43.0'
export const version = '2.43.1'

@@ -1,1 +0,1 @@

export declare const version = "2.43.0";
export declare const version = "2.43.1";

@@ -24,3 +24,3 @@ "use strict";

module.exports = __toCommonJS(version_exports);
const version = "2.43.0";
const version = "2.43.1";
// 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc