Socket
Socket
Sign inDemoInstall

@mocks-server/admin-api-paths

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mocks-server/admin-api-paths - npm Package Compare versions

Comparing version 2.2.1 to 3.0.0

6

dist/index.cjs.js

@@ -13,12 +13,6 @@ 'use strict';

var MOCK_CUSTOM_ROUTES_VARIANTS = "/mock-custom-routes-variants";
var LEGACY = "/legacy";
var BEHAVIORS = "/behaviors";
var FIXTURES = "/fixtures";
exports.ABOUT = ABOUT;
exports.ALERTS = ALERTS;
exports.BEHAVIORS = BEHAVIORS;
exports.DEFAULT_BASE_PATH = DEFAULT_BASE_PATH;
exports.FIXTURES = FIXTURES;
exports.LEGACY = LEGACY;
exports.MOCKS = MOCKS;

@@ -25,0 +19,0 @@ exports.MOCK_CUSTOM_ROUTES_VARIANTS = MOCK_CUSTOM_ROUTES_VARIANTS;

5

dist/index.esm.js

@@ -9,6 +9,3 @@ var DEFAULT_BASE_PATH = "/admin";

var MOCK_CUSTOM_ROUTES_VARIANTS = "/mock-custom-routes-variants";
var LEGACY = "/legacy";
var BEHAVIORS = "/behaviors";
var FIXTURES = "/fixtures";
export { ABOUT, ALERTS, BEHAVIORS, DEFAULT_BASE_PATH, FIXTURES, LEGACY, MOCKS, MOCK_CUSTOM_ROUTES_VARIANTS, ROUTES, ROUTES_VARIANTS, SETTINGS };
export { ABOUT, ALERTS, DEFAULT_BASE_PATH, MOCKS, MOCK_CUSTOM_ROUTES_VARIANTS, ROUTES, ROUTES_VARIANTS, SETTINGS };

2

dist/index.umd.js

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

