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

language-manager

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

language-manager - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

2

.eslintrc.js

@@ -11,3 +11,3 @@ module.exports = {

"parserOptions": {
"ecmaVersion": 5
"ecmaVersion": 6
},

@@ -14,0 +14,0 @@ // ref: https://eslint.org/docs/rules

{
"name": "language-manager",
"version": "0.0.3",
"version": "0.0.4",
"description": "The most flexible version of multi-language management. Manages language resources. Makes it easy to switch between different language sources.",

@@ -23,3 +23,3 @@ "author": "azmisahin@outlook.com",

"scripts": {
"lint": "eslint src | eslint tests",
"lint": "eslint src && eslint tests",
"test": "node tests"

@@ -42,6 +42,7 @@ },

"devDependencies": {
"eslint": "^5.10.0",
"husky": "^1.3.0",
"lint-staged": "^8.1.0"
"eslint": "*",
"husky": "*",
"lint-staged": "*",
"@azmisahin/test-manager": "*"
}
}

@@ -21,5 +21,11 @@ # language-manager

# Test
```shell
$ npm run test
```
# Pipelines
[![Build Status](https://dev.azure.com/azmisahin-github/azmisahin-software-web-component-language-manager-node/_apis/build/status/azmisahin.azmisahin-software-web-component-language-manager-node?branchName=master)](https://dev.azure.com/azmisahin-github/azmisahin-software-web-component-language-manager-node/_build/latest?definitionId=8?branchName=master)
[![NPM](https://nodei.co/npm/language-manager.png)](https://nodei.co/npm/language-manager/)
[![NPM](https://nodei.co/npm/language-manager.png)](https://nodei.co/npm/language-manager/)

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

/**
/**
* Language Manager

@@ -12,6 +12,5 @@ *

* @author Azmi ŞAHİN
* @version 1.0.0
* @since 2018
*/
class LanguageManager{
**/
class LanguageManager {

@@ -22,2 +21,4 @@ /**

* @example
*
* new LanguageManager()
* new LanguageManager('tr')

@@ -30,3 +31,3 @@ * new LanguageManager('en')

*/
constructor(langCode){
constructor(langCode) {
this.Name = 'language-manager'

@@ -33,0 +34,0 @@ this.LangCode = langCode ? langCode : 'tr'

// Test Tool
var tt = require('./tool')
var TestManager = require('@azmisahin/test-manager')
var tt = new TestManager(true)
/**
* Standart Node Test
* Instance Test

@@ -16,3 +16,2 @@ */

/**
* Standart Node Test
* Result Test

@@ -29,3 +28,2 @@ */

/**
* Standart Node Test
* Parameter test

@@ -32,0 +30,0 @@ */

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