New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

rollup-plugin-import-assert

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rollup-plugin-import-assert - npm Package Compare versions

Comparing version

to
2.1.2

4

CHANGELOG.md

@@ -5,2 +5,6 @@ # Changelog

### [2.1.2](https://github.com/calebdwilliams/rollup-plugin-import-assert/compare/v2.1.0...v2.1.2) (2022-10-27)
### [2.1.1](https://github.com/calebdwilliams/rollup-plugin-import-assert/compare/v2.1.0...v2.1.1) (2022-10-27)
## [2.1.0](https://github.com/calebdwilliams/rollup-plugin-import-assert/compare/v1.1.2...v2.1.0) (2022-01-05)

@@ -7,0 +11,0 @@

2

package.json
{
"name": "rollup-plugin-import-assert",
"version": "2.1.0",
"version": "2.1.2",
"description": "A Rollup plugin to add import assertion behavior and syntax support",

@@ -5,0 +5,0 @@ "main": "dist/import-assert.js",

@@ -110,10 +110,10 @@ import path from 'path';

/** Return the new data and map it back to the original source file */
return { code, mappings: id };
/** Return the new data */
return { code, map: {mappings: ""} };
}
/** If none of the above exists, just continue as normal */
return { code };
return { code, map: null };
}
}
}