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

@entur/create-offer-configurations-from-offer-to-buy

Package Overview
Dependencies
Maintainers
12
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@entur/create-offer-configurations-from-offer-to-buy - npm Package Compare versions

Comparing version 2.0.1 to 2.1.0

dist/commonjs/index.cjs

16

package.json
{
"name": "@entur/create-offer-configurations-from-offer-to-buy",
"version": "2.0.1",
"version": "2.1.0",
"type": "module",
"description": "Create an array of offer configurations exactly as prescribed by the possibleTravellerIds field in an OfferToBuy",
"main": "dist/index.js",
"main": "dist/esm/index.js",
"exports": {
"import": "./dist/esm/index.js",
"require": "./dist/commonjs/index.cjs"
},
"repository": "https://github.com/entur/create-offer-configurations-from-offer-to-buy",

@@ -15,3 +19,5 @@ "author": "Eirik Vageskar <eirik.vageskar@knowit.no>",

"scripts": {
"build": "rm -rf dist && npx tsc",
"build": "rm -rf dist && npm run build:commonjs && npm run build:esm",
"build:esm": "tsc --outDir dist/esm",
"build:commonjs": "tsc --module commonjs --target es5 --outDir dist/commonjs && mv dist/commonjs/index.js dist/commonjs/index.cjs",
"update-types": "npx swagger-typescript-api --path https://api.staging.entur.io/sales/v1/offers/api-docs/swagger.json --output source/types -n offersTypes.ts --no-client && npx swagger-typescript-api --path https://api.staging.entur.io/offers/v2-beta/api-docs/swagger.json --output source/types -n offers2Types.ts --no-client && npx swagger-typescript-api --path https://api.staging.entur.io/api-docs/reserve-offer?group=public --output source/types -n reserveOfferTypes.ts --no-client",

@@ -21,3 +27,3 @@ "test": "jest",

"lint:fix": "npx prettier --write *.{md,json} .*.cjs; xo --fix",
"prepublishOnly": "npx tsc && npm run test",
"prepublishOnly": "npm run build && npm run test",
"prepare": "husky install",

@@ -44,3 +50,3 @@ "publish": "npx np"

"jest": "^27.0.6",
"np": "^7.5.0",
"np": "^7.6.0",
"prettier": "^2.3.2",

@@ -47,0 +53,0 @@ "typescript": "^4.4.3",

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