Comparing version 1.9.3 to 2.0.0
@@ -0,1 +1,7 @@ | ||
## 24 April 2019 | ||
### [2.0.0](https://github.com/a-la/alamode/compare/v1.9.3...v2.0.0) | ||
- [build] Compile with _Depack_. | ||
## 11 April 2019 | ||
@@ -2,0 +8,0 @@ |
{ | ||
"name": "alamode", | ||
"version": "1.9.3", | ||
"description": "A Regex-based Transpiler Of Source Code To Allow Writing Import And Export Statements.", | ||
"main": "build/index.js", | ||
"module": "src/index.js", | ||
"version": "2.0.0", | ||
"description": "A Regex-Based Transpiler Of Source Code To Allow Writing Import And Export Statements And JSX With 0 Dependencies.", | ||
"main": "depack/index.js", | ||
"scripts": { | ||
@@ -12,18 +11,28 @@ "t": "zoroaster -a", | ||
"mask": "yarn t test/mask", | ||
"test-build": "ALAMODE_ENV=test-build yarn test", | ||
"test-build": "ALAMODE_ENV=test-build yarn t test/mask/bin.js", | ||
"lint": "eslint .", | ||
"dev": "NODE_DEBUG=alamode node src/bin", | ||
"doc": "NODE_DEBUG=doc doc documentary -o README.md", | ||
"doc": "NODE_DEBUG=doc doc -o README.md", | ||
"e": "alanode", | ||
"example/": "yarn e example/example.js", | ||
"build": "yarn-s b doc", | ||
"b": "yarn dev src -o build -i bin/index.js,bin/index-alanode.js -s", | ||
"bf": "yarn dev test/fixture/src -o build2" | ||
"d": "yarn-s d1 d2 d3 externs", | ||
"d1": "typal types.js -c", | ||
"d2": "typal src/index.js -c", | ||
"d3": "typal depack/index.js -c", | ||
"externs": "typal externs.js -e", | ||
"depack": "GOOGLE_CLOSURE_COMPILER=/Volumes/backup/closure-compiler/target/closure-compiler-1.0-SNAPSHOT.jar depack-dev src/bin/alamode -c -a -p -o depack/bin --hide_warnings_for node_modules/diff --hide_warnings_for node_modules/erte --hide_warnings_for node_modules/util --externs externs.js -s", | ||
"depack-lib": "GOOGLE_CLOSURE_COMPILER=/Volumes/backup/closure-compiler/target/closure-compiler-1.0-SNAPSHOT.jar depack-dev src/depack-lib -l -a -p -o depack --hide_warnings_for node_modules/diff --hide_warnings_for node_modules/erte --hide_warnings_for node_modules/util --externs externs.js -s", | ||
"alamode": "depack/bin/alamode.js", | ||
"args": "argufy -o src/bin/get-args.js", | ||
"b": "depack/bin/alamode.js src/bin/alanode.js -o build -s" | ||
}, | ||
"bin": { | ||
"alamode": "build/bin/alamode.js", | ||
"alanode": "build/bin/alanode.js" | ||
"alamode": "depack/bin/alamode.js", | ||
"alanode": "build/alanode.js" | ||
}, | ||
"files": [ | ||
"build" | ||
"build", | ||
"depack", | ||
"types.js" | ||
], | ||
@@ -56,3 +65,4 @@ "repository": { | ||
"ecma", | ||
"jsx" | ||
"jsx", | ||
"components" | ||
], | ||
@@ -66,28 +76,26 @@ "author": "Anton <anton@adc.sh>", | ||
"devDependencies": { | ||
"@a-la/export": "^1.4.0", | ||
"@a-la/fixture-alamode": "1.0.0", | ||
"@a-la/fixture-babel": "1.0.0", | ||
"documentary": "^1.23.4", | ||
"@a-la/import": "^1.8.1", | ||
"@a-la/jsx": "^1.5.0", | ||
"@a-la/markers": "^1.2.0", | ||
"@a-la/source-map-generator": "^1.0.0", | ||
"@artdeco/pirates": "^1.0.0", | ||
"@wrote/clone": "^1.2.1", | ||
"@wrote/wrote": "^1.2.3", | ||
"argufy": "^1.5.0", | ||
"catchment": "^3.3.0", | ||
"documentary": "^1.25.0", | ||
"erte": "^1.1.7", | ||
"eslint-config-artdeco": "1.0.1", | ||
"preact": "8.4.2", | ||
"restream": "^3.7.1", | ||
"spawncommand": "^2.1.2", | ||
"temp-context": "^2.1.3", | ||
"usually": "^1.2.0", | ||
"which-stream": "^1.1.0", | ||
"yarn-s": "1.1.0", | ||
"zoroaster": "^3.11.4" | ||
}, | ||
"dependencies": { | ||
"@a-la/export": "1.3.1", | ||
"@a-la/import": "1.7.0", | ||
"@a-la/jsx": "^1.4.6", | ||
"@a-la/markers": "1.0.3", | ||
"@wrote/clone": "^1.1.1", | ||
"@wrote/wrote": "^1.2.2", | ||
"argufy": "^1.3.3", | ||
"catchment": "^3.3.0", | ||
"erte": "^1.1.7", | ||
"pirates": "4.0.1", | ||
"restream": "^3.6.0", | ||
"source-map": "0.7.3", | ||
"usually": "^1.1.0", | ||
"which-stream": "^1.0.1" | ||
"zoroaster": "^3.12.0" | ||
} | ||
} |
@@ -130,16 +130,19 @@ # ÀLaMode | ||
A tool to transpile JavaScript packages using regular expressions. | ||
Supports import/export and JSX transpilation. | ||
https://artdecocode.com/alamode/ | ||
alamode source [-o destination] | ||
alamode source [-o destination] [-i dir,file] [-s] [-jp] | ||
source Location of the input to the transpiler, | ||
either a directory or a file. | ||
--output, -o Location to save results to. Passing "-" | ||
will print to stdout when source is a file. | ||
--help, -h Display help information. | ||
--version, -v Show version. | ||
--ignore, -i Paths to files to ignore, relative to the | ||
source directory. | ||
--noSourceMaps, -s Don't generate source maps. | ||
--jsx, -j Transpile a JSX but keep modules. | ||
--preact, -p Add Preact pragma ({ h }) for JSX. | ||
source The location of the input file or directory to transpile. | ||
--output, -o The location of where to save the transpiled output. | ||
--version, -v Show the version number. | ||
--help, -h Display the usage information. | ||
--ignore, -i Comma-separated list of files inside of `source` dir to | ||
ignore, for example, `bin,.eslintrc`. | ||
--noSourceMaps, -s Disable source maps. | ||
--extensions, -e Files of what extensions to transpile. | ||
--jsx, -j Enable JSX mode: only update JSX syntax to use hyperscript. | ||
Does not transpile `import/export` statements. | ||
--preact, -p When transpiling JSX, automatically insert at the top | ||
`import { h } from "preact"`. | ||
@@ -517,3 +520,3 @@ Example: | ||
</th> | ||
<th>© <a href="https://artd.eco">Art Deco</a> for <a href="https://alamode.cc">ÀLaMode</a> 2019</th> | ||
<th>© <a href="https://artd.eco">Art Deco</a> for <a href="https://alamode.cc">À La Mode</a> 2019</th> | ||
<th> | ||
@@ -520,0 +523,0 @@ <a href="https://www.technation.sucks" title="Tech Nation Visa"> |
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
Debug access
Supply chain riskUses debug, reflection and dynamic code execution features.
Found 2 instances 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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 2 instances 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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
346867
0
3440
530
23
11
2
11
1
- Removed@a-la/export@1.3.1
- Removed@a-la/import@1.7.0
- Removed@a-la/jsx@^1.4.6
- Removed@a-la/markers@1.0.3
- Removed@wrote/clone@^1.1.1
- Removed@wrote/wrote@^1.2.2
- Removedargufy@^1.3.3
- Removedcatchment@^3.3.0
- Removederte@^1.1.7
- Removedpirates@4.0.1
- Removedrestream@^3.6.0
- Removedsource-map@0.7.3
- Removedusually@^1.1.0
- Removedwhich-stream@^1.0.1
- Removed@a-la/detect-jsx@1.0.2(transitive)
- Removed@a-la/export@1.3.1(transitive)
- Removed@a-la/import@1.7.0(transitive)
- Removed@a-la/jsx@1.8.1(transitive)
- Removed@a-la/markers@1.0.3(transitive)
- Removed@artdeco/clean-stack@1.2.1(transitive)
- Removed@wrote/clone@1.2.1(transitive)
- Removed@wrote/ensure-path@1.1.0(transitive)
- Removed@wrote/exists@1.0.5(transitive)
- Removed@wrote/read@1.0.4(transitive)
- Removed@wrote/read-dir-structure@1.3.1(transitive)
- Removed@wrote/rm@1.1.5(transitive)
- Removed@wrote/write@1.0.4(transitive)
- Removed@wrote/wrote@1.2.3(transitive)
- Removedargufy@1.7.5(transitive)
- Removedcatchment@3.3.0(transitive)
- Removederotic@2.1.1(transitive)
- Removederte@1.4.2(transitive)
- Removedmakepromise@3.2.0(transitive)
- Removednode-modules-regexp@1.0.0(transitive)
- Removedpirates@4.0.1(transitive)
- Removedrestream@3.1.13.7.4(transitive)
- Removedsource-map@0.7.3(transitive)
- Removedusually@1.2.0(transitive)
- Removedwhich-stream@1.2.1(transitive)