kitten-format
Advanced tools
Comparing version 1.8.4 to 1.8.5
@@ -1,1 +0,25 @@ | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("kitten-format")):"function"==typeof define&&define.amd?define(["kitten-format"],t):(e=e||self).kittenFormat_de_CH=t(e.kittenFormat)}(this,function(e){"use strict";var t={locale:"de-CH",currency:"CHF",currencySymbol:"CHF",precision:2,unitPrefixes:{15:"P",12:"T",9:"G",6:"M",3:"k",0:"","-3":"m","-6":"μ","-9":"n"},thousandSeparator:" ",decimalSeparator:","};return(e=e&&e.hasOwnProperty("default")?e.default:e).locale(t),t}); | ||
import kittenFormat from 'kitten-format'; | ||
import currencies from '../lib/currencies'; | ||
var locale = { | ||
locale : 'de-CH', | ||
currency : 'CHF', | ||
currencySymbol : currencies.CHF, | ||
precision : 2, | ||
unitPrefixes : { | ||
15 : 'P', | ||
12 : 'T', | ||
9 : 'G', | ||
6 : 'M', | ||
3 : 'k', | ||
0 : '', | ||
'-3' : 'm', | ||
'-6' : 'μ', | ||
'-9' : 'n' | ||
}, | ||
thousandSeparator : ' ', | ||
decimalSeparator : ',' | ||
}; | ||
kittenFormat.locale(locale); | ||
export default locale; |
@@ -1,1 +0,27 @@ | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("kitten-format")):"function"==typeof define&&define.amd?define(["kitten-format"],t):(e=e||self).kittenFormat_en_GB=t(e.kittenFormat)}(this,function(e){"use strict";var t={locale:"en-GB",currency:"GBP",currencySymbol:"£",precision:2,unitPrefixes:{15:"P",12:"T",9:"G",6:"M",3:"k",0:"","-3":"m","-6":"μ","-9":"n"},thousandSeparator:",",decimalSeparator:".",isCurrencyFirst:!0};return(e=e&&e.hasOwnProperty("default")?e.default:e).locale(t),t}); | ||
import kittenFormat from 'kitten-format'; | ||
import currencies from '../lib/currencies'; | ||
var locale = { | ||
locale : 'en-GB', | ||
currency : 'GBP', | ||
currencySymbol : currencies.GBP, | ||
precision : 2, | ||
unitPrefixes : { | ||
15 : 'P', | ||
12 : 'T', | ||
9 : 'G', | ||
6 : 'M', | ||
3 : 'k', | ||
0 : '', | ||
'-3' : 'm', | ||
'-6' : 'μ', | ||
'-9' : 'n' | ||
}, | ||
thousandSeparator : ',', | ||
decimalSeparator : '.', | ||
isCurrencyFirst : true | ||
}; | ||
kittenFormat.locale(locale); | ||
export default locale; |
@@ -1,1 +0,26 @@ | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("kitten-format")):"function"==typeof define&&define.amd?define(["kitten-format"],t):(e=e||self).kittenFormat_es_ES=t(e.kittenFormat)}(this,function(e){"use strict";var t={locale:"es-ES",currency:"EUR",currencySymbol:"€",precision:2,unitPrefixes:{15:"P",12:"T",9:"G",6:"M",3:"k",0:"","-3":"m","-6":"μ","-9":"n"},thousandSeparator:" ",decimalSeparator:","};return(e=e&&e.hasOwnProperty("default")?e.default:e).locale(t),t}); | ||
import kittenFormat from 'kitten-format'; | ||
import currencies from '../lib/currencies'; | ||
var locale = { | ||
locale : 'es-ES', | ||
currency : 'EUR', | ||
currencySymbol : currencies.EUR, | ||
precision : 2, | ||
unitPrefixes : { | ||
15 : 'P', | ||
12 : 'T', | ||
9 : 'G', | ||
6 : 'M', | ||
3 : 'k', | ||
0 : '', | ||
'-3' : 'm', | ||
'-6' : 'μ', | ||
'-9' : 'n' | ||
}, | ||
thousandSeparator : ' ', | ||
decimalSeparator : ',' | ||
}; | ||
kittenFormat.locale(locale); | ||
export default locale; |
@@ -1,1 +0,26 @@ | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("kitten-format")):"function"==typeof define&&define.amd?define(["kitten-format"],t):(e=e||self).kittenFormat_fr_CH=t(e.kittenFormat)}(this,function(e){"use strict";var t={locale:"fr-CH",currency:"CHF",currencySymbol:"CHF",precision:2,unitPrefixes:{15:"P",12:"T",9:"G",6:"M",3:"k",0:"","-3":"m","-6":"μ","-9":"n"},thousandSeparator:" ",decimalSeparator:","};return(e=e&&e.hasOwnProperty("default")?e.default:e).locale(t),t}); | ||
import kittenFormat from 'kitten-format'; | ||
import currencies from '../lib/currencies'; | ||
var locale = { | ||
locale : 'fr-CH', | ||
currency : 'CHF', | ||
currencySymbol : currencies.CHF, | ||
precision : 2, | ||
unitPrefixes : { | ||
15 : 'P', | ||
12 : 'T', | ||
9 : 'G', | ||
6 : 'M', | ||
3 : 'k', | ||
0 : '', | ||
'-3' : 'm', | ||
'-6' : 'μ', | ||
'-9' : 'n' | ||
}, | ||
thousandSeparator : ' ', | ||
decimalSeparator : ',' | ||
}; | ||
kittenFormat.locale(locale); | ||
export default locale; |
@@ -1,1 +0,8 @@ | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("kitten-format")):"function"==typeof define&&define.amd?define(["kitten-format"],t):(e=e||self).kittenFormat_fr_FR=t(e.kittenFormat)}(this,function(e){"use strict";var t={locale:"fr-FR",currency:"EUR",currencySymbol:"€",precision:2,unitPrefixes:{15:{default:"P",g:"GT"},12:{default:"T",g:"MT"},9:{default:"G",g:"kT"},6:{default:"M",g:"T"},3:"k",0:"","-3":"m","-6":"μ","-9":"n"},thousandSeparator:" ",decimalSeparator:","};return(e=e&&e.hasOwnProperty("default")?e.default:e).locale(t),t}); | ||
import kittenFormat from 'kitten-format'; | ||
import defaultLocale from './_default'; | ||
var locale = defaultLocale; | ||
kittenFormat.locale(locale); | ||
export default locale; |
@@ -1,1 +0,26 @@ | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("kitten-format")):"function"==typeof define&&define.amd?define(["kitten-format"],t):(e=e||self).kittenFormat_it_CH=t(e.kittenFormat)}(this,function(e){"use strict";var t={locale:"it-CH",currency:"CHF",currencySymbol:"CHF",precision:2,unitPrefixes:{15:"P",12:"T",9:"G",6:"M",3:"k",0:"","-3":"m","-6":"μ","-9":"n"},thousandSeparator:" ",decimalSeparator:","};return(e=e&&e.hasOwnProperty("default")?e.default:e).locale(t),t}); | ||
import kittenFormat from 'kitten-format'; | ||
import currencies from '../lib/currencies'; | ||
var locale = { | ||
locale : 'it-CH', | ||
currency : 'CHF', | ||
currencySymbol : currencies.CHF, | ||
precision : 2, | ||
unitPrefixes : { | ||
15 : 'P', | ||
12 : 'T', | ||
9 : 'G', | ||
6 : 'M', | ||
3 : 'k', | ||
0 : '', | ||
'-3' : 'm', | ||
'-6' : 'μ', | ||
'-9' : 'n' | ||
}, | ||
thousandSeparator : ' ', | ||
decimalSeparator : ',' | ||
}; | ||
kittenFormat.locale(locale); | ||
export default locale; |
{ | ||
"name": "kitten-format", | ||
"version": "1.8.4", | ||
"version": "1.8.5", | ||
"description": "Fast formatters for browsers", | ||
"main": "kittenFormat.server.js", | ||
"main": "build/kitternFormat.client.js", | ||
"scripts": { | ||
"build-locales": "node build-locales", | ||
"build-server": "./node_modules/.bin/rollup index.js --file build/kittenFormat.server.js --format cjs", | ||
"build-client": "./node_modules/.bin/rollup index.js --file build/kittenFormat.client.js --format umd --name kittenFormat", | ||
"build-client-minified": "./node_modules/.bin/rollup -c rollup-min.config.js", | ||
"build": "npm run build-locales & npm run build-client & npm run build-client-minified && npm run build-server && cp README.md ./build", | ||
"test": "npm run build-server && ./node_modules/.bin/mocha ./tests/test.*.js" | ||
}, | ||
"author": "Ideolys", | ||
"license": "Apache-2.0", | ||
"publishConfig": { | ||
"registry": "https://registry.npmjs.org/" | ||
"devDependencies": { | ||
"karma": "^3.1.4", | ||
"karma-mocha": "^1.3.0", | ||
"karma-should": "^1.0.0", | ||
"mocha": "^5.2.0", | ||
"rollup": "^1.1.0", | ||
"rollup-plugin-terser": "^4.0.2", | ||
"should": "^13.2.3" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/Ideolys/kitten-format.git" | ||
}, | ||
"dependencies": {} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
98747
49
2260
7
1
2
1