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

@cap-js-community/odata-v2-adapter

Package Overview
Dependencies
Maintainers
6
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cap-js-community/odata-v2-adapter - npm Package Compare versions

Comparing version 1.11.8 to 1.11.9

15

cds-plugin.js
"use strict";
const cds = require("@sap/cds");
const path = require("path");
const cov2ap = require("./src");
const PLUGIN = "@cap-js-community/odata-v2-adapter";
const PLUGIN_CONFIG = [PLUGIN, `${PLUGIN}/cds-plugin`, `${PLUGIN}/cds-plugin.js`];
const packageJSON = require(path.join(process.cwd(), "package.json"));
const pluginActive =
(cds.env.cov2ap && cds.env.cov2ap.plugin) ||
(packageJSON &&
packageJSON.cds &&
packageJSON.cds.plugins &&
!!packageJSON.cds.plugins.find((plugin) => PLUGIN_CONFIG.includes(plugin) || PLUGIN_CONFIG.includes(plugin.impl)));
if (pluginActive) {
if (cds.env.cov2ap && cds.env.cov2ap.plugin) {
cds.on("bootstrap", async (app) => {

@@ -21,0 +8,0 @@ app.use(cov2ap());

9

CHANGELOG.md

@@ -8,2 +8,11 @@ # Changelog

## Version 1.11.9 - 2023-11-20
### Fixed
- Support union queries as parameterized views
- Fix pull requests actions for external contributions
- Simplify plugin detection again
- Performance improvements
## Version 1.11.8 - 2023-10-24

@@ -10,0 +19,0 @@

{
"name": "@cap-js-community/odata-v2-adapter",
"version": "1.11.8",
"version": "1.11.9",
"description": "OData V2 adapter for CDS",

@@ -37,2 +37,3 @@ "homepage": "https://cap.cloud.sap/",

"test:unit": "jest --testPathPattern='/test/'",
"test:external": "npm run test:unit -- --config=jest.external.config.js",
"test:unit:file": "CDS_ENV=testdb npm run test:unit",

@@ -58,3 +59,3 @@ "test:unit:deploy": "cd ./test/_env && npm run test:deploy",

"express": "^4.18.2",
"express-fileupload": "^1.4.1",
"express-fileupload": "^1.4.2",
"http-proxy-middleware": "^2.0.6",

@@ -66,12 +67,12 @@ "node-fetch": "^2.7.0",

"@cap-js/sqlite": "^1.3.1",
"@sap/cds": "^7.3.0",
"@types/express": "^4.17.20",
"@sap/cds": "^7.4.0",
"@types/express": "^4.17.21",
"compression": "^1.7.4",
"eslint": "^8.52.0",
"eslint": "^8.54.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-jest": "^27.4.3",
"eslint-plugin-jest": "^27.6.0",
"hdb": "^0.19.6",
"jest": "^29.7.0",
"passport": "^0.6.0",
"prettier": "^3.0.3",
"prettier": "^3.1.0",
"sqlite3": "^5.1.6",

@@ -78,0 +79,0 @@ "supertest": "^6.3.3"

@@ -133,2 +133,3 @@ # @cap-js-community/odata-v2-adapter (cov2ap)

- `[cov2ap] - Proxy:` Proxy processing error
- `[cov2ap] - Cache:` Metadata cache error
- `[cov2ap] - Authorization:` Authorization header parsing error

@@ -135,0 +136,0 @@ - `[cov2ap] - MetadataRequest:` Metadata request processing error

Sorry, the diff of this file is too big to display

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