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

@knight-lab/timelinejs

Package Overview
Dependencies
Maintainers
2
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@knight-lab/timelinejs - npm Package Compare versions

Comparing version 3.7.5 to 3.7.6

137

package.json
{
"name": "@knight-lab/timelinejs",
"version": "3.7.5",
"license": "MPL-2.0",
"description": "TimelineJS v3: A Storytelling Timeline built in JavaScript, made by Northwestern University Knight Lab.",
"dependencies": {
"dompurify": "^2.0.11"
"name": "@knight-lab/timelinejs",
"version": "3.7.6",
"license": "MPL-2.0",
"description": "TimelineJS v3: A Storytelling Timeline built in JavaScript, made by Northwestern University Knight Lab.",
"dependencies": {
"dompurify": "^2.0.11"
},
"devDependencies": {
"@babel/cli": "^7.10.1",
"@babel/core": "^7.10.2",
"@babel/preset-env": "^7.10.2",
"adm-zip": "^0.4.14",
"babel-jest": "^25.5.1",
"clean-webpack-plugin": "^3.0.0",
"copy-webpack-plugin": "^5.1.1",
"css-loader": "^3.6.0",
"file-loader": "^6.0.0",
"fs-extra": "^9.0.1",
"html-webpack-plugin": "^4.3.0",
"http-server": "^0.12.3",
"jest": "^25.5.4",
"less": "^3.11.3",
"less-loader": "^6.1.1",
"lodash": "^4.17.19",
"mini-css-extract-plugin": "^0.9.0",
"npm-run-all": "^4.1.5",
"prompt": "^1.0.0",
"simple-git": "^2.7.2",
"style-loader": "^1.2.1",
"trash-cli": "^3.0.0",
"webpack": "^4.43.0",
"webpack-cli": "^3.3.12",
"webpack-dev-server": "^3.11.0",
"webpack-merge": "^4.2.2"
},
"repository": {
"type": "git",
"url": "git+https://github.com/NUKnightLab/TimelineJS3.git"
},
"keywords": [],
"author": "Northwestern University Knight Lab",
"bugs": {
"url": "https://github.com/NUKnightLab/TimelineJS3/issues"
},
"homepage": "https://timeline.knightlab.com",
"scripts": {
"test": "jest",
"dist": "run-s clean build",
"disttest": "npm run dist && http-server dist -o '/embed/index.html?debug=true&language=es'",
"compare": "npm run dist && http-server dist -o '/embed/compare.html'",
"clean": "trash dist",
"build": "webpack --config webpack.prod.js && node tasks/compile_less.js",
"start": "webpack-dev-server --open --config webpack.dev.js",
"stage": "npm run dist && node tasks/stage.js",
"stage_latest": "npm run dist && node tasks/stage.js latest",
"stage_dev": "npm run dist && node tasks/stage.js dev"
},
"contributors": [
{
"name": "Zach Wise",
"email": "wise@northwestern.edu",
"url": "https://github.com/zachwise"
},
"devDependencies": {
"@babel/cli": "^7.10.1",
"@babel/core": "^7.10.2",
"@babel/preset-env": "^7.10.2",
"adm-zip": "^0.4.14",
"babel-jest": "^25.5.1",
"clean-webpack-plugin": "^3.0.0",
"copy-webpack-plugin": "^5.1.1",
"css-loader": "^3.6.0",
"file-loader": "^6.0.0",
"fs-extra": "^9.0.1",
"html-webpack-plugin": "^4.3.0",
"http-server": "^0.12.3",
"jest": "^25.5.4",
"less": "^3.11.3",
"less-loader": "^6.1.1",
"lodash": "^4.17.19",
"mini-css-extract-plugin": "^0.9.0",
"npm-run-all": "^4.1.5",
"prompt": "^1.0.0",
"simple-git": "^2.7.2",
"style-loader": "^1.2.1",
"trash-cli": "^3.0.0",
"webpack": "^4.43.0",
"webpack-cli": "^3.3.12",
"webpack-dev-server": "^3.11.0",
"webpack-merge": "^4.2.2"
},
"repository": {
"type": "git",
"url": "git+https://github.com/NUKnightLab/TimelineJS3.git"
},
"keywords": [],
"author": "Northwestern University Knight Lab",
"bugs": {
"url": "https://github.com/NUKnightLab/TimelineJS3/issues"
},
"homepage": "https://timeline.knightlab.com",
"scripts": {
"test": "jest",
"dist": "run-s clean build",
"disttest": "npm run dist && http-server dist -o '/embed/index.html?debug=true&language=es'",
"compare": "npm run dist && http-server dist -o '/embed/compare.html'",
"clean": "trash dist",
"build": "webpack --config webpack.prod.js && node tasks/compile_less.js",
"start": "webpack-dev-server --open --config webpack.dev.js",
"stage": "npm run dist && node tasks/stage.js",
"stage_latest": "npm run dist && node tasks/stage.js latest",
"stage_dev": "npm run dist && node tasks/stage.js dev"
},
"contributors": [{
"name": "Zach Wise",
"email": "wise@northwestern.edu",
"url": "https://github.com/zachwise"
},
{
"name": "Joe Germuska",
"email": "joegermuska@northwestern.edu",
"url": "https://github.com/JoeGermuska"
}
]
}
{
"name": "Joe Germuska",
"email": "joegermuska@northwestern.edu",
"url": "https://github.com/JoeGermuska"
}
]
}