!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).pluginAdminApiPaths={})}(this,(function(e){"use strict";e.ABOUT="/about",e.ALERTS="/alerts",e.BEHAVIORS="/behaviors",e.DEFAULT_BASE_PATH="/admin",e.FIXTURES="/fixtures",e.LEGACY="/legacy",e.MOCKS="/mocks",e.MOCK_CUSTOM_ROUTES_VARIANTS="/mock-custom-routes-variants",e.ROUTES="/routes",e.ROUTES_VARIANTS="/routes-variants",e.SETTINGS="/settings",Object.defineProperty(e,"__esModule",{value:!0})}));
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).pluginAdminApiPaths={})}(this,(function(e){"use strict";e.ABOUT="/about",e.ALERTS="/alerts",e.DEFAULT_BASE_PATH="/admin",e.MOCKS="/mocks",e.MOCK_CUSTOM_ROUTES_VARIANTS="/mock-custom-routes-variants",e.ROUTES="/routes",e.ROUTES_VARIANTS="/routes-variants",e.SETTINGS="/settings",Object.defineProperty(e,"__esModule",{value:!0})}));
{
"name": "@mocks-server/admin-api-paths",
"version": "2.2.1",
"version": "3.0.0",
"description": "Api paths of @mocks-server/plugin-admin-api",

@@ -14,3 +14,7 @@ "keywords": [

"license": "MIT",
"repository": "https://github.com/mocks-server/main",
"repository": {
"type": "git",
"url": "https://github.com/mocks-server/main.git",
"directory": "packages/admin-api-paths"
},
"homepage": "https://www.mocks-server.org",

@@ -26,3 +30,3 @@ "publishConfig": {

"engines": {
"node": ">=12.x"
"node": ">=14.x"
},

@@ -33,3 +37,3 @@ "scripts": {

},
"readme": "<p align=\"center\"><a href=\"https://mocks-server.org\" target=\"_blank\" rel=\"noopener noreferrer\"><img width=\"120\" src=\"https://www.mocks-server.org/img/logo_120.png\" alt=\"Mocks Server logo\"></a></p>\n\n<p align=\"center\">\n <a href=\"https://github.com/mocks-server/main/actions?query=workflow%3Abuild+branch%3Amaster\"><img src=\"https://github.com/mocks-server/main/workflows/build/badge.svg?branch=master\" alt=\"Build Status\"></a>\n <a href=\"https://codecov.io/gh/mocks-server/main\"><img src=\"https://codecov.io/gh/mocks-server/main/branch/master/graph/badge.svg?token=2S8ZR55AJV\" alt=\"Coverage\"></a>\n <a href=\"https://sonarcloud.io/project/overview?id=mocks-server_main_admin-api-paths\"><img src=\"https://sonarcloud.io/api/project_badges/measure?project=mocks-server_main_admin-api-paths&metric=alert_status\" alt=\"Quality Gate\"></a>\n <a href=\"https://www.npmjs.com/package/@mocks-server/admin-api-paths\"><img src=\"https://img.shields.io/npm/dm/@mocks-server/admin-api-paths.svg\" alt=\"Downloads\"></a>\n <a href=\"https://renovatebot.com\"><img src=\"https://img.shields.io/badge/renovate-enabled-brightgreen.svg\" alt=\"Renovate\"></a>\n <a href=\"https://github.com/mocks-server/main/blob/master/packages/admin-api-paths/LICENSE\"><img src=\"https://img.shields.io/npm/l/@mocks-server/admin-api-paths.svg\" alt=\"License\"></a>\n</p>\n\n---\n\n# Api paths of the Mocks-Server Plugin Admin Api\n\nConstants defining API paths of the [Mocks Server plugin-admin-api][plugin-admin-api-url]. Use them to build plugin clients.\n\n## Usage\n\n```js\nimport { SETTINGS } from \"@mocks-server/admin-api-paths\";\n\nconsole.log(SETTINGS); // /settings\n```\n\n## Contributing\n\nContributors are welcome.\nPlease read the [contributing guidelines](.github/CONTRIBUTING.md) and [code of conduct](.github/CODE_OF_CONDUCT.md).\n\n[plugin-admin-api-url]: https://github.com/mocks-server/plugin-admin-api\n"
"readme": "<p align=\"center\"><a href=\"https://mocks-server.org\" target=\"_blank\" rel=\"noopener noreferrer\"><img width=\"120\" src=\"https://www.mocks-server.org/img/logo_120.png\" alt=\"Mocks Server logo\"></a></p>\n\n<p align=\"center\">\n <a href=\"https://github.com/mocks-server/main/actions?query=workflow%3Abuild+branch%3Amaster\"><img src=\"https://github.com/mocks-server/main/workflows/build/badge.svg?branch=master\" alt=\"Build Status\"></a>\n <a href=\"https://codecov.io/gh/mocks-server/main\"><img src=\"https://codecov.io/gh/mocks-server/main/branch/master/graph/badge.svg?token=2S8ZR55AJV\" alt=\"Coverage\"></a>\n <a href=\"https://sonarcloud.io/project/overview?id=mocks-server_main_admin-api-paths\"><img src=\"https://sonarcloud.io/api/project_badges/measure?project=mocks-server_main_admin-api-paths&metric=alert_status\" alt=\"Quality Gate\"></a>\n <a href=\"https://www.npmjs.com/package/@mocks-server/admin-api-paths\"><img src=\"https://img.shields.io/npm/dm/@mocks-server/admin-api-paths.svg\" alt=\"Downloads\"></a>\n <a href=\"https://renovatebot.com\"><img src=\"https://img.shields.io/badge/renovate-enabled-brightgreen.svg\" alt=\"Renovate\"></a>\n <a href=\"https://github.com/mocks-server/main/blob/master/packages/admin-api-paths/LICENSE\"><img src=\"https://img.shields.io/npm/l/@mocks-server/admin-api-paths.svg\" alt=\"License\"></a>\n</p>\n\n---\n\n# Api paths of the Mocks-Server Plugin Admin Api\n\nConstants defining API paths of the [Mocks Server plugin-admin-api][plugin-admin-api-url]. They can also be used to build plugin API clients.\n\n## Usage\n\n```js\nimport { SETTINGS } from \"@mocks-server/admin-api-paths\";\n\nconsole.log(SETTINGS); // \"/settings\"\n```\n\n## Contributing\n\nContributors are welcome.\nPlease read the [contributing guidelines](.github/CONTRIBUTING.md) and [code of conduct](.github/CODE_OF_CONDUCT.md).\n\n[plugin-admin-api-url]: https://github.com/mocks-server/plugin-admin-api\n"
}

@@ -16,3 +16,3 @@ <p align="center"><a href="https://mocks-server.org" target="_blank" rel="noopener noreferrer"><img width="120" src="https://www.mocks-server.org/img/logo_120.png" alt="Mocks Server logo"></a></p>

Constants defining API paths of the [Mocks Server plugin-admin-api][plugin-admin-api-url]. Use them to build plugin clients.
Constants defining API paths of the [Mocks Server plugin-admin-api][plugin-admin-api-url]. They can also be used to build plugin API clients.

@@ -24,3 +24,3 @@ ## Usage

console.log(SETTINGS); // /settings
console.log(SETTINGS); // "/settings"
```

@@ -27,0 +27,0 @@

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