Socket
Socket
Sign inDemoInstall

@mocks-server/plugin-admin-api

Package Overview
Dependencies
187
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.0-beta.2 to 2.0.0

23

CHANGELOG.md

@@ -15,8 +15,27 @@ # Change Log

## [2.0.0-beta.2] - 2021-01-16
## [2.0.0] - 2021-02-17
### Added
- Add mocks, routes, routes-variants and mock-custom-routes-variants apis
### Changed
- feat: Move behaviors and fixtures apis under legacy folder
- refactor: Use helper to create routers with same structure
- chore(deps): Update dependencies
### Removed
- Remove deprecated api paths
- Remove adminApiDeprecatedPaths option.
### BREAKING CHANGES
- Move behaviors and fixtures apis under legacy folder
- Remove deprecated api paths
- Remove adminApiDeprecatedPaths option.
## [2.0.0-beta.2] - 2021-02-16
### Changed
- chore(deps): Update mocks-server/core dependency. Adapt tests.
## [2.0.0-beta.1] - 2021-01-14
## [2.0.0-beta.1] - 2021-02-14

@@ -23,0 +42,0 @@ ### Added

12

package.json
{
"name": "@mocks-server/plugin-admin-api",
"version": "2.0.0-beta.2",
"version": "2.0.0",
"description": "Mocks Server plugin providing a REST API for administration",

@@ -32,6 +32,6 @@ "keywords": [

"peerDependencies": {
"@mocks-server/core": ">=2.0.0"
"@mocks-server/core": "2.x"
},
"dependencies": {
"@mocks-server/admin-api-paths": "2.0.0-beta.2",
"@mocks-server/admin-api-paths": "2.0.0",
"@hapi/boom": "9.1.0",

@@ -41,7 +41,7 @@ "express": "4.17.1"

"devDependencies": {
"@mocks-server/core": "2.0.0-beta.2",
"@mocks-server/core": "2.0.0",
"cross-fetch": "3.0.6",
"eslint": "7.19.0",
"eslint": "7.20.0",
"eslint-plugin-no-only-tests": "2.4.0",
"eslint-config-prettier": "6.15.0",
"eslint-config-prettier": "7.2.0",
"eslint-plugin-prettier": "3.3.1",

@@ -48,0 +48,0 @@ "husky": "4.3.8",

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

/*
Copyright 2021 Javier Brea
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
*/
const Boom = require("@hapi/boom");

@@ -2,0 +12,0 @@ const { PLUGIN_NAME } = require("./constants");

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

/*
Copyright 2021 Javier Brea
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
*/
const express = require("express");

@@ -2,0 +12,0 @@

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc