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

aurelia-froala-editor

Package Overview
Dependencies
Maintainers
2
Versions
116
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aurelia-froala-editor - npm Package Compare versions

Comparing version 2.3.5 to 2.4.0

.eslintrc.json

14

build/paths.js
var appRoot = 'src/';
var outputRoot = 'dist/';
<<<<<<< HEAD
var exporSrvtRoot = 'export/';

@@ -21,2 +22,15 @@ var jspmPackages = 'jspm_packages/';

e2eSpecsDist: 'test/e2e/dist/',
=======
module.exports = {
root: appRoot,
source: appRoot + '**/*.js',
html: appRoot + '**/*.html',
css: appRoot + '**/*.css',
style: 'styles/**/*.css',
output: outputRoot,
doc: './doc',
e2eSpecsSrc: 'test/e2e/src/*.js',
e2eSpecsDist: 'test/e2e/dist/'
>>>>>>> webpack_compatible
};

@@ -0,1 +1,2 @@

<<<<<<< HEAD
'use strict'

@@ -44,1 +45,59 @@

)});
=======
let gulp = require('gulp');
let runSequence = require('run-sequence');
let to5 = require('gulp-babel');
let paths = require('../paths');
let compilerOptions = require('../babel-options');
let assign = Object.assign || require('object.assign');
let replace = require('gulp-replace');
gulp.task('build-html', function() {
return gulp.src(paths.html)
.pipe(gulp.dest(paths.output + 'es2015'))
.pipe(gulp.dest(paths.output + 'commonjs'))
.pipe(gulp.dest(paths.output + 'amd'))
.pipe(gulp.dest(paths.output + 'system'));
});
gulp.task('build-css', function() {
return gulp.src(paths.css)
.pipe(gulp.dest(paths.output + 'es2015'))
.pipe(gulp.dest(paths.output + 'commonjs'))
.pipe(gulp.dest(paths.output + 'amd'))
.pipe(gulp.dest(paths.output + 'system'));
});
gulp.task('build-es2015', function() {
return gulp.src(paths.source)
.pipe(to5(assign({}, compilerOptions.es2015())))
.pipe(gulp.dest(paths.output + 'es2015'));
});
gulp.task('build-commonjs', function() {
return gulp.src(paths.source)
.pipe(replace(/\.css\!/g, '.css'))
.pipe(to5(assign({}, compilerOptions.commonjs())))
.pipe(gulp.dest(paths.output + 'commonjs'));
});
gulp.task('build-amd', function() {
return gulp.src(paths.source)
.pipe(to5(assign({}, compilerOptions.amd())))
.pipe(gulp.dest(paths.output + 'amd'));
});
gulp.task('build-system', function() {
return gulp.src(paths.source)
.pipe(to5(assign({}, compilerOptions.system())))
.pipe(gulp.dest(paths.output + 'system'));
});
gulp.task('build', function(callback) {
return runSequence(
'clean',
['build-html', 'build-css', 'build-es2015', 'build-commonjs', 'build-amd', 'build-system'],
callback
);
});
>>>>>>> webpack_compatible

147

