{"id":13803894,"url":"https://github.com/joefiorini/grunt-es6-module-transpiler","last_synced_at":"2025-09-29T07:42:32.266Z","repository":{"id":8097244,"uuid":"9511838","full_name":"joefiorini/grunt-es6-module-transpiler","owner":"joefiorini","description":null,"archived":false,"fork":false,"pushed_at":"2016-02-20T22:10:43.000Z","size":284,"stargazers_count":85,"open_issues_count":3,"forks_count":22,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-09-15T11:25:32.511Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/joefiorini.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-MIT","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-04-18T02:18:38.000Z","updated_at":"2023-11-22T10:25:03.000Z","dependencies_parsed_at":"2022-08-24T11:20:06.856Z","dependency_job_id":null,"html_url":"https://github.com/joefiorini/grunt-es6-module-transpiler","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/joefiorini/grunt-es6-module-transpiler","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joefiorini%2Fgrunt-es6-module-transpiler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joefiorini%2Fgrunt-es6-module-transpiler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joefiorini%2Fgrunt-es6-module-transpiler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joefiorini%2Fgrunt-es6-module-transpiler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joefiorini","download_url":"https://codeload.github.com/joefiorini/grunt-es6-module-transpiler/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joefiorini%2Fgrunt-es6-module-transpiler/sbom","scorecard":{"id":526516,"data":{"date":"2025-08-11","repo":{"name":"github.com/joefiorini/grunt-es6-module-transpiler","commit":"1c65c3a7a27c570c0b2402c77e2f8c9fd50cbc8d"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.2,"checks":[{"name":"Code-Review","score":1,"reason":"Found 5/28 approved changesets -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE-MIT:0","Info: FSF or OSI recognized license: MIT License: LICENSE-MIT:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 7 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-20T04:32:30.697Z","repository_id":8097244,"created_at":"2025-08-20T04:32:30.697Z","updated_at":"2025-08-20T04:32:30.697Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":277483293,"owners_count":25825560,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-29T02:00:09.175Z","response_time":84,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-04T01:00:38.907Z","updated_at":"2025-09-29T07:42:32.224Z","avatar_url":"https://github.com/joefiorini.png","language":"JavaScript","funding_links":[],"categories":["Build-time transpilation"],"sub_categories":["Grunt Tasks"],"readme":"# grunt-es6-module-transpiler\n\n\u003e A Grunt task for processing ES6 module import/export syntax into one of AMD, CommonJS, YUI or globals using the es6-module-transpiler. Also allows you to temporarily enable ES6 modules for other tasks.\n\n## Getting Started\nThis plugin requires Grunt `~0.4.1`\n\nIf you haven't used [Grunt](http://gruntjs.com/) before, be sure to check out the [Getting Started](http://gruntjs.com/getting-started) guide, as it explains how to create a [Gruntfile](http://gruntjs.com/sample-gruntfile) as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:\n\n```shell\nnpm install grunt-es6-module-transpiler --save-dev\n```\n\nTo use add the `transpile` task to your Grunt configuration.\n\n### Using with RequireJS/CommonJS:\n\n```js\ngrunt.loadNpmTasks('grunt-es6-module-transpiler');\n\ngrunt.initConfig({\n  transpile: {\n    main: {\n      type: \"cjs\", // or \"amd\" or \"yui\"\n      files: [{\n        expand: true,\n        cwd: 'lib/',\n        src: ['**/*.js'],\n        dest: 'tmp/'\n      }]\n    }\n  }\n});\n```\n\n### Using with Globals\n\n```js\ngrunt.loadNpmTasks('grunt-es6-module-transpiler');\n\ngrunt.initConfig({\n  transpile: {\n    main: {\n      type: \"globals\",\n      imports: { bar: \"Bar\" },\n      files: {\n        'tmp/globals.js': ['test/fixtures/input.js'],\n        'tmp/globals-bar.js': ['test/fixtures/bar.js']\n      }\n    }\n  }\n});\n```\n\n### Transpiling your files\n\nManually run the task with `grunt transpile` or include it as part of your build task:\n\n```js\ngrunt.registerTask('build', ['clean', 'transpile', '...']);\n```\n\n### Resources\n\n- [Using Grunt \u0026 the ES6 Module Transpiler](http://www.thomasboyt.com/2013/06/21/es6-module-transpiler) by Thomas Boyt\n\n### Caveat\n\nThe module transpiler forces strict mode; there is no option to turn this off. If, like me, you typically use Mocha with [Chai](http://chaijs.com), this can cause a problem because Chai attempts to access `arguments.callee`, which violates strict mode. I switched to using [expect.js](https://github.com/LearnBoost/expect.js/) and it works great.\n\n## Contributing\nIn lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using [Grunt](http://gruntjs.com/).\n\n## Release History\n10/07/2013 v0.5.0 - Support for v0.3.0 of es6-module-transpiler; removes transpile:enable task as the feature no longer exists\n07/09/2013 v0.4.1 - Improved windows support when using amd\n07/09/2013 v0.4.0 - Update to v0.2.0 of es6-module-transpiler for new syntax support\n05/28/2013 v0.3.0 - Add callback for dynamically specifying AMD modulename\n05/02/2013 v0.2.0 - Fixes for globals, CoffeeScript, transpile:enable task for node scripts\n04/17/2013 v0.1.0 - Initial release, supports basic transpile task\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoefiorini%2Fgrunt-es6-module-transpiler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoefiorini%2Fgrunt-es6-module-transpiler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoefiorini%2Fgrunt-es6-module-transpiler/lists"}