@makano/rew 1.3.0 → 1.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -402,7 +402,7 @@ function compileRewStuff(content, options) {
402
402
  straceLog('EXPORT() => TRANSLATING TO pub');
403
403
  }
404
404
 
405
- if (token.type === 'IDENTIFIER' && token.value === 'package' && nextToken.type == 'STRING') {
405
+ if (tokens[i-1]?.value !== '.' && token.type === 'IDENTIFIER' && token.value === 'package' && nextToken.type == 'STRING') {
406
406
  token.value = 'appPackage';
407
407
  straceLog('APP_PACKAGE_CHANGE()');
408
408
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@makano/rew",
3
- "version": "1.3.0",
3
+ "version": "1.3.1",
4
4
  "description": "A simple coffescript runtime and app manager",
5
5
  "main": "main.js",
6
6
  "directories": {