kitten-format
Advanced tools
Comparing version 1.6.1 to 1.6.3
@@ -1,21 +0,1 @@ | ||
import kittenFormat from 'kitten-format' | ||
var locale = { | ||
locale : 'de-CH', | ||
currency : 'CHF', | ||
precision : 2, | ||
unitPrefixes : { | ||
15 : 'P', | ||
12 : 'T', | ||
9 : 'G', | ||
6 : 'M', | ||
3 : 'k', | ||
0 : '', | ||
'-3' : 'm', | ||
'-6' : 'μ', | ||
'-9' : 'n' | ||
} | ||
}; | ||
kittenFormat.locale(locale); | ||
export default locale; | ||
!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",precision:2,unitPrefixes:{15:"P",12:"T",9:"G",6:"M",3:"k",0:"","-3":"m","-6":"μ","-9":"n"}};return(e=e&&e.hasOwnProperty("default")?e.default:e).locale(t),t}); |
@@ -1,21 +0,1 @@ | ||
import kittenFormat from 'kitten-format' | ||
var locale = { | ||
locale : 'en-GB', | ||
currency : 'GBP', | ||
precision : 2, | ||
unitPrefixes : { | ||
15 : 'P', | ||
12 : 'T', | ||
9 : 'G', | ||
6 : 'M', | ||
3 : 'k', | ||
0 : '', | ||
'-3' : 'm', | ||
'-6' : 'μ', | ||
'-9' : 'n' | ||
} | ||
}; | ||
kittenFormat.locale(locale); | ||
export default locale; | ||
!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",precision:2,unitPrefixes:{15:"P",12:"T",9:"G",6:"M",3:"k",0:"","-3":"m","-6":"μ","-9":"n"}};return(e=e&&e.hasOwnProperty("default")?e.default:e).locale(t),t}); |
@@ -1,21 +0,1 @@ | ||
import kittenFormat from 'kitten-format' | ||
var locale = { | ||
locale : 'es-ES', | ||
currency : 'EUR', | ||
precision : 2, | ||
unitPrefixes : { | ||
15 : 'P', | ||
12 : 'T', | ||
9 : 'G', | ||
6 : 'M', | ||
3 : 'k', | ||
0 : '', | ||
'-3' : 'm', | ||
'-6' : 'μ', | ||
'-9' : 'n' | ||
} | ||
}; | ||
kittenFormat.locale(locale); | ||
export default locale; | ||
!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",precision:2,unitPrefixes:{15:"P",12:"T",9:"G",6:"M",3:"k",0:"","-3":"m","-6":"μ","-9":"n"}};return(e=e&&e.hasOwnProperty("default")?e.default:e).locale(t),t}); |
@@ -1,21 +0,1 @@ | ||
import kittenFormat from 'kitten-format' | ||
var locale = { | ||
locale : 'fr-CH', | ||
currency : 'CHF', | ||
precision : 2, | ||
unitPrefixes : { | ||
15 : 'P', | ||
12 : 'T', | ||
9 : 'G', | ||
6 : 'M', | ||
3 : 'k', | ||
0 : '', | ||
'-3' : 'm', | ||
'-6' : 'μ', | ||
'-9' : 'n' | ||
} | ||
}; | ||
kittenFormat.locale(locale); | ||
export default locale; | ||
!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",precision:2,unitPrefixes:{15:"P",12:"T",9:"G",6:"M",3:"k",0:"","-3":"m","-6":"μ","-9":"n"}};return(e=e&&e.hasOwnProperty("default")?e.default:e).locale(t),t}); |
@@ -1,8 +0,1 @@ | ||
import kittenFormat from 'kitten-format'; | ||
import defaultLocale from './_default'; | ||
var locale = defaultLocale; | ||
kittenFormat.locale(locale); | ||
export default locale; | ||
!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",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"}};return(e=e&&e.hasOwnProperty("default")?e.default:e).locale(t),t}); |
@@ -1,21 +0,1 @@ | ||
import kittenFormat from 'kitten-format' | ||
var locale = { | ||
locale : 'it-CH', | ||
currency : 'CHF', | ||
precision : 2, | ||
unitPrefixes : { | ||
15 : 'P', | ||
12 : 'T', | ||
9 : 'G', | ||
6 : 'M', | ||
3 : 'k', | ||
0 : '', | ||
'-3' : 'm', | ||
'-6' : 'μ', | ||
'-9' : 'n' | ||
} | ||
}; | ||
kittenFormat.locale(locale); | ||
export default locale; | ||
!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",precision:2,unitPrefixes:{15:"P",12:"T",9:"G",6:"M",3:"k",0:"","-3":"m","-6":"μ","-9":"n"}};return(e=e&&e.hasOwnProperty("default")?e.default:e).locale(t),t}); |
{ | ||
"name": "kitten-format", | ||
"version": "1.6.1", | ||
"version": "1.6.3", | ||
"description": "Fast formatters for browsers", | ||
"main": "build/kitternFormat.client.js", | ||
"scripts": { | ||
"build-locales": "node build-locales", | ||
"build-server": "./node_modules/.bin/rollup entry.server.js --file build/kittenFormat.server.js --format cjs", | ||
"build-client": "./node_modules/.bin/rollup entry.client.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 & cp README.md ./build", | ||
"test-client": "npm run build & ./node_modules/.bin/karma start tests/client/karma.conf.js" | ||
}, | ||
"main": "kittenFormat.client.js", | ||
"author": "Ideolys", | ||
"license": "Apache-2.0", | ||
"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" | ||
"publishConfig": { | ||
"registry": "https://registry.npmjs.org/" | ||
}, | ||
"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
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
0
0
0
19893
12
343