Skip to content

Commit

Permalink
version0.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
danyaridiger committed Sep 1, 2023
1 parent 91b98ff commit 6f820b7
Show file tree
Hide file tree
Showing 12 changed files with 7,000 additions and 4,200 deletions.
9 changes: 7 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
# Patch notes

Current `rollup-plugin-ternary-replacement` version: **0.0.1**
Current `rollup-plugin-ternary-replacement` version: **0.0.2**

***

### 0.0.1 (2022-03-04)

* Plugin `rollup-plugin-ternary-replacement` was released.
* Plugin `rollup-plugin-ternary-replacement` was released.

### 0.0.2 (2023-09-01)

* Fixing bug with incorrect ignore patterns for transformation in tests.
* Updating dependencies and dev-dependencies.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# rollup-plugin-ternary-replacement v0.0.1
# rollup-plugin-ternary-replacement v0.0.2

***

Expand Down
2 changes: 1 addition & 1 deletion dist/mjs.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/mjs.js.map

Large diffs are not rendered by default.

9 changes: 8 additions & 1 deletion dist/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,11 @@ interface PluginTransformResult {
map?: SourceMap;
}

export { PluginOptions, PluginTransform, PluginTransformResult };
/**
* Root type
*/
declare function rollupPluginTernaryReplacement(
options: PluginOptions
): PluginTransform;

export { PluginOptions, PluginTransform, PluginTransformResult, rollupPluginTernaryReplacement as default };
2 changes: 1 addition & 1 deletion dist/umd.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/umd.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ import RollupPlaginTernaryReplacementError from "./modules/RollupPluginTernaryRe
* @function
* @param {Options} [options = {}] - plugin options
* @returns {Transform} transformation
* @version 0.0.1
* @version 0.0.2
*/
module.exports = function rollupPluginTernaryReplacement(options = {}) {
const exclude = options.exclude ? options.exclude.map((path) => new RegExp(path, "i")) : [];
Expand Down
2 changes: 1 addition & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ module.exports = {
".*.[m]?js": "babel-jest",
},
transformIgnorePatterns: [
"<rootDir>/node_modules/escodegen"
"package.json"
],
fakeTimers: {
legacyFakeTimers: true,
Expand Down
Loading

0 comments on commit 6f820b7

Please sign in to comment.