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

dfx-translate

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

dfx-translate - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

esm2020/dfx-translate.mjs

35

package.json
{
"name": "dfx-translate",
"version": "1.0.2",
"version": "1.0.3",
"private": false,

@@ -33,17 +33,30 @@ "license": "MIT",

"peerDependencies": {
"@angular/common": "4 - 12",
"@angular/core": "4 - 12",
"rxjs": "2 - 6",
"node-fetch": "^2.6.1"
"@angular/common": "4 - 13",
"@angular/core": "4 - 13",
"rxjs": "2 - 7",
"node-fetch": "^2.6.6"
},
"main": "bundles/dfx-translate.umd.js",
"module": "fesm2015/dfx-translate.js",
"es2015": "fesm2015/dfx-translate.js",
"esm2015": "esm2015/dfx-translate.js",
"fesm2015": "fesm2015/dfx-translate.js",
"module": "fesm2015/dfx-translate.mjs",
"es2020": "fesm2020/dfx-translate.mjs",
"esm2020": "esm2020/dfx-translate.mjs",
"fesm2020": "fesm2020/dfx-translate.mjs",
"fesm2015": "fesm2015/dfx-translate.mjs",
"typings": "dfx-translate.d.ts",
"exports": {
"./package.json": {
"default": "./package.json"
},
".": {
"types": "./dfx-translate.d.ts",
"esm2020": "./esm2020/dfx-translate.mjs",
"es2020": "./fesm2020/dfx-translate.mjs",
"es2015": "./fesm2015/dfx-translate.mjs",
"node": "./fesm2015/dfx-translate.mjs",
"default": "./fesm2020/dfx-translate.mjs"
}
},
"sideEffects": false,
"dependencies": {
"tslib": "^2.2.0"
"tslib": "^2.3.0"
}
}
# dfx-translate
A simple translation package for Angular 4 - 12.
[![NPM](https://nodei.co/npm/dfx-translate.png)](https://npmjs.org/package/dfx-translate)
### Features

@@ -8,4 +10,12 @@ * inline html translations with pipelines

* an easy-to-use json structure
* auto-translation feature via https://github.com/LibreTranslate/LibreTranslate API integration
* auto-translation feature via [LibreTranslate](https://github.com/LibreTranslate/LibreTranslate) API integration
### Information
- [Supported languages for auto-translation](#supported-languages)
- [Development notes](#development)
- [Deployment notes](#deployment-notes)
- [Project website](https://datepoll.org)
- created with [Angular](https://angular.io)
, [used libraries](https://gitlab.com/DatePoll/common/dfx-translate/-/blob/master/package.json)
## Setup

@@ -40,3 +50,4 @@ ### Installation

```
Note: You **do not** have to translate all strings if you are using the **auto-translate feature**.
Note: You **do not** have to translate all strings if you are using
the [auto-translate feature](#auto-deep-learning-translation).

@@ -48,3 +59,3 @@ #### Auto translation

Read more below;
[Read more](#auto-deep-learning-translation)

@@ -91,2 +102,3 @@ ### Registration in root (app) module

```
## Usage

@@ -161,3 +173,3 @@ ### Switching languages

It's possible to translate not manual translated strings via
https://github.com/LibreTranslate/LibreTranslate API. LibreTranslate is an open-source, self-hostable
[LibreTranslate](https://github.com/LibreTranslate/LibreTranslate) API. LibreTranslate is an open-source, self-hostable
machine-translation service.

@@ -207,3 +219,3 @@

* `es_auto.json` - additional language, auto-translated missing strings of `es.json` compared to the primary language
* `fr_auto.json` - additional language, completly auto-translated containing all translations
* `fr_auto.json` - additional language, completely auto-translated containing all translations

@@ -232,3 +244,3 @@ ### Simplifying

## Development
Everything important in this library is located in `projects/dfx-translate`, thats the "real" library. (following
Everything important in this library is located in `projects/dfx-translate`, that's the "real" library. (following
commands still have to be executed at the root level)

@@ -250,1 +262,17 @@

```
## Deployment notes
dfx-translate deployments are managed
via [.gitlab-ci](https://gitlab.com/DatePoll/common/dfx-translate/-/blob/development/.gitlab-ci.yml)
All builds are uploaded
to [releases.datepoll.org/common/dfx-translate](https://releases.datepoll.org/common/dfx-translate)
### Development builds
Commits to the [development](https://gitlab.com/DatePoll/common/dfx-translate/-/tree/development) branch create a dev
build downloadable via [this link](https://releases.datepoll.org/common/dfx-translate/dfx-translate-dev.zip).
### Production builds
Tags create a release build downloadable
via [this link](https://releases.datepoll.org/common/dfx-translate/dfx-translate-latest.zip). Additionally, a versioned
zip is uploaded and the package is published to [npm](https://www.npmjs.com/package/dfx-translate).
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