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

estonian-cinema-api

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

estonian-cinema-api - npm Package Compare versions

Comparing version 0.1.1 to 0.2.0

7

CHANGELOG.md

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

# v0.2.0
## Add id, movie length, time and auditorium to show object
Objects returned by `getShows` now contain `id`, `movie.length`, `time` and `auditorium` properties.
<!-- -->
# v0.1.1

@@ -2,0 +9,0 @@ ## Add `language`, `dimensions` and `isImax` to show object

4

lib/utils/markusShowUtils.js

@@ -10,3 +10,6 @@ const getShows = require('markus-cinema-client').getShows;

posterUrl: show.Images.EventMediumImagePortrait || show.Images.EventLargeImagePortrait || null,
length: parseInt(show.LengthInMinutes, 10),
},
id: parseInt(show.ID, 10),
time: new Date(show.dttmShowStart),
timeUTC: new Date(show.dttmShowStartUTC),

@@ -16,2 +19,3 @@ dimensions: languageAndMethodUtils.getDimensions(show.PresentationMethodAndLanguage),

isImax: languageAndMethodUtils.getIfIsImax(show.PresentationMethodAndLanguage),
auditorium: show.TheatreAuditorium,
url: show.ShowURL,

@@ -18,0 +22,0 @@ }));

2

package.json
{
"name": "estonian-cinema-api",
"version": "0.1.1",
"version": "0.2.0",
"description": "JavaScript interface to get shows for Estonian cinemas.",

@@ -5,0 +5,0 @@ "main": "index.js",

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