@@ -21,3 +21,3 @@ asn1crypto==0.24.0

pycparser==2.19
pycrypto==2.6.1
pycryptodome==3.9.8
PyNaCl==1.3.0

@@ -24,0 +24,0 @@ readline==6.2.4.1

@@ -66,7 +66,6 @@ import { Media } from "../Media";

if (errorType == 'parsererror') {
var error = new TLError("invalid_url_err");
self.loadErrorDisplay(self._("imgur_invalidurl_err"));
} else {
var error = new TLError("unknown_read_err", errorType);
self.loadErrorDisplay(self._("unknown_read_err", errorType));
}
self.loadErrorDisplay(self._("imgur_invalidurl_err"));
}

@@ -73,0 +72,0 @@ });

@@ -16,3 +16,3 @@ import * as DOM from "../dom/DOM"

import { MenuBar } from "../ui/MenuBar"
import { loadCSS } from "../core/Load";
import { loadCSS, loadJS } from "../core/Load";

@@ -133,3 +133,4 @@ let script_src_url = null;

track_events: ['back_to_start', 'nav_next', 'nav_previous', 'zoom_in', 'zoom_out'],
theme: null
theme: null,
soundcite: false,
};

@@ -163,2 +164,10 @@

if (options.soundcite) {
this.on('ready', () => {
trace("Loading Soundcite resources ")
loadCSS('https://cdn.knightlab.com/libs/soundcite/latest/css/player.css')
loadJS('https://cdn.knightlab.com/libs/soundcite/latest/js/soundcite.min.js')
})
}
// load font, theme

@@ -325,3 +334,7 @@ this._loadStyles()

try {
this._onDataLoaded();
if (document.readyState === 'loading') { // Loading hasn't finished yet
document.addEventListener('DOMContentLoaded', this._onDataLoaded);
} else {
this._onDataLoaded();
}
} catch (e) {

@@ -354,2 +367,3 @@ this.showMessage("<strong>" + this._('error') + ":</strong> " + this._translateError(e));

this.ready = true;
this.fire("ready")

@@ -356,0 +370,0 @@ }

@@ -10,3 +10,3 @@ {

"headline": "TimelineJS Media Types",
"text": "<p>TimelineJS supports many media types. This provides a simple way to test them all. This page tests a simple image on a remote server.</p>"
"text": "<p>TimelineJS supports many media types. This provides a simple way to test them all. This page tests a simple image on a remote server. Also, if the Timeline was created with the <code>soundcite</code> option set to <code>true</code> then <span class='soundcite' data-url='https://soundcite.knightlab.com/media/bach-cello-suite.mp3' data-start='0' data-end='164000' data-plays='1'>this should be an active SoundCite player.</span></p>"
}

@@ -13,0 +13,0 @@ },

@@ -89,8 +89,9 @@ const prompt = require('prompt'),

if (err) { return onErr(err); }
var package_json = require('../package.json');
package_json.version = result.version;
fse.writeJsonSync('package.json', package_json, { spaces: 2 });
simpleGit().commit(`Update to ${result.version}`, ['package.json'])
.addTag(result.version)
if (package_json.version != result.version) {
package_json.version = result.version;
fse.writeJsonSync('package.json', package_json, { spaces: 2 });
simpleGit().commit(`Update to ${result.version}`, ['package.json'])
}
simpleGit().addTag(result.version)
.pushTags('origin', function() {

@@ -97,0 +98,0 @@ console.log(' Tagged with: ' + result.version);

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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