config.js
System.config({
defaultJSExtensions: true,
transpiler: "babel",
babelOptions: {
"optional": [
"runtime",
"optimisation.modules.system"
]
},
transpiler: false,
paths: {

@@ -16,140 +10,7 @@ "github:*": "jspm_packages/github/*",

map: {
"aurelia-binding": "npm:aurelia-binding@1.0.1",
"aurelia-event-aggregator": "npm:aurelia-event-aggregator@1.0.0",
"aurelia-i18n": "npm:aurelia-i18n@1.0.0",
"babel": "npm:babel-core@5.8.38",
"babel-runtime": "npm:babel-runtime@5.8.38",
"core-js": "npm:core-js@1.2.7",
"font-awesome": "npm:font-awesome@4.6.3",
"froala-editor": "npm:froala-editor@2.3.4",
"jquery": "npm:jquery@2.2.4",
"github:jspm/nodelibs-assert@0.1.0": {
"assert": "npm:assert@1.4.1"
},
"github:jspm/nodelibs-buffer@0.1.0": {
"buffer": "npm:buffer@3.6.0"
},
"github:jspm/nodelibs-path@0.1.0": {
"path-browserify": "npm:path-browserify@0.0.0"
},
"github:jspm/nodelibs-process@0.1.2": {
"process": "npm:process@0.11.6"
},
"github:jspm/nodelibs-util@0.1.0": {
"util": "npm:util@0.10.3"
},
"github:jspm/nodelibs-vm@0.1.0": {
"vm-browserify": "npm:vm-browserify@0.0.4"
},
"npm:assert@1.4.1": {
"assert": "github:jspm/nodelibs-assert@0.1.0",
"buffer": "github:jspm/nodelibs-buffer@0.1.0",
"process": "github:jspm/nodelibs-process@0.1.2",
"util": "npm:util@0.10.3"
},
"npm:aurelia-binding@1.0.1": {
"aurelia-logging": "npm:aurelia-logging@1.0.0",
"aurelia-metadata": "npm:aurelia-metadata@1.0.0",
"aurelia-pal": "npm:aurelia-pal@1.0.0",
"aurelia-task-queue": "npm:aurelia-task-queue@1.0.0"
},
"npm:aurelia-dependency-injection@1.0.0": {
"aurelia-metadata": "npm:aurelia-metadata@1.0.0",
"aurelia-polyfills": "npm:aurelia-polyfills@1.0.0",
"npm:aurelia-polyfills@1.0.0": {
"aurelia-pal": "npm:aurelia-pal@1.0.0"
},
"npm:aurelia-event-aggregator@1.0.0": {
"aurelia-logging": "npm:aurelia-logging@1.0.0"
},
"npm:aurelia-i18n@1.0.0": {
"aurelia-binding": "npm:aurelia-binding@1.0.1",
"aurelia-dependency-injection": "npm:aurelia-dependency-injection@1.0.0",
"aurelia-event-aggregator": "npm:aurelia-event-aggregator@1.0.0",
"aurelia-loader": "npm:aurelia-loader@1.0.0",
"aurelia-logging": "npm:aurelia-logging@1.0.0",
"aurelia-pal": "npm:aurelia-pal@1.0.0",
"aurelia-templating": "npm:aurelia-templating@1.0.0",
"aurelia-templating-resources": "npm:aurelia-templating-resources@1.0.0",
"i18next": "npm:i18next@3.4.1",
"intl": "npm:intl@1.2.4"
},
"npm:aurelia-loader@1.0.0": {
"aurelia-metadata": "npm:aurelia-metadata@1.0.0",
"aurelia-path": "npm:aurelia-path@1.0.0"
},
"npm:aurelia-metadata@1.0.0": {
"aurelia-pal": "npm:aurelia-pal@1.0.0"
},
"npm:aurelia-task-queue@1.0.0": {
"aurelia-pal": "npm:aurelia-pal@1.0.0"
},
"npm:aurelia-templating-resources@1.0.0": {
"aurelia-binding": "npm:aurelia-binding@1.0.1",
"aurelia-dependency-injection": "npm:aurelia-dependency-injection@1.0.0",
"aurelia-loader": "npm:aurelia-loader@1.0.0",
"aurelia-logging": "npm:aurelia-logging@1.0.0",
"aurelia-metadata": "npm:aurelia-metadata@1.0.0",
"aurelia-pal": "npm:aurelia-pal@1.0.0",
"aurelia-path": "npm:aurelia-path@1.0.0",
"aurelia-task-queue": "npm:aurelia-task-queue@1.0.0",
"aurelia-templating": "npm:aurelia-templating@1.0.0"
},
"npm:aurelia-templating@1.0.0": {
"aurelia-binding": "npm:aurelia-binding@1.0.1",
"aurelia-dependency-injection": "npm:aurelia-dependency-injection@1.0.0",
"aurelia-loader": "npm:aurelia-loader@1.0.0",
"aurelia-logging": "npm:aurelia-logging@1.0.0",
"aurelia-metadata": "npm:aurelia-metadata@1.0.0",
"aurelia-pal": "npm:aurelia-pal@1.0.0",
"aurelia-path": "npm:aurelia-path@1.0.0",
"aurelia-task-queue": "npm:aurelia-task-queue@1.0.0"
},
"npm:babel-runtime@5.8.38": {
"process": "github:jspm/nodelibs-process@0.1.2"
},
"npm:buffer@3.6.0": {
"base64-js": "npm:base64-js@0.0.8",
"child_process": "github:jspm/nodelibs-child_process@0.1.0",
"fs": "github:jspm/nodelibs-fs@0.1.2",
"ieee754": "npm:ieee754@1.1.6",
"isarray": "npm:isarray@1.0.0",
"process": "github:jspm/nodelibs-process@0.1.2"
},
"npm:core-js@1.2.7": {
"fs": "github:jspm/nodelibs-fs@0.1.2",
"path": "github:jspm/nodelibs-path@0.1.0",
"process": "github:jspm/nodelibs-process@0.1.2",
"systemjs-json": "github:systemjs/plugin-json@0.1.2"
},
"npm:font-awesome@4.6.3": {
"css": "github:systemjs/plugin-css@0.1.26"
},
"npm:froala-editor@2.3.4": {
"font-awesome": "npm:font-awesome@4.6.3",
"jquery": "npm:jquery@2.2.4"
},
"npm:i18next@3.4.1": {
"process": "github:jspm/nodelibs-process@0.1.2"
},
"npm:inherits@2.0.1": {
"util": "github:jspm/nodelibs-util@0.1.0"
},
"npm:intl@1.2.4": {
"process": "github:jspm/nodelibs-process@0.1.2"
},
"npm:path-browserify@0.0.0": {
"process": "github:jspm/nodelibs-process@0.1.2"
},
"npm:process@0.11.6": {
"assert": "github:jspm/nodelibs-assert@0.1.0",
"fs": "github:jspm/nodelibs-fs@0.1.2",
"vm": "github:jspm/nodelibs-vm@0.1.0"
},
"npm:util@0.10.3": {
"inherits": "npm:inherits@2.0.1",
"process": "github:jspm/nodelibs-process@0.1.2"
},
"npm:vm-browserify@0.0.4": {
"indexof": "npm:indexof@0.0.1"
}
}
});
});

