New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

pssh-tools

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pssh-tools - npm Package Compare versions

Comparing version 0.1.4 to 0.1.5

2

dist/src/lib/pssh/playready.js

@@ -59,3 +59,2 @@ "use strict";

const constructProXML4 = (keyId, licenseUrl, keySeed) => {
console.log('KeySeed:', keySeed);
let key = keySeed && keySeed.length ? generateContentKey(keyId, keySeed) : exports.encodeKey(keyId);

@@ -74,3 +73,2 @@ let xmlArray = ['<WRMHEADER xmlns="http://schemas.microsoft.com/DRM/2007/03/PlayReadyHeader" version="4.0.0.0">'];

const constructProXML = (keyIds, licenseUrl, keySeed) => {
console.log('KeySeed:', keySeed);
let contentKeys = keyIds.map((k) => {

@@ -77,0 +75,0 @@ return keySeed && keySeed.length ? generateContentKey(k, keySeed) : exports.encodeKey(k);

2

package.json
{
"name": "pssh-tools",
"version": "0.1.4",
"version": "0.1.5",
"description": "Tools to generate PSSH Data and PSSH Box",

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

@@ -77,3 +77,2 @@ import * as crypto from 'crypto'

const constructProXML4 = (keyId: string, licenseUrl: string, keySeed: string): string => {
console.log('KeySeed:', keySeed)
let key = keySeed && keySeed.length ? generateContentKey(keyId, keySeed) : encodeKey(keyId)

@@ -95,3 +94,2 @@

const constructProXML = (keyIds: string[], licenseUrl: string, keySeed: string): string => {
console.log('KeySeed:', keySeed)
let contentKeys = keyIds.map((k) => {

@@ -98,0 +96,0 @@ return keySeed && keySeed.length ? generateContentKey(k, keySeed) : encodeKey(k)

Sorry, the diff of this file is not supported yet

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