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

@udacity/types-service-worker-mock

Package Overview
Dependencies
Maintainers
20
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@udacity/types-service-worker-mock - npm Package Compare versions

Comparing version 1.0.0-rc8 to 1.0.0

LICENSE

20

global.js
"use strict";
// Why is this a global augmentation?
//
// Because service-worker-mock uses the ServiceWorkerGlobalScope class name
// instead of ServiceWorkerGlobalScopeMock.
// ref: https://github.com/pinterest/service-workers/issues/110
/*
Copyright 2019 Udacity, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
Object.defineProperty(exports, "__esModule", { value: true });

@@ -0,1 +1,17 @@

/*
Copyright 2019 Udacity, Inc
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
declare module 'service-worker-mock' {

@@ -2,0 +18,0 @@ export interface EnvOptions {

{
"name": "@udacity/types-service-worker-mock",
"version": "1.0.0-rc8",
"version": "1.0.0",
"description": "TypeScript types for service-worker-mock",

@@ -30,3 +30,4 @@ "main": "global.js",

"global.d.ts",
"index.d.ts"
"index.d.ts",
"LICENSE"
],

@@ -33,0 +34,0 @@ "dependencies": {

@@ -6,2 +6,16 @@ # TypeScript types for Service Worker Mock

Source: https://github.com/udacity/cloudflare-typescript-workers
See additional details and a demo in:
https://github.com/udacity/cloudflare-typescript-workers
## Warning
These types are incomplete as they were created in service of extending the
`service-worker-mock` project for use with Cloudflare Workers. The types should
be pushed to the `@types` project or directly in `service-worker-mock` when
complete.
## License
Licensed under the Apache License, Version 2.0.
© 2019 Udacity, Inc.
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