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

@2sic.com/dnn-sxc-angular

Package Overview
Dependencies
Maintainers
3
Versions
96
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@2sic.com/dnn-sxc-angular - npm Package Compare versions

Comparing version 1.0.4 to 1.1.0

.npmignore

76

package.json

@@ -14,27 +14,39 @@ {

"C:\\Projects\\New folder"
],
[
{
"raw": "@2sic.com/dnn-sxc-angular",
"scope": "@2sic.com",
"escapedName": "@2sic.com%2fdnn-sxc-angular",
"name": "@2sic.com/dnn-sxc-angular",
"rawSpec": "",
"spec": "latest",
"type": "tag"
},
"C:\\Users\\2cb\\Documents\\app-dnn-sxc-angular-dev"
]
],
"_from": "@2sic.com/dnn-sxc-angular@1.0.0",
"_id": "@2sic.com/dnn-sxc-angular@1.0.0",
"_from": "@2sic.com/dnn-sxc-angular",
"_id": "@2sic.com/dnn-sxc-angular@1.0.4",
"_inCache": true,
"_location": "/@2sic.com/dnn-sxc-angular",
"_nodeVersion": "7.10.0",
"_nodeVersion": "7.7.3",
"_npmOperationalInternal": {
"host": "s3://npm-registry-packages",
"tmp": "tmp/sxc-angular-1.0.3.tgz_1495781764055_0.7257136509288102"
"tmp": "tmp/dnn-sxc-angular-1.0.4.tgz_1504278074805_0.18234755541197956"
},
"_npmUser": {
"name": "2sic",
"email": "daniel.mettler@2sic.com"
"name": "christophbuehler",
"email": "christoph@cbuehler.li"
},
"_npmVersion": "4.2.0",
"_npmVersion": "4.1.2",
"_phantomChildren": {},
"_requested": {
"raw": "@2sic.com/dnn-sxc-angular@1.0.0",
"raw": "@2sic.com/dnn-sxc-angular",
"scope": "@2sic.com",
"escapedName": "@2sic.com%2fsxc-angular",
"escapedName": "@2sic.com%2fdnn-sxc-angular",
"name": "@2sic.com/dnn-sxc-angular",
"rawSpec": "1.0.3",
"spec": "1.0.3",
"type": "version"
"rawSpec": "",
"spec": "latest",
"type": "tag"
},

@@ -45,17 +57,20 @@ "_requiredBy": [

],
"_resolved": "https://registry.npmjs.org/@2sic.com/dnn-sxc-angular/-/sxc-angular-1.0.3.tgz",
"_shasum": "fae4a3b33304545c0c5ddf9fb1131cdc91086cfc",
"_resolved": "https://registry.npmjs.org/@2sic.com/dnn-sxc-angular/-/dnn-sxc-angular-1.0.4.tgz",
"_shasum": "3b5924b10515bdadcb46d6fa0257181698d5b560",
"_shrinkwrap": null,
"_spec": "@2sic.com/dnn-sxc-angular@1.0.0",
"_where": "C:\\Projects\\New folder",
"_spec": "@2sic.com/dnn-sxc-angular",
"_where": "C:\\Users\\2cb\\Documents\\app-dnn-sxc-angular-dev",
"author": "",
"bugs": {
"url": "https://github.com/2sic/dnn-sxc-angular/issues"
},
"dependencies": {
"@angular/common": "^4.2.2",
"@angular/core": "^4.1.3",
"@angular/http": "^4.1.3",
"@angular/common": "^4.3.0",
"@angular/core": "^4.3.0",
"@angular/http": "^4.3.0",
"rxjs": "^5.4.0"
},
"description": "",
"devDependencies": {
"cpx": "^1.5.0"
"cpx": "^1.5.0",
"tslint-config-airbnb": "^5.2.1"
},

@@ -67,4 +82,6 @@ "directories": {},

},
"gitHead": "08eb8fc3226c22f147609bffd9d7090c26a48f7e",
"homepage": "https://github.com/2sic/dnn-sxc-angular#readme",
"license": "ISC",
"main": "index.js",
"main": "index.ts",
"maintainers": [],

@@ -74,13 +91,14 @@ "name": "@2sic.com/dnn-sxc-angular",

"readme": "ERROR: No README data found!",
"repository": {
"type": "git",
"url": "git+https://github.com/2sic/dnn-sxc-angular.git"
},
"scripts": {
"build:main": "tsc index.ts -d",
"copy:dist": "cpx \"{,!(node_modules)/**/}*.*\" \"../app-dnn-sxc-angular-dev/node_modules/@2sic.com/dnn-sxc-angular\" -w",
"test": "echo \"Error: no test specified\" && exit 1",
"build:main": "tsc index.ts -d",
"copy:dist": "cpx \"dist/**/*.*\" \"../app-dnn-sxc-angular-dev/node_modules/@2sic.com/dnn-sxc-angular/dist\""
"develop": "tsc -watch"
},
"repository": {
"type": "git",
"url": "https://github.com/2sic/dnn-sxc-angular"
},
"typings": "index.d.ts",
"version": "1.0.4"
"version": "1.1.0"
}

@@ -1,8 +0,32 @@

# sxc-angular
2sxc for angular
# dnn-sxc-angular
Connector for angular 4.3+ ([git](https://github.com/angular/angular) | [web](https://angular.io/)) if you're using
1. the open source platform DNN 7+ ([git](https://github.com/dnnsoftware/Dnn.Platform) | [web](http://dnnsoftware.com/))
1. and/or the open source CMS 2sxc 7+ ([git](https://github.com/2sic/2sxc/) | [web](https://2sxc.org/))
This is a helper system which
1. automatically provides all important dnn-parameters (module ID, security token, etc.) to angular
2. overrides the HttpClient service to automatically use these parameters
It uses observables to make it happen, thereby avoiding timing / async problems common in this scenario.
## How To Use
It's published on NPM, so the most common way is to
1. get it using `npm install -d @2sic.com/dnn-sxc-angular`
1. make sure your application uses the enhanced HttpClient by adding the provider to main.ts, so you'll need to add
`...todo`
and
`...todo`
1. make sure initializations happen, by changing your app.component.ts from
`todo`
to
`todo`
That's it.
**build solution for npm**
- change version number
- npm publish
npm i @2sic.com/dnn-sxc-angular

@@ -1,8 +0,5 @@

export { SxcAngularModule } from './sxc-angular.module';
export { SxcAppComponent } from './sxc-app.component';
export { SxcHttpProvider } from './sxc-http.provider';
export { SxcHttpProviderFactory } from './sxc-http-provider.factory';
export { SxcAngular } from './sxc-angular.service';
export { SxcDataProvider } from './sxc-data/sxc-data.provider';
export { SxcData } from './sxc-data/sxc-data';
export { AppComponent as DnnAppComponent } from './app.component'
export { DevContext } from './context/dev-context';
export { Context } from './context/context.service';
export { Data } from './sxc/data';
export { DnnInterceptor } from './http/interceptor.provider';
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