Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@mapomodule/core

Package Overview
Dependencies
Maintainers
2
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mapomodule/core - npm Package Compare versions

Comparing version 1.0.0-alpha.23 to 1.0.0-alpha.27

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

# [1.0.0-alpha.27](https://github.com/lotrekagency/mapo/compare/v1.0.0-alpha.26...v1.0.0-alpha.27) (2022-08-25)
### Bug Fixes
* remove unused options plugin ([45004bb](https://github.com/lotrekagency/mapo/commit/45004bb158267c7e2f7795c1d12cf568f9d7ded2))
# [1.0.0-alpha.23](https://github.com/lotrekagency/mapo/compare/v1.0.0-alpha.22...v1.0.0-alpha.23) (2022-05-04)

@@ -8,0 +19,0 @@

4

index.js
import createRepository from '@mapomodule/core/api/crud'
import transformRequestInMultipart from '@mapomodule/core/api/multipart'
import initInterceptors from '@mapomodule/core/interceptor'
import options from './options'

@@ -12,3 +11,2 @@ function getRouteMiddlewares(route) {

const { axios, ...conf } = options;

@@ -26,5 +24,3 @@ export default (ctx, inject) => {

multipart: transformRequestInMultipart,
conf: axios
},
$options: conf,
/**

@@ -31,0 +27,0 @@ * From here you can reach some utilities that simplify the interaction with the user authentication flow.

@@ -26,9 +26,2 @@ import path from 'path'

// INJECT MAPO OPTIONS
this.addTemplate({
src: path.resolve(__dirname, './options.js'),
fileName: path.join(namespace, 'options.js'),
options: { axios: (this.options && this.options.axios), ...moduleOptions }
})
// INJECT ALL MIDDLEWARES

@@ -35,0 +28,0 @@ const middlewares = (await resolver.resolveRelative(__dirname, 'middleware')).map(({ src }) => src)

{
"name": "@mapomodule/core",
"version": "1.0.0-alpha.23",
"version": "1.0.0-alpha.27",
"description": "This is part of Mapo nuxt module. Injects the core mapo plugin helpers.",

@@ -21,3 +21,3 @@ "author": "bnznamco <gabriele.baldi.01@gmail.com>",

},
"gitHead": "19399823330cb0123d2b224e857fb3094351df95"
"gitHead": "d028345c7ee4cdf43dac3e68d27d4b9f1ad4198c"
}
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