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

ep_align

Package Overview
Dependencies
Maintainers
5
Versions
110
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ep_align - npm Package Compare versions

Comparing version 0.2.6 to 0.2.7

locales/cy.json

2

index.js

@@ -12,3 +12,3 @@ var eejs = require('ep_etherpad-lite/node/eejs/');

// line, apool,attribLine,text
exports.getLineHTMLForExport = function (hook, context) {
exports.getLineHTMLForExport = async (hookName, context) => {
var alignment = _analyzeLine(context.attribLine, context.apool);

@@ -15,0 +15,0 @@ if (alignment) {

{
"ep_align.align" : "Ausrichtung",
"ep_align.left" : "Linksbündig",
"ep_align.middle" : "Zentriert",
"ep_align.right" : "Rechtsbündig",
"ep_align.justify" : "Blocksatz"
"@metadata": {
"authors": []
},
"ep_align.align": "Ausrichtung",
"ep_align.left": "Linksbündig",
"ep_align.middle": "Zentriert",
"ep_align.right": "Rechtsbündig",
"ep_align.justify": "Blocksatz"
}
{
"ep_align.align" : "Align",
"ep_align.left" : "Left",
"ep_align.middle" : "Middle",
"ep_align.center" : "Center",
"ep_align.right" : "Right",
"ep_align.justify" : "Justify"
}
{
"ep_align.align" : "Alignement",
"ep_align.left" : "Gauche",
"ep_align.middle" : "Milieu",
"ep_align.right" : "Droit",
"ep_align.justify" : "Justifié"
"@metadata": {
"authors": []
},
"ep_align.align": "Alignement",
"ep_align.left": "Gauche",
"ep_align.middle": "Milieu",
"ep_align.right": "Droit",
"ep_align.justify": "Justifié"
}
{
"ep_align.align" : "",
"ep_align.left" : "Balra igazítás",
"ep_align.middle" : "Középre igazítás",
"ep_align.right" : "Jobbra igazítás",
"ep_align.justify" : "Sorkizárt"
"@metadata": {
"authors": [
"Hanna Tardos"
]
},
"ep_align.align": "Illesztés",
"ep_align.left": "Balra igazítás",
"ep_align.middle": "Középre igazítás",
"ep_align.right": "Jobbra igazítás",
"ep_align.justify": "Sorkizárt"
}
{
"ep_align.align" : "Wyrównanie",
"ep_align.left" : "Do lewej",
"ep_align.middle" : "Do środka",
"ep_align.right" : "Do prawej",
"ep_align.justify" : "Justowanie"
"@metadata": {
"authors": []
},
"ep_align.align": "Wyrównanie",
"ep_align.left": "Do lewej",
"ep_align.middle": "Do środka",
"ep_align.right": "Do prawej",
"ep_align.justify": "Justowanie"
}
{
"ep_align.align" : "Textjustering",
"ep_align.left" : "Vänsterjustera",
"ep_align.middle" : "Centrera",
"ep_align.right" : "Högerjustera",
"ep_align.justify" : "Marginaljustera"
"@metadata": {
"authors": []
},
"ep_align.align": "Textjustering",
"ep_align.left": "Vänsterjustera",
"ep_align.middle": "Centrera",
"ep_align.right": "Högerjustera",
"ep_align.justify": "Marginaljustera"
}

@@ -51,3 +51,3 @@ {

},
"version": "0.2.6"
"version": "0.2.7"
}

@@ -5,3 +5,3 @@ var _ = require('ep_etherpad-lite/static/js/underscore');

var collectContentPre = function(hook, context){
exports.collectContentPre = (hookName, context, cb) => {
var tname = context.tname;

@@ -17,6 +17,7 @@ var state = context.state;

}
return cb();
};
// I don't even know when this is run..
var collectContentPost = function(hook, context){
exports.collectContentPost = (hookName, context, cb) => {
var tname = context.tname;

@@ -29,5 +30,3 @@ var state = context.state;

}
return cb();
};
exports.collectContentPre = collectContentPre;
exports.collectContentPost = collectContentPost;

@@ -5,18 +5,7 @@ var appUrl = 'http://localhost:9001';

var supertest = require('ep_etherpad-lite/node_modules/supertest'),
fs = require('fs'),
path = require('path'),
request = require('ep_etherpad-lite/node_modules/request'),
api = supertest(appUrl),
randomString = require('ep_etherpad-lite/static/js/pad_utils').randomString;
// Loads the APIKEY.txt content into a string, and returns it.
var getApiKey = function() {
var etherpad_root = '/../../../ep_etherpad-lite/../../..';
var filePath = path.join(__dirname, etherpad_root + '/APIKEY.txt');
var apiKey = fs.readFileSync(filePath, {encoding: 'utf-8'});
return apiKey.replace(/\n$/, "");
}
const apiKey = require('ep_etherpad-lite/node/handler/APIHandler.js').exportedForTestingOnly.apiKey;
var apiKey = getApiKey();
// Functions to validate API responses:

@@ -23,0 +12,0 @@ var codeToBe = function(expectedCode, res) {

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