@@ -0,1 +1,2 @@

<<<<<<< HEAD
/// <binding AfterBuild='build' />

@@ -6,2 +7,6 @@ // all gulp tasks are located in the ./build/tasks directory

=======
// all gulp tasks are located in the ./build/tasks directory
// gulp configuration is in files in ./build directory
>>>>>>> webpack_compatible
require('require-dir')('build/tasks');
{
"name": "aurelia-froala-editor",
"version": "2.3.5",
"description": "Aurelia plugin for Froala WYSIWYG HTML rich text editor",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"version": "2.4.0",
"description": "Aurelia plugin for Froala WYSIWYG HTML rich text editor.",
"keywords": [
"aurelia",
"plugin",
"froala",
"wysiwyg",
"html",
"rich",
"text",
"editor"
],
"homepage": "https://froala.com/wysiwyg-editor",
"bugs": {
"url": "https://github.com/froala/aurelia-froala-editor/issues"
},
"directories": {
"lib": "dist",
"src": "src"
"license": "MIT",
"author": "Froala Labs",
"main": "dist/commonjs/index.js",
"repository": {
"type": "git",
"url": "https://github.com/froala/aurelia-froala-editor"
},
"author": "Net at Work GmbH",
"license": "Apache",
"dependencies": {
"froala-editor": "^2.4.0"
},
"devDependencies": {
"babel": "^6.3.26",
"babel-plugin-transform-decorators": "^6.8.0",
"aurelia-tools": "^0.2.4",
"babel-eslint": "^6.1.2",
"babel-plugin-syntax-flow": "^6.8.0",
"babel-plugin-transform-decorators-legacy": "^1.3.4",
"babel-plugin-transform-es2015-modules-systemjs": "^6.9.0",
"babel-plugin-transform-es2015-modules-amd": "^6.8.0",
"babel-plugin-transform-es2015-modules-commonjs": "^6.11.5",
"babel-plugin-transform-es2015-modules-systemjs": "^6.11.6",
"babel-plugin-transform-flow-strip-types": "^6.8.0",
"babel-preset-es2015": "^6.9.0",
"babel-preset-stage-0": "^6.3.13",
"babel-runtime": "^6.9.0",
"core-js": "^2.4.0",
"gulp": "^3.9.0",
"gulp-babel": "^6.1.1",
"gulp-bump": "^2.1.0",
"gulp-changed": "^1.3.0",
"gulp-sourcemaps": "^1.6.0",
"babel-preset-es2015-loose": "^7.0.0",
"babel-preset-stage-1": "^6.5.0",
"conventional-changelog": "1.1.0",
"del": "^2.2.1",
"gulp": "^3.9.1",
"gulp-babel": "^6.1.2",
"gulp-bump": "^2.2.0",
"gulp-eslint": "^3.0.1",
"gulp-yuidoc": "^0.1.2",
"gulp-replace": "^0.5.4",
"isparta": "^4.0.0",
"istanbul": "^1.0.0-alpha.2",
"jasmine-core": "^2.4.1",
"karma": "^1.1.2",
"karma-babel-preprocessor": "^6.0.1",
"karma-chrome-launcher": "^1.0.1",
"karma-coverage": "^1.1.1",
"karma-jasmine": "^1.0.2",
"karma-jspm": "2.2.0",
"object.assign": "^4.0.4",
"require-dir": "^0.3.0",
"run-sequence": "^1.2.1"
"run-sequence": "^1.2.2",
"vinyl-paths": "^2.1.0",
"yargs": "^4.8.1"
},
"dependencies": {
"aurelia-binding": "^1.0.1",
"aurelia-event-aggregator": "^1.0.0",
"aurelia-i18n": "^1.0.0",
"aurelia-framework": "^1.0.0",
"systemjs-plugin-css": "^0.1.26",
"font-awesome": "^4.6.3",
"froala-editor": "^2.3.5",
"jquery": "^2.2.4"
},
"jspm": {
"jspmNodeConversion": false,
"registry": "npm",
"jspmPackage": true,
"main": "index",
"format": "amd",
"directories": {
"dist": "dist/amd"
},
"peerDependencies": {},
"devDependencies": {
"aurelia-polyfills": "^1.0.0-beta.1.1.0"
},
"dependencies": {
"jquery": "npm:jquery",
"font-awesome": "npm:font-awesome",
"froala-editor": "npm:froala-editor",
"aurelia-binding": "npm:aurelia-binding@^1.0.1",
"aurelia-event-aggregator": "npm:aurelia-event-aggregator@^1.0.0",
"aurelia-i18n": "npm:aurelia-i18n@^1.0.0",
"css": "github:systemjs/plugin-css",
"froala-editor": "npm:froala-editor",
"jquery": "npm:jquery",
"font-awesome": "npm:font-awesome"
"aurelia-dependency-injection": "npm:aurelia-dependency-injection@^1.0.0",
"aurelia-loader": "npm:aurelia-loader@^1.0.0"
}
}
}

@@ -1,31 +0,3 @@

import "font-awesome/./css/font-awesome.min.css!";
import $ from "jquery";
import * as froala from "froala-editor/./js/froala_editor.min";
import "froala-editor/css/froala_editor.min.css!";
import "froala-editor/css/froala_style.min.css!";
export function configure(aurelia, config) {
aurelia.globalResources('./aurelia-froala');
let c = {
setLicense: license => {
$.FroalaEditor.DEFAULTS.key = license;
},
addPlugin: name => Promise.all(
[System.import(`froala-editor/js/plugins/${name}.min`, __moduleName).then(m=> m()),
System.import(`froala-editor/css/plugins/${name}.css!`, __moduleName).catch(e => {})]),
global: callback => {
callback($.FroalaEditor);
},
addDefaltOptions: options => {
$.FroalaEditor.DEFAULTS = $.extend($.FroalaEditor.DEFAULTS, options);
},
addLanguage: (language, additionalTranslations) => {
return System
.import(`froala-editor/js/languages/${language}`, __moduleName)
.then(() => additionalTranslations && Object.assign($.FE.LANGUAGE[language].translation, additionalTranslations))
}
};
froala.default();
config(c);
}
aurelia.globalResources('./froala-editor');
}

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