Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ngx-filesaver

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ngx-filesaver - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

bundles/ngx-filesaver.umd.js

85

package.json
{
"name": "ngx-filesaver",
"version": "0.0.1",
"main": "index.js",
"version": "0.0.2",
"description": "Simple file save with FileSaver.js",
"typings": "index.d.ts",
"description": "Simple file save with FileSaver.js",
"repository": {
"type": "git",
"url": "git+https://github.com/cipchk/ngx-filesaver.git"
},
"keywords": [

@@ -21,27 +16,12 @@ "angular",

],
"author": "cipchk <cipchk>",
"author": {
"name": "cipchk",
"email": "cipchk"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/cipchk/ngx-filesaver/issues"
"repository": {
"type": "git",
"url": "git+https://github.com/cipchk/ngx-filesaver.git"
},
"homepage": "https://github.com/cipchk/ngx-filesaver#readme",
"scripts": {
"lite-server": "lite-server -c demo/bs-config.json",
"demo.serve": "run-s build link demo.build lite-server",
"demo.gh-pages": "run-s build demo.build demo.deploy",
"demo.build": "ng build -prod",
"demo.deploy": "gh-pages -d demo/dist",
"link": "ngm link -p src --here",
"lint": "exit 0",
"disable-lint": "tslint \"**/*.ts\" -c tslint.json --fix --type-check -t prose -e \"node_modules/**\" -e \"dist/**\" -e \"temp/**\" -e \"scripts/docs/**\"",
"flow.changelog": "conventional-changelog -i CHANGELOG.md -s -p angular",
"flow.github-release": "conventional-github-releaser -p angular",
"build": "ngm build -p src --clean",
"build.watch": "ngm build -p src --watch --skip-bundles",
"start": "ng serve",
"pretest": "run-s lint build link",
"test": "ng test -sr",
"test-coverage": "ng test -sr -cc",
"version": "npm run flow.changelog && git add -A"
},
"name": "ngx-filesaver",
"dependencies": {

@@ -51,45 +31,6 @@ "file-saver": "^1.3.3"

"peerDependencies": {
"@angular/core": "^4.0.1",
"@angular/common": "^4.0.1",
"@angular/http": "^4.0.1"
"file-saver": "^1.3.3"
},
"devDependencies": {
"@angular/cli": "1.0.0",
"@angular/common": "4.0.1",
"@angular/compiler": "4.0.1",
"@angular/compiler-cli": "4.0.1",
"@angular/core": "4.0.1",
"@angular/forms": "4.0.1",
"@angular/http": "4.0.1",
"@angular/language-service": "4.0.1",
"@angular/platform-browser": "4.0.1",
"@angular/platform-browser-dynamic": "4.0.1",
"@angular/router": "4.0.1",
"@angular/tsc-wrapped": "4.0.1",
"@types/file-saver": "0.0.0",
"@types/jasmine": "2.5.47",
"@types/node": "~6.0.60",
"angular2-markdown": "^1.5.1",
"bootstrap": "^3.3.7",
"classlist-polyfill": "^1.0.3",
"codelyzer": "~2.0.0",
"jasmine-core": "~2.5.2",
"jasmine-spec-reporter": "~3.2.0",
"karma": "~1.4.1",
"karma-chrome-launcher": "~2.0.0",
"karma-cli": "~1.0.1",
"karma-coverage-istanbul-reporter": "^0.2.0",
"karma-jasmine": "~1.1.0",
"karma-jasmine-html-reporter": "^0.2.2",
"lite-server": "^2.3.0",
"ng2-bootstrap": "^1.6.3",
"ngm-cli": "0.5.0",
"npm-run-all": "4.0.2",
"protractor": "~5.1.1",
"ts-helpers": "^1.1.2",
"ts-node": "~3.0.2",
"tslint": "^4.5.1",
"typescript": "~2.2.2",
"zone.js": "^0.8.5"
}
"_id": "ngx-filesaver@",
"devDependencies": {}
}

@@ -5,2 +5,3 @@ # ngx-filesaver

[![NPM version](https://img.shields.io/npm/v/ngx-filesaver.svg)](https://www.npmjs.com/package/ngx-filesaver)
[![Build Status](https://travis-ci.org/cipchk/ngx-filesaver.svg?branch=master)](https://travis-ci.org/cipchk/ngx-filesaver)

@@ -92,1 +93,9 @@

```
#### 关于文件名
文件名的获取按以下优先级:fileName =》 response.headers.get('filename') =》 response.headers.get('x-filename')。
如果你请求的是一个CORS跨域地址,需要注意设置 `Access-Control-Allow-Headers: filename`,以免无法获取。
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc