@aurium/i18n
Advanced tools
Comparing version 0.2.0 to 0.2.2
{ | ||
"name": "@aurium/i18n", | ||
"version": "0.2.0", | ||
"version": "0.2.2", | ||
"description": "Internationalization made simple", | ||
@@ -10,8 +10,9 @@ "main": "i18n.mjs", | ||
"scripts": { | ||
"test": "npm -s run test:node && npm -s run test:browser", | ||
"test": "npm -s run test:node && npm -s run test:cy", | ||
"test:watch": "while inotifywait -r -e create -e modify -e move -e delete --exclude dist .; do npm -s test; done", | ||
"test:node": "mocha -r ./test/chai.js -r ./register.mjs --growl test/i18n.spec.js", | ||
"test:browser": "node test/browser-test.js", | ||
"test:docker:build": "docker image build --network=host -f test/Dockerfile -t i18n-test:$npm_package_version .", | ||
"test:docker:run": "docker run --rm --volume $(pwd):/opt/src --network=host --name i18n-test i18n-test:$npm_package_version sh -c 'cp /opt/src/package.json . && echo Update source... && cp -vr $(ls -1 /opt/src | grep -v node_modules | sed 's#^#/opt/src/#') ./ && echo Run tests... && npm -s test'" | ||
"test:node": "mocha --growl test/i18n.spec.mjs", | ||
"test:cy": "docker run -it -v $PWD:/e2e -w /e2e cypress/included:8.4.0", | ||
"dev": "parallel --ungroup 'npm run -s {}' ::: dev:srv dev:view", | ||
"dev:srv": "python3 -m http.server ${PORT:-3000}", | ||
"dev:view": "sensible-browser --new-tab http://localhost:${PORT:-3000}/test/test.html" | ||
}, | ||
@@ -35,5 +36,6 @@ "repository": { | ||
"mocha": "^9.0.2", | ||
"puppeteer": "^3.0.0" | ||
"puppeteer": "^10.2.0" | ||
}, | ||
"dependencies": { | ||
"chai": "^4.3.4", | ||
"commander": "^5.0.0", | ||
@@ -40,0 +42,0 @@ "globby": "^11.0.0" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
0
21935
3
10
260
1
+ Addedchai@^4.3.4
+ Addedassertion-error@1.1.0(transitive)
+ Addedchai@4.5.0(transitive)
+ Addedcheck-error@1.0.3(transitive)
+ Addeddeep-eql@4.1.4(transitive)
+ Addedget-func-name@2.0.2(transitive)
+ Addedloupe@2.3.7(transitive)
+ Addedpathval@1.1.1(transitive)
+ Addedtype-detect@4.1.0(transitive)