Skip to content

Commit

Permalink
chore: package: v1.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
coderaiser committed Feb 15, 2023
1 parent e903a5d commit f36e1e1
Show file tree
Hide file tree
Showing 4 changed files with 6,978 additions and 11,418 deletions.
10 changes: 10 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
2023.02.15, v1.4.0

feature:
- package: rollup-plugin-polyfill-node v0.12.0
- package: @rollup/plugin-node-resolve v15.0.1
- package: @rollup/plugin-json v6.0.0
- package: putout v28.16.0
- package: rollup v3.15.0
- package: @rollup/plugin-alias v4.0.3

2022.09.20, v1.3.0

feature:
Expand Down
11 changes: 8 additions & 3 deletions bundle/plugin-putout.js
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,12 @@ function requireGenerateCode () {
} = node;

if (path.isStringLiteral() && /^__[a-z]$/.test(value)) {
path.node.value = getVar(value);
path.node.value = getVar(name);
return;
}

if (/^__identifier__[a-z]$/.test(name)) {
path.node.name = getVar(name);
return;
}

Expand Down Expand Up @@ -3270,8 +3275,8 @@ var rules = lib.rules = {

var pluginPutout = /*#__PURE__*/_mergeNamespaces({
__proto__: null,
rules: rules,
'default': lib
default: lib,
rules: rules
}, [lib]);

export { pluginPutout as default };
Loading

0 comments on commit f36e1e1

Please sign in to